Mesa (master): autoconf: add AM_PROG_CC_C_O

Dylan Noblesmith nobled at kemper.freedesktop.org
Mon Apr 16 15:54:38 UTC 2012


Module: Mesa
Branch: master
Commit: a3d56734df2aaaf26d4405b0ecf8c5710148250e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3d56734df2aaaf26d4405b0ecf8c5710148250e

Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date:   Mon Apr  2 15:35:38 2012 +0000

autoconf: add AM_PROG_CC_C_O

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 at anholt.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index df65ae5..9d6cbeb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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




More information about the mesa-commit mailing list