Skip to content

Commit c0e02bd

Browse files
committed
Rearrange code.
1 parent 82a6cdc commit c0e02bd

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2009-04-11 Bruno Haible <bruno@clisp.org>
2+
3+
* configure.ac: Move the statements for WOE32 and WINDRES.
4+
15
2009-03-26 Bruno Haible <bruno@clisp.org>
26

37
* Version 1.13 released.

configure.ac

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,19 @@ dnl Prepares the libtool configuration for handling of Windows resources, and
8383
dnl sets the RC variable to a program that compiles Windows resource files.
8484
LT_LANG([Windows Resource])
8585

86+
dnl On mingw and Cygwin, we can activate special Makefile rules which add
87+
dnl version information to the executables.
88+
case "$host_os" in
89+
mingw* | cygwin*) is_woe32=yes ;;
90+
*) is_woe32=no ;;
91+
esac
92+
WOE32=$is_woe32
93+
AC_SUBST([WOE32])
94+
if test $WOE32 = yes; then
95+
dnl Check for a program that compiles Windows resource files.
96+
AC_CHECK_TOOL([WINDRES], [windres])
97+
fi
98+
8699
gl_VISIBILITY
87100
AM_ICONV
88101
AM_GNU_GETTEXT([external], [need-ngettext])
@@ -172,19 +185,6 @@ else
172185
fi
173186
AC_SUBST([DLL_VARIABLE])
174187

175-
dnl On mingw and Cygwin, we can activate special Makefile rules which add
176-
dnl version information to the executables.
177-
case "$host_os" in
178-
mingw* | cygwin*) is_woe32=yes ;;
179-
*) is_woe32=no ;;
180-
esac
181-
WOE32=$is_woe32
182-
AC_SUBST([WOE32])
183-
if test $WOE32 = yes; then
184-
dnl Check for a program that compiles Windows resource files.
185-
AC_CHECK_TOOL([WINDRES], [windres])
186-
fi
187-
188188
AH_BOTTOM([
189189
/* On Windows, variables that may be in a DLL must be marked specially. */
190190
#if defined _MSC_VER && defined _DLL

0 commit comments

Comments
 (0)