From: Julian Andres Klode Date: Sat, 6 Aug 2016 00:03:09 +0000 (+0200) Subject: configure.ac: Drop broken unused check for ptsname_r() X-Git-Tag: 1.3_pre3+cmake1~13 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/0a81c22efb5d16229ffbea2f1a788b3b3edb4ab0 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. --- 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)