summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 12 insertions, 1 deletions
diff --git a/configure b/configure
index f95fec0..2fa57bb 100755
--- a/configure
+++ b/configure
@@ -1709,12 +1709,14 @@ EOF
fi
-if test "$ac_cv_func_re_comp" = no; then REGEXP=rx.o; fi
+if test "$ac_cv_func_re_comp" = no; then REGEXP="regex.o"; fi
if test "$ac_cv_func_getopt_long" = no; then GETOPT="getopt.o getopt1.o"; fi
if test "$ac_cv_func_strcasecmp" = no; then STRCASECMP="strcasecmp.o"; fi
+if test "$ac_cv_func_strerror" = no; then STRERROR="strerror.o"; fi
+
if test "x$prefix" != xNONE; then
libdir=$prefix/lib
@@ -1729,6 +1731,11 @@ cat >> confdefs.h <<EOF
EOF
+DEPEND=${srcdir:-.}/depend.out
+DEPEND_FILE=$DEPEND
+
+
+
trap '' 1 2 15
if test -w $cache_file; then
echo "updating cache $cache_file"
@@ -1844,8 +1851,12 @@ s%@ALLOCA@%$ALLOCA%g
s%@REGEXP@%$REGEXP%g
s%@GETOPT@%$GETOPT%g
s%@STRCASECMP@%$STRCASECMP%g
+s%@STRERROR@%$STRERROR%g
s%@libdir@%$libdir%g
s%@IID_HELP_FILE@%$IID_HELP_FILE%g
+s%@DEPEND@%$DEPEND%g
+/@DEPEND_FILE@/r $DEPEND_FILE
+s%@DEPEND_FILE@%%g
CEOF
EOF