[geany/geany-plugins] 5b109e: Autotools: make GP_CHECK_CFLAGS() public
Colomban Wendling
git-noreply at xxxxx
Sun Apr 13 18:14:40 UTC 2014
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Sun, 13 Apr 2014 18:14:40 UTC
Commit: 5b109eed55e521d030f3a6961547ad95689a21c5
https://github.com/geany/geany-plugins/commit/5b109eed55e521d030f3a6961547ad95689a21c5
Log Message:
-----------
Autotools: make GP_CHECK_CFLAGS() public
Modified Paths:
--------------
build/cflags.m4
Modified: build/cflags.m4
6 files changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -1,6 +1,6 @@
-dnl _GP_CHECK_CFLAG_(FLAG, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+dnl GP_CHECK_CFLAG(FLAG, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
dnl Checks whether the C compiler understands FLAG
-AC_DEFUN([_GP_CHECK_CFLAG_],
+AC_DEFUN([GP_CHECK_CFLAG],
[
gp_check_cflag_CFLAGS="$CFLAGS"
CFLAGS="$1"
@@ -38,7 +38,7 @@ AC_DEFUN([GP_CHECK_CFLAGS],
-Wundef \
-Wwrite-strings
do
- _GP_CHECK_CFLAG_([$flag], [GP_CFLAGS="${GP_CFLAGS} $flag"])
+ GP_CHECK_CFLAG([$flag], [GP_CFLAGS="${GP_CFLAGS} $flag"])
done
])
AC_SUBST([GP_CFLAGS])
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list