From 156a84c2a8fca7cd197be05ebadff082e3d39b4e Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Thu, 4 Dec 2003 19:14:44 +0000 Subject: [PATCH] Configure bugs with perl. Removed runtime build by default git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5481 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Makefile.in | 4 ++-- SWIG/README | 13 +++++++++++++ SWIG/configure.in | 1 + 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/SWIG/Makefile.in b/SWIG/Makefile.in index 159a37de3..877bdf515 100644 --- a/SWIG/Makefile.in +++ b/SWIG/Makefile.in @@ -17,7 +17,7 @@ TARGET = swig@release_suffix@@EXEEXT@ SOURCE = Source RUNTIME = Runtime -swig: source runtime swig.spec +swig: source swig.spec source: @cd $(SOURCE); $(MAKE) @@ -317,7 +317,7 @@ MKINSTDIRS = @abs_srcdir@/Tools/config/install-sh -m 0755 -d M4_SOURCE_DIR = @abs_srcdir@/Tools/config M4_INSTALL_DIR = @datadir@/aclocal -install: install-main install-lib install-runtime install-m4 +install: install-main install-lib install-m4 @echo "Installation complete" install-main: diff --git a/SWIG/README b/SWIG/README index 7c3bd8ae4..c31d3e35c 100644 --- a/SWIG/README +++ b/SWIG/README @@ -168,6 +168,19 @@ packages to compile or run. The configure script is actually looking for these packages so that you can try out the SWIG examples contained in the 'Examples' directory without having to hack Makefiles. +SWIG includes an optional set of runtime libraries that are sometimes used +when working with multiple modules. By default, these aren't built due to +the wide variety of target languages, compilers, compiler flags, and other +configuration information that impacts the way that they have to be built. +However, if you want to build the runtime libraries in their "default" +configuration, type this: + + % make runtime + % make install-runtime + +More information about the runtime libraries can be found in +Doc/Manual/Modules.html. + Notes: (1) If you checked the code out via CVS, you will have to run ./autogen.sh diff --git a/SWIG/configure.in b/SWIG/configure.in index d9e7ec516..3ab5cb4ef 100644 --- a/SWIG/configure.in +++ b/SWIG/configure.in @@ -696,6 +696,7 @@ case $host in *)PERL5DYNAMICLINKING="";; esac +AC_SUBST(PERL) AC_SUBST(PERL5EXT) AC_SUBST(PERL5DYNAMICLINKING) AC_SUBST(PERL5LIB)