aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-25 15:51:18 +0200
committerMax Kellermann <max@duempel.org>2008-08-25 15:51:18 +0200
commitd05c8fd422266f5769ba8bde1ee23a20a73578a7 (patch)
treef7c2a2b19b87f723462ed459df2310c7cdeecfc7
parentc0037784549e1d560b5defb845bdc336dcf3fc32 (diff)
downloadmpd-d05c8fd422266f5769ba8bde1ee23a20a73578a7.tar.gz
mpd-d05c8fd422266f5769ba8bde1ee23a20a73578a7.tar.xz
mpd-d05c8fd422266f5769ba8bde1ee23a20a73578a7.zip
quote "=" in the CFLAGS check
Previously, it was not possible to check for e.g. "-std=c99".
Diffstat (limited to '')
-rw-r--r--m4/mpd_check_cflag.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/mpd_check_cflag.m4 b/m4/mpd_check_cflag.m4
index 05682f611..421123355 100644
--- a/m4/mpd_check_cflag.m4
+++ b/m4/mpd_check_cflag.m4
@@ -1,5 +1,5 @@
AC_DEFUN([MPD_CHECK_FLAG],[
- var=`echo "$1" | tr "-" "_"`
+ var=`echo "$1" | tr "=-" "__"`
AC_CACHE_CHECK([whether the C compiler accepts $1],
[mpd_check_cflag_$var],[
save_CFLAGS="$CFLAGS"