dect
/
dectmon
Archived
13
0
Fork 0

build: restore original CFLAGS after event.h test

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2010-11-12 08:08:41 +01:00
parent 9fa1c4ea96
commit 6f64865d06
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@ AC_CHECK_HEADER([event.h],
EVENT_CFLAGS=$EVENTINC
AC_SUBST(EVENT_CFLAGS)
CFLAGS_KEEP=$CFLAGS
CFLAGS=$EVENT_CFLAGS
if [[ "$EVENT_LDFLAGS" == "-levent" ]]; then
AC_MSG_CHECKING([checking whether event.h is compatible with libevent])
@ -90,6 +91,7 @@ else
[AC_MSG_ERROR([incompatible event.h header for libev])]
)
fi
CFLAGS=$CFLAGS_KEEP
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL