diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-08-13 08:35:52 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-08-13 08:35:52 +0000 |
commit | e99c0ea4de186714209c6be95394fe48a720567f (patch) | |
tree | c3378e1c9045ede43cd2a53851cecf4d64d4306d /Build/source/m4 | |
parent | e693c2e5c8b1070b8ad4390c0782ef0d40231433 (diff) |
Allow shared libraries (DLLs) in native TeXLive builds for Cygwin and MinGW
git-svn-id: svn://tug.org/texlive/trunk@38111 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4')
-rw-r--r-- | Build/source/m4/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/m4/kpse-setup.m4 | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/m4/ChangeLog b/Build/source/m4/ChangeLog index 0dea449af99..028e4931ce2 100644 --- a/Build/source/m4/ChangeLog +++ b/Build/source/m4/ChangeLog @@ -1,3 +1,8 @@ +2015-08-13 Peter Breitenlohner <peb@mppmu.mpg.de> + + * kpse-setup.m4: Allow shared libraries (DLLs) in native TeXLive + builds for Cygwin and MinGW. + 2015-06-12 Peter Breitenlohner <peb@mppmu.mpg.de> * kpse-warnings.m4: Warning flags for gcc 5.x. diff --git a/Build/source/m4/kpse-setup.m4 b/Build/source/m4/kpse-setup.m4 index 145ca0f4aca..a47abb34bca 100644 --- a/Build/source/m4/kpse-setup.m4 +++ b/Build/source/m4/kpse-setup.m4 @@ -53,9 +53,9 @@ AS_CASE([$enable_libtool_hack], [enable_libtool_hack=no], [enable_libtool_hack=yes]) ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'"]) -AS_CASE([$enable_shared], - [no], [:], - [yes ], [AS_IF([test "x$enable_native_texlive_build" = xyes], +AS_CASE([$enable_shared:$host_os], + [no:* | yes:mingw* | yes:cygwin*], [:], + [yes:* ], [AS_IF([test "x$enable_native_texlive_build" = xyes], [AC_MSG_ERROR([you can not use a shared Kpathsea library for a native TeX Live build])])], [enable_shared=no ac_configure_args="$ac_configure_args '--disable-shared'"]) |