diff options
author | Max Kellermann <max@duempel.org> | 2008-08-25 15:51:18 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-30 17:38:07 -0700 |
commit | 2147b207c03891bd657043766444006dce513a93 (patch) | |
tree | 81d0e8f4947f866e81449f753c80c658396e8e37 | |
parent | f150a02a3f025e71bac74dd9ca3eb262daeeed6e (diff) | |
download | mpd-2147b207c03891bd657043766444006dce513a93.tar.gz mpd-2147b207c03891bd657043766444006dce513a93.tar.xz mpd-2147b207c03891bd657043766444006dce513a93.zip |
quote "=" in the CFLAGS check
Previously, it was not possible to check for e.g. "-std=c99".
-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" |