r23753 - gnucash/trunk - Fix make distcheck on systems that do have swig >= 2.0.10

Geert Janssens gjanssens at code.gnucash.org
Fri Jan 24 11:23:55 EST 2014


Author: gjanssens
Date: 2014-01-24 11:23:54 -0500 (Fri, 24 Jan 2014)
New Revision: 23753
Trac: http://svn.gnucash.org/trac/changeset/23753

Modified:
   gnucash/trunk/configure.ac
Log:
Fix make distcheck on systems that do have swig >= 2.0.10

Modified: gnucash/trunk/configure.ac
===================================================================
--- gnucash/trunk/configure.ac	2014-01-24 14:01:49 UTC (rev 23752)
+++ gnucash/trunk/configure.ac	2014-01-24 16:23:54 UTC (rev 23753)
@@ -517,10 +517,13 @@
     then
         AC_MSG_WARN([You don't have SWIG 2.0.10 so you will not be able to "make dist"])
     fi
+    AM_CONDITIONAL([SWIG_DIST_FAIL], test "${gnc_have_swig_2_0_10}" != yes)
+else
+    # When building from tarball, all the prerequisites to build dist are already
+    # met so make sure it's allowed
+    AM_CONDITIONAL([SWIG_DIST_FAIL], test yes != yes)
 fi
 
-AM_CONDITIONAL([SWIG_DIST_FAIL], test "${gnc_have_swig_2_0_10}" != yes)
-
 ### --------------------------------------------------------------------------
 ### LIBXML -- GNOME_XML_LIB is defined by GNOME_XML_CHECK
 



More information about the gnucash-changes mailing list