summaryrefslogtreecommitdiffstats
path: root/gettext-runtime
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-05-09 18:43:42 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:13:15 +0200
commitb35d15ff4ac949aec64677ce64ba3c46f47950c9 (patch)
tree595bbc1ae6bd9366d7e68b649f91c118a8c85eb7 /gettext-runtime
parentfb8ab69bcf4a5462795b280992b07a896e1eeb65 (diff)
downloadexternal_gettext-b35d15ff4ac949aec64677ce64ba3c46f47950c9.zip
external_gettext-b35d15ff4ac949aec64677ce64ba3c46f47950c9.tar.gz
external_gettext-b35d15ff4ac949aec64677ce64ba3c46f47950c9.tar.bz2
Enable shared libraries on Cygwin.
Diffstat (limited to 'gettext-runtime')
-rw-r--r--gettext-runtime/libasprintf/ChangeLog5
-rw-r--r--gettext-runtime/libasprintf/configure.ac6
2 files changed, 9 insertions, 2 deletions
diff --git a/gettext-runtime/libasprintf/ChangeLog b/gettext-runtime/libasprintf/ChangeLog
index a16e58f..e78eb80 100644
--- a/gettext-runtime/libasprintf/ChangeLog
+++ b/gettext-runtime/libasprintf/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-02 Charles Wilson <cygwin@cwilson.fastmail.fm>
+
+ * configure.ac (LTNOUNDEF): Set to -no-undefined also on mingw and
+ Cygwin.
+
2006-04-17 Bruno Haible <bruno@clisp.org>
* Makefile.am: Use $(mkdir_p) instead of $(mkinstalldirs).
diff --git a/gettext-runtime/libasprintf/configure.ac b/gettext-runtime/libasprintf/configure.ac
index b536bfe..b000014 100644
--- a/gettext-runtime/libasprintf/configure.ac
+++ b/gettext-runtime/libasprintf/configure.ac
@@ -1,5 +1,5 @@
dnl Configuration for the GNU libasprintf library
-dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2006 Free Software Foundation, Inc.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
@@ -41,7 +41,9 @@ gl_WOE32_DLL
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
case "$host_os" in
- beos*) LTNOUNDEF='-no-undefined' ;;
+ # On Cygwin, without -no-undefined, a warning is emitted and only a static
+ # library is built.
+ beos* | mingw* | cygwin*) LTNOUNDEF='-no-undefined' ;;
*) LTNOUNDEF='' ;;
esac
AC_SUBST([LTNOUNDEF])