lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [6287] Temporarily change CPPFLAGS and not CXXFLAGS in con


From: Vadim Zeitlin
Subject: [lmi-commits] [6287] Temporarily change CPPFLAGS and not CXXFLAGS in configure
Date: Sat, 19 Sep 2015 23:45:49 +0000

Revision: 6287
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6287
Author:   zeitlin
Date:     2015-09-19 23:45:48 +0000 (Sat, 19 Sep 2015)
Log Message:
-----------
Temporarily change CPPFLAGS and not CXXFLAGS in configure

While both are used for AC_TRY_COMPILE which is the only check requiring
wxWidgets in configure so far, only CPPFLAGS is used by AC_CHECK_HEADER which
will soon be used for checking for wxPdfDocument headers.

Modified Paths:
--------------
    lmi/trunk/configure.ac

Modified: lmi/trunk/configure.ac
===================================================================
--- lmi/trunk/configure.ac      2015-09-19 23:45:43 UTC (rev 6286)
+++ lmi/trunk/configure.ac      2015-09-19 23:45:48 UTC (rev 6287)
@@ -282,8 +282,8 @@
                          [AC_MSG_ERROR([No wxWidgets headers libs were 
found!])],
                          [],[$WXCONFIG_FLAGS])
 
-save_CXXFLAGS=$CXXFLAGS
-CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS"
+save_CPPFLAGS=$CPPFLAGS
+CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
 
 dnl check that the library options allow to build lmi
 AC_TRY_COMPILE([#include <wx/setup.h>],
@@ -315,7 +315,7 @@
     AC_MSG_WARN([Inappropriate wxWidgets build options detected but 
continuing.])
 )
 
-CXXFLAGS=$save_CXXFLAGS
+CPPFLAGS=$save_CPPFLAGS
 
 WX_STANDARD_OPTIONS_SUMMARY_MSG
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]