version 1.2, 2003/03/25 10:00:53 |
version 1.3, 2003/03/30 08:05:22 |
Line 1718 if test ${with_gmp:=no} != no ; then |
|
Line 1718 if test ${with_gmp:=no} != no ; then |
|
EOF |
EOF |
|
|
GMPLIB="-lgmp" |
GMPLIB="-lgmp" |
|
USE_GMP='#' |
fi |
fi |
|
|
|
|
|
|
echo $ac_n "checking for socket""... $ac_c" 1>&6 |
echo $ac_n "checking for socket""... $ac_c" 1>&6 |
echo "configure:1726: checking for socket" >&5 |
echo "configure:1728: checking for socket" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
else |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 1731 "configure" |
#line 1733 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char socket(); below. */ |
which can conflict with char socket(); below. */ |
|
|
|
|
; return 0; } |
; return 0; } |
EOF |
EOF |
if { (eval echo configure:1754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
rm -rf conftest* |
eval "ac_cv_func_socket=yes" |
eval "ac_cv_func_socket=yes" |
else |
else |
Line 1768 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; |
|
Line 1770 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; |
|
else |
else |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
echo "configure:1772: checking for socket in -lsocket" >&5 |
echo "configure:1774: checking for socket in -lsocket" >&5 |
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 1780 "configure" |
#line 1782 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
|
|
socket() |
socket() |
; return 0; } |
; return 0; } |
EOF |
EOF |
if { (eval echo configure:1791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
else |
else |
|
|
fi |
fi |
|
|
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo "configure:1821: checking for gethostbyname" >&5 |
echo "configure:1823: checking for gethostbyname" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
else |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 1826 "configure" |
#line 1828 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
Line 1845 gethostbyname(); |
|
Line 1847 gethostbyname(); |
|
|
|
; return 0; } |
; return 0; } |
EOF |
EOF |
if { (eval echo configure:1849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
rm -rf conftest* |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
else |
else |
Line 1863 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = |
|
Line 1865 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = |
|
else |
else |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo "configure:1867: checking for gethostbyname in -lnsl" >&5 |
echo "configure:1869: checking for gethostbyname in -lnsl" >&5 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 1875 "configure" |
#line 1877 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
|
|
gethostbyname() |
gethostbyname() |
; return 0; } |
; return 0; } |
EOF |
EOF |
if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
else |
else |
Line 2064 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
|
Line 2066 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
|
s%@X_LIBS@%$X_LIBS%g |
s%@X_LIBS@%$X_LIBS%g |
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
s%@GMPLIB@%$GMPLIB%g |
s%@GMPLIB@%$GMPLIB%g |
|
s%@USE_GMP@%$USE_GMP%g |
|
|
CEOF |
CEOF |
EOF |
EOF |