]> git.lyx.org Git - lyx.git/commitdiff
Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 30 Jul 2006 14:56:01 +0000 (14:56 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 30 Jul 2006 14:56:01 +0000 (14:56 +0000)
setting CPPFLAGS)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14516 a592a061-630c-0410-9148-cb99ea01b6c8

config/lyxinclude.m4

index d844177fd3470d4bf3b2d3633702bcb11ac7c835..5b872b432b3d9d0716e04d18c0e555654c3937df 100644 (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*)