summaryrefslogtreecommitdiff
path: root/Build/source/m4
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/m4')
-rw-r--r--Build/source/m4/ChangeLog5
-rw-r--r--Build/source/m4/kpse-setup.m46
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'"])