* lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require

AC_PROG_CC.
Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
This commit is contained in:
Ralf Wildenhues 2006-10-12 17:01:45 +00:00
parent 20ee2eb203
commit 4366ba4748
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
AC_PROG_CC.
Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for

View File

@ -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'"