]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Probe for cygwin_conv_path in cmake build, for Cygwin 1.7.
authorTim Kientzle <kientzle@gmail.com>
Wed, 11 Nov 2009 07:50:13 +0000 (02:50 -0500)
committerTim Kientzle <kientzle@gmail.com>
Wed, 11 Nov 2009 07:50:13 +0000 (02:50 -0500)
SVN-Revision: 1629

CMakeLists.txt
build/cmake/config.h.in

index c8823ef94fbb98ba8c78729fd73339e50c5baf32..b5e37570c1ae84655d342f593885b139152f624f 100644 (file)
@@ -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)
index 2db556c7925935eaa5d64365dd0818e0bfafd28e..e95c83d10aa64c2d78cf6683464d91015d1047d2 100644 (file)
@@ -66,6 +66,9 @@
 /* Define to 1 if you have the <ctype.h> 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