SF.net SVN: geany-plugins:[2024] trunk/geany-plugins/build/cflags.m4

hyperair at users.sourceforge.net hyperair at xxxxx
Tue Apr 12 18:01:14 UTC 2011


Revision: 2024
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2024&view=rev
Author:   hyperair
Date:     2011-04-12 18:01:14 +0000 (Tue, 12 Apr 2011)

Log Message:
-----------
Use AC_LANG_SOURCE in body of AC_COMPILE_IFELSE

Modified Paths:
--------------
    trunk/geany-plugins/build/cflags.m4

Modified: trunk/geany-plugins/build/cflags.m4
===================================================================
--- trunk/geany-plugins/build/cflags.m4	2011-04-12 17:50:46 UTC (rev 2023)
+++ trunk/geany-plugins/build/cflags.m4	2011-04-12 18:01:14 UTC (rev 2024)
@@ -6,7 +6,7 @@
     CFLAGS="$1"
     AC_LANG([C])
     AC_MSG_CHECKING([whether the C compiler understands $CFLAGS])
-    AC_COMPILE_IFELSE([int main(void) {return 0;}],
+    AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main(void) {return 0;}])],
                       [AC_MSG_RESULT([yes])
                        $2],
                       [AC_MSG_RESULT([no])


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list