diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-05-26 20:12:15 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-05-26 20:12:15 +1000 |
commit | 84ce9b455d04e7f145d43ef8dac2ddc59e41802d (patch) | |
tree | 2f773b9a2c548e149483cd4bb12fe22dd6b2ea23 /configure.ac | |
parent | f08bdb5a7e599ff95c72df7a92def141360c9b80 (diff) |
- (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Bug #1033: Provide
templates for _getshort and _getlong if missing to prevent compiler warnings
on Linux.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 20c8f1587..fd8218aea 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.260 2005/04/24 07:52:23 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.261 2005/05/26 10:12:15 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -2402,6 +2402,7 @@ int main() | |||
2402 | AC_MSG_RESULT(no)]) | 2402 | AC_MSG_RESULT(no)]) |
2403 | ]) | 2403 | ]) |
2404 | AC_CHECK_FUNCS(_getshort _getlong) | 2404 | AC_CHECK_FUNCS(_getshort _getlong) |
2405 | AC_CHECK_DECLS([_getshort, _getlong]) | ||
2405 | AC_CHECK_MEMBER(HEADER.ad, | 2406 | AC_CHECK_MEMBER(HEADER.ad, |
2406 | [AC_DEFINE(HAVE_HEADER_AD)],, | 2407 | [AC_DEFINE(HAVE_HEADER_AD)],, |
2407 | [#include <arpa/nameser.h>]) | 2408 | [#include <arpa/nameser.h>]) |