From d2bb72d713d9c339c00536256f44dacf51e57414 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Mon, 8 Jun 2009 22:11:33 +0200 Subject: s4:heimdal: fix build on FreeBSD Patch from Timur I. Bakeyev sent to samba-technical: Heimdal requires openpty() presence. FreeBSD has in in standard libc, so autodetection works, but compilation fails, as declaration of this function is missing. This patch adds proper header detection and inclusion for openpty(). --- source4/heimdal_build/internal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/heimdal_build/internal.m4') diff --git a/source4/heimdal_build/internal.m4 b/source4/heimdal_build/internal.m4 index 4cd7521c37..5c8d78e56d 100644 --- a/source4/heimdal_build/internal.m4 +++ b/source4/heimdal_build/internal.m4 @@ -52,7 +52,6 @@ AC_CHECK_HEADERS([ \ errno.h \ inttypes.h \ netdb.h \ - pty.h \ signal.h \ sys/bswap.h \ sys/file.h \ @@ -164,6 +163,7 @@ m4_include(heimdal/cf/find-func-no-libs.m4) m4_include(heimdal/cf/find-func-no-libs2.m4) m4_include(heimdal/cf/resolv.m4) +AC_CHECK_HEADERS([pty.h util.h libutil.h]) AC_CHECK_LIB_EXT(util, OPENPTY_LIBS, openpty) -- cgit