From af4a73a52329318d6a120eab009eb8fdb0dc5949 Mon Sep 17 00:00:00 2001 From: Olivier Biot Date: Wed, 14 Apr 2004 18:42:19 +0000 Subject: At last compiling on CygWin works again! Added the missing PCRE and GLIB libraries to libftypes. Provide caching of computed configure tests. svn path=/trunk/; revision=10600 --- configure.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index b73a01945d..33f3adb648 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.254 2004/03/27 11:52:51 jmayer Exp $ +# $Id: configure.in,v 1.255 2004/04/14 18:42:19 obiot Exp $ # AC_INIT(etypes.h) @@ -133,6 +133,14 @@ else CFLAGS="-no-cpp-precomp $CFLAGS" AC_MSG_RESULT(Apple GCC - added -no-cpp-precomp) ;; + cygwin*) + # + # Shared libraries in cygwin/Win32 must never contain + # undefined symbols. + # + LDFLAGS="$LDFLAGS -no-undefined" + AC_MSG_RESULT(CygWin GCC - added -no-undefined to LDFLAGS) + ;; *) AC_MSG_RESULT(none needed) ;; @@ -978,6 +986,9 @@ then fi AC_SUBST(ENABLE_STATIC) +dnl Save the cacheable configure results to config.cache before recursing +AC_CACHE_SAVE + AM_CONFIG_HEADER(config.h) AC_CONFIG_SUBDIRS(wiretap) AC_OUTPUT( -- cgit v1.2.3