summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-04-23 18:53:10 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-04-23 18:53:10 +1000
commit5bb140019c1fc16ddd66cf8408f2489fd5db03cb (patch)
tree1e0aa16b8f597179c8d8bb29498c21cb2d07a97f /configure.ac
parent752e4e603fdf09ce6323ad665ebce9a3f4093b9c (diff)
- (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Declare h_errno
as extern int if not already declared. Fixes compile errors on old SCO platforms. ok tim@
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3e1ee8aa..053204d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.215 2004/04/20 10:28:56 djm Exp $
+# $Id: configure.ac,v 1.216 2004/04/23 08:53:10 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@@ -860,6 +860,8 @@ AC_CHECK_DECL(tcsendbreak,
[#include <termios.h>]
)
+AC_CHECK_DECLS(h_errno, , ,[#include <netdb.h>])
+
AC_CHECK_FUNCS(setresuid, [
dnl Some platorms have setresuid that isn't implemented, test for this
AC_MSG_CHECKING(if setresuid seems to work)