Commit fd87c1f8 authored by panne's avatar panne

[project @ 2003-08-18 13:15:53 by panne]

Nuked unused FPTOOLS_REGEX_IN_LIBC test
parent ca9f59db
......@@ -24,28 +24,6 @@ AC_CHECK_DECLS([altzone], [], [],[#if TIME_WITH_SYS_TIME
])# 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
......
......@@ -1080,9 +1080,6 @@ AC_MSG_ERROR([You need to install libgmp (the in-tree version does not work on I
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)
......
......@@ -696,11 +696,10 @@ HaveLibMingwEx = @HaveLibMingwEx@
HaveFrameworkHaskellSupport = @HaveFrameworkHaskellSupport@
#-----------------------------------------------------------------------------
# Regex libraries
# Regex library
# (if present in libc use that one, otherwise use the one in the tree)
#
HavePosixRegex = @HavePosixRegex@
HaveGNURegex = @HaveGNURegex@
#-----------------------------------------------------------------------------
# GTK+
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment