diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-08-29 04:05:33 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-08-29 04:05:33 +0000 |
commit | 551e7cf39fbef8c29459762fcd6852518574367b (patch) | |
tree | 794f7443bef93db3500ad85a98acda2993ed81dc | |
parent | 51e4ebb293f390b1e5296ec6988917700b5d2ddc (diff) | |
download | tinyproxy-551e7cf39fbef8c29459762fcd6852518574367b.tar.gz tinyproxy-551e7cf39fbef8c29459762fcd6852518574367b.zip |
Fixed a problem where the REGEX library was included even if the system
already had a working library.
Diffstat (limited to '')
-rw-r--r-- | configure.in | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/configure.in b/configure.in index 1c9db2f..0dda88a 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.21 2001-08-28 15:52:53 rjkaes Exp $ +dnl $Id: configure.in,v 1.22 2001-08-29 04:05:33 rjkaes Exp $ dnl Devlopers, please strive to achieve this order: dnl @@ -19,7 +19,7 @@ AC_INIT() AC_CANONICAL_SYSTEM AC_DEFINE_UNQUOTED(TARGET_SYSTEM, "$target") -AM_INIT_AUTOMAKE(tinyproxy,1.4.1.5) +AM_INIT_AUTOMAKE(tinyproxy,1.4.1.6) AM_CONFIG_HEADER(config.h) dnl @@ -58,7 +58,7 @@ AC_ARG_ENABLE(filter, [ --enable-filter Enable filtering of domains/URLs [default=yes]], filter_enabled=yes, filter_enabled=yes) if test "$filter_enabled" = "yes"; then - LIBOBJS="$LIBOBJS filter.o" + LIBOBJS="filter.o $LIBOBJS" AC_DEFINE(FILTER_ENABLE) fi @@ -201,27 +201,6 @@ AC_TYPE_PID_T AC_TYPE_SIGNAL dnl -dnl Compiler characteristics -dnl - -dnl Enable the debugging flags (by checking for the GCC compiler) -CFLAGS="-Wall $CFLAGS" -if test "$enable_debug" = "yes" ; then - dnl Add the warnings if we have the GCC compiler - if test x$ac_cv_prog_gcc = xyes ; then - CFLAGS="-Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes $CFLAGS" - CFLAGS="-Wmissing-prototypes -Wmissing-declarations $CFLAGS" - CFLAGS="-Wpointer-arith -Waggregate-return -Wnested-externs $CFLAGS" - fi - CFLAGS="-DYYDEBUG $CFLAGS" - YFLAGS="-v -d" -else - dnl No debugging information, include the optimizations - CFLAGS="-DNDEBUG $CFLAGS" - YFLAGS="-d" -fi - -dnl dnl Checks for functions dnl AC_FUNC_ALLOCA @@ -247,6 +226,27 @@ if test "$ac_cv_func_vprintf" != "yes"; then fi dnl +dnl Compiler characteristics +dnl + +dnl Enable the debugging flags (by checking for the GCC compiler) +CFLAGS="-Wall $CFLAGS" +if test "$enable_debug" = "yes" ; then + dnl Add the warnings if we have the GCC compiler + if test x$ac_cv_prog_gcc = xyes ; then + CFLAGS="-Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes $CFLAGS" + CFLAGS="-Wmissing-prototypes -Wmissing-declarations $CFLAGS" + CFLAGS="-Wpointer-arith -Waggregate-return -Wnested-externs $CFLAGS" + fi + CFLAGS="-DYYDEBUG $CFLAGS" + YFLAGS="-v -d" +else + dnl No debugging information, include the optimizations + CFLAGS="-DNDEBUG $CFLAGS" + YFLAGS="-d" +fi + +dnl dnl Make sure we can actually handle the "--with-*" and "--enable-*" stuff. dnl @@ -261,7 +261,7 @@ if test "$socks_enabled" = "yes"; then fi dnl Handle the REGEX library -if test "$ac_cv_func_regex" != "yes"; then +if test "$ac_cv_func_regexec" != "yes"; then dnl We don't have a functioning REGEX so include our copy tinyproxy_use_our_regex=yes else |