Add test AC_PROG_CC and comment about AM_PROG_CC_C_O
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 27 Jul 2013 04:50:15 +0000 (00:50 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 6 Nov 2013 00:54:29 +0000 (19:54 -0500)
configure.ac

index faff915..1261c02 100644 (file)
@@ -11,9 +11,12 @@ AM_INIT_AUTOMAKE(check-news)
 AM_SILENT_RULES([yes])
 
 dnl Testing the C compiler.
-AM_PROG_CC_C_O
+AC_PROG_CC
 AC_LANG_C
 
+dnl For per-target flags
+AM_PROG_CC_C_O
+
 dnl Checking for typedefs, structures, and compiler characteristics.
 AC_C_CONST
 AC_TYPE_PID_T