[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeedu/kig
From:       Dominique Devriese <devriese () kde ! org>
Date:       2003-08-25 19:33:44
[Download RAW message or body]

CVS commit by domi: 

fix a wrong "lib not found" error by removing -pedantic from CXXFLAGS before testing. \
The change is undone after the test..


  M +5 -0      ChangeLog   1.77
  M +5 -0      configure.in.in   1.15


--- kdeedu/kig/configure.in.in  #1.14:1.15
@@ -38,4 +38,9 @@
   AC_CHECK_HEADER(boost/python.hpp,,[KIG_PYTHON_NOT_FOUND] )
 
+  # this will try to compile a program which tries to call the main
+  # function inside the main function, which will cause a spurious
+  # error.  Therefore, we first remove the -pedantic flag from
+  # CXXFLAGS..
+  CXXFLAGS="$(echo "$CXXFLAGS" | sed -e 's/-pedantic//g')"
   KDE_CHECK_LIB( boost_python, main, [], [KIG_PYTHON_NOT_FOUND] )
 

--- kdeedu/kig/ChangeLog  #1.76:1.77
@@ -1,2 +1,7 @@
+2003-08-25  Dominique Devriese  <devriese@kde.org>
+
+        * fix a wrong "lib not found error" in configure.in.in by removing
+        -pedantic from CXXFLAGS while trying to compile.
+
 2003-08-15  Dominique Devriese  <devriese@kde.org>
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic