mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-25 07:01:12 +00:00
Require bash for test framework
This commit is contained in:
parent
6d6d77ce93
commit
a95eb8e724
3 changed files with 46 additions and 29 deletions
|
@ -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>
|
2023-12-05 Yavor Doganov <yavor@gnu.org>
|
||||||
|
|
||||||
* Documentation/gnustep-make.texi: Fix PDF generation with
|
* Documentation/gnustep-make.texi: Fix PDF generation with
|
||||||
|
|
18
configure
vendored
18
configure
vendored
|
@ -4878,11 +4878,11 @@ if test x$ac_prog_cxx_stdcxx = xno
|
||||||
then :
|
then :
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
|
{ 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; }
|
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 :
|
then :
|
||||||
printf %s "(cached) " >&6
|
printf %s "(cached) " >&6
|
||||||
else $as_nop
|
else $as_nop
|
||||||
ac_cv_prog_cxx_cxx11=no
|
ac_cv_prog_cxx_11=no
|
||||||
ac_save_CXX=$CXX
|
ac_save_CXX=$CXX
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
@ -4924,11 +4924,11 @@ if test x$ac_prog_cxx_stdcxx = xno
|
||||||
then :
|
then :
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
|
{ 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; }
|
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 :
|
then :
|
||||||
printf %s "(cached) " >&6
|
printf %s "(cached) " >&6
|
||||||
else $as_nop
|
else $as_nop
|
||||||
ac_cv_prog_cxx_cxx98=no
|
ac_cv_prog_cxx_98=no
|
||||||
ac_save_CXX=$CXX
|
ac_save_CXX=$CXX
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
@ -9332,6 +9332,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ac_fn_c_check_func "$LINENO" "__objc_load" "ac_cv_func___objc_load"
|
ac_fn_c_check_func "$LINENO" "__objc_load" "ac_cv_func___objc_load"
|
||||||
if test "x$ac_cv_func___objc_load" = xyes
|
if test "x$ac_cv_func___objc_load" = xyes
|
||||||
then :
|
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\n" "$as_me:${as_lineno-$LINENO}: checking which linker is being used" >&5
|
||||||
printf %s "checking which linker is being used... " >&6; }
|
printf %s "checking which linker is being used... " >&6; }
|
||||||
|
|
||||||
# Write a simple test program to a file.
|
|
||||||
echo 'int main() { return 0; }' > conftest.c
|
echo 'int main() { return 0; }' > conftest.c
|
||||||
|
|
||||||
# Try compiling with verbose output to capture linker information.
|
# Try compiling with verbose output to capture linker information.
|
||||||
|
@ -9986,7 +9986,6 @@ done
|
||||||
done
|
done
|
||||||
IFS=$as_save_IFS
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
test -z "$ac_cv_path_SHELLPROG" && ac_cv_path_SHELLPROG="/bin/sh"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -10045,6 +10044,13 @@ printf "%s\n" "no" >&6; }
|
||||||
fi
|
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
|
# Produce the output files
|
||||||
|
|
|
@ -1769,8 +1769,14 @@ AC_CHECK_PROGS(LATEX2HTML, latex2html)
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# For test framework
|
# For test framework
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
AC_PATH_PROG(SHELLPROG,bash,/bin/sh)
|
AC_PATH_PROG(SHELLPROG, bash)
|
||||||
AC_PATH_PROG(TESTPROG, test)
|
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
|
# Produce the output files
|
||||||
|
|
Loading…
Reference in a new issue