Commit d05c8fd4 authored by Max Kellermann's avatar Max Kellermann

quote "=" in the CFLAGS check

Previously, it was not possible to check for e.g. "-std=c99".
parent c0037784
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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment