configure.ac
changeset 16 579831f324c7
parent 15 ba16f91d585c
child 18 30dd8888a271
     1.1 --- a/configure.ac	Thu Aug 25 20:22:44 2011 +0100
     1.2 +++ b/configure.ac	Thu Aug 25 20:41:08 2011 +0100
     1.3 @@ -45,7 +45,16 @@
     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 +case $host_os in
     1.9 +    mingw*)
    1.10 +	AC_CHECK_HEADERS([softpub.h],[],[],
    1.11 +	  [#include <windows.h>
    1.12 +	  ])
    1.13 +	AC_CHECK_HEADERS([mscat.h],[],[],
    1.14 +	  [#include <windows.h>
    1.15 +	  ])
    1.16 +	;;
    1.17 +esac
    1.18  
    1.19  ##################################################
    1.20  # Checks for typedefs, structures, and compiler characteristics.