[json-glib] build: Use AM_PROG_CC_C_O



commit 0810711a7fbb915ba9397a66e77babb30765d090
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Oct 27 17:40:23 2009 +0000

    build: Use AM_PROG_CC_C_O
    
    Use the Automake macro to enable per-target compiler flags.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e98af0c..bf15968 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,6 +32,7 @@ AM_CONFIG_HEADER([config.h])
 
 AM_DISABLE_STATIC
 AM_PATH_GLIB_2_0
+AM_PROG_CC_C_O
 AM_PROG_LIBTOOL
 
 # Honor aclocal flags
@@ -53,7 +54,6 @@ JSON_LT_VERSION="$JSON_LT_CURRENT:$JSON_LT_REVISION:$JSON_LT_AGE"
 JSON_LT_LDFLAGS="-version-info $JSON_LT_VERSION"
 AC_SUBST(JSON_LT_LDFLAGS)
 
-AC_PROG_CC
 AC_HEADER_STDC
 AC_CHECK_HEADERS([unistd.h])
 AC_C_CONST



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]