From 0a81c22efb5d16229ffbea2f1a788b3b3edb4ab0 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 6 Aug 2016 02:03:09 +0200 Subject: [PATCH] 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. --- buildlib/config.h.in | 3 --- configure.ac | 3 --- 2 files changed, 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) -- 2.47.2