[Mesa-dev] [PATCH] autoconf: add AM_PROG_CC_C_O

nobled nobled at dreamwidth.org
Fri Apr 13 08:47:41 PDT 2012


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
---
 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 65d358e..694505d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,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
-- 
1.7.4.1


More information about the mesa-dev mailing list