]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_HAVE_POUNDBANG): Quote # in message.
authorDavid MacKenzie <djm@djmnet.org>
Mon, 2 May 1994 23:45:11 +0000 (23:45 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Mon, 2 May 1994 23:45:11 +0000 (23:45 +0000)
From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
(AC_PROG_CXX): Look for "cxx" (DEC C++ compiler) too.

acspecific.m4
lib/autoconf/specific.m4

index 461a97a28f4af99b0c3b7af29ebaa7e566df5243..99bd418089b1f86fc11cebc110206dac686f5663 100644 (file)
@@ -40,7 +40,8 @@ rm -f conftest*
 ])dnl
 dnl
 define(AC_PROG_CXX,
-[AC_BEFORE([$0], [AC_PROG_CXXCPP])AC_PROVIDE([$0])AC_PROGRAMS_CHECK(CXX, $CCC c++ g++ gcc CC, gcc)
+[AC_BEFORE([$0],[AC_PROG_CXXCPP])AC_PROVIDE([$0])
+AC_PROGRAMS_CHECK(CXX, $CCC c++ g++ gcc CC cxx, gcc)
 # Find out if we are using GNU C++, under whatever name.
 cat > conftest.C <<EOF
 #ifdef __GNUC__
@@ -1057,7 +1058,7 @@ dnl ### checks for operating system services
 dnl
 dnl
 define(AC_HAVE_POUNDBANG, [dnl
-AC_CHECKING(whether \`#!' works in shell scripts)
+AC_CHECKING(whether \`[#]!' works in shell scripts)
 echo '#!/bin/cat
 exit 69
 ' > conftest
index 461a97a28f4af99b0c3b7af29ebaa7e566df5243..99bd418089b1f86fc11cebc110206dac686f5663 100644 (file)
@@ -40,7 +40,8 @@ rm -f conftest*
 ])dnl
 dnl
 define(AC_PROG_CXX,
-[AC_BEFORE([$0], [AC_PROG_CXXCPP])AC_PROVIDE([$0])AC_PROGRAMS_CHECK(CXX, $CCC c++ g++ gcc CC, gcc)
+[AC_BEFORE([$0],[AC_PROG_CXXCPP])AC_PROVIDE([$0])
+AC_PROGRAMS_CHECK(CXX, $CCC c++ g++ gcc CC cxx, gcc)
 # Find out if we are using GNU C++, under whatever name.
 cat > conftest.C <<EOF
 #ifdef __GNUC__
@@ -1057,7 +1058,7 @@ dnl ### checks for operating system services
 dnl
 dnl
 define(AC_HAVE_POUNDBANG, [dnl
-AC_CHECKING(whether \`#!' works in shell scripts)
+AC_CHECKING(whether \`[#]!' works in shell scripts)
 echo '#!/bin/cat
 exit 69
 ' > conftest