From: Akim Demaille Date: Mon, 22 May 2000 08:38:45 +0000 (+0000) Subject: Factor the AC_PROG__WORKS macros. X-Git-Tag: autoconf-2.50~893 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=51c52fbf657dafca8f35b86ff92978baf68491ef;p=thirdparty%2Fautoconf.git Factor the AC_PROG__WORKS macros. * 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. --- diff --git a/aclang.m4 b/aclang.m4 index f968c5224..fdf101423 100644 --- 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 C compiler supports function prototypes.]) + [Define if the compiler supports function prototypes.]) else AC_MSG_RESULT(no) fi diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index f968c5224..fdf101423 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.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 C compiler supports function prototypes.]) + [Define if the compiler supports function prototypes.]) else AC_MSG_RESULT(no) fi diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index f968c5224..fdf101423 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.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 C compiler supports function prototypes.]) + [Define if the compiler supports function prototypes.]) else AC_MSG_RESULT(no) fi diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4 index f968c5224..fdf101423 100644 --- a/lib/autoconf/lang.m4 +++ b/lib/autoconf/lang.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 C compiler supports function prototypes.]) + [Define if the compiler supports function prototypes.]) else AC_MSG_RESULT(no) fi