configure.in
changeset 406 b67f52365db0
parent 405 bfb16c4e42e0
child 411 cade1e3a4cb8
     1.1 --- a/configure.in	Fri Oct 02 12:30:42 2009 +0000
     1.2 +++ b/configure.in	Fri Oct 02 13:50:36 2009 +0000
     1.3 @@ -40,6 +40,19 @@
     1.4  AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
     1.5  AC_CANONICAL_HOST
     1.6  
     1.7 +dnl Check for tools
     1.8 +AC_LIBTOOL_WIN32_DLL
     1.9 +AC_PROG_LIBTOOL
    1.10 +AC_PROG_CC
    1.11 +AC_PROG_INSTALL
    1.12 +AC_PROG_MAKE_SET
    1.13 +if test -z "$host_alias"; then
    1.14 +    hostaliaswindres=
    1.15 +else
    1.16 +    hostaliaswindres="$host_alias-windres"
    1.17 +fi
    1.18 +AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres])
    1.19 +
    1.20  dnl Set up the compiler and linker flags
    1.21  case "$host" in
    1.22      *-*-cygwin*)
    1.23 @@ -69,19 +82,6 @@
    1.24  CFLAGS="$CFLAGS $EXTRA_CFLAGS"
    1.25  LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
    1.26  
    1.27 -dnl Check for tools
    1.28 -AC_LIBTOOL_WIN32_DLL
    1.29 -AC_PROG_LIBTOOL
    1.30 -AC_PROG_CC
    1.31 -AC_PROG_INSTALL
    1.32 -AC_PROG_MAKE_SET
    1.33 -if test -z "$host_alias"; then
    1.34 -    hostaliaswindres=
    1.35 -else
    1.36 -    hostaliaswindres="$host_alias-windres"
    1.37 -fi
    1.38 -AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres])
    1.39 -
    1.40  dnl Check for compiler characteristics
    1.41  AC_C_CONST
    1.42