>From 2a651ad31dfe6055b12729352a430beb11a0d42c Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 9 Dec 2009 14:37:53 +0000 Subject: [PATCH] configure.ac: Fix C compiler detection to be compatible with automake. This avoid the following error: test/Makefile.am:17: compiling `main.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac' Since this will create scripts like ./compile, ./depcomp etc we also need to add those to the .gitignore file. After applying this patch you may need to rerun 'autoreconf -i'. --- .gitignore | 3 +++ configure.ac | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/.gitignore b/.gitignore index 3ab4fa5..dc1f941 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *~ +.deps .libs *.la *.lo @@ -7,6 +8,7 @@ Makefile.in Makefile aclocal.m4 autom4te.cache +compile config.guess config.h config.h.in @@ -14,6 +16,7 @@ config.log config.status config.sub configure +depcomp install-sh libtool ltmain.sh diff --git a/configure.ac b/configure.ac index 06af45c..80e8ec2 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ AC_CONFIG_FILES([Makefile]) AM_INIT_AUTOMAKE # Checks for programs. -AC_PROG_CC +AM_PROG_CC_C_O AC_C_CONST AC_PROG_INSTALL -- 1.6.5.2