From: Bruno Haible Date: Mon, 28 May 2007 12:12:24 +0000 (+0000) Subject: New conditional WOE32. X-Git-Tag: v0.17~368 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32cab0727524560284bbf00f0ecb094abaf9c8c5;p=thirdparty%2Fgettext.git New conditional WOE32. --- diff --git a/gettext-runtime/ChangeLog b/gettext-runtime/ChangeLog index 4a5fb27ed..36e29abf1 100644 --- a/gettext-runtime/ChangeLog +++ b/gettext-runtime/ChangeLog @@ -1,3 +1,7 @@ +2007-05-28 Bruno Haible + + * configure.ac (WOE32): New conditional. + 2007-04-13 Bruno Haible * configure.ac: For LIBSCHED, try also -lposix4. diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac index 99f7149e7..5a1ea2d09 100644 --- a/gettext-runtime/configure.ac +++ b/gettext-runtime/configure.ac @@ -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. diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index b10d51fce..77bed0210 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,3 +1,7 @@ +2007-05-28 Bruno Haible + + * configure.ac (WOE32): New conditional. + 2007-05-27 Bruno Haible * configure.ac (gt_OPENMP): Remove invocation. diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac index ed300d62d..351becae9 100644 --- a/gettext-tools/configure.ac +++ b/gettext-tools/configure.ac @@ -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.