--- configure.orig	Fri May 12 16:14:47 2000
+++ configure	Wed May 17 09:36:16 2000
@@ -2238,8 +2238,9 @@
 #define WITH_REGEX 1
 EOF
 
-  echo $ac_n "checking for GNU regex in libc""... $ac_c" 1>&6
-echo "configure:2243: checking for GNU regex in libc" >&5
+LIBS="$LIBS -lgnuregex"
+  echo $ac_n "checking for GNU regex in libgnuregex""... $ac_c" 1>&6
+echo "configure:2243: checking for GNU regex in libgnuregex" >&5
 if eval "test \"`echo '$''{'am_cv_gnu_regex'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
