diff options
author | Max Kellermann <max@duempel.org> | 2008-08-25 15:51:18 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-25 15:51:18 +0200 |
commit | d05c8fd422266f5769ba8bde1ee23a20a73578a7 (patch) | |
tree | f7c2a2b19b87f723462ed459df2310c7cdeecfc7 /m4/mpd_check_cflag.m4 | |
parent | c0037784549e1d560b5defb845bdc336dcf3fc32 (diff) | |
download | mpd-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 'm4/mpd_check_cflag.m4')
-rw-r--r-- | m4/mpd_check_cflag.m4 | 2 |
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" |