From: Tim Kientzle Date: Wed, 11 Nov 2009 07:50:13 +0000 (-0500) Subject: Probe for cygwin_conv_path in cmake build, for Cygwin 1.7. X-Git-Tag: v2.8.0~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15caccc310d87bf8a0145d7dc2d49311318d25a3;p=thirdparty%2Flibarchive.git Probe for cygwin_conv_path in cmake build, for Cygwin 1.7. SVN-Revision: 1629 --- 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