From 8c1dbbef35bea4082eacfe4e626e7726b9e84349 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 8 Aug 2016 14:56:53 +0200 Subject: CMake: Check for ptsname_r() again This was dropped in autotools as I found no use of the HAVE_PTSNAME_R macro. Turns out it was typoed as HAVE_PTS_NAME_R. Fix the #ifdef and add checks to CMake for it. Closes: #833674 --- CMake/config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMake') diff --git a/CMake/config.h.in b/CMake/config.h.in index 3afd9123c..e929646fa 100644 --- a/CMake/config.h.in +++ b/CMake/config.h.in @@ -34,6 +34,9 @@ #cmakedefine HAVE_SETRESUID #cmakedefine HAVE_SETRESGID +/* Check for ptsname_r() */ +#cmakedefine HAVE_PTSNAME_R + /* Define the arch name string */ #define COMMON_ARCH "${COMMON_ARCH}" -- cgit v1.2.3-18-g5258