[pcre-dev] [Bug 1428] cannot build on mingw32 (8.34)

Αρχική Σελίδα
Delete this message
Συντάκτης: Jameson
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 1428] cannot build on mingw32 (8.34)
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1428

Jameson <vtjnash@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vtjnash@???
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |





--- Comment #10 from Jameson <vtjnash@???> 2014-01-12 22:18:37 ---
Unfortunately, it didn't work, since HAVE_WINDOWS_H isn't an env variable. The
following minor patch seems to fix that:

```
Index: configure.ac
===================================================================
--- configure.ac        (revision 1443)
+++ configure.ac        (working copy)
@@ -461,8 +461,10 @@


# 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"
pcre_have_bits_type_traits="0"
```

Thanks for the fast response! Much appreciated.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email