From d1e92d74509106242c091f15f2c4157b1c185ebf Mon Sep 17 00:00:00 2001 From: root Date: Mon, 2 May 2011 13:32:31 +0000 Subject: *** empty log message *** --- config.h.in | 32 ++++++++++++++++++++++++++++++++ configure.ac | 5 +++-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/config.h.in b/config.h.in index ffd8b9c..e0cdb70 100644 --- a/config.h.in +++ b/config.h.in @@ -85,5 +85,37 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif + + /* Version number of package */ #undef VERSION + +/* Define to 1 if on MINIX. */ +#undef _MINIX + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +#undef _POSIX_1_SOURCE + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +#undef _POSIX_SOURCE diff --git a/configure.ac b/configure.ac index d80b3b2..9faffad 100644 --- a/configure.ac +++ b/configure.ac @@ -5,6 +5,9 @@ AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE(libeio,1.0) AM_MAINTAINER_MODE + +AC_GNU_SOURCE + AC_PROG_LIBTOOL AC_PROG_CC @@ -13,8 +16,6 @@ if test "x$GCC" = xyes ; then CFLAGS="-O3 $CFLAGS" fi -AC_GNU_SOURCE - m4_include([libeio.m4]) AC_CONFIG_FILES([Makefile]) -- cgit v1.2.3