configure.ac: add -I to CPPFLAGS, not CFLAGS

This commit is contained in:
Max Kellermann 2012-07-30 11:02:11 +02:00
parent 60ac702038
commit 0562cf99ba

View File

@ -119,7 +119,7 @@ if test -z "$prefix" || test "x$prefix" = xNONE; then
done
for d in $local_include; do
if test -d "$d"; then
CFLAGS="$CFLAGS -I$d"
CPPFLAGS="$CPPFLAGS -I$d"
break
fi
done