summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibarchive/CMakeLists.txt26
-rw-r--r--Utilities/cmlibarchive/build/cmake/config.h.in6
2 files changed, 0 insertions, 32 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt
index 9720a7d..e95935a 100644
--- a/Utilities/cmlibarchive/CMakeLists.txt
+++ b/Utilities/cmlibarchive/CMakeLists.txt
@@ -678,32 +678,6 @@ IF(ENABLE_ACL)
CHECK_SYMBOL_EXISTS(ACL_USER "${INCLUDES}" HAVE_ACL_USER)
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
${CMAKE_CURRENT_BINARY_DIR}/config.h)
diff --git a/Utilities/cmlibarchive/build/cmake/config.h.in b/Utilities/cmlibarchive/build/cmake/config.h.in
index 1f5c66e..9af45a0 100644
--- a/Utilities/cmlibarchive/build/cmake/config.h.in
+++ b/Utilities/cmlibarchive/build/cmake/config.h.in
@@ -320,12 +320,6 @@
/* Define to 1 if you have the <poll.h> header file. */
#cmakedefine HAVE_POLL_H 1
-/* Define to 1 if printf() supports "%ju" and "%jd" */
-#cmakedefine HAVE_PRINTF_JD 1
-
-/* Define to 1 if printf() supports "%llu" and "%lld" */
-#cmakedefine HAVE_PRINTF_LLD 1
-
/* Define to 1 if you have the <process.h> header file. */
#cmakedefine HAVE_PROCESS_H 1