summaryrefslogtreecommitdiff
path: root/Build/source/texk/configure
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-16 09:51:30 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-16 09:51:30 +0000
commit09950a732cfa76559d18b3540d69bf7eed235171 (patch)
tree00e395f5458e8c3d6904d313d1d513fc9d1dabfb /Build/source/texk/configure
parent6d04c5f72978b866477b0608d68285045337b061 (diff)
build system: --enable-libtool-hack to prvent linking with dependency_libs
git-svn-id: svn://tug.org/texlive/trunk@16027 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/configure')
-rwxr-xr-xBuild/source/texk/configure19
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/texk/configure b/Build/source/texk/configure
index 5f7c4e9458d..7dfd4229ca7 100755
--- a/Build/source/texk/configure
+++ b/Build/source/texk/configure
@@ -640,6 +640,7 @@ enable_all_pkgs
enable_native_texlive_build
enable_multiplatform
enable_cxx_runtime_hack
+enable_libtool_hack
enable_dialog
enable_pdfopen
enable_ps2eps
@@ -1418,6 +1419,7 @@ Optional Features:
--enable-multiplatform put executables into bin/PLATFORM and libraries into
lib/PLATFORM
--enable-cxx-runtime-hack link C++ runtime statically
+ --enable-libtool-hack ignore libtool dependency_libs
--disable-dialog do not build the dialog package
--disable-pdfopen do not build the pdfopen package
--disable-ps2eps do not build the ps2eps package
@@ -2132,6 +2134,18 @@ esac
ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack'" ;;
esac
fi
+case $enable_libtool_hack in #(
+ yes | no) :
+ : ;; #(
+ *) :
+ case $host_os in #(
+ linux* | solaris*) :
+ enable_libtool_hack=yes ;; #(
+ *) :
+ enable_libtool_hack=no ;;
+esac
+ ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
+esac
case $enable_shared in #(
no) :
: ;; #(
@@ -2172,6 +2186,11 @@ if test "${enable_cxx_runtime_hack+set}" = set; then :
enableval=$enable_cxx_runtime_hack;
fi
+# Check whether --enable-libtool-hack was given.
+if test "${enable_libtool_hack+set}" = set; then :
+ enableval=$enable_libtool_hack;
+fi
+
case $with_x in #(