mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Enable containing package CFLAGS etc.
Add AC_SUBST of LIBEVENT_FLAGS, LIBEVENT_CPPFLAGS, and LIBEVENT_LDFLAGS so they are relayed from the configure command line to the Makefile
This commit is contained in:
parent
57bb630ce3
commit
242f767684
@ -859,6 +859,11 @@ AC_SUBST([LIBEVENT_GC_SECTIONS])
|
||||
|
||||
AM_CONDITIONAL([INSTALL_LIBEVENT], [test "$enable_libevent_install" = "yes"])
|
||||
|
||||
dnl Allow additional flags from a containing package such as NTP
|
||||
AC_SUBST([LIBEVENT_CFLAGS])
|
||||
AC_SUBST([LIBEVENT_CPPFLAGS])
|
||||
AC_SUBST([LIBEVENT_LDFLAGS])
|
||||
|
||||
AC_C_BIGENDIAN([CFLAGS="$CFLAGS -DBIG_ENDIAN"], [CFLAGS="$CFLAGS -DLITTLE_ENDIAN"])
|
||||
|
||||
dnl Doxygen support
|
||||
|
Loading…
x
Reference in New Issue
Block a user