diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2010-01-02 18:21:30 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2010-01-02 18:21:30 +0000 |
commit | cdec198759de48457aac680223f5c64fad7b2b2c (patch) | |
tree | 6dfc710f0defec72cb79f28823d34c358e35ce87 /CMakeLists.txt | |
parent | 24654bb77f039f6e0ef4abd80c48bd49fe771557 (diff) | |
download | pcre-cdec198759de48457aac680223f5c64fad7b2b2c.tar.gz |
Tidies to allow easier embedded compilation; avoid (double) where possible.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@475 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 344fb0f..44e119f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,7 @@ # to disable the final configuration report. # 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 PROJECT(PCRE C CXX) @@ -55,6 +56,7 @@ INCLUDE(CheckFunctionExists) INCLUDE(CheckTypeSize) CHECK_INCLUDE_FILE(dirent.h HAVE_DIRENT_H) +CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_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) |