Check for sysconf()
This commit is contained in:
@@ -39,6 +39,9 @@
|
||||
/* define if LinuxThreads is in use */
|
||||
#undef HAVE_LINUXTHREADS
|
||||
|
||||
/* define if sysconf() is available */
|
||||
#undef HAVE_SYSCONF
|
||||
|
||||
/* define if catgets() is available */
|
||||
#undef HAVE_CATGETS
|
||||
|
||||
|
||||
@@ -58,6 +58,9 @@
|
||||
/* define if LinuxThreads is in use */
|
||||
#undef HAVE_LINUXTHREADS
|
||||
|
||||
/* define if sysconf() is available */
|
||||
#undef HAVE_SYSCONF
|
||||
|
||||
/* define if catgets() is available */
|
||||
#undef HAVE_CATGETS
|
||||
|
||||
|
||||
269
configure
vendored
269
configure
vendored
@@ -2284,16 +2284,71 @@ EOF
|
||||
esac
|
||||
|
||||
#
|
||||
# NLS
|
||||
# Look for sysconf to allow detection of the number of processors.
|
||||
#
|
||||
echo $ac_n "checking for catgets""... $ac_c" 1>&6
|
||||
echo "configure:2291: checking for catgets" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
|
||||
echo $ac_n "checking for sysconf""... $ac_c" 1>&6
|
||||
echo "configure:2291: checking for sysconf" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_sysconf'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2296 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char sysconf(); 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 sysconf();
|
||||
|
||||
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_sysconf) || defined (__stub___sysconf)
|
||||
choke me
|
||||
#else
|
||||
sysconf();
|
||||
#endif
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_sysconf=yes"
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_sysconf=no"
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
|
||||
if eval "test \"`echo '$ac_cv_func_'sysconf`\" = yes"; then
|
||||
echo "$ac_t""yes" 1>&6
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define HAVE_SYSCONF 1
|
||||
EOF
|
||||
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
|
||||
#
|
||||
# NLS
|
||||
#
|
||||
echo $ac_n "checking for catgets""... $ac_c" 1>&6
|
||||
echo "configure:2346: checking for catgets" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2351 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char catgets(); below. */
|
||||
#include <assert.h>
|
||||
@@ -2315,7 +2370,7 @@ catgets();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_catgets=yes"
|
||||
else
|
||||
@@ -2353,7 +2408,7 @@ case "$host" in
|
||||
;;
|
||||
*)
|
||||
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
|
||||
echo "configure:2357: checking for socket in -lsocket" >&5
|
||||
echo "configure:2412: checking for socket in -lsocket" >&5
|
||||
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@@ -2361,7 +2416,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lsocket $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2365 "configure"
|
||||
#line 2420 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
@@ -2372,7 +2427,7 @@ int main() {
|
||||
socket()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
@@ -2400,7 +2455,7 @@ else
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
|
||||
echo "configure:2404: checking for inet_ntoa in -lnsl" >&5
|
||||
echo "configure:2459: checking for inet_ntoa in -lnsl" >&5
|
||||
ac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@@ -2408,7 +2463,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lnsl $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2412 "configure"
|
||||
#line 2467 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
@@ -2419,7 +2474,7 @@ int main() {
|
||||
inet_ntoa()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
@@ -2528,9 +2583,9 @@ esac
|
||||
# Look for a 4.4BSD-style sa_len member in struct sockaddr.
|
||||
#
|
||||
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
|
||||
echo "configure:2532: checking for sa_len in struct sockaddr" >&5
|
||||
echo "configure:2587: checking for sa_len in struct sockaddr" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2534 "configure"
|
||||
#line 2589 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -2539,7 +2594,7 @@ int main() {
|
||||
struct sockaddr sa; sa.sa_len = 0; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
|
||||
@@ -2560,9 +2615,9 @@ rm -f conftest*
|
||||
# Look for a 4.4BSD or 4.3BSD struct msghdr
|
||||
#
|
||||
echo $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
|
||||
echo "configure:2564: checking for struct msghdr flavor" >&5
|
||||
echo "configure:2619: checking for struct msghdr flavor" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2566 "configure"
|
||||
#line 2621 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -2571,7 +2626,7 @@ int main() {
|
||||
struct msghdr msg; msg.msg_flags = 0; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""4.4BSD" 1>&6
|
||||
ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
|
||||
@@ -2589,9 +2644,9 @@ rm -f conftest*
|
||||
# Look for in_port_t.
|
||||
#
|
||||
echo $ac_n "checking for type in_port_t""... $ac_c" 1>&6
|
||||
echo "configure:2593: checking for type in_port_t" >&5
|
||||
echo "configure:2648: checking for type in_port_t" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2595 "configure"
|
||||
#line 2650 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -2600,7 +2655,7 @@ int main() {
|
||||
in_port_t port = 25; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"
|
||||
@@ -2618,9 +2673,9 @@ rm -f conftest*
|
||||
# Check for addrinfo
|
||||
#
|
||||
echo $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
|
||||
echo "configure:2622: checking for struct addrinfo" >&5
|
||||
echo "configure:2677: checking for struct addrinfo" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2624 "configure"
|
||||
#line 2679 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2628,7 +2683,7 @@ int main() {
|
||||
struct addrinfo a; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_NEEDADDRINFO="#undef ISC_LWRES_NEEDADDRINFO"
|
||||
@@ -2647,9 +2702,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int sethostent""... $ac_c" 1>&6
|
||||
echo "configure:2651: checking for int sethostent" >&5
|
||||
echo "configure:2706: checking for int sethostent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2653 "configure"
|
||||
#line 2708 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2657,7 +2712,7 @@ int main() {
|
||||
int i = sethostent(0); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_SETHOSTENTINT="#define ISC_LWRES_SETHOSTENTINT 1"
|
||||
@@ -2672,9 +2727,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int endhostent""... $ac_c" 1>&6
|
||||
echo "configure:2676: checking for int endhostent" >&5
|
||||
echo "configure:2731: checking for int endhostent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2678 "configure"
|
||||
#line 2733 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2682,7 +2737,7 @@ int main() {
|
||||
int i = endhostent(); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_ENDHOSTENTINT="#define ISC_LWRES_ENDHOSTENTINT 1"
|
||||
@@ -2697,9 +2752,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for getnetbyaddr(in_addr_t, ...)""... $ac_c" 1>&6
|
||||
echo "configure:2701: checking for getnetbyaddr(in_addr_t, ...)" >&5
|
||||
echo "configure:2756: checking for getnetbyaddr(in_addr_t, ...)" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2703 "configure"
|
||||
#line 2758 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2708,7 +2763,7 @@ int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_GETNETBYADDRINADDR="#define ISC_LWRES_GETNETBYADDRINADDR 1"
|
||||
@@ -2723,9 +2778,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int setnetent""... $ac_c" 1>&6
|
||||
echo "configure:2727: checking for int setnetent" >&5
|
||||
echo "configure:2782: checking for int setnetent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2729 "configure"
|
||||
#line 2784 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2733,7 +2788,7 @@ int main() {
|
||||
int i = setnetent(0); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_SETNETENTINT="#define ISC_LWRES_SETNETENTINT 1"
|
||||
@@ -2748,9 +2803,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int endnetent""... $ac_c" 1>&6
|
||||
echo "configure:2752: checking for int endnetent" >&5
|
||||
echo "configure:2807: checking for int endnetent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2754 "configure"
|
||||
#line 2809 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2758,7 +2813,7 @@ int main() {
|
||||
int i = endnetent(); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_ENDNETENTINT="#define ISC_LWRES_ENDNETENTINT 1"
|
||||
@@ -2773,9 +2828,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for gethostbyadd(const void *, size_t, ...)""... $ac_c" 1>&6
|
||||
echo "configure:2777: checking for gethostbyadd(const void *, size_t, ...)" >&5
|
||||
echo "configure:2832: checking for gethostbyadd(const void *, size_t, ...)" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2779 "configure"
|
||||
#line 2834 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2784,7 +2839,7 @@ int main() {
|
||||
return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_GETHOSTBYADDRVOID="#define ISC_LWRES_GETHOSTBYADDRVOID 1"
|
||||
@@ -2799,9 +2854,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for h_errno in netdb.h""... $ac_c" 1>&6
|
||||
echo "configure:2803: checking for h_errno in netdb.h" >&5
|
||||
echo "configure:2858: checking for h_errno in netdb.h" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2805 "configure"
|
||||
#line 2860 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2809,7 +2864,7 @@ int main() {
|
||||
h_errno = 1; return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_NEEDHERRNO="#undef ISC_LWRES_NEEDHERRNO"
|
||||
@@ -2824,12 +2879,12 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for getipnodebyname""... $ac_c" 1>&6
|
||||
echo "configure:2828: checking for getipnodebyname" >&5
|
||||
echo "configure:2883: checking for getipnodebyname" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_getipnodebyname'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2833 "configure"
|
||||
#line 2888 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getipnodebyname(); below. */
|
||||
@@ -2852,7 +2907,7 @@ getipnodebyname();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_getipnodebyname=yes"
|
||||
else
|
||||
@@ -2873,12 +2928,12 @@ ISC_LWRES_GETIPNODEPROTO="#define ISC_LWRES_GETIPNODEPROTO 1"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for getnameinfo""... $ac_c" 1>&6
|
||||
echo "configure:2877: checking for getnameinfo" >&5
|
||||
echo "configure:2932: checking for getnameinfo" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_getnameinfo'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2882 "configure"
|
||||
#line 2937 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getnameinfo(); below. */
|
||||
@@ -2901,7 +2956,7 @@ getnameinfo();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_getnameinfo=yes"
|
||||
else
|
||||
@@ -2922,12 +2977,12 @@ ISC_LWRES_GETNAMEINFOPROTO="#define ISC_LWRES_GETNAMEINFOPROTO 1"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for getaddrinfo""... $ac_c" 1>&6
|
||||
echo "configure:2926: checking for getaddrinfo" >&5
|
||||
echo "configure:2981: checking for getaddrinfo" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_getaddrinfo'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2931 "configure"
|
||||
#line 2986 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getaddrinfo(); below. */
|
||||
@@ -2950,7 +3005,7 @@ getaddrinfo();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_getaddrinfo=yes"
|
||||
else
|
||||
@@ -2982,9 +3037,9 @@ fi
|
||||
# Look for a sysctl call to get the list of network interfaces.
|
||||
#
|
||||
echo $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
|
||||
echo "configure:2986: checking for interface list sysctl" >&5
|
||||
echo "configure:3041: checking for interface list sysctl" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2988 "configure"
|
||||
#line 3043 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
@@ -3094,7 +3149,7 @@ else
|
||||
fi
|
||||
|
||||
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
||||
echo "configure:3098: checking build system type" >&5
|
||||
echo "configure:3153: checking build system type" >&5
|
||||
|
||||
build_alias=$build
|
||||
case "$build_alias" in
|
||||
@@ -3123,7 +3178,7 @@ ac_prog=ld
|
||||
if test "$ac_cv_prog_gcc" = yes; then
|
||||
# Check if gcc -print-prog-name=ld gives a path.
|
||||
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
|
||||
echo "configure:3127: checking for ld used by GCC" >&5
|
||||
echo "configure:3182: checking for ld used by GCC" >&5
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5`
|
||||
case "$ac_prog" in
|
||||
# Accept absolute paths.
|
||||
@@ -3147,10 +3202,10 @@ echo "configure:3127: checking for ld used by GCC" >&5
|
||||
esac
|
||||
elif test "$with_gnu_ld" = yes; then
|
||||
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
|
||||
echo "configure:3151: checking for GNU ld" >&5
|
||||
echo "configure:3206: checking for GNU ld" >&5
|
||||
else
|
||||
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
|
||||
echo "configure:3154: checking for non-GNU ld" >&5
|
||||
echo "configure:3209: checking for non-GNU ld" >&5
|
||||
fi
|
||||
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@@ -3186,7 +3241,7 @@ fi
|
||||
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
|
||||
|
||||
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
|
||||
echo "configure:3190: checking if the linker ($LD) is GNU ld" >&5
|
||||
echo "configure:3245: checking if the linker ($LD) is GNU ld" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@@ -3202,7 +3257,7 @@ echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
|
||||
|
||||
|
||||
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
|
||||
echo "configure:3206: checking for BSD-compatible nm" >&5
|
||||
echo "configure:3261: checking for BSD-compatible nm" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@@ -3239,7 +3294,7 @@ echo "$ac_t""$NM" 1>&6
|
||||
|
||||
|
||||
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
||||
echo "configure:3243: checking whether ln -s works" >&5
|
||||
echo "configure:3298: checking whether ln -s works" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@@ -3283,8 +3338,8 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
|
||||
case "$host" in
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '#line 3287 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo configure:3288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
echo '#line 3342 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo configure:3343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
case "`/usr/bin/file conftest.o`" in
|
||||
*32-bit*)
|
||||
LD="${LD-ld} -32"
|
||||
@@ -3305,19 +3360,19 @@ case "$host" in
|
||||
SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -belf"
|
||||
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
|
||||
echo "configure:3309: checking whether the C compiler needs -belf" >&5
|
||||
echo "configure:3364: checking whether the C compiler needs -belf" >&5
|
||||
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3314 "configure"
|
||||
#line 3369 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
lt_cv_cc_needs_belf=yes
|
||||
else
|
||||
@@ -3454,9 +3509,9 @@ fi
|
||||
case "$enable_ipv6" in
|
||||
yes|''|autodetect)
|
||||
echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
|
||||
echo "configure:3458: checking for IPv6 structures" >&5
|
||||
echo "configure:3513: checking for IPv6 structures" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3460 "configure"
|
||||
#line 3515 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3466,7 +3521,7 @@ int main() {
|
||||
struct sockaddr_in6 sin6; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
found_ipv6=yes
|
||||
@@ -3489,7 +3544,7 @@ esac
|
||||
# This is done before other IPv6 linking tests to LIBS is properly set.
|
||||
#
|
||||
echo $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
|
||||
echo "configure:3493: checking for Kame IPv6 support" >&5
|
||||
echo "configure:3548: checking for Kame IPv6 support" >&5
|
||||
# Check whether --with-kame or --without-kame was given.
|
||||
if test "${with_kame+set}" = set; then
|
||||
withval="$with_kame"
|
||||
@@ -3577,9 +3632,9 @@ case "$found_ipv6" in
|
||||
LWRES_PLATFORM_HAVEIPV6="#define LWRES_PLATFORM_HAVEIPV6 1"
|
||||
|
||||
echo $ac_n "checking for in6addr_any""... $ac_c" 1>&6
|
||||
echo "configure:3581: checking for in6addr_any" >&5
|
||||
echo "configure:3636: checking for in6addr_any" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3583 "configure"
|
||||
#line 3638 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3590,7 +3645,7 @@ int main() {
|
||||
struct in6_addr in6; in6 = in6addr_any; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
|
||||
@@ -3606,9 +3661,9 @@ fi
|
||||
rm -f conftest*
|
||||
|
||||
echo $ac_n "checking for sin6_scope_id in struct sockaddr_in6""... $ac_c" 1>&6
|
||||
echo "configure:3610: checking for sin6_scope_id in struct sockaddr_in6" >&5
|
||||
echo "configure:3665: checking for sin6_scope_id in struct sockaddr_in6" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3612 "configure"
|
||||
#line 3667 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3621,7 +3676,7 @@ int main() {
|
||||
struct sockaddr_in6 xyzzy; xyzzy.sin6_scope_id = 0; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
result="#define LWRES_HAVE_SIN6_SCOPE_ID 1"
|
||||
@@ -3636,9 +3691,9 @@ rm -f conftest*
|
||||
LWRES_HAVE_SIN6_SCOPE_ID="$result"
|
||||
|
||||
echo $ac_n "checking for in6_pktinfo""... $ac_c" 1>&6
|
||||
echo "configure:3640: checking for in6_pktinfo" >&5
|
||||
echo "configure:3695: checking for in6_pktinfo" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3642 "configure"
|
||||
#line 3697 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3651,7 +3706,7 @@ int main() {
|
||||
struct in6_pktinfo xyzzy; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_HAVEIN6PKTINFO="#define ISC_PLATFORM_HAVEIN6PKTINFO 1"
|
||||
@@ -3698,9 +3753,9 @@ esac
|
||||
# the files.
|
||||
#
|
||||
echo $ac_n "checking for inet_ntop""... $ac_c" 1>&6
|
||||
echo "configure:3702: checking for inet_ntop" >&5
|
||||
echo "configure:3757: checking for inet_ntop" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3704 "configure"
|
||||
#line 3759 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3710,7 +3765,7 @@ int main() {
|
||||
inet_ntop(0, 0, 0, 0); return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"
|
||||
@@ -3725,9 +3780,9 @@ else
|
||||
fi
|
||||
rm -f conftest*
|
||||
echo $ac_n "checking for inet_pton""... $ac_c" 1>&6
|
||||
echo "configure:3729: checking for inet_pton" >&5
|
||||
echo "configure:3784: checking for inet_pton" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3731 "configure"
|
||||
#line 3786 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3737,7 +3792,7 @@ int main() {
|
||||
inet_pton(0, 0, 0); return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
|
||||
@@ -3752,9 +3807,9 @@ else
|
||||
fi
|
||||
rm -f conftest*
|
||||
echo $ac_n "checking for inet_aton""... $ac_c" 1>&6
|
||||
echo "configure:3756: checking for inet_aton" >&5
|
||||
echo "configure:3811: checking for inet_aton" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3758 "configure"
|
||||
#line 3813 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3764,7 +3819,7 @@ int main() {
|
||||
struct in_addr in; inet_aton(0, &in); return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"
|
||||
@@ -3785,12 +3840,12 @@ rm -f conftest*
|
||||
|
||||
# Check for some other useful functions that are not ever-present.
|
||||
echo $ac_n "checking for strsep""... $ac_c" 1>&6
|
||||
echo "configure:3789: checking for strsep" >&5
|
||||
echo "configure:3844: checking for strsep" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_strsep'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3794 "configure"
|
||||
#line 3849 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char strsep(); below. */
|
||||
@@ -3813,7 +3868,7 @@ strsep();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_strsep=yes"
|
||||
else
|
||||
@@ -3834,12 +3889,12 @@ ISC_PLATFORM_NEEDSTRSEP="#define ISC_PLATFORM_NEEDSTRSEP 1"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
|
||||
echo "configure:3838: checking for vsnprintf" >&5
|
||||
echo "configure:3893: checking for vsnprintf" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3843 "configure"
|
||||
#line 3898 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char vsnprintf(); below. */
|
||||
@@ -3862,7 +3917,7 @@ vsnprintf();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_vsnprintf=yes"
|
||||
else
|
||||
@@ -3891,17 +3946,17 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for sizeof(long long int) == sizeof(long int)""... $ac_c" 1>&6
|
||||
echo "configure:3895: checking for sizeof(long long int) == sizeof(long int)" >&5
|
||||
echo "configure:3950: checking for sizeof(long long int) == sizeof(long int)" >&5
|
||||
if test "$cross_compiling" = yes; then
|
||||
echo "$ac_t""default yes" 1>&6
|
||||
ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3901 "configure"
|
||||
#line 3956 "configure"
|
||||
#include "confdefs.h"
|
||||
main() { exit(!(sizeof(long long int) == sizeof(long int))); }
|
||||
EOF
|
||||
if { (eval echo configure:3905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:3960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"
|
||||
@@ -3921,12 +3976,12 @@ fi
|
||||
# Security Stuff
|
||||
#
|
||||
echo $ac_n "checking for chroot""... $ac_c" 1>&6
|
||||
echo "configure:3925: checking for chroot" >&5
|
||||
echo "configure:3980: checking for chroot" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_chroot'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3930 "configure"
|
||||
#line 3985 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char chroot(); below. */
|
||||
@@ -3949,7 +4004,7 @@ chroot();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_chroot=yes"
|
||||
else
|
||||
@@ -3975,17 +4030,17 @@ for ac_hdr in linux/capability.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:3979: checking for $ac_hdr" >&5
|
||||
echo "configure:4034: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3984 "configure"
|
||||
#line 4039 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:3989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:4044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
@@ -4015,17 +4070,17 @@ for ac_hdr in linux/prctl.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:4019: checking for $ac_hdr" >&5
|
||||
echo "configure:4074: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4024 "configure"
|
||||
#line 4079 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:4029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:4084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
||||
@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
|
||||
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
dnl SOFTWARE.
|
||||
|
||||
AC_REVISION($Revision: 1.154 $)
|
||||
AC_REVISION($Revision: 1.155 $)
|
||||
|
||||
AC_PREREQ(2.13)
|
||||
|
||||
@@ -321,6 +321,11 @@ case "$host" in
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Look for sysconf to allow detection of the number of processors.
|
||||
#
|
||||
AC_CHECK_FUNC(sysconf, AC_DEFINE(HAVE_SYSCONF),)
|
||||
|
||||
#
|
||||
# NLS
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user