summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@codelibre.net>2021-01-01 13:45:23 +0000
committerRoger Leigh <rleigh@codelibre.net>2021-01-06 09:25:36 +0000
commitc0e0099392863e0f77058fb3877c194c272f2641 (patch)
tree01d0460a224be5dc6b894a635d99d001ffdba5f2
parentb09bbeb1fb96d5476009a929c1521cd83934ec5f (diff)
downloadlibtiff-git-c0e0099392863e0f77058fb3877c194c272f2641.tar.gz
cmake: Drop dlfcn.h check
-rw-r--r--CMakeLists.txt1
-rw-r--r--configure.ac2
-rw-r--r--libtiff/tif_config.h.cmake.in3
3 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 34dd47cb..6ededeae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -207,7 +207,6 @@ if(NOT MINGW)
endif()
check_include_file(assert.h HAVE_ASSERT_H)
-check_include_file(dlfcn.h HAVE_DLFCN_H)
check_include_file(fcntl.h HAVE_FCNTL_H)
check_include_file(inttypes.h TIFF_HAVE_INTTYPES_H)
check_include_file(io.h HAVE_IO_H)
diff --git a/configure.ac b/configure.ac
index 2c48b47f..c82dfe5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -174,7 +174,7 @@ case "${host_os}" in
esac
dnl Checks for header files.
-AC_CHECK_HEADERS([assert.h fcntl.h io.h search.h unistd.h])
+AC_CHECK_HEADERS([assert.h fcntl.h inttypes.h io.h search.h stdint.h unistd.h])
AC_CHECK_HEADER([inttypes.h], [TIFF_HAVE_INTTYPES_H=1], [TIFF_HAVE_INTTYPES_H=0])
AC_CHECK_HEADER([stdint.h], [TIFF_HAVE_STDINT_H=1], [TIFF_HAVE_STDINT_H=0])
diff --git a/libtiff/tif_config.h.cmake.in b/libtiff/tif_config.h.cmake.in
index b483e139..ab1c0f7d 100644
--- a/libtiff/tif_config.h.cmake.in
+++ b/libtiff/tif_config.h.cmake.in
@@ -20,9 +20,6 @@
/* Define to 1 if you have the <assert.h> header file. */
#cmakedefine HAVE_ASSERT_H 1
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#cmakedefine HAVE_DLFCN_H 1
-
/* Define to 1 if you have the <fcntl.h> header file. */
#cmakedefine HAVE_FCNTL_H 1