r15524 - gnucash/trunk - If we're not building from SVN then make sure that

Derek Atkins warlord at cvs.gnucash.org
Thu Feb 8 11:03:25 EST 2007


Author: warlord
Date: 2007-02-08 11:03:24 -0500 (Thu, 08 Feb 2007)
New Revision: 15524
Trac: http://svn.gnucash.org/trac/changeset/15524

Modified:
   gnucash/trunk/
   gnucash/trunk/configure.in
Log:
If we're not building from SVN then make sure that
swig-runtime.h and gnc-svninfo.h exist in the source tree.



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:1037
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:14034
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:1037
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:14080
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:13366

Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2007-02-08 13:58:29 UTC (rev 15523)
+++ gnucash/trunk/configure.in	2007-02-08 16:03:24 UTC (rev 15524)
@@ -165,6 +165,27 @@
   AC_PROG_SWIG(1.3.28)
 else
   BUILDING_FROM_SVN=no
+  # Make sure we've got swig-runtime.h and gnc-svninfo.h
+  AC_CHECK_FILE(${srcdir}/src/swig-runtime.h. [],
+	[AC_MSG_ERROR([
+
+It looks like you are NOT building from Subversion
+but I cannot find swig-runtime.h.  Check your PATH
+and make sure we can find svnversion in your PATH!
+Either that or contact gnucash-devel at gnucash.org because
+the tarball you downloaded is broken.
+
+	])])
+  AC_CHECK_FILE(${srcdir}/src/gnome-utils/gnc-svninfo.h. [],
+	[AC_MSG_ERROR([
+
+It looks like you are NOT building from Subversion
+but I cannot find gnc-svninfo.h.  Check your PATH
+and make sure we can find svnversion in your PATH!
+Either that or contact gnucash-devel at gnucash.org because
+the tarball you downloaded is broken.
+
+	])])
 fi
 AM_CONDITIONAL(BUILDING_FROM_SVN, test "x$BUILDING_FROM_SVN" = "xyes")
 



More information about the gnucash-changes mailing list