r15223 - gnucash/trunk - Do not determine SWIG_LIB by running `swig -swiglib`, because we do not

Andreas Köhler andi5 at cvs.gnucash.org
Sun Dec 17 13:32:19 EST 2006


Author: andi5
Date: 2006-12-17 13:32:18 -0500 (Sun, 17 Dec 2006)
New Revision: 15223
Trac: http://svn.gnucash.org/trac/changeset/15223

Modified:
   gnucash/trunk/
   gnucash/trunk/macros/ac_pkg_swig.m4
Log:
Do not determine SWIG_LIB by running `swig -swiglib`, because we do not
make use of it and it made problems on MinGW (output was two lines).



Property changes on: gnucash/trunk
___________________________________________________________________
Name: svk:merge
   - 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/swig-redo:802
3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/trunk:943
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13714
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:13366
   + 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/swig-redo:802
3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/trunk:990
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13714
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:13366

Modified: gnucash/trunk/macros/ac_pkg_swig.m4
===================================================================
--- gnucash/trunk/macros/ac_pkg_swig.m4	2006-12-16 17:50:25 UTC (rev 15222)
+++ gnucash/trunk/macros/ac_pkg_swig.m4	2006-12-17 18:32:18 UTC (rev 15223)
@@ -74,15 +74,16 @@
                                 SWIG='echo "Error: SWIG version >= $1 is required.  You have '"$swig_version"'.  You should look at http://www.swig.org" ; false'
                         else
                                 AC_MSG_NOTICE([SWIG executable is '$SWIG'])
-                                SWIG_LIB=`$SWIG -swiglib`
-                                AC_MSG_NOTICE([SWIG library directory is '$SWIG_LIB'])
+dnl We do not make use of SWIG_LIB and `$SWIG -swiglib` made problems on MinGW (output was two lines)
+dnl                                SWIG_LIB=`$SWIG -swiglib`
+dnl                                AC_MSG_NOTICE([SWIG library directory is '$SWIG_LIB'])
                         fi
                 else
                         AC_MSG_ERROR([cannot determine SWIG version])
                         SWIG='echo "Error: Cannot determine SWIG version.  You should look at http://www.swig.org" ; false'
                 fi
         fi
-        AC_SUBST([SWIG_LIB])
+dnl        AC_SUBST([SWIG_LIB])
 ])
 
 # SWIG_ENABLE_CXX()



More information about the gnucash-changes mailing list