]> xenbits.xensource.com Git - people/andrewcoop/hwloc.git/commitdiff
automake subdir-object mode needs check for -c -o
authorRob Latham <robl@mcs.anl.gov>
Fri, 6 Dec 2013 00:09:06 +0000 (09:09 +0900)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 6 Dec 2013 00:09:06 +0000 (09:09 +0900)
Older automake versions (at least 1.13.1) will complain if we asked for subdir
mode and we did not verify that both -c and -o flags work (AM_PROG_CC_C_O)

tests/embedded/configure.ac

index a986b8fad1eefee460f31d3c30d611f0b7777c5d..37ca0b287f6440ab8451b97665bfe4e4e52f4a30 100644 (file)
@@ -13,6 +13,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 AC_LANG([C])
 
 AC_PROG_CC
+AM_PROG_CC_C_O
 
 cat <<EOF