forked from enlightenment/efl
Evas: Don't #define _GNU_SOURCE
Instead use AC_GNU_SOURCE macro in configure.ac and #include <config.h> properly SVN revision: 53159
This commit is contained in:
parent
a5a3fc18e5
commit
f61a1cb5cb
|
@ -38,6 +38,7 @@ AC_CONFIG_MACRO_DIR([m4])
|
|||
AC_CANONICAL_BUILD
|
||||
AC_CANONICAL_HOST
|
||||
AC_ISC_POSIX
|
||||
AC_GNU_SOURCE
|
||||
|
||||
AM_INIT_AUTOMAKE([1.6 dist-bzip2])
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
|
@ -79,11 +80,6 @@ esac
|
|||
AC_SUBST(MODULE_ARCH)
|
||||
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
|
||||
|
||||
# weird debian etch bug where pthread_barrier doesn't work without adding
|
||||
# this.
|
||||
CFLAGS="${CFLAGS=} -D_GNU_SOURCE"
|
||||
AC_SUBST(CFLAGS)
|
||||
|
||||
want_fontconfig="auto"
|
||||
want_fribidi="auto"
|
||||
want_evas_cserve="yes"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
|
|
@ -113,10 +113,6 @@ extern EAPI int _evas_log_dom_global;
|
|||
# define __ARM_ARCH__ 73
|
||||
#endif
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#ifndef BUILD_PTHREAD
|
||||
# undef BUILD_PIPE_RENDER
|
||||
#endif
|
||||
|
|
|
@ -61,10 +61,6 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef BUILD_FMEMOPEN
|
||||
# define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#define DIRECT_SCALE
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
#ifndef EVAS_PRIVATE_H
|
||||
#define EVAS_PRIVATE_H
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/utsname.h>
|
||||
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_EVIL
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_EVIL
|
||||
# include <Evil.h>
|
||||
#endif
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <png.h>
|
||||
#include <setjmp.h>
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <png.h>
|
||||
#include <setjmp.h>
|
||||
|
|
Loading…
Reference in New Issue