]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
New conditional WOE32.
authorBruno Haible <bruno@clisp.org>
Mon, 28 May 2007 12:12:24 +0000 (12:12 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:52 +0000 (12:14 +0200)
gettext-runtime/ChangeLog
gettext-runtime/configure.ac
gettext-tools/ChangeLog
gettext-tools/configure.ac

index 4a5fb27ed0fd4aeedef2a9f009589f8a7513623b..36e29abf1e10c2b27d26602e8ec98f935bc540d1 100644 (file)
@@ -1,3 +1,7 @@
+2007-05-28  Bruno Haible  <bruno@clisp.org>
+
+       * configure.ac (WOE32): New conditional.
+
 2007-04-13  Bruno Haible  <bruno@clisp.org>
 
        * configure.ac: For LIBSCHED, try also -lposix4.
index 99f7149e7043a6ca195d92c96ba85a6f0e864725..5a1ea2d0970843d4397e7daf366e88d08a08ed30 100644 (file)
@@ -63,10 +63,19 @@ dnl Make sure we see all GNU and Solaris extensions.
 gl_EARLY
 
 dnl Check for build configuration.
+
 gl_WOE32_DLL
 AC_LIBTOOL_WIN32_DLL
 AC_PROG_LIBTOOL
 
+dnl On mingw and Cygwin, we can activate special Makefile rules which add
+dnl version information to the shared libraries and executables.
+case "$host_os" in
+  mingw* | cygwin*) is_woe32=yes ;;
+  *) is_woe32=no ;;
+esac
+AM_CONDITIONAL([WOE32], [test $is_woe32 = yes])
+
 dnl Checks for libraries.
 
 dnl These are the only lines required to internationalize the package.
index b10d51fce36e10566ff16b0f5883c80998f9573a..77bed0210247eb24dc5e9cd7f0309b6ea34f5ef5 100644 (file)
@@ -1,3 +1,7 @@
+2007-05-28  Bruno Haible  <bruno@clisp.org>
+
+       * configure.ac (WOE32): New conditional.
+
 2007-05-27  Bruno Haible  <bruno@clisp.org>
 
        * configure.ac (gt_OPENMP): Remove invocation.
index ed300d62d14ab5898acf50d4c9f7086dd55fbbaf..351becae96de1b27a2b7d2aceea037daec764a8d 100644 (file)
@@ -87,6 +87,7 @@ gl_EARLY
 gtpo_EARLY
 
 dnl Check for build configuration.
+
 gl_WOE32_DLL
 AC_LIBTOOL_WIN32_DLL
 AC_PROG_LIBTOOL
@@ -98,6 +99,14 @@ case "$host_os" in
 esac
 AC_SUBST([LTNOUNDEF])
 
+dnl On mingw and Cygwin, we can activate special Makefile rules which add
+dnl version information to the shared libraries and executables.
+case "$host_os" in
+  mingw* | cygwin*) is_woe32=yes ;;
+  *) is_woe32=no ;;
+esac
+AM_CONDITIONAL([WOE32], [test $is_woe32 = yes])
+
 dnl Checks for libraries.
 
 dnl These are the only lines required to internationalize the package.