We can't -I$x_includes, it might not be set. -I${x_includes:-.} instead.

This commit is contained in:
Joseph Carter 2000-01-07 17:29:46 +00:00
parent 4db01ef0dc
commit 0da23b9a52

View file

@ -225,7 +225,7 @@ if test "x$HAS_OGL" != xno; then
if test "x$OGL_INCLUDES" != xauto; then
OGL_CFLAGS="-I$OGL_INCLUDES"
else
OGL_CFLAGS="-I/usr/local/include -I$x_includes"
OGL_CFLAGS="-I/usr/local/include -I${x_includes:-.}"
fi
save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $OGL_CFLAGS"