summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-06 02:03:09 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-06 02:04:57 +0200
commit0a81c22efb5d16229ffbea2f1a788b3b3edb4ab0 (patch)
tree30938004d32a55c4c198355c44568846d8456120
parent313a7b1d9130a6a70853f04b8b4e73c678241d3f (diff)
configure.ac: Drop broken unused check for ptsname_r()
AC_CHECK_FUNCS() defines HAVE_* variables, but AC_CHECK_FUNC() does not. Anyway: We do not have any code using HAVE_PTSNAME_R, so just remove it.
-rw-r--r--buildlib/config.h.in3
-rw-r--r--configure.ac3
2 files changed, 0 insertions, 6 deletions
diff --git a/buildlib/config.h.in b/buildlib/config.h.in
index fb21b387f..71c05c1cd 100644
--- a/buildlib/config.h.in
+++ b/buildlib/config.h.in
@@ -37,9 +37,6 @@
#undef HAVE_SETRESUID
#undef HAVE_SETRESGID
-/* Check for ptsname_r() */
-#undef HAVE_PTSNAME_R
-
/* Define to the size of the filesize containing structures */
#undef _FILE_OFFSET_BITS
diff --git a/configure.ac b/configure.ac
index ce547ab74..376217d20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -188,9 +188,6 @@ AC_SUBST(HAVE_GETRESGID)
AC_SUBST(HAVE_SETRESUID)
AC_SUBST(HAVE_SETRESGID)
-AC_CHECK_FUNC(ptsname_r)
-AC_SUBST(HAVE_PTSNAME_R)
-
dnl Check for doxygen
AC_PATH_PROG(DOXYGEN, doxygen)