]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Factor the AC_PROG_<compiler>_WORKS macros.
authorAkim Demaille <akim@epita.fr>
Mon, 22 May 2000 08:38:45 +0000 (08:38 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 22 May 2000 08:38:45 +0000 (08:38 +0000)
* acgeneral.m4 (_AC_INIT_DEFAULTS): Set `cross_compiling'.
(AC_TRY_COMPILER): Remove.
* aclang.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS,
AC_PROG_F77_WORKS): Removed.
(_AC_LANG_COMPILER_WORKS): New macro.
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Adjust.

aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4

index f968c522478d4139f82a82e82891cd3b837b7428..fdf101423d33c5889344334f2bd4818d4a207c4d 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -1182,7 +1182,7 @@ AC_MSG_CHECKING([for function prototypes])
 if test "$ac_cv_prog_cc_stdc" != no; then
   AC_MSG_RESULT(yes)
   AC_DEFINE(PROTOTYPES, 1,
-            [Define if the compiler supports function prototypes.])
+            [Define if the compiler supports function prototypes.])
 else
   AC_MSG_RESULT(no)
 fi
index f968c522478d4139f82a82e82891cd3b837b7428..fdf101423d33c5889344334f2bd4818d4a207c4d 100644 (file)
@@ -1182,7 +1182,7 @@ AC_MSG_CHECKING([for function prototypes])
 if test "$ac_cv_prog_cc_stdc" != no; then
   AC_MSG_RESULT(yes)
   AC_DEFINE(PROTOTYPES, 1,
-            [Define if the compiler supports function prototypes.])
+            [Define if the compiler supports function prototypes.])
 else
   AC_MSG_RESULT(no)
 fi
index f968c522478d4139f82a82e82891cd3b837b7428..fdf101423d33c5889344334f2bd4818d4a207c4d 100644 (file)
@@ -1182,7 +1182,7 @@ AC_MSG_CHECKING([for function prototypes])
 if test "$ac_cv_prog_cc_stdc" != no; then
   AC_MSG_RESULT(yes)
   AC_DEFINE(PROTOTYPES, 1,
-            [Define if the compiler supports function prototypes.])
+            [Define if the compiler supports function prototypes.])
 else
   AC_MSG_RESULT(no)
 fi
index f968c522478d4139f82a82e82891cd3b837b7428..fdf101423d33c5889344334f2bd4818d4a207c4d 100644 (file)
@@ -1182,7 +1182,7 @@ AC_MSG_CHECKING([for function prototypes])
 if test "$ac_cv_prog_cc_stdc" != no; then
   AC_MSG_RESULT(yes)
   AC_DEFINE(PROTOTYPES, 1,
-            [Define if the compiler supports function prototypes.])
+            [Define if the compiler supports function prototypes.])
 else
   AC_MSG_RESULT(no)
 fi