summaryrefslogtreecommitdiff
path: root/libstdc++-v3/acinclude.m4
diff options
context:
space:
mode:
authormsokolov <msokolov@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-26 06:19:52 +0000
committermsokolov <msokolov@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-26 06:19:52 +0000
commitca1093bcbeb3828aa8e35b8d9c6afa78a6516e89 (patch)
treed64382a3519c1c6b15bc44a23d0b1d262fa1e010 /libstdc++-v3/acinclude.m4
parenta092b414629b37268d765396728adba39dc00b31 (diff)
downloadgcc-ca1093bcbeb3828aa8e35b8d9c6afa78a6516e89.tar.gz
* acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
(use ${MAKE-make}, not ${MAKE:-make}). * aclocal.m4, configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39277 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r--libstdc++-v3/acinclude.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index 5b7a9e8e4c9..3c815f0e88f 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -1555,11 +1555,14 @@ dnl #### GLIBCPP_ to the macro name; adding the :-make fallback in the
dnl #### conditional's subshell (" --version" is not a command), using a
dnl #### different option to grep(1).
dnl #### -pme
+dnl #### Fixed Bourne shell portability bug (use ${MAKE-make}, not
+dnl #### ${MAKE:-make}).
+dnl #### -msokolov
AC_DEFUN(
GLIBCPP_CHECK_GNU_MAKE, [AC_CACHE_CHECK( for GNU make,_cv_gnu_make_command,
_cv_gnu_make_command='' ;
dnl Search all the common names for GNU make
- for a in "${MAKE:-make}" make gmake gnumake ; do
+ for a in "${MAKE-make}" make gmake gnumake ; do
if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
then
_cv_gnu_make_command=$a ;