[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.15 1.16
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Dec 14 17:26:49 EST 2009
Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive
In directory public:/mounts/ram/cvs-serv25134/Utilities/cmlibarchive
Modified Files:
CMakeLists.txt
Log Message:
libarchive: Drop unused %jd and %lld checks
The libarchive source does not use HAVE_PRINTF_JD or HAVE_PRINTF_LLD, so
we do not need to test for them at configuration time.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/CMakeLists.txt,v
retrieving revision 1.15
retrieving revision 1.16
diff -C 2 -d -r1.15 -r1.16
*** CMakeLists.txt 30 Nov 2009 22:22:23 -0000 1.15
--- CMakeLists.txt 14 Dec 2009 22:26:47 -0000 1.16
***************
*** 679,708 ****
ENDIF(ENABLE_ACL)
- # Check whether printf() supports "%jd"
- CHECK_C_SOURCE_RUNS("
- #include <stdint.h>
- #include <stdio.h>
- #include <string.h>
- static char buf[100];
- int main() {
- sprintf(buf, \"%jd\", (intmax_t)7);
- if (strcmp(buf, \"7\")) return 1;
- sprintf(buf, \"%ju\", (uintmax_t)7);
- return (strcmp(buf, \"7\"));
- }" HAVE_PRINTF_JD)
-
- # Check whether printf() supports "%lld"
- CHECK_C_SOURCE_RUNS("
- #include <stdint.h>
- #include <stdio.h>
- #include <string.h>
- static char buf[100];
- int main() {
- sprintf(buf, \"%lld\", (long long)7);
- if (strcmp(buf, \"7\")) return 1;
- sprintf(buf, \"%llu\", (long long)7);
- return (strcmp(buf, \"7\"));
- }" HAVE_PRINTF_LLD)
-
# Generate "config.h" from "build/cmake/config.h.in"
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/build/cmake/config.h.in
--- 679,682 ----
More information about the Cmake-commits
mailing list