{Changes to enable non-local build}
Add autoconf test for subdir Tools. Rewrite autoconf tests to use subshell. Don't run ltconfig from here; use Tools/configure for that. Add Tools to `AC_CONFIG_SUBDIRS' call. Create subdir Source if not present. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b50cb178e3
commit
110ec0e2d9
1 changed files with 14 additions and 11 deletions
|
|
@ -470,23 +470,26 @@ AC_SUBST(PERL5EXT)
|
||||||
|
|
||||||
AC_SUBST(ROOT_DIR)ROOT_DIR=`pwd`
|
AC_SUBST(ROOT_DIR)ROOT_DIR=`pwd`
|
||||||
|
|
||||||
if test ! -r Source/DOH/configure; then
|
# FIXME: Calling autoconf manually like this is wrong. --ttn, 2000/02/25
|
||||||
cd Source/DOH
|
if test ! -r $srcdir/Source/DOH/configure; then
|
||||||
autoconf
|
(cd $srcdir/Source/DOH ; autoconf)
|
||||||
cd ../..
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -d Source/SWILL/SWILL; then
|
if test -d $srcdir/Source/SWILL/SWILL; then
|
||||||
if test ! -r Source/SWILL/configure; then
|
if test ! -r $srcdir/Source/SWILL/configure; then
|
||||||
cd Source/SWILL
|
(cd $srcdir/Source/SWILL ; autoconf)
|
||||||
autoconf
|
|
||||||
cd ../..
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd Tools; ./ltconfig --enable-dlopen ltmain.sh; cd ..
|
if test ! -r $srcdir/Tools/configure ; then
|
||||||
|
(cd $srcdir/Tools ; autoconf)
|
||||||
|
fi
|
||||||
|
|
||||||
AC_CONFIG_SUBDIRS(Source/SWILL Source/DOH)
|
AC_CONFIG_SUBDIRS(Source/SWILL Source/DOH Tools)
|
||||||
|
|
||||||
|
# NOTE: The following ref to `Source' should NOT be prefixed w/ `$srcdir/'.
|
||||||
|
# We can remove it if `Source' ever has a generated file but not before.
|
||||||
|
test -d Source || mkdir Source
|
||||||
|
|
||||||
AC_OUTPUT(
|
AC_OUTPUT(
|
||||||
Examples/Makefile
|
Examples/Makefile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue