Code

configure.ac: Use correct autoconf quoting magic in AC_LANG_CONFTEST().
authorSebastian Harl <sh@tokkee.org>
Tue, 18 Oct 2011 19:29:41 +0000 (21:29 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 18 Oct 2011 19:29:41 +0000 (21:29 +0200)
configure.ac

index dff4b9bde8eb21e35a781c24eb2bd01f11deb3d9..43383d6e8781183de96a46f669d0f1e8c7edebcb 100644 (file)
@@ -73,7 +73,7 @@ m4_ifdef([LT_INIT],
 )
 
 test_cc_flags() {
-       AC_LANG_CONFTEST([int main() {}])
+       AC_LANG_CONFTEST([AC_LANG_PROGRAM([[ ]], [[ ]])])
        $CC -c conftest.c $CFLAGS $@ > /dev/null 2> /dev/null
        ret=$?
        rm -f conftest.o