mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-04 01:36:23 -04:00
Use a Configuration Header Template for evconfig-private.h
This commit is contained in:
parent
edf62dddbc
commit
868f88874f
@ -6,7 +6,7 @@ AC_INIT(event.c)
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
AM_INIT_AUTOMAKE(libevent,2.1.0-alpha-dev)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_CONFIG_HEADER(config.h evconfig-private.h:evconfig-private.h.in)
|
||||
AC_DEFINE(NUMERIC_VERSION, 0x02010001, [Numeric representation of the version])
|
||||
|
||||
dnl Initialize prefix.
|
||||
|
39
evconfig-private.h.in
Normal file
39
evconfig-private.h.in
Normal file
@ -0,0 +1,39 @@
|
||||
/* evconfig-private.h template - see "Configuration Header Templates"
|
||||
/* in AC manual. Kevin Bowling <kevin.bowling@kev009.com */
|
||||
|
||||
/* 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
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
#ifndef _MINIX
|
||||
#undef _MINIX
|
||||
#endif
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
#ifndef _POSIX_1_SOURCE
|
||||
#undef _POSIX_1_SOURCE
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
#ifndef _POSIX_SOURCE
|
||||
#undef _POSIX_SOURCE
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user