2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

checkpoint

This commit is contained in:
Mark Andrews
2001-04-11 03:49:05 +00:00
parent ea5aa5c36c
commit c57c8dd9d3
2 changed files with 56 additions and 25 deletions

70
lib/bind/configure vendored
View File

@@ -1,7 +1,7 @@
#! /bin/sh
# From configure.in Revision: 1.36
# From configure.in Revision: 1.37
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
@@ -6487,7 +6487,29 @@ fi
if eval "test \"`echo '$ac_cv_func_'setpwent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
:
cat > conftest.$ac_ext <<EOF
#line 6492 "configure"
#include "confdefs.h"
#include <pwd.h>
int getpwent_r(struct passwd *result, char *buffer, int buflen,
FILE **pwfp);
int main() {
; return 0; }
EOF
if { (eval echo configure:6503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
PASS_R_SET_RESULT="#undef PASS_R_SET_RESULT PASS_R_OK"
PASS_R_SET_RETURN="#define PASS_R_SET_RETURN int"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest*
else
echo "$ac_t""no" 1>&6
PASS_R_SET_RESULT="#undef PASS_R_SET_RESULT /*empty*/"
@@ -6503,12 +6525,12 @@ fi
echo $ac_n "checking for getpwnam_r""... $ac_c" 1>&6
echo "configure:6507: checking for getpwnam_r" >&5
echo "configure:6529: checking for getpwnam_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getpwnam_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6512 "configure"
#line 6534 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwnam_r(); below. */
@@ -6531,7 +6553,7 @@ getpwnam_r();
; return 0; }
EOF
if { (eval echo configure:6535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getpwnam_r=yes"
else
@@ -6555,12 +6577,12 @@ EOF
fi
echo $ac_n "checking for getpwuid_r""... $ac_c" 1>&6
echo "configure:6559: checking for getpwuid_r" >&5
echo "configure:6581: checking for getpwuid_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getpwuid_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6564 "configure"
#line 6586 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwuid_r(); below. */
@@ -6583,7 +6605,7 @@ getpwuid_r();
; return 0; }
EOF
if { (eval echo configure:6587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getpwuid_r=yes"
else
@@ -6608,12 +6630,12 @@ fi
echo $ac_n "checking for getservent_r""... $ac_c" 1>&6
echo "configure:6612: checking for getservent_r" >&5
echo "configure:6634: checking for getservent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getservent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6617 "configure"
#line 6639 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getservent_r(); below. */
@@ -6636,7 +6658,7 @@ getservent_r();
; return 0; }
EOF
if { (eval echo configure:6640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getservent_r=yes"
else
@@ -6651,7 +6673,7 @@ fi
if eval "test \"`echo '$ac_cv_func_'getservent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
#line 6655 "configure"
#line 6677 "configure"
#include "confdefs.h"
#include <netdb.h>
@@ -6662,7 +6684,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:6666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:6688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SERV_R_ARGS="#define SERV_R_ARGS char *buf, int buflen"
@@ -6698,12 +6720,12 @@ fi
echo $ac_n "checking for endservent_r""... $ac_c" 1>&6
echo "configure:6702: checking for endservent_r" >&5
echo "configure:6724: checking for endservent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endservent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6707 "configure"
#line 6729 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endservent_r(); below. */
@@ -6726,7 +6748,7 @@ endservent_r();
; return 0; }
EOF
if { (eval echo configure:6730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endservent_r=yes"
else
@@ -6754,12 +6776,12 @@ fi
echo $ac_n "checking for setservent_r""... $ac_c" 1>&6
echo "configure:6758: checking for setservent_r" >&5
echo "configure:6780: checking for setservent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_setservent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6763 "configure"
#line 6785 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setservent_r(); below. */
@@ -6782,7 +6804,7 @@ setservent_r();
; return 0; }
EOF
if { (eval echo configure:6786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setservent_r=yes"
else
@@ -6885,7 +6907,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:6889: checking for $ac_word" >&5
echo "configure:6911: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_JADE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -6932,7 +6954,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:6936: checking for $ac_word" >&5
echo "configure:6958: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_TEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -6974,7 +6996,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:6978: checking for $ac_word" >&5
echo "configure:7000: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PDFTEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -7019,7 +7041,7 @@ done
SGMLDIR=""
echo $ac_n "checking for SGML files""... $ac_c" 1>&6
echo "configure:7023: checking for SGML files" >&5
echo "configure:7045: checking for SGML files" >&5
for d in /usr/pkg/share/sgml /usr/local/share/sgml
do
if test -f $d/docbook/dsssl/modular/html/docbook.dsl
@@ -7044,7 +7066,7 @@ fi
XGMLDIR=""
echo $ac_n "checking for XML files""... $ac_c" 1>&6
echo "configure:7048: checking for XML files" >&5
echo "configure:7070: checking for XML files" >&5
for d in /usr/pkg/share/xml /usr/local/share/xml
do
if test -f $d/dtd/docbook/docbookx.dtd

View File

@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.37 $)
AC_REVISION($Revision: 1.38 $)
AC_INIT(resolv/herror.c)
AC_PREREQ(2.13)
@@ -1706,6 +1706,15 @@ AC_CHECK_FUNC(setpassent_r,,AC_DEFINE(NEED_SETPASSENT_R))
AC_CHECK_FUNC(setpassent,,AC_DEFINE(NEED_SETPASSENT))
AC_CHECK_FUNC(setpwent_r,
AC_TRY_COMPILE([
#include <pwd.h>
int getpwent_r(struct passwd *result, char *buffer, int buflen,
FILE **pwfp);
], ,
PASS_R_SET_RESULT="#undef PASS_R_SET_RESULT PASS_R_OK"
PASS_R_SET_RETURN="#define PASS_R_SET_RETURN int"
,
)
,
PASS_R_SET_RESULT="#undef PASS_R_SET_RESULT /*empty*/"
PASS_R_SET_RETURN="#define PASS_R_SET_RETURN void"