[project @ 2003-08-18 13:15:53 by panne]
authorpanne <unknown>
Mon, 18 Aug 2003 13:15:56 +0000 (13:15 +0000)
committerpanne <unknown>
Mon, 18 Aug 2003 13:15:56 +0000 (13:15 +0000)
Nuked unused FPTOOLS_REGEX_IN_LIBC test

aclocal.m4
configure.ac
mk/config.mk.in

index c339a84..4f3259c 100644 (file)
@@ -24,28 +24,6 @@ AC_CHECK_DECLS([altzone], [], [],[#if TIME_WITH_SYS_TIME
 ])# FP_ALTZONE
 
 
 ])# FP_ALTZONE
 
 
-
-dnl *** Does libc contain GNU regex? ***
-dnl 
-AC_DEFUN(FPTOOLS_REGEX_IN_LIBC,
-[AC_CACHE_CHECK([for GNU regex in libc], fptools_cv_have_regex,
-[AC_TRY_LINK([#if HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include <regex.h>
-],[ struct re_pattern_buffer patbuf; 
-    re_compile_pattern("",0,&patbuf);
-    re_search_2 (&patbuf, "", 0, "",0, 0,0,0,0); ],
-fptools_cv_have_regex=yes, fptools_cv_have_regex=no)])
-if test "$fptools_cv_have_regex" = yes; then
-       HaveGNURegex=YES
-else
-       HaveGNURegex=NO
-fi
-AC_SUBST(HaveGNURegex)
-])
-
-
 dnl ** check for leading underscores in symbol names
 dnl 
 dnl Test for determining whether symbol names have a leading
 dnl ** check for leading underscores in symbol names
 dnl 
 dnl Test for determining whether symbol names have a leading
index f42c611..4f1e152 100644 (file)
@@ -1080,9 +1080,6 @@ AC_MSG_ERROR([You need to install libgmp (the in-tree version does not work on I
 fi;
 fi;
 
 fi;
 fi;
 
-dnl ** check whether this machine has GNU regex in libc.
-FPTOOLS_REGEX_IN_LIBC
-
 dnl ** check whether this machine has BFD and liberty installed (used for debugging)
 dnl    the order of these tests matters: bfd needs liberty
 AC_CHECK_LIB(iberty, xmalloc)
 dnl ** check whether this machine has BFD and liberty installed (used for debugging)
 dnl    the order of these tests matters: bfd needs liberty
 AC_CHECK_LIB(iberty, xmalloc)
index ddfce03..5572f93 100644 (file)
@@ -696,11 +696,10 @@ HaveLibMingwEx    = @HaveLibMingwEx@
 HaveFrameworkHaskellSupport = @HaveFrameworkHaskellSupport@
 
 #-----------------------------------------------------------------------------
 HaveFrameworkHaskellSupport = @HaveFrameworkHaskellSupport@
 
 #-----------------------------------------------------------------------------
-# Regex libraries
+# Regex library
 # (if present in libc use that one, otherwise use the one in the tree)
 #
 HavePosixRegex  = @HavePosixRegex@
 # (if present in libc use that one, otherwise use the one in the tree)
 #
 HavePosixRegex  = @HavePosixRegex@
-HaveGNURegex   = @HaveGNURegex@
 
 #-----------------------------------------------------------------------------
 # GTK+
 
 #-----------------------------------------------------------------------------
 # GTK+