1.1 --- a/configure.ac Fri Oct 16 15:24:19 2009 +0100
1.2 +++ b/configure.ac Mon Feb 08 22:07:17 2010 +0000
1.3 @@ -45,6 +45,7 @@
1.4 # Checks for header files.
1.5 ##################################################
1.6 AC_HEADER_STDC
1.7 +AC_CHECK_HEADERS_ONCE([softpub.h mscat.h])
1.8
1.9 ##################################################
1.10 # Checks for typedefs, structures, and compiler characteristics.
1.11 @@ -55,7 +56,7 @@
1.12 ##################################################
1.13 case $host_os in
1.14 mingw*)
1.15 - EXTRA_LIBS="-lole32"
1.16 + EXTRA_LIBS="-lole32 -lsetupapi"
1.17 EXTRA_BUILD_LIBS="-Wl,-luuid"
1.18 EXTRA_PRIVATE_LIBS="-luuid"
1.19 ;;
1.20 @@ -75,6 +76,14 @@
1.21 ##################################################
1.22 # Checks for library functions.
1.23 ##################################################
1.24 +case $host_os in
1.25 + mingw*)
1.26 + save_libs="$LIBS"
1.27 + LIBS="-lsetupapi $LIBS"
1.28 + AC_CHECK_FUNCS_ONCE([SetupUninstallOEMInfW])
1.29 + LIBS="$save_libs"
1.30 + ;;
1.31 +esac
1.32
1.33 ##################################################
1.34 # Checks for processor independent files.