[Pcre-svn] [1444] code/trunk/configure.ac: Fix check for win…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [1444] code/trunk/configure.ac: Fix check for windows.h in configure.ac.
Revision: 1444
          http://vcs.pcre.org/viewvc?view=rev&revision=1444
Author:   ph10
Date:     2014-01-13 16:47:03 +0000 (Mon, 13 Jan 2014)


Log Message:
-----------
Fix check for windows.h in configure.ac.

Modified Paths:
--------------
    code/trunk/configure.ac


Modified: code/trunk/configure.ac
===================================================================
--- code/trunk/configure.ac    2014-01-12 19:20:27 UTC (rev 1443)
+++ code/trunk/configure.ac    2014-01-13 16:47:03 UTC (rev 1444)
@@ -461,7 +461,8 @@


# Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS(limits.h sys/types.h sys/stat.h dirent.h windows.h)
+AC_CHECK_HEADERS(limits.h sys/types.h sys/stat.h dirent.h)
+AC_CHECK_HEADERS([windows.h], [HAVE_WINDOWS_H=1])

# The files below are C++ header files.
pcre_have_type_traits="0"