mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 12:20:26 +02:00
Small fix: sh doesn't have unset on all machines.
This commit is contained in:
parent
365d0782b1
commit
0eeaf019e4
2 changed files with 4 additions and 4 deletions
4
configure
vendored
4
configure
vendored
|
@ -2672,7 +2672,7 @@ fi
|
|||
if test "$ac_cv_header_regex_h" = yes ||
|
||||
test "$ac_cv_header_rxposix_h" = yes ||
|
||||
test "$ac_cv_header_rx_rxposix_h" = yes; then
|
||||
unset ac_cv_func_regcomp
|
||||
ac_cv_func_regcomp=
|
||||
echo $ac_n "checking for regcomp""... $ac_c" 1>&6
|
||||
echo "configure:2678: checking for regcomp" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_regcomp'+set}'`\" = set"; then
|
||||
|
@ -2765,7 +2765,7 @@ else
|
|||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
unset ac_cv_func_regcomp
|
||||
ac_cv_func_regcomp=
|
||||
echo $ac_n "checking for regcomp""... $ac_c" 1>&6
|
||||
echo "configure:2771: checking for regcomp" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_regcomp'+set}'`\" = set"; then
|
||||
|
|
|
@ -139,11 +139,11 @@ fi
|
|||
if test "$ac_cv_header_regex_h" = yes ||
|
||||
test "$ac_cv_header_rxposix_h" = yes ||
|
||||
test "$ac_cv_header_rx_rxposix_h" = yes; then
|
||||
unset ac_cv_func_regcomp
|
||||
ac_cv_func_regcomp=
|
||||
AC_CHECK_FUNC(regcomp, [LIBOBJS="regex-posix.o $LIBOBJS"])
|
||||
if test "$ac_cv_func_regcomp" != yes; then
|
||||
AC_CHECK_LIB(rx, main)
|
||||
unset ac_cv_func_regcomp
|
||||
ac_cv_func_regcomp=
|
||||
AC_CHECK_FUNC(regcomp, [LIBOBJS="regex-posix.o $LIBOBJS"])
|
||||
fi
|
||||
dnl The following should not be necessary, but for some reason
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue