mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
If we're not building from SVN then make sure that
swig-runtime.h and gnc-svninfo.h exist in the source tree. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15524 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a67b94b32f
commit
513bccca0d
21
configure.in
21
configure.in
@ -165,6 +165,27 @@ if test $? = 0 ; then
|
||||
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@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@gnucash.org because
|
||||
the tarball you downloaded is broken.
|
||||
|
||||
])])
|
||||
fi
|
||||
AM_CONDITIONAL(BUILDING_FROM_SVN, test "x$BUILDING_FROM_SVN" = "xyes")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user