don't set cflags if the prefix is /usr (gcc3 warns it).

This commit is contained in:
Takashi Iwai 2002-10-02 11:23:50 +00:00
parent b37f4e1cab
commit 2e24084d3b

View file

@ -71,7 +71,7 @@ else
else
aprefix=$ac_default_prefix
fi
if test -z "$soundbasedir" -a -r "$aprefix/include/sound"; then
if test -z "$soundbasedir" -a x"$aprefix" != x/usr -a -r "$aprefix/include/sound"; then
ALSA_CFLAGS="$ALSA_CFLAGS -I$aprefix/include"
CFLAGS="$CFLAGS -I$aprefix/include"
AC_MSG_RESULT($ALSA_CFLAGS)