From 15caccc310d87bf8a0145d7dc2d49311318d25a3 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Wed, 11 Nov 2009 02:50:13 -0500 Subject: [PATCH] Probe for cygwin_conv_path in cmake build, for Cygwin 1.7. SVN-Revision: 1629 --- CMakeLists.txt | 1 + build/cmake/config.h.in | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c8823ef94..b5e37570c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -399,6 +399,7 @@ CHECK_SYMBOL_EXISTS(fseeko "stdio.h" HAVE_FSEEKO) CHECK_SYMBOL_EXISTS(strerror_r "string.h" HAVE_STRERROR_R) CHECK_SYMBOL_EXISTS(strftime "time.h" HAVE_STRFTIME) CHECK_SYMBOL_EXISTS(vprintf "stdio.h" HAVE_VPRINTF) +CHECK_SYMBOL_EXISTS(cygwin_conv_path "sys/cygwin.h" HAVE_CYGWIN_CONV_PATH) IF(HAVE_STRERROR_R) SET(HAVE_DECL_STRERROR_R 1) diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in index 2db556c79..e95c83d10 100644 --- a/build/cmake/config.h.in +++ b/build/cmake/config.h.in @@ -66,6 +66,9 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_CTYPE_H 1 +/* Define to 1 if you have the `cygwin_conv_path' function. */ +#cmakedefine HAVE_CYGWIN_CONV_PATH 1 + /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #cmakedefine HAVE_DECL_INT64_MAX 1 -- 2.47.3