Require bash for test framework

This commit is contained in:
rfm 2023-12-11 17:29:38 +00:00
parent 6d6d77ce93
commit a95eb8e724
3 changed files with 46 additions and 29 deletions

View file

@ -1,3 +1,8 @@
2023-12-11 Richard Frith-Macdonald <rfm@gnu.org>
configure.ac: Require bash for test framework
configure: Regenerate
2023-12-05 Yavor Doganov <yavor@gnu.org>
* Documentation/gnustep-make.texi: Fix PDF generation with

18
configure vendored
View file

@ -4878,11 +4878,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
printf %s "checking for $CXX option to enable C++11 features... " >&6; }
if test ${ac_cv_prog_cxx_cxx11+y}
if test ${ac_cv_prog_cxx_11+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cxx_cxx11=no
ac_cv_prog_cxx_11=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@ -4924,11 +4924,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
printf %s "checking for $CXX option to enable C++98 features... " >&6; }
if test ${ac_cv_prog_cxx_cxx98+y}
if test ${ac_cv_prog_cxx_98+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cxx_cxx98=no
ac_cv_prog_cxx_98=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@ -9332,6 +9332,7 @@ fi
ac_fn_c_check_func "$LINENO" "__objc_load" "ac_cv_func___objc_load"
if test "x$ac_cv_func___objc_load" = xyes
then :
@ -9409,7 +9410,6 @@ if test $gs_cv_runtime_abi = 'gnustep-2.0'; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which linker is being used" >&5
printf %s "checking which linker is being used... " >&6; }
# Write a simple test program to a file.
echo 'int main() { return 0; }' > conftest.c
# Try compiling with verbose output to capture linker information.
@ -9986,7 +9986,6 @@ done
done
IFS=$as_save_IFS
test -z "$ac_cv_path_SHELLPROG" && ac_cv_path_SHELLPROG="/bin/sh"
;;
esac
fi
@ -10045,6 +10044,13 @@ printf "%s\n" "no" >&6; }
fi
if test x"$SHELLPROG" = x""; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
printf "%s\n" "failed" >&6; }
echo "Unable to find the bash program (needed for testsuite)."
exit 1
fi
#--------------------------------------------------------------------
# Produce the output files

View file

@ -1769,8 +1769,14 @@ AC_CHECK_PROGS(LATEX2HTML, latex2html)
#--------------------------------------------------------------------
# For test framework
#--------------------------------------------------------------------
AC_PATH_PROG(SHELLPROG,bash,/bin/sh)
AC_PATH_PROG(SHELLPROG, bash)
AC_PATH_PROG(TESTPROG, test)
if test x"$SHELLPROG" = x""; then
AC_MSG_RESULT(failed)
echo "Unable to find the bash program (needed for testsuite)."
exit 1
fi
#--------------------------------------------------------------------
# Produce the output files