SF.net SVN: geany-plugins:[2025] trunk/geany-plugins/build/cflags.m4
hyperair at users.sourceforge.net
hyperair at xxxxx
Tue Apr 12 18:01:44 UTC 2011
Revision: 2025
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2025&view=rev
Author: hyperair
Date: 2011-04-12 18:01:44 +0000 (Tue, 12 Apr 2011)
Log Message:
-----------
Use AC_LANG_{PUSH,POP} instead of AC_LANG
Modified Paths:
--------------
trunk/geany-plugins/build/cflags.m4
Modified: trunk/geany-plugins/build/cflags.m4
===================================================================
--- trunk/geany-plugins/build/cflags.m4 2011-04-12 18:01:14 UTC (rev 2024)
+++ trunk/geany-plugins/build/cflags.m4 2011-04-12 18:01:44 UTC (rev 2025)
@@ -4,13 +4,14 @@
[
gp_check_cflag_CFLAGS="$CFLAGS"
CFLAGS="$1"
- AC_LANG([C])
AC_MSG_CHECKING([whether the C compiler understands $CFLAGS])
+ AC_LANG_PUSH(C)
AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main(void) {return 0;}])],
[AC_MSG_RESULT([yes])
$2],
[AC_MSG_RESULT([no])
$3])
+ AC_LANG_POP(C)
CFLAGS="$gp_check_cflag_CFLAGS"
])
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