From: Georg Baum Date: Sun, 30 Jul 2006 14:56:01 +0000 (+0000) Subject: Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for X-Git-Tag: 1.6.10~12902 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=104a09f0145580d1bda56ae1437810edd172f83d;p=lyx.git 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 --- diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index d844177fd3..5b872b432b 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -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*)