| version 1.2, 2003/03/25 10:00:53 |
version 1.3, 2003/03/30 08:05:22 |
|
|
| 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 echo $ac_n "checking for socket in -lsocket""... $ac_c |
|
| Line 1770 echo $ac_n "checking for socket in -lsocket""... $ac_c |
|
| 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 |
| Line 1776 cat > conftest.$ac_ext <<EOF |
|
| Line 1778 cat > conftest.$ac_ext <<EOF |
|
| 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 |
| Line 1817 echo $ac_n "checking for gethostbyname""... $ac_c" 1>& |
|
| Line 1819 echo $ac_n "checking for gethostbyname""... $ac_c" 1>& |
|
| 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. */ |
|
|
| |
|
| ; 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 echo $ac_n "checking for gethostbyname in -lnsl""... $ |
|
| Line 1865 echo $ac_n "checking for gethostbyname in -lnsl""... $ |
|
| 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 |
| Line 1871 cat > conftest.$ac_ext <<EOF |
|
| Line 1873 cat > conftest.$ac_ext <<EOF |
|
| 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%@GMPLIB@%$GMPLIB%g |
|
| Line 2066 s%@GMPLIB@%$GMPLIB%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 |