summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-01-08 15:50:29 -0500
committerAdam Jackson <ajax@redhat.com>2018-01-16 16:08:28 -0500
commit1274015186a8457c38c3b5dcc9965c62f1d2a7a6 (patch)
tree79e0b6845541b4ee9c8a37acc58e6f46db155e1f
parentc3fbe2bbff19c67179f52b8dcd27b576a958fde7 (diff)
build: Remove <*dbm.h> checks
Formerly used by the rgb database code, which hasn't been a thing in over a decade. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--configure.ac2
-rw-r--r--include/dix-config.h.in9
-rw-r--r--include/meson.build3
3 files changed, 0 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index 30b4b383d..512bc9e9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,8 +190,6 @@ dnl Find the math libary, then check for cbrt function in it.
AC_CHECK_LIB(m, sqrt)
AC_CHECK_FUNCS([cbrt])
-AC_CHECK_HEADERS([ndbm.h dbm.h rpcsvc/dbm.h])
-
dnl AGPGART headers
AC_CHECK_HEADERS([linux/agpgart.h sys/agpio.h sys/agpgart.h], AGP=yes)
AM_CONDITIONAL(AGP, [test "x$AGP" = xyes])
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 8bce0e07b..44a29a69a 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -66,9 +66,6 @@
/* Define to 1 if you have the `cbrt' function. */
#undef HAVE_CBRT
-/* Define to 1 if you have the <dbm.h> header file. */
-#undef HAVE_DBM_H
-
/* Define to 1 if you have the declaration of `program_invocation_short_name', and
to 0 if you don't. */
#undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
@@ -146,18 +143,12 @@
/* Define to 1 if you have the function pthread_setname_np(pthread_t, const char*) */
#undef HAVE_PTHREAD_SETNAME_NP_WITH_TID
-/* Define to 1 if you have the <ndbm.h> header file. */
-#undef HAVE_NDBM_H
-
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
#undef HAVE_NDIR_H
/* Define to 1 if you have the `reallocarray' function. */
#undef HAVE_REALLOCARRAY
-/* Define to 1 if you have the <rpcsvc/dbm.h> header file. */
-#undef HAVE_RPCSVC_DBM_H
-
/* Define to 1 if you have the `arc4random_buf' function. */
#undef HAVE_ARC4RANDOM_BUF
diff --git a/include/meson.build b/include/meson.build
index d6ec0d7cd..c7830ef73 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -92,14 +92,11 @@ conf_data.set('XORG_VERSION_CURRENT', release)
conf_data.set('HASXDMAUTH', get_option('xdm-auth-1'))
conf_data.set('SECURE_RPC', get_option('secure-rpc'))
-conf_data.set('HAVE_DBM_H', cc.has_header('dbm.h'))
conf_data.set('HAVE_DLFCN_H', cc.has_header('dlfcn.h'))
conf_data.set('HAVE_EXECINFO_H', cc.has_header('execinfo.h'))
conf_data.set('HAVE_FCNTL_H', cc.has_header('fcntl.h'))
conf_data.set('HAVE_FNMATCH_H', cc.has_header('fnmatch.h'))
conf_data.set('HAVE_LINUX_AGPGART_H', cc.has_header('linux/agpgart.h'))
-conf_data.set('HAVE_NDBM_H', cc.has_header('ndbm.h'))
-conf_data.set('HAVE_RPCSVC_DBM_H', cc.has_header('rpcsvc/dbm.h'))
conf_data.set('HAVE_STDLIB_H', cc.has_header('stdlib.h'))
conf_data.set('HAVE_STRING_H', cc.has_header('string.h'))
conf_data.set('HAVE_STRINGS_H', cc.has_header('strings.h'))