mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Build: Add a comment that AC_PROG_CC_C99 is needed for Autoconf 2.69.
It's obsolete in Autoconf >= 2.70 and just an alias for AC_PROG_CC but Autoconf 2.69 requires AC_PROG_CC_C99 to get a C99 compiler.
This commit is contained in:
parent
53cc475f26
commit
8be136f667
1 changed files with 3 additions and 0 deletions
|
@ -602,6 +602,9 @@ echo "Initializing Automake:"
|
||||||
AM_INIT_AUTOMAKE([1.12 foreign tar-v7 filename-length-max=99 -Wno-unsupported])
|
AM_INIT_AUTOMAKE([1.12 foreign tar-v7 filename-length-max=99 -Wno-unsupported])
|
||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
|
|
||||||
|
dnl # Autoconf >= 2.70 warns that AC_PROG_CC_C99 is obsolete. However,
|
||||||
|
dnl # we have to keep using AC_PROG_CC_C99 instead of AC_PROG_CC
|
||||||
|
dnl # as long as we try to be compatible with Autoconf 2.69.
|
||||||
AC_PROG_CC_C99
|
AC_PROG_CC_C99
|
||||||
if test x$ac_cv_prog_cc_c99 = xno ; then
|
if test x$ac_cv_prog_cc_c99 = xno ; then
|
||||||
AC_MSG_ERROR([No C99 compiler was found.])
|
AC_MSG_ERROR([No C99 compiler was found.])
|
||||||
|
|
Loading…
Reference in a new issue