+echo $ac_n "checking for getgrnam_r""... $ac_c" 1>&6
+echo "configure:4926: checking for getgrnam_r" >&5
+if eval "test \"`echo '$''{'ac_cv_func_getgrnam_r'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 4931 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char getgrnam_r(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char getgrnam_r();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_getgrnam_r) || defined (__stub___getgrnam_r)
+choke me
+#else
+getgrnam_r();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:4954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_getgrnam_r=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_getgrnam_r=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'getgrnam_r`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ :
+else
+ echo "$ac_t""no" 1>&6
+cat >> confdefs.h <<\EOF
+#define NEED_GETGRNAM_R 1
+EOF
+
+fi
+
+echo $ac_n "checking for getgrgid_r""... $ac_c" 1>&6
+echo "configure:4978: checking for getgrgid_r" >&5
+if eval "test \"`echo '$''{'ac_cv_func_getgrgid_r'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 4983 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char getgrgid_r(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char getgrgid_r();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_getgrgid_r) || defined (__stub___getgrgid_r)
+choke me
+#else
+getgrgid_r();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:5006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_getgrgid_r=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_getgrgid_r=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'getgrgid_r`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ :
+else
+ echo "$ac_t""no" 1>&6
+cat >> confdefs.h <<\EOF
+#define NEED_GETGRGID_R 1
+EOF
+
+fi
+
+
echo $ac_n "checking for getgrent_r""... $ac_c" 1>&6
-echo "configure:4926: checking for getgrent_r" >&5
+echo "configure:5031: checking for getgrent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getgrent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4931 "configure"
+#line 5036 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getgrent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:4954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getgrent_r=yes"
else
if eval "test \"`echo '$ac_cv_func_'getgrent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 4969 "configure"
+#line 5074 "configure"
#include "confdefs.h"
#include <grp.h>
return (0);
; return 0; }
EOF
-if { (eval echo configure:4980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
GROUP_R_ARGS="#define GROUP_R_ARGS char *buf, int buflen"
GROUP_R_BAD="#define GROUP_R_BAD NULL"
GROUP_R_OK="#define GROUP_R_OK gptr"
GROUP_R_RETURN="#define GROUP_R_RETURN struct group *"
+cat >> confdefs.h <<\EOF
+#define NEED_GETGRENT_R 1
+EOF
+
fi
echo $ac_n "checking for endgrent_r""... $ac_c" 1>&6
-echo "configure:5009: checking for endgrent_r" >&5
+echo "configure:5118: checking for endgrent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endgrent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5014 "configure"
+#line 5123 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endgrent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endgrent_r=yes"
else
GROUP_R_END_RESULT="#define GROUP_R_END_RESULT(x) /*empty*/"
GROUP_R_END_RETURN="#define GROUP_R_END_RETURN void"
GROUP_R_ENT_ARGS="#define GROUP_R_ENT_ARGS void"
+cat >> confdefs.h <<\EOF
+#define NEED_ENDGRENT_R 1
+EOF
+
fi
echo $ac_n "checking for setgrent_r""... $ac_c" 1>&6
-echo "configure:5065: checking for setgrent_r" >&5
+echo "configure:5178: checking for setgrent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_setgrent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5070 "configure"
+#line 5183 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setgrent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setgrent_r=yes"
else
echo "$ac_t""no" 1>&6
GROUP_R_SET_RESULT="#undef GROUP_R_SET_RESULT /*empty*/"
GROUP_R_SET_RETURN="#define GROUP_R_SET_RETURN void"
+cat >> confdefs.h <<\EOF
+#define NEED_SETGRENT_R 1
+EOF
+
fi
+
echo $ac_n "checking for gethostbyname_r""... $ac_c" 1>&6
-echo "configure:5119: checking for gethostbyname_r" >&5
+echo "configure:5237: checking for gethostbyname_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5124 "configure"
+#line 5242 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_gethostbyname_r=yes"
else
if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 5162 "configure"
+#line 5280 "configure"
#include "confdefs.h"
#include <netdb.h>
return (0);
; return 0; }
EOF
-if { (eval echo configure:5173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
HOST_R_ARGS="#define HOST_R_ARGS char *buf, int buflen, int *h_errnop"
echo $ac_n "checking for endhostent_r""... $ac_c" 1>&6
-echo "configure:5212: checking for endhostent_r" >&5
+echo "configure:5330: checking for endhostent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endhostent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5217 "configure"
+#line 5335 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endhostent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endhostent_r=yes"
else
echo $ac_n "checking for sethostent_r""... $ac_c" 1>&6
-echo "configure:5268: checking for sethostent_r" >&5
+echo "configure:5386: checking for sethostent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_sethostent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5273 "configure"
+#line 5391 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sethostent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_sethostent_r=yes"
else
cat > conftest.$ac_ext <<EOF
-#line 5323 "configure"
+#line 5441 "configure"
#include "confdefs.h"
#include <sys/types.h>
return (0);
; return 0; }
EOF
-if { (eval echo configure:5335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SETPWENT_VOID="#define SETPWENT_VOID 1"
cat > conftest.$ac_ext <<EOF
-#line 5350 "configure"
+#line 5468 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <grp.h>
void
-endgrent(void) {}
+setgrent(void) {}
int main() {
return (0);
; return 0; }
EOF
-if { (eval echo configure:5362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- SETPWENT_VOID="#define SETGRENT_VOID 1"
+ SETGRENT_VOID="#define SETGRENT_VOID 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- SETPWENT_VOID="#undef SETGRENT_VOID"
+ SETGRENT_VOID="#undef SETGRENT_VOID"
fi
rm -f conftest*
echo $ac_n "checking for getnetgrent_r""... $ac_c" 1>&6
-echo "configure:5377: checking for getnetgrent_r" >&5
+echo "configure:5495: checking for getnetgrent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getnetgrent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5382 "configure"
+#line 5500 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getnetgrent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getnetgrent_r=yes"
else
if eval "test \"`echo '$ac_cv_func_'getnetgrent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 5420 "configure"
+#line 5538 "configure"
#include "confdefs.h"
#include <netdb.h>
return (0);
; return 0; }
EOF
-if { (eval echo configure:5431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
NGR_R_ARGS="#define NGR_R_ARGS char *buf, int buflen"
echo $ac_n "checking for endnetgrent_r""... $ac_c" 1>&6
-echo "configure:5467: checking for endnetgrent_r" >&5
+echo "configure:5585: checking for endnetgrent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endnetgrent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5472 "configure"
+#line 5590 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endnetgrent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endnetgrent_r=yes"
else
NGR_R_END_RESULT="#define NGR_R_END_RESULT(x) /*empty*/"
NGR_R_END_RETURN="#define NGR_R_END_RETURN void"
NGR_R_ENT_ARGS="#undef NGR_R_ENT_ARGS /*empty*/"
+cat >> confdefs.h <<\EOF
+#define NEED_ENDNETGRENT_R 1
+EOF
+
fi
echo $ac_n "checking for setnetgrent_r""... $ac_c" 1>&6
-echo "configure:5523: checking for setnetgrent_r" >&5
+echo "configure:5645: checking for setnetgrent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_setnetgrent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5528 "configure"
+#line 5650 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setnetgrent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setnetgrent_r=yes"
else
echo "$ac_t""no" 1>&6
NGR_R_SET_RESULT="#undef NGR_R_SET_RESULT /*empty*/"
NGR_R_SET_RETURN="#define NGR_R_SET_RETURN void"
+cat >> confdefs.h <<\EOF
+#define NEED_SETNETGRENT_R 1
+EOF
+
fi
+echo $ac_n "checking for innetgr_r""... $ac_c" 1>&6
+echo "configure:5703: checking for innetgr_r" >&5
+if eval "test \"`echo '$''{'ac_cv_func_innetgr_r'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 5708 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char innetgr_r(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char innetgr_r();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_innetgr_r) || defined (__stub___innetgr_r)
+choke me
+#else
+innetgr_r();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:5731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_innetgr_r=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_innetgr_r=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'innetgr_r`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ :
+else
+ echo "$ac_t""no" 1>&6
+cat >> confdefs.h <<\EOF
+#define NEED_INNETGR_R 1
+EOF
+
+fi
+
echo $ac_n "checking for getprotoent_r""... $ac_c" 1>&6
-echo "configure:5578: checking for getprotoent_r" >&5
+echo "configure:5756: checking for getprotoent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getprotoent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5583 "configure"
+#line 5761 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getprotoent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getprotoent_r=yes"
else
if eval "test \"`echo '$ac_cv_func_'getprotoent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 5621 "configure"
+#line 5799 "configure"
#include "confdefs.h"
#include <netdb.h>
; return 0; }
EOF
-if { (eval echo configure:5634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
PROTO_R_ARGS="#define PROTO_R_ARGS char *buf, int buflen"
echo $ac_n "checking for endprotoent_r""... $ac_c" 1>&6
-echo "configure:5670: checking for endprotoent_r" >&5
+echo "configure:5848: checking for endprotoent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endprotoent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5675 "configure"
+#line 5853 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endprotoent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endprotoent_r=yes"
else
echo $ac_n "checking for setprotoent_r""... $ac_c" 1>&6
-echo "configure:5726: checking for setprotoent_r" >&5
+echo "configure:5904: checking for setprotoent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_setprotoent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5731 "configure"
+#line 5909 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setprotoent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setprotoent_r=yes"
else
echo $ac_n "checking for getpwent_r""... $ac_c" 1>&6
-echo "configure:5780: checking for getpwent_r" >&5
+echo "configure:5958: checking for getpwent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getpwent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5785 "configure"
+#line 5963 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getpwent_r=yes"
else
PASS_R_COPY_ARGS="#define PASS_R_COPY_ARGS PASS_R_ARGS"
PASS_R_OK="#define PASS_R_OK pwptr"
PASS_R_RETURN="#define PASS_R_RETURN struct passwd *"
+cat >> confdefs.h <<\EOF
+#define NEED_GETPWENT_R 1
+EOF
+
fi
echo $ac_n "checking for endpwent_r""... $ac_c" 1>&6
-echo "configure:5842: checking for endpwent_r" >&5
+echo "configure:6024: checking for endpwent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endpwent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5847 "configure"
+#line 6029 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endpwent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endpwent_r=yes"
else
echo "$ac_t""no" 1>&6
PASS_R_END_RESULT="#define PASS_R_END_RESULT(x) /*empty*/"
PASS_R_END_RETURN="#define PASS_R_END_RETURN void"
-PASS_R_ENT_ARGS="#undef PASS_R_ENT_ARGS /*empty*/"
+PASS_R_ENT_ARGS="#undef PASS_R_ENT_ARGS"
+cat >> confdefs.h <<\EOF
+#define NEED_ENDPWENT_R 1
+EOF
+
fi
+echo $ac_n "checking for setpassent_r""... $ac_c" 1>&6
+echo "configure:6083: checking for setpassent_r" >&5
+if eval "test \"`echo '$''{'ac_cv_func_setpassent_r'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 6088 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char setpassent_r(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char setpassent_r();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_setpassent_r) || defined (__stub___setpassent_r)
+choke me
+#else
+setpassent_r();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_setpassent_r=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_setpassent_r=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'setpassent_r`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ :
+else
+ echo "$ac_t""no" 1>&6
+cat >> confdefs.h <<\EOF
+#define NEED_SETPASSENT_R 1
+EOF
+
+fi
+
echo $ac_n "checking for setpwent_r""... $ac_c" 1>&6
-echo "configure:5898: checking for setpwent_r" >&5
+echo "configure:6136: checking for setpwent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_setpwent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5903 "configure"
+#line 6141 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpwent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setpwent_r=yes"
else
echo "$ac_t""no" 1>&6
PASS_R_SET_RESULT="#undef PASS_R_SET_RESULT /*empty*/"
PASS_R_SET_RETURN="#define PASS_R_SET_RETURN void"
+cat >> confdefs.h <<\EOF
+#define NEED_SETPWENT_R 1
+EOF
+
fi
echo $ac_n "checking for getservent_r""... $ac_c" 1>&6
-echo "configure:5952: checking for getservent_r" >&5
+echo "configure:6194: 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 5957 "configure"
+#line 6199 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getservent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:5980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6222: \"$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
if eval "test \"`echo '$ac_cv_func_'getservent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 5995 "configure"
+#line 6237 "configure"
#include "confdefs.h"
#include <netdb.h>
return (0);
; return 0; }
EOF
-if { (eval echo configure:6006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SERV_R_ARGS="#define SERV_R_ARGS char *buf, int buflen"
echo $ac_n "checking for endservent_r""... $ac_c" 1>&6
-echo "configure:6042: checking for endservent_r" >&5
+echo "configure:6284: 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 6047 "configure"
+#line 6289 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endservent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:6070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6312: \"$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
echo $ac_n "checking for setservent_r""... $ac_c" 1>&6
-echo "configure:6098: checking for setservent_r" >&5
+echo "configure:6340: 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 6103 "configure"
+#line 6345 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setservent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:6126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6368: \"$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
# 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:6229: checking for $ac_word" >&5
+echo "configure:6471: 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
# 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:6276: checking for $ac_word" >&5
+echo "configure:6518: 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
# 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:6318: checking for $ac_word" >&5
+echo "configure:6560: 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
SGMLDIR=""
echo $ac_n "checking for SGML files""... $ac_c" 1>&6
-echo "configure:6363: checking for SGML files" >&5
+echo "configure:6605: 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
XGMLDIR=""
echo $ac_n "checking for XML files""... $ac_c" 1>&6
-echo "configure:6388: checking for XML files" >&5
+echo "configure:6630: 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