]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* aclang.m4 (AC_PROG_CXX): Look for aCC KCC RCC xlC_r xlC.
authorAkim Demaille <akim@epita.fr>
Fri, 26 May 2000 09:42:13 +0000 (09:42 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 26 May 2000 09:42:13 +0000 (09:42 +0000)
s/c++ g++/g++ c++/.
* doc/autoconf.texi (Compilers and Preprocessors): Adjust.

ChangeLog
aclang.m4
doc/autoconf.texi
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4

index abdb39ae5be25a4253b3e928286c397bbb13ea21..5a87d38708bcac4d49c3df517cde4dbf37441096 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-05-26  Ossama Othman <ossama@ece.uci.edu>
+
+       * aclang.m4 (AC_PROG_CXX): Look for aCC KCC RCC xlC_r xlC.
+       s/c++ g++/g++ c++/.
+       * doc/autoconf.texi (Compilers and Preprocessors): Adjust.
+
 2000-05-26  Akim Demaille  <akim@epita.fr>
 
        No library nor special privilege is needed to run `getloadavg'
index fb4703b7f29f18efea449a37b57128da3af59f6b..de463ecc0dc6b95b5ee452d02408e13491ad2a1b 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -678,10 +678,18 @@ AC_SUBST(CXXCPP)dnl
 # for (if not specified, a default list is used).  This just gives the
 # user an opportunity to specify an alternative search list for the C++
 # compiler.
+# aCC  HP-UX C++ compiler
+# KCC  KAI C++ compiler
+# RCC  Rational C++
+# xlC_r        AIX C Set++ (with support for reentrant code)
+# xlC  AIX C Set++
 AC_DEFUN([AC_PROG_CXX],
 [AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
 AC_LANG_PUSH(C++)
-AC_CHECK_TOOLS(CXX, $CCC m4_default([$1], [c++ g++ gpp CC cxx cc++ cl]), g++)
+AC_CHECK_TOOLS(CXX,
+               $CCC m4_default([$1],
+                          [g++ c++ gpp CC cxx cc++ cl aCC KCC RCC xlC_r xlC]),
+               g++)
 
 _AC_LANG_COMPILER_WORKS
 _AC_PROG_CXX_GNU
index 9cbf82f8b592bdd637e82587308e9b4b487c8879..4ad30e08de3655879f4f3ca3a6025805a5025f8f 100644 (file)
@@ -3618,8 +3618,9 @@ compiling.
 @ovindex CC
 @ovindex CFLAGS
 Determine a C compiler to use.  If @code{CC} is not already set in the
-environment, check for @code{gcc}, and use @code{cc} if that's not found.
-Set output variable @code{CC} to the name of the compiler found.
+environment, check for @code{gcc} and @code{cc}, then for other C
+compilers.  Set output variable @code{CC} to the name of the compiler
+found.
 
 This macro may, however, be invoked with an optional first argument
 which, if specified, must be a space separated list of C compilers to
@@ -3689,10 +3690,9 @@ Determine a C++ compiler to use.  Check if the environment variable
 variable @code{CXX} to its value.
 
 Otherwise, if the macro is invoked without an argument, then search for
-a C++ compiler under the likely names @code{c++}, @code{g++},
-@code{gcc}, @code{CC}, @code{cxx}, @code{cc++} and @code{cl} (in that
-order).  If none of those checks succeed, then as a last resort set
-@code{CXX} to @code{gcc}.
+a C++ compiler under the likely names (first @code{g++} and @code{c++}
+then other names).  If none of those checks succeed, then as a last
+resort set @code{CXX} to @code{gcc}.
 
 This macro may, however, be invoked with an optional first argument
 which, if specified, must be a space separated list of C++ compilers to
@@ -3730,9 +3730,8 @@ calling @code{AC_TRY_CPP}, @code{AC_CHECK_HEADER},
 @ovindex F77
 @ovindex FFLAGS
 Determine a Fortran 77 compiler to use.  If @code{F77} is not already
-set in the environment, then check for @code{g77}, @code{f77},
-@code{xlf}, @code{cf77}, @code{fl32}, @code{fort77}, @code{f90},
-@code{xlf90} and @code{f2c}, in that order.  Set the output variable
+set in the environment, then check for @code{g77} and @code{f77}, and
+then some other names, and finally @code{f2c}.  Set the output variable
 @code{F77} to the name of the compiler found.
 
 This macro may, however, be invoked with an optional first argument
index fb4703b7f29f18efea449a37b57128da3af59f6b..de463ecc0dc6b95b5ee452d02408e13491ad2a1b 100644 (file)
@@ -678,10 +678,18 @@ AC_SUBST(CXXCPP)dnl
 # for (if not specified, a default list is used).  This just gives the
 # user an opportunity to specify an alternative search list for the C++
 # compiler.
+# aCC  HP-UX C++ compiler
+# KCC  KAI C++ compiler
+# RCC  Rational C++
+# xlC_r        AIX C Set++ (with support for reentrant code)
+# xlC  AIX C Set++
 AC_DEFUN([AC_PROG_CXX],
 [AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
 AC_LANG_PUSH(C++)
-AC_CHECK_TOOLS(CXX, $CCC m4_default([$1], [c++ g++ gpp CC cxx cc++ cl]), g++)
+AC_CHECK_TOOLS(CXX,
+               $CCC m4_default([$1],
+                          [g++ c++ gpp CC cxx cc++ cl aCC KCC RCC xlC_r xlC]),
+               g++)
 
 _AC_LANG_COMPILER_WORKS
 _AC_PROG_CXX_GNU
index fb4703b7f29f18efea449a37b57128da3af59f6b..de463ecc0dc6b95b5ee452d02408e13491ad2a1b 100644 (file)
@@ -678,10 +678,18 @@ AC_SUBST(CXXCPP)dnl
 # for (if not specified, a default list is used).  This just gives the
 # user an opportunity to specify an alternative search list for the C++
 # compiler.
+# aCC  HP-UX C++ compiler
+# KCC  KAI C++ compiler
+# RCC  Rational C++
+# xlC_r        AIX C Set++ (with support for reentrant code)
+# xlC  AIX C Set++
 AC_DEFUN([AC_PROG_CXX],
 [AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
 AC_LANG_PUSH(C++)
-AC_CHECK_TOOLS(CXX, $CCC m4_default([$1], [c++ g++ gpp CC cxx cc++ cl]), g++)
+AC_CHECK_TOOLS(CXX,
+               $CCC m4_default([$1],
+                          [g++ c++ gpp CC cxx cc++ cl aCC KCC RCC xlC_r xlC]),
+               g++)
 
 _AC_LANG_COMPILER_WORKS
 _AC_PROG_CXX_GNU
index fb4703b7f29f18efea449a37b57128da3af59f6b..de463ecc0dc6b95b5ee452d02408e13491ad2a1b 100644 (file)
@@ -678,10 +678,18 @@ AC_SUBST(CXXCPP)dnl
 # for (if not specified, a default list is used).  This just gives the
 # user an opportunity to specify an alternative search list for the C++
 # compiler.
+# aCC  HP-UX C++ compiler
+# KCC  KAI C++ compiler
+# RCC  Rational C++
+# xlC_r        AIX C Set++ (with support for reentrant code)
+# xlC  AIX C Set++
 AC_DEFUN([AC_PROG_CXX],
 [AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
 AC_LANG_PUSH(C++)
-AC_CHECK_TOOLS(CXX, $CCC m4_default([$1], [c++ g++ gpp CC cxx cc++ cl]), g++)
+AC_CHECK_TOOLS(CXX,
+               $CCC m4_default([$1],
+                          [g++ c++ gpp CC cxx cc++ cl aCC KCC RCC xlC_r xlC]),
+               g++)
 
 _AC_LANG_COMPILER_WORKS
 _AC_PROG_CXX_GNU