Revision: 495
http://vcs.pcre.org/viewvc?view=rev&revision=495
Author: ph10
Date: 2010-03-02 11:56:59 +0000 (Tue, 02 Mar 2010)
Log Message:
-----------
Ensure CMake checks for inttypes.
Modified Paths:
--------------
code/trunk/CMakeLists.txt
Modified: code/trunk/CMakeLists.txt
===================================================================
--- code/trunk/CMakeLists.txt 2010-03-02 11:53:12 UTC (rev 494)
+++ code/trunk/CMakeLists.txt 2010-03-02 11:56:59 UTC (rev 495)
@@ -36,6 +36,7 @@
# 2009-04-11 PH applied Christian Ehrlicher's patch to show compiler flags that
# are set by specifying a release type.
# 2010-01-02 PH added test for stdint.h
+# 2010-03-02 PH addes test for inttypes.h
PROJECT(PCRE C CXX)
@@ -57,6 +58,7 @@
CHECK_INCLUDE_FILE(dirent.h HAVE_DIRENT_H)
CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_H)
+CHECK_INCLUDE_FILE(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H)
CHECK_INCLUDE_FILE(sys/types.h HAVE_SYS_TYPES_H)
CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H)