autoconf: add AM_PROG_CC_C_O
authorDylan Noblesmith <nobled@dreamwidth.org>
Mon, 2 Apr 2012 15:35:38 +0000 (15:35 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Mon, 16 Apr 2012 15:45:32 +0000 (15:45 +0000)
Prevents this error with Automake 1.9:

src/gallium/drivers/Makefile.am: C objects in subdir but
`AM_PROG_CC_C_O' not in `configure.ac'
autoreconf: automake failed with exit status: 1

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
configure.ac

index df65ae5eda4b7152c855d18f4e9dc8e15404f0b5..9d6cbeb96dc84978289f358aa3850a3887c10559 100644 (file)
@@ -49,6 +49,7 @@ dnl Check for progs
 AC_PROG_CPP
 AC_PROG_CC
 AC_PROG_CXX
+AM_PROG_CC_C_O
 AC_CHECK_PROGS([MAKE], [gmake make])
 AC_CHECK_PROGS([PYTHON2], [python2 python])
 AC_PROG_SED