Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Autotools: make GP_CHECK_CFLAGS() public

  • Loading branch information...
commit 5b109eed55e521d030f3a6961547ad95689a21c5 1 parent 2f239b0
@b4n b4n authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 build/cflags.m4
View
6 build/cflags.m4
@@ -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])
Please sign in to comment.
Something went wrong with that request. Please try again.