From: Ralf Wildenhues Date: Thu, 12 Oct 2006 17:01:45 +0000 (+0000) Subject: * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require X-Git-Tag: AUTOCONF-2.60b~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4366ba474832672c4b1d1336879ade89eeb7a2b8;p=thirdparty%2Fautoconf.git * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require AC_PROG_CC. Report by IOhannes m zmoelnig . --- diff --git a/ChangeLog b/ChangeLog index 9386de6a8..82abbc5a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-10-12 Ralf Wildenhues + + * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require + AC_PROG_CC. + Report by IOhannes m zmoelnig . + 2006-10-11 Paul Eggert * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index 2f9c8fc88..fd8daf60e 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -611,7 +611,8 @@ fi[]dnl # ----------------------- AN_FUNCTION([ioctl], [AC_PROG_GCC_TRADITIONAL]) AC_DEFUN([AC_PROG_GCC_TRADITIONAL], -[if test $ac_cv_c_compiler_gnu = yes; then +[AC_REQUIRE([AC_PROG_CC])dnl +if test $ac_cv_c_compiler_gnu = yes; then AC_CACHE_CHECK(whether $CC needs -traditional, ac_cv_prog_gcc_traditional, [ ac_pattern="Autoconf.*'x'"