[Pcre-svn] [942] code/trunk/configure.ac: Ensure PCRE2_HAVE…

Inizio della pagina
Delete this message
Autore: Subversion repository
Data:  
To: pcre-svn
Oggetto: [Pcre-svn] [942] code/trunk/configure.ac: Ensure PCRE2_HAVE_STDINT_H is defined to 0 when no header, not unset.
Revision: 942
          http://www.exim.org/viewvc/pcre2?view=rev&revision=942
Author:   ph10
Date:     2018-06-21 16:20:39 +0100 (Thu, 21 Jun 2018)
Log Message:
-----------
Ensure PCRE2_HAVE_STDINT_H is defined to 0 when no header, not unset. Same for 
PCRE2_HAVE_INTTYPES_H.


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


Modified: code/trunk/configure.ac
===================================================================
--- code/trunk/configure.ac    2018-06-20 17:05:31 UTC (rev 941)
+++ code/trunk/configure.ac    2018-06-21 15:20:39 UTC (rev 942)
@@ -451,8 +451,8 @@
 AC_CHECK_HEADERS([windows.h], [HAVE_WINDOWS_H=1])
 AC_CHECK_HEADERS([sys/wait.h], [HAVE_SYS_WAIT_H=1])


-AC_CHECK_HEADERS([stdint.h], [PCRE2_HAVE_STDINT_H=1])
-AC_CHECK_HEADERS([inttypes.h], [PCRE2_HAVE_INTTYPES_H=1])
+AC_CHECK_HEADERS([stdint.h], [PCRE2_HAVE_STDINT_H=1], [PCRE2_HAVE_STDINT_H=0])
+AC_CHECK_HEADERS([inttypes.h], [PCRE2_HAVE_INTTYPES_H=1], [PCRE2_HAVE_INTTYPES_H=0])
AC_SUBST([PCRE2_HAVE_STDINT_H])
AC_SUBST([PCRE2_HAVE_INTTYPES_H])