diff --git a/configure.ac b/configure.ac index bc047df62b..805989a1b7 100644 --- a/configure.ac +++ b/configure.ac @@ -517,10 +517,13 @@ then 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