Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for

setting CPPFLAGS)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14516 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-07-30 14:56:01 +00:00
parent d291109ec3
commit 104a09f014

View File

@ -243,6 +243,8 @@ if test x$GXX = xyes; then
CXXFLAGS="-pg $CXXFLAGS"
LDFLAGS="-pg $LDFLAGS"
fi
fi
if test "$ac_env_CPPFLAGS_set" != set; then
if test x$enable_warnings = xyes ; then
case $gxx_version in
3.1*|3.2*|3.3*)