configure: add AC_PROG_CC to shut up autoconf 2.69

The errors being shown by not using AC_PROG_CC with this
version of autoconf (the one in debian testing):

/usr/share/automake-1.14/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.14/am/depend2.am:   The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/share/automake-1.14/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/share/automake-1.14/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.14/am/depend2.am:   The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/share/automake-1.14/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/share/automake-1.14/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.14/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
sources/glue/Makefile.am: error: C source seen but 'CC' is undefined
sources/glue/Makefile.am:   The usual way to define 'CC' is to add 'AC_PROG_CC'
sources/glue/Makefile.am:   to 'configure.ac' and run 'autoconf' again.
This commit is contained in:
Andres G. Aragoneses 2014-03-31 18:09:39 +02:00 committed by Stephan Sundermann
parent f9f7cbe93e
commit 9695757083

View file

@ -4,6 +4,7 @@ AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
AC_PROG_INSTALL
AC_PROG_CC
LT_INIT
dnl Package settings