]> git.saurik.com Git - apt.git/commitdiff
configure.ac: Drop broken unused check for ptsname_r()
authorJulian Andres Klode <jak@debian.org>
Sat, 6 Aug 2016 00:03:09 +0000 (02:03 +0200)
committerJulian Andres Klode <jak@debian.org>
Sat, 6 Aug 2016 00:04:57 +0000 (02:04 +0200)
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.

buildlib/config.h.in
configure.ac

index fb21b387fc8d9814e5c28c30b9393e791632acd3..71c05c1cdea46ea321e2e134c675aabe4a715c09 100644 (file)
@@ -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
 
index ce547ab74e77d71c9ccff3c72e64b162cd11f4a3..376217d20b4a011d2c4b653600dcb51ca9346e70 100644 (file)
@@ -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)