24 |
ac_help="$ac_help |
ac_help="$ac_help |
25 |
--enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs " |
--enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs " |
26 |
ac_help="$ac_help |
ac_help="$ac_help |
|
--enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes) " |
|
|
ac_help="$ac_help |
|
27 |
--enable-notify=no will disable the automatic notification of gcl maintainers of successful builds/problems " |
--enable-notify=no will disable the automatic notification of gcl maintainers of successful builds/problems " |
28 |
ac_help="$ac_help |
ac_help="$ac_help |
29 |
--enable-tkconfig=XXXX will force the use of a TK_CONFIG_PREFIX=XXXXX as place to look for tkConfig.sh and tclConfig.sh " |
--enable-tkconfig=XXXX will force the use of a TK_CONFIG_PREFIX=XXXXX as place to look for tkConfig.sh and tclConfig.sh " |
656 |
fi |
fi |
657 |
|
|
658 |
|
|
659 |
# Check whether --enable-gmp or --disable-gmp was given. |
#AC_ARG_ENABLE(gmp,[ --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes)] , |
660 |
if test "${enable_gmp+set}" = set; then |
#[use_gmp=$enableval],[use_gmp="yes"]) |
|
enableval="$enable_gmp" |
|
|
use_gmp=$enableval |
|
|
else |
|
|
use_gmp="yes" |
|
|
fi |
|
661 |
|
|
662 |
|
use_gmp="yes" |
663 |
|
|
664 |
# Check whether --enable-notify or --disable-notify was given. |
# Check whether --enable-notify or --disable-notify was given. |
665 |
if test "${enable_notify+set}" = set; then |
if test "${enable_notify+set}" = set; then |
765 |
fi |
fi |
766 |
|
|
767 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
768 |
echo "configure:775: checking host system type" >&5 |
echo "configure:769: checking host system type" >&5 |
769 |
|
|
770 |
host_alias=$host |
host_alias=$host |
771 |
case "$host_alias" in |
case "$host_alias" in |
1131 |
# Extract the first word of "gcc", so it can be a program name with args. |
# Extract the first word of "gcc", so it can be a program name with args. |
1132 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
1133 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1134 |
echo "configure:1141: checking for $ac_word" >&5 |
echo "configure:1135: checking for $ac_word" >&5 |
1135 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1136 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1137 |
else |
else |
1161 |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
1162 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
1163 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1164 |
echo "configure:1171: checking for $ac_word" >&5 |
echo "configure:1165: checking for $ac_word" >&5 |
1165 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1166 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1167 |
else |
else |
1212 |
# Extract the first word of "cl", so it can be a program name with args. |
# Extract the first word of "cl", so it can be a program name with args. |
1213 |
set dummy cl; ac_word=$2 |
set dummy cl; ac_word=$2 |
1214 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1215 |
echo "configure:1222: checking for $ac_word" >&5 |
echo "configure:1216: checking for $ac_word" >&5 |
1216 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1217 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1218 |
else |
else |
1244 |
fi |
fi |
1245 |
|
|
1246 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1247 |
echo "configure:1254: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:1248: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1248 |
|
|
1249 |
ac_ext=c |
ac_ext=c |
1250 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
1255 |
|
|
1256 |
cat > conftest.$ac_ext << EOF |
cat > conftest.$ac_ext << EOF |
1257 |
|
|
1258 |
#line 1265 "configure" |
#line 1259 "configure" |
1259 |
#include "confdefs.h" |
#include "confdefs.h" |
1260 |
|
|
1261 |
main(){return(0);} |
main(){return(0);} |
1262 |
EOF |
EOF |
1263 |
if { (eval echo configure:1270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1264 |
ac_cv_prog_cc_works=yes |
ac_cv_prog_cc_works=yes |
1265 |
# If we can't run a trivial program, we are probably using a cross compiler. |
# If we can't run a trivial program, we are probably using a cross compiler. |
1266 |
if (./conftest; exit) 2>/dev/null; then |
if (./conftest; exit) 2>/dev/null; then |
1286 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1287 |
fi |
fi |
1288 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1289 |
echo "configure:1296: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:1290: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1290 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1291 |
cross_compiling=$ac_cv_prog_cc_cross |
cross_compiling=$ac_cv_prog_cc_cross |
1292 |
|
|
1293 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1294 |
echo "configure:1301: checking whether we are using GNU C" >&5 |
echo "configure:1295: checking whether we are using GNU C" >&5 |
1295 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
1296 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1297 |
else |
else |
1300 |
yes; |
yes; |
1301 |
#endif |
#endif |
1302 |
EOF |
EOF |
1303 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1304 |
ac_cv_prog_gcc=yes |
ac_cv_prog_gcc=yes |
1305 |
else |
else |
1306 |
ac_cv_prog_gcc=no |
ac_cv_prog_gcc=no |
1319 |
ac_save_CFLAGS="$CFLAGS" |
ac_save_CFLAGS="$CFLAGS" |
1320 |
CFLAGS= |
CFLAGS= |
1321 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1322 |
echo "configure:1329: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:1323: checking whether ${CC-cc} accepts -g" >&5 |
1323 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
1324 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1325 |
else |
else |
1351 |
fi |
fi |
1352 |
|
|
1353 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1354 |
echo "configure:1361: checking how to run the C preprocessor" >&5 |
echo "configure:1355: checking how to run the C preprocessor" >&5 |
1355 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
1356 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
1357 |
CPP= |
CPP= |
1366 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
1367 |
# not just through cpp. |
# not just through cpp. |
1368 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1369 |
#line 1376 "configure" |
#line 1370 "configure" |
1370 |
#include "confdefs.h" |
#include "confdefs.h" |
1371 |
#include <assert.h> |
#include <assert.h> |
1372 |
Syntax Error |
Syntax Error |
1373 |
EOF |
EOF |
1374 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1375 |
{ (eval echo configure:1382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1376 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1377 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1378 |
: |
: |
1383 |
rm -rf conftest* |
rm -rf conftest* |
1384 |
CPP="${CC-cc} -E -traditional-cpp" |
CPP="${CC-cc} -E -traditional-cpp" |
1385 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1386 |
#line 1393 "configure" |
#line 1387 "configure" |
1387 |
#include "confdefs.h" |
#include "confdefs.h" |
1388 |
#include <assert.h> |
#include <assert.h> |
1389 |
Syntax Error |
Syntax Error |
1390 |
EOF |
EOF |
1391 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1392 |
{ (eval echo configure:1399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1393 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1394 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1395 |
: |
: |
1400 |
rm -rf conftest* |
rm -rf conftest* |
1401 |
CPP="${CC-cc} -nologo -E" |
CPP="${CC-cc} -nologo -E" |
1402 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1403 |
#line 1410 "configure" |
#line 1404 "configure" |
1404 |
#include "confdefs.h" |
#include "confdefs.h" |
1405 |
#include <assert.h> |
#include <assert.h> |
1406 |
Syntax Error |
Syntax Error |
1407 |
EOF |
EOF |
1408 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1409 |
{ (eval echo configure:1416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1410 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1411 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1412 |
: |
: |
1465 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1466 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1467 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1468 |
echo "configure:1475: checking for $ac_word" >&5 |
echo "configure:1469: checking for $ac_word" >&5 |
1469 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
1470 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1471 |
else |
else |
1538 |
# there are a few systems, like Next, where this doesn't work. |
# there are a few systems, like Next, where this doesn't work. |
1539 |
|
|
1540 |
echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6 |
echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6 |
1541 |
echo "configure:1548: checking system version (for dynamic loading)" >&5 |
echo "configure:1542: checking system version (for dynamic loading)" >&5 |
1542 |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
1543 |
|
|
1544 |
for ac_prog in makeinfo |
for ac_prog in makeinfo |
1546 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1547 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1548 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1549 |
echo "configure:1556: checking for $ac_word" >&5 |
echo "configure:1550: checking for $ac_word" >&5 |
1550 |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
1551 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1552 |
else |
else |
1611 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
1612 |
|
|
1613 |
echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6 |
echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6 |
1614 |
echo "configure:1621: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo "configure:1615: checking use_gmp=yes, doing configure in gmp directory" >&5 |
1615 |
echo |
echo |
1616 |
echo "#" |
echo "#" |
1617 |
echo "#" |
echo "#" |
1644 |
if test "$enable_dynsysgmp" = "yes" ; then |
if test "$enable_dynsysgmp" = "yes" ; then |
1645 |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
1646 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
1647 |
echo "configure:1654: checking for gmp.h" >&5 |
echo "configure:1648: checking for gmp.h" >&5 |
1648 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1649 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1650 |
else |
else |
1651 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1652 |
#line 1659 "configure" |
#line 1653 "configure" |
1653 |
#include "confdefs.h" |
#include "confdefs.h" |
1654 |
#include <gmp.h> |
#include <gmp.h> |
1655 |
EOF |
EOF |
1656 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1657 |
{ (eval echo configure:1664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1658 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1659 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1660 |
rm -rf conftest* |
rm -rf conftest* |
1671 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
1672 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1673 |
echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
1674 |
echo "configure:1681: checking for __gmpz_init in -lgmp" >&5 |
echo "configure:1675: checking for __gmpz_init in -lgmp" >&5 |
1675 |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
1676 |
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 |
1677 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1679 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1680 |
LIBS="-lgmp $LIBS" |
LIBS="-lgmp $LIBS" |
1681 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1682 |
#line 1689 "configure" |
#line 1683 "configure" |
1683 |
#include "confdefs.h" |
#include "confdefs.h" |
1684 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1685 |
/* 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 |
1690 |
__gmpz_init() |
__gmpz_init() |
1691 |
; return 0; } |
; return 0; } |
1692 |
EOF |
EOF |
1693 |
if { (eval echo configure:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1694 |
rm -rf conftest* |
rm -rf conftest* |
1695 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1696 |
else |
else |
1706 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
1707 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
1708 |
echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6 |
echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6 |
1709 |
echo "configure:1716: checking "for external gmp version"" >&5 |
echo "configure:1710: checking "for external gmp version"" >&5 |
1710 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1711 |
echo "Cannot use dynamic gmp lib" |
echo "Cannot use dynamic gmp lib" |
1712 |
else |
else |
1713 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1714 |
#line 1721 "configure" |
#line 1715 "configure" |
1715 |
#include "confdefs.h" |
#include "confdefs.h" |
1716 |
#include <gmp.h> |
#include <gmp.h> |
1717 |
int main() { |
int main() { |
1722 |
#endif |
#endif |
1723 |
} |
} |
1724 |
EOF |
EOF |
1725 |
if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1726 |
then |
then |
1727 |
MPFILES=$GMPDIR/mpn/mul_n.o |
MPFILES=$GMPDIR/mpn/mul_n.o |
1728 |
PATCHED_SYMBOLS=__gmpn_toom3_mul_n |
PATCHED_SYMBOLS=__gmpn_toom3_mul_n |
1766 |
fi |
fi |
1767 |
|
|
1768 |
echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6 |
echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6 |
1769 |
echo "configure:1776: checking "for size of gmp limbs"" >&5 |
echo "configure:1770: checking "for size of gmp limbs"" >&5 |
1770 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1771 |
mpsize=0 |
mpsize=0 |
1772 |
else |
else |
1773 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1774 |
#line 1781 "configure" |
#line 1775 "configure" |
1775 |
#include "confdefs.h" |
#include "confdefs.h" |
1776 |
#include <stdio.h> |
#include <stdio.h> |
1777 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1782 |
return 0; |
return 0; |
1783 |
} |
} |
1784 |
EOF |
EOF |
1785 |
if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1786 |
then |
then |
1787 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
1788 |
else |
else |
1805 |
echo "$ac_t""$mpsize" 1>&6 |
echo "$ac_t""$mpsize" 1>&6 |
1806 |
|
|
1807 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
1808 |
echo "configure:1815: checking "_SHORT_LIMB"" >&5 |
echo "configure:1809: checking "_SHORT_LIMB"" >&5 |
1809 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1810 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1811 |
else |
else |
1812 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1813 |
#line 1820 "configure" |
#line 1814 "configure" |
1814 |
#include "confdefs.h" |
#include "confdefs.h" |
1815 |
#include <stdio.h> |
#include <stdio.h> |
1816 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1822 |
#endif |
#endif |
1823 |
} |
} |
1824 |
EOF |
EOF |
1825 |
if { (eval echo configure:1832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1826 |
then |
then |
1827 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1828 |
#define __SHORT_LIMB 1 |
#define __SHORT_LIMB 1 |
1838 |
fi |
fi |
1839 |
|
|
1840 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
1841 |
echo "configure:1848: checking "_LONG_LONG_LIMB"" >&5 |
echo "configure:1842: checking "_LONG_LONG_LIMB"" >&5 |
1842 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
1843 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
1844 |
else |
else |
1845 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1846 |
#line 1853 "configure" |
#line 1847 "configure" |
1847 |
#include "confdefs.h" |
#include "confdefs.h" |
1848 |
#include <stdio.h> |
#include <stdio.h> |
1849 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
1855 |
#endif |
#endif |
1856 |
} |
} |
1857 |
EOF |
EOF |
1858 |
if { (eval echo configure:1865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1859 |
then |
then |
1860 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1861 |
#define __LONG_LONG_LIMB 1 |
#define __LONG_LONG_LIMB 1 |
1894 |
# Uses ac_ vars as temps to allow command line to override cache and checks. |
# Uses ac_ vars as temps to allow command line to override cache and checks. |
1895 |
# --without-x overrides everything else, but does not touch the cache. |
# --without-x overrides everything else, but does not touch the cache. |
1896 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
1897 |
echo "configure:1904: checking for X" >&5 |
echo "configure:1898: checking for X" >&5 |
1898 |
|
|
1899 |
# Check whether --with-x or --without-x was given. |
# Check whether --with-x or --without-x was given. |
1900 |
if test "${with_x+set}" = set; then |
if test "${with_x+set}" = set; then |
1956 |
|
|
1957 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
1958 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1959 |
#line 1966 "configure" |
#line 1960 "configure" |
1960 |
#include "confdefs.h" |
#include "confdefs.h" |
1961 |
#include <$x_direct_test_include> |
#include <$x_direct_test_include> |
1962 |
EOF |
EOF |
1963 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1964 |
{ (eval echo configure:1971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1965 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1966 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1967 |
rm -rf conftest* |
rm -rf conftest* |
2030 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2031 |
LIBS="-l$x_direct_test_library $LIBS" |
LIBS="-l$x_direct_test_library $LIBS" |
2032 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2033 |
#line 2040 "configure" |
#line 2034 "configure" |
2034 |
#include "confdefs.h" |
#include "confdefs.h" |
2035 |
|
|
2036 |
int main() { |
int main() { |
2037 |
${x_direct_test_function}() |
${x_direct_test_function}() |
2038 |
; return 0; } |
; return 0; } |
2039 |
EOF |
EOF |
2040 |
if { (eval echo configure:2047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2041 |
rm -rf conftest* |
rm -rf conftest* |
2042 |
LIBS="$ac_save_LIBS" |
LIBS="$ac_save_LIBS" |
2043 |
# We can link X programs with no special library path. |
# We can link X programs with no special library path. |
2143 |
case "`(uname -sr) 2>/dev/null`" in |
case "`(uname -sr) 2>/dev/null`" in |
2144 |
"SunOS 5"*) |
"SunOS 5"*) |
2145 |
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
2146 |
echo "configure:2153: checking whether -R must be followed by a space" >&5 |
echo "configure:2147: checking whether -R must be followed by a space" >&5 |
2147 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
2148 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2149 |
#line 2156 "configure" |
#line 2150 "configure" |
2150 |
#include "confdefs.h" |
#include "confdefs.h" |
2151 |
|
|
2152 |
int main() { |
int main() { |
2153 |
|
|
2154 |
; return 0; } |
; return 0; } |
2155 |
EOF |
EOF |
2156 |
if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2157 |
rm -rf conftest* |
rm -rf conftest* |
2158 |
ac_R_nospace=yes |
ac_R_nospace=yes |
2159 |
else |
else |
2169 |
else |
else |
2170 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
2171 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2172 |
#line 2179 "configure" |
#line 2173 "configure" |
2173 |
#include "confdefs.h" |
#include "confdefs.h" |
2174 |
|
|
2175 |
int main() { |
int main() { |
2176 |
|
|
2177 |
; return 0; } |
; return 0; } |
2178 |
EOF |
EOF |
2179 |
if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2180 |
rm -rf conftest* |
rm -rf conftest* |
2181 |
ac_R_space=yes |
ac_R_space=yes |
2182 |
else |
else |
2208 |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
2209 |
# the Alpha needs dnet_stub (dnet does not exist). |
# the Alpha needs dnet_stub (dnet does not exist). |
2210 |
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
2211 |
echo "configure:2218: checking for dnet_ntoa in -ldnet" >&5 |
echo "configure:2212: checking for dnet_ntoa in -ldnet" >&5 |
2212 |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2213 |
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 |
2214 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2216 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2217 |
LIBS="-ldnet $LIBS" |
LIBS="-ldnet $LIBS" |
2218 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2219 |
#line 2226 "configure" |
#line 2220 "configure" |
2220 |
#include "confdefs.h" |
#include "confdefs.h" |
2221 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2222 |
/* 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 |
2227 |
dnet_ntoa() |
dnet_ntoa() |
2228 |
; return 0; } |
; return 0; } |
2229 |
EOF |
EOF |
2230 |
if { (eval echo configure:2237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2231 |
rm -rf conftest* |
rm -rf conftest* |
2232 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2233 |
else |
else |
2249 |
|
|
2250 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
2251 |
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
2252 |
echo "configure:2259: checking for dnet_ntoa in -ldnet_stub" >&5 |
echo "configure:2253: checking for dnet_ntoa in -ldnet_stub" >&5 |
2253 |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2254 |
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 |
2255 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2257 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2258 |
LIBS="-ldnet_stub $LIBS" |
LIBS="-ldnet_stub $LIBS" |
2259 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2260 |
#line 2267 "configure" |
#line 2261 "configure" |
2261 |
#include "confdefs.h" |
#include "confdefs.h" |
2262 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2263 |
/* 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 |
2268 |
dnet_ntoa() |
dnet_ntoa() |
2269 |
; return 0; } |
; return 0; } |
2270 |
EOF |
EOF |
2271 |
if { (eval echo configure:2278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2272 |
rm -rf conftest* |
rm -rf conftest* |
2273 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2274 |
else |
else |
2297 |
# The nsl library prevents programs from opening the X display |
# The nsl library prevents programs from opening the X display |
2298 |
# on Irix 5.2, according to dickey@clark.net. |
# on Irix 5.2, according to dickey@clark.net. |
2299 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
2300 |
echo "configure:2307: checking for gethostbyname" >&5 |
echo "configure:2301: checking for gethostbyname" >&5 |
2301 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
2302 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2303 |
else |
else |
2304 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2305 |
#line 2312 "configure" |
#line 2306 "configure" |
2306 |
#include "confdefs.h" |
#include "confdefs.h" |
2307 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2308 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
2325 |
|
|
2326 |
; return 0; } |
; return 0; } |
2327 |
EOF |
EOF |
2328 |
if { (eval echo configure:2335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2329 |
rm -rf conftest* |
rm -rf conftest* |
2330 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
2331 |
else |
else |
2346 |
|
|
2347 |
if test $ac_cv_func_gethostbyname = no; then |
if test $ac_cv_func_gethostbyname = no; then |
2348 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
2349 |
echo "configure:2356: checking for gethostbyname in -lnsl" >&5 |
echo "configure:2350: checking for gethostbyname in -lnsl" >&5 |
2350 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
2351 |
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 |
2352 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2354 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2355 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
2356 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2357 |
#line 2364 "configure" |
#line 2358 "configure" |
2358 |
#include "confdefs.h" |
#include "confdefs.h" |
2359 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2360 |
/* 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 |
2365 |
gethostbyname() |
gethostbyname() |
2366 |
; return 0; } |
; return 0; } |
2367 |
EOF |
EOF |
2368 |
if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2369 |
rm -rf conftest* |
rm -rf conftest* |
2370 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2371 |
else |
else |
2395 |
# -lsocket must be given before -lnsl if both are needed. |
# -lsocket must be given before -lnsl if both are needed. |
2396 |
# We assume that if connect needs -lnsl, so does gethostbyname. |
# We assume that if connect needs -lnsl, so does gethostbyname. |
2397 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
2398 |
echo "configure:2405: checking for connect" >&5 |
echo "configure:2399: checking for connect" >&5 |
2399 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
2400 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2401 |
else |
else |
2402 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2403 |
#line 2410 "configure" |
#line 2404 "configure" |
2404 |
#include "confdefs.h" |
#include "confdefs.h" |
2405 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2406 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
2423 |
|
|
2424 |
; return 0; } |
; return 0; } |
2425 |
EOF |
EOF |
2426 |
if { (eval echo configure:2433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2427 |
rm -rf conftest* |
rm -rf conftest* |
2428 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
2429 |
else |
else |
2444 |
|
|
2445 |
if test $ac_cv_func_connect = no; then |
if test $ac_cv_func_connect = no; then |
2446 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
2447 |
echo "configure:2454: checking for connect in -lsocket" >&5 |
echo "configure:2448: checking for connect in -lsocket" >&5 |
2448 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
2449 |
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 |
2450 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2452 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2453 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
2454 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2455 |
#line 2462 "configure" |
#line 2456 "configure" |
2456 |
#include "confdefs.h" |
#include "confdefs.h" |
2457 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2458 |
/* 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 |
2463 |
connect() |
connect() |
2464 |
; return 0; } |
; return 0; } |
2465 |
EOF |
EOF |
2466 |
if { (eval echo configure:2473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2467 |
rm -rf conftest* |
rm -rf conftest* |
2468 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2469 |
else |
else |
2487 |
|
|
2488 |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
2489 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
2490 |
echo "configure:2497: checking for remove" >&5 |
echo "configure:2491: checking for remove" >&5 |
2491 |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
2492 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2493 |
else |
else |
2494 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2495 |
#line 2502 "configure" |
#line 2496 "configure" |
2496 |
#include "confdefs.h" |
#include "confdefs.h" |
2497 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2498 |
which can conflict with char remove(); below. */ |
which can conflict with char remove(); below. */ |
2515 |
|
|
2516 |
; return 0; } |
; return 0; } |
2517 |
EOF |
EOF |
2518 |
if { (eval echo configure:2525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2519 |
rm -rf conftest* |
rm -rf conftest* |
2520 |
eval "ac_cv_func_remove=yes" |
eval "ac_cv_func_remove=yes" |
2521 |
else |
else |
2536 |
|
|
2537 |
if test $ac_cv_func_remove = no; then |
if test $ac_cv_func_remove = no; then |
2538 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
2539 |
echo "configure:2546: checking for remove in -lposix" >&5 |
echo "configure:2540: checking for remove in -lposix" >&5 |
2540 |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
2541 |
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 |
2542 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2544 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2545 |
LIBS="-lposix $LIBS" |
LIBS="-lposix $LIBS" |
2546 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2547 |
#line 2554 "configure" |
#line 2548 "configure" |
2548 |
#include "confdefs.h" |
#include "confdefs.h" |
2549 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2550 |
/* 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 |
2555 |
remove() |
remove() |
2556 |
; return 0; } |
; return 0; } |
2557 |
EOF |
EOF |
2558 |
if { (eval echo configure:2565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2559 |
rm -rf conftest* |
rm -rf conftest* |
2560 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2561 |
else |
else |
2579 |
|
|
2580 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
2581 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
2582 |
echo "configure:2589: checking for shmat" >&5 |
echo "configure:2583: checking for shmat" >&5 |
2583 |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
2584 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2585 |
else |
else |
2586 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2587 |
#line 2594 "configure" |
#line 2588 "configure" |
2588 |
#include "confdefs.h" |
#include "confdefs.h" |
2589 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2590 |
which can conflict with char shmat(); below. */ |
which can conflict with char shmat(); below. */ |
2607 |
|
|
2608 |
; return 0; } |
; return 0; } |
2609 |
EOF |
EOF |
2610 |
if { (eval echo configure:2617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2611 |
rm -rf conftest* |
rm -rf conftest* |
2612 |
eval "ac_cv_func_shmat=yes" |
eval "ac_cv_func_shmat=yes" |
2613 |
else |
else |
2628 |
|
|
2629 |
if test $ac_cv_func_shmat = no; then |
if test $ac_cv_func_shmat = no; then |
2630 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
2631 |
echo "configure:2638: checking for shmat in -lipc" >&5 |
echo "configure:2632: checking for shmat in -lipc" >&5 |
2632 |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
2633 |
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 |
2634 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2636 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2637 |
LIBS="-lipc $LIBS" |
LIBS="-lipc $LIBS" |
2638 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2639 |
#line 2646 "configure" |
#line 2640 "configure" |
2640 |
#include "confdefs.h" |
#include "confdefs.h" |
2641 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2642 |
/* 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 |
2647 |
shmat() |
shmat() |
2648 |
; return 0; } |
; return 0; } |
2649 |
EOF |
EOF |
2650 |
if { (eval echo configure:2657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2651 |
rm -rf conftest* |
rm -rf conftest* |
2652 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2653 |
else |
else |
2680 |
# libraries we check for below, so use a different variable. |
# libraries we check for below, so use a different variable. |
2681 |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
2682 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
2683 |
echo "configure:2690: checking for IceConnectionNumber in -lICE" >&5 |
echo "configure:2684: checking for IceConnectionNumber in -lICE" >&5 |
2684 |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
2685 |
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 |
2686 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2688 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2689 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
2690 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2691 |
#line 2698 "configure" |
#line 2692 "configure" |
2692 |
#include "confdefs.h" |
#include "confdefs.h" |
2693 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2694 |
/* 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 |
2699 |
IceConnectionNumber() |
IceConnectionNumber() |
2700 |
; return 0; } |
; return 0; } |
2701 |
EOF |
EOF |
2702 |
if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2703 |
rm -rf conftest* |
rm -rf conftest* |
2704 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2705 |
else |
else |
2730 |
|
|
2731 |
miss=0 |
miss=0 |
2732 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
2733 |
echo "configure:2740: checking for main in -lXmu" >&5 |
echo "configure:2734: checking for main in -lXmu" >&5 |
2734 |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
2735 |
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 |
2736 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2738 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2739 |
LIBS="-lXmu $X_LIBS $LIBS" |
LIBS="-lXmu $X_LIBS $LIBS" |
2740 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2741 |
#line 2748 "configure" |
#line 2742 "configure" |
2742 |
#include "confdefs.h" |
#include "confdefs.h" |
2743 |
|
|
2744 |
int main() { |
int main() { |
2745 |
main() |
main() |
2746 |
; return 0; } |
; return 0; } |
2747 |
EOF |
EOF |
2748 |
if { (eval echo configure:2755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2749 |
rm -rf conftest* |
rm -rf conftest* |
2750 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2751 |
else |
else |
2767 |
fi |
fi |
2768 |
|
|
2769 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
2770 |
echo "configure:2777: checking for main in -lXt" >&5 |
echo "configure:2771: checking for main in -lXt" >&5 |
2771 |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
2772 |
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 |
2773 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2775 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2776 |
LIBS="-lXt $X_LIBS $LIBS" |
LIBS="-lXt $X_LIBS $LIBS" |
2777 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2778 |
#line 2785 "configure" |
#line 2779 "configure" |
2779 |
#include "confdefs.h" |
#include "confdefs.h" |
2780 |
|
|
2781 |
int main() { |
int main() { |
2782 |
main() |
main() |
2783 |
; return 0; } |
; return 0; } |
2784 |
EOF |
EOF |
2785 |
if { (eval echo configure:2792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2786 |
rm -rf conftest* |
rm -rf conftest* |
2787 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2788 |
else |
else |
2804 |
fi |
fi |
2805 |
|
|
2806 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
2807 |
echo "configure:2814: checking for main in -lXext" >&5 |
echo "configure:2808: checking for main in -lXext" >&5 |
2808 |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
2809 |
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 |
2810 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2812 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2813 |
LIBS="-lXext $X_LIBS $LIBS" |
LIBS="-lXext $X_LIBS $LIBS" |
2814 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2815 |
#line 2822 "configure" |
#line 2816 "configure" |
2816 |
#include "confdefs.h" |
#include "confdefs.h" |
2817 |
|
|
2818 |
int main() { |
int main() { |
2819 |
main() |
main() |
2820 |
; return 0; } |
; return 0; } |
2821 |
EOF |
EOF |
2822 |
if { (eval echo configure:2829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2823 |
rm -rf conftest* |
rm -rf conftest* |
2824 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2825 |
else |
else |
2841 |
fi |
fi |
2842 |
|
|
2843 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
2844 |
echo "configure:2851: checking for main in -lXaw" >&5 |
echo "configure:2845: checking for main in -lXaw" >&5 |
2845 |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
2846 |
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 |
2847 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2849 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2850 |
LIBS="-lXaw $X_LIBS $LIBS" |
LIBS="-lXaw $X_LIBS $LIBS" |
2851 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2852 |
#line 2859 "configure" |
#line 2853 "configure" |
2853 |
#include "confdefs.h" |
#include "confdefs.h" |
2854 |
|
|
2855 |
int main() { |
int main() { |
2856 |
main() |
main() |
2857 |
; return 0; } |
; return 0; } |
2858 |
EOF |
EOF |
2859 |
if { (eval echo configure:2866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2860 |
rm -rf conftest* |
rm -rf conftest* |
2861 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2862 |
else |
else |
2878 |
fi |
fi |
2879 |
|
|
2880 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
2881 |
echo "configure:2888: checking for main in -lX11" >&5 |
echo "configure:2882: checking for main in -lX11" >&5 |
2882 |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
2883 |
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 |
2884 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2886 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2887 |
LIBS="-lX11 $X_LIBS $LIBS" |
LIBS="-lX11 $X_LIBS $LIBS" |
2888 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2889 |
#line 2896 "configure" |
#line 2890 "configure" |
2890 |
#include "confdefs.h" |
#include "confdefs.h" |
2891 |
|
|
2892 |
int main() { |
int main() { |
2893 |
main() |
main() |
2894 |
; return 0; } |
; return 0; } |
2895 |
EOF |
EOF |
2896 |
if { (eval echo configure:2903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2897 |
rm -rf conftest* |
rm -rf conftest* |
2898 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2899 |
else |
else |
2932 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
2933 |
|
|
2934 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
2935 |
echo "configure:2942: checking for dlopen in -ldl" >&5 |
echo "configure:2936: checking for dlopen in -ldl" >&5 |
2936 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
2937 |
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 |
2938 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2940 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
2941 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
2942 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2943 |
#line 2950 "configure" |
#line 2944 "configure" |
2944 |
#include "confdefs.h" |
#include "confdefs.h" |
2945 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2946 |
/* 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 |
2951 |
dlopen() |
dlopen() |
2952 |
; return 0; } |
; return 0; } |
2953 |
EOF |
EOF |
2954 |
if { (eval echo configure:2961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2955 |
rm -rf conftest* |
rm -rf conftest* |
2956 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
2957 |
else |
else |
2987 |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
2988 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
2989 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
2990 |
echo "configure:2997: checking for bfd.h" >&5 |
echo "configure:2991: checking for bfd.h" >&5 |
2991 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2992 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2993 |
else |
else |
2994 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2995 |
#line 3002 "configure" |
#line 2996 "configure" |
2996 |
#include "confdefs.h" |
#include "confdefs.h" |
2997 |
#include <bfd.h> |
#include <bfd.h> |
2998 |
EOF |
EOF |
2999 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3000 |
{ (eval echo configure:3007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3001 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3002 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3003 |
rm -rf conftest* |
rm -rf conftest* |
3014 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
3015 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
3016 |
echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6 |
echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6 |
3017 |
echo "configure:3024: checking for bfd_init in -lbfd" >&5 |
echo "configure:3018: checking for bfd_init in -lbfd" >&5 |
3018 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
3019 |
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 |
3020 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3022 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
3023 |
LIBS="-lbfd -liberty $LIBS" |
LIBS="-lbfd -liberty $LIBS" |
3024 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3025 |
#line 3032 "configure" |
#line 3026 "configure" |
3026 |
#include "confdefs.h" |
#include "confdefs.h" |
3027 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3028 |
/* 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 |
3033 |
bfd_init() |
bfd_init() |
3034 |
; return 0; } |
; return 0; } |
3035 |
EOF |
EOF |
3036 |
if { (eval echo configure:3043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3037 |
rm -rf conftest* |
rm -rf conftest* |
3038 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
3039 |
else |
else |
3052 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
3053 |
# |
# |
3054 |
echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6 |
echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6 |
3055 |
echo "configure:3062: checking if need to define CONST for bfd" >&5 |
echo "configure:3056: checking if need to define CONST for bfd" >&5 |
3056 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3057 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
3058 |
else |
else |
3059 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3060 |
#line 3067 "configure" |
#line 3061 "configure" |
3061 |
#include "confdefs.h" |
#include "confdefs.h" |
3062 |
#define IN_GCC |
#define IN_GCC |
3063 |
#include <bfd.h> |
#include <bfd.h> |
3064 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
3065 |
EOF |
EOF |
3066 |
if { (eval echo configure:3073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3067 |
then |
then |
3068 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3069 |
else |
else |
3074 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
3075 |
else |
else |
3076 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3077 |
#line 3084 "configure" |
#line 3078 "configure" |
3078 |
#include "confdefs.h" |
#include "confdefs.h" |
3079 |
#define CONST const |
#define CONST const |
3080 |
#define IN_GCC |
#define IN_GCC |
3081 |
#include <bfd.h> |
#include <bfd.h> |
3082 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
3083 |
EOF |
EOF |
3084 |
if { (eval echo configure:3091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3085 |
then |
then |
3086 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
3087 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3121 |
# |
# |
3122 |
|
|
3123 |
echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6 |
echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6 |
3124 |
echo "configure:3131: checking for useable bfd_boolean" >&5 |
echo "configure:3125: checking for useable bfd_boolean" >&5 |
3125 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3126 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3127 |
else |
else |
3128 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3129 |
#line 3136 "configure" |
#line 3130 "configure" |
3130 |
#include "confdefs.h" |
#include "confdefs.h" |
3131 |
#define IN_GCC |
#define IN_GCC |
3132 |
#include <bfd.h> |
#include <bfd.h> |
3133 |
bfd_boolean foo() {return FALSE;} |
bfd_boolean foo() {return FALSE;} |
3134 |
int main() {return 0;} |
int main() {return 0;} |
3135 |
EOF |
EOF |
3136 |
if { (eval echo configure:3143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3137 |
then |
then |
3138 |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
3139 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3220 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |
3221 |
|
|
3222 |
echo $ac_n "checking size of long""... $ac_c" 1>&6 |
echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3223 |
echo "configure:3230: checking size of long" >&5 |
echo "configure:3224: checking size of long" >&5 |
3224 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
3225 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3226 |
else |
else |
3228 |
ac_cv_sizeof_long=0 |
ac_cv_sizeof_long=0 |
3229 |
else |
else |
3230 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3231 |
#line 3238 "configure" |
#line 3232 "configure" |
3232 |
#include "confdefs.h" |
#include "confdefs.h" |
3233 |
#include <stdio.h> |
#include <stdio.h> |
3234 |
#include <sys/types.h> |
#include <sys/types.h> |
3240 |
exit(0); |
exit(0); |
3241 |
} |
} |
3242 |
EOF |
EOF |
3243 |
if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3244 |
then |
then |
3245 |
ac_cv_sizeof_long=`cat conftestval` |
ac_cv_sizeof_long=`cat conftestval` |
3246 |
else |
else |
3260 |
|
|
3261 |
|
|
3262 |
echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6 |
echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6 |
3263 |
echo "configure:3270: checking sizeof struct contblock" >&5 |
echo "configure:3264: checking sizeof struct contblock" >&5 |
3264 |
|
|
3265 |
# work around MSYS pwd result incompatibility |
# work around MSYS pwd result incompatibility |
3266 |
if test "$use" = "mingw" ; then |
if test "$use" = "mingw" ; then |
3268 |
echo Cannot find sizeof struct contblock;exit 1 |
echo Cannot find sizeof struct contblock;exit 1 |
3269 |
else |
else |
3270 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3271 |
#line 3278 "configure" |
#line 3272 "configure" |
3272 |
#include "confdefs.h" |
#include "confdefs.h" |
3273 |
#include <stdio.h> |
#include <stdio.h> |
3274 |
#define EXTER |
#define EXTER |
3282 |
return 0; |
return 0; |
3283 |
} |
} |
3284 |
EOF |
EOF |
3285 |
if { (eval echo configure:3292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3286 |
then |
then |
3287 |
sizeof_contblock=`cat conftest1` |
sizeof_contblock=`cat conftest1` |
3288 |
else |
else |
3299 |
echo Cannot find sizeof struct contblock;exit 1 |
echo Cannot find sizeof struct contblock;exit 1 |
3300 |
else |
else |
3301 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3302 |
#line 3309 "configure" |
#line 3303 "configure" |
3303 |
#include "confdefs.h" |
#include "confdefs.h" |
3304 |
#include <stdio.h> |
#include <stdio.h> |
3305 |
#define EXTER |
#define EXTER |
3313 |
return 0; |
return 0; |
3314 |
} |
} |
3315 |
EOF |
EOF |
3316 |
if { (eval echo configure:3323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3317 |
then |
then |
3318 |
sizeof_contblock=`cat conftest1` |
sizeof_contblock=`cat conftest1` |
3319 |
else |
else |
3338 |
do |
do |
3339 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3340 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3341 |
echo "configure:3348: checking for $ac_hdr" >&5 |
echo "configure:3342: checking for $ac_hdr" >&5 |
3342 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3343 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3344 |
else |
else |
3345 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3346 |
#line 3353 "configure" |
#line 3347 "configure" |
3347 |
#include "confdefs.h" |
#include "confdefs.h" |
3348 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3349 |
EOF |
EOF |
3350 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3351 |
{ (eval echo configure:3358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3352 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3353 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3354 |
rm -rf conftest* |
rm -rf conftest* |
3369 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
3370 |
EOF |
EOF |
3371 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
3372 |
echo "configure:3379: checking "endianness"" >&5 |
echo "configure:3373: checking "endianness"" >&5 |
3373 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3374 |
echo "$ac_t""big" 1>&6 |
echo "$ac_t""big" 1>&6 |
3375 |
else |
else |
3376 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3377 |
#line 3384 "configure" |
#line 3378 "configure" |
3378 |
#include "confdefs.h" |
#include "confdefs.h" |
3379 |
#define __ARMEB__ |
#define __ARMEB__ |
3380 |
#include <endian.h> |
#include <endian.h> |
3381 |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
3382 |
EOF |
EOF |
3383 |
if { (eval echo configure:3390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3384 |
then |
then |
3385 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3386 |
#define LITTLE_END 1 |
#define LITTLE_END 1 |
3403 |
|
|
3404 |
|
|
3405 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
3406 |
echo "configure:3413: checking "finding DBEGIN"" >&5 |
echo "configure:3407: checking "finding DBEGIN"" >&5 |
3407 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3408 |
dbegin=0 |
dbegin=0 |
3409 |
else |
else |
3410 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3411 |
#line 3418 "configure" |
#line 3412 "configure" |
3412 |
#include "confdefs.h" |
#include "confdefs.h" |
3413 |
#include <stdio.h> |
#include <stdio.h> |
3414 |
#include <stdlib.h> |
#include <stdlib.h> |
3425 |
return 0; |
return 0; |
3426 |
} |
} |
3427 |
EOF |
EOF |
3428 |
if { (eval echo configure:3435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3429 |
then |
then |
3430 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
3431 |
else |
else |
3447 |
|
|
3448 |
|
|
3449 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
3450 |
echo "configure:3457: checking "finding CSTACK_ADDRESS"" >&5 |
echo "configure:3451: checking "finding CSTACK_ADDRESS"" >&5 |
3451 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3452 |
cstack_address=0 |
cstack_address=0 |
3453 |
else |
else |
3454 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3455 |
#line 3462 "configure" |
#line 3456 "configure" |
3456 |
#include "confdefs.h" |
#include "confdefs.h" |
3457 |
#include <stdio.h> |
#include <stdio.h> |
3458 |
main() |
main() |
3464 |
return 0; |
return 0; |
3465 |
} |
} |
3466 |
EOF |
EOF |
3467 |
if { (eval echo configure:3474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3468 |
then |
then |
3469 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
3470 |
else |
else |
3486 |
|
|
3487 |
|
|
3488 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
3489 |
echo "configure:3496: checking "sizeof long long int"" >&5 |
echo "configure:3490: checking "sizeof long long int"" >&5 |
3490 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3491 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3492 |
|
|
3493 |
else |
else |
3494 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3495 |
#line 3502 "configure" |
#line 3496 "configure" |
3496 |
#include "confdefs.h" |
#include "confdefs.h" |
3497 |
#include <stdio.h> |
#include <stdio.h> |
3498 |
main() |
main() |
3502 |
} |
} |
3503 |
|
|
3504 |
EOF |
EOF |
3505 |
if { (eval echo configure:3512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3506 |
then |
then |
3507 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
3508 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
3557 |
|
|
3558 |
# pagewidth |
# pagewidth |
3559 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
3560 |
echo "configure:3567: checking for pagewidth" >&5 |
echo "configure:3561: checking for pagewidth" >&5 |
3561 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3562 |
PAGEWIDTH=0 |
PAGEWIDTH=0 |
3563 |
else |
else |
3564 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3565 |
#line 3572 "configure" |
#line 3566 "configure" |
3566 |
#include "confdefs.h" |
#include "confdefs.h" |
3567 |
#include <stdio.h> |
#include <stdio.h> |
3568 |
#include <unistd.h> |
#include <unistd.h> |
3572 |
fprintf(fp,"%u",j); |
fprintf(fp,"%u",j); |
3573 |
return 0;} |
return 0;} |
3574 |
EOF |
EOF |
3575 |
if { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3576 |
then |
then |
3577 |
PAGEWIDTH=`cat conftest1` |
PAGEWIDTH=`cat conftest1` |
3578 |
else |
else |
3599 |
for ac_func in getcwd |
for ac_func in getcwd |
3600 |
do |
do |
3601 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3602 |
echo "configure:3609: checking for $ac_func" >&5 |
echo "configure:3603: checking for $ac_func" >&5 |
3603 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3604 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3605 |
else |
else |
3606 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3607 |
#line 3614 "configure" |
#line 3608 "configure" |
3608 |
#include "confdefs.h" |
#include "confdefs.h" |
3609 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3610 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3627 |
|
|
3628 |
; return 0; } |
; return 0; } |
3629 |
EOF |
EOF |
3630 |
if { (eval echo configure:3637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3631 |
rm -rf conftest* |
rm -rf conftest* |
3632 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3633 |
else |
else |
3654 |
for ac_func in getwd |
for ac_func in getwd |
3655 |
do |
do |
3656 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3657 |
echo "configure:3664: checking for $ac_func" >&5 |
echo "configure:3658: checking for $ac_func" >&5 |
3658 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3659 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3660 |
else |
else |
3661 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3662 |
#line 3669 "configure" |
#line 3663 "configure" |
3663 |
#include "confdefs.h" |
#include "confdefs.h" |
3664 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3665 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
3682 |
|
|
3683 |
; return 0; } |
; return 0; } |
3684 |
EOF |
EOF |
3685 |
if { (eval echo configure:3692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3686 |
rm -rf conftest* |
rm -rf conftest* |
3687 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
3688 |
else |
else |
3707 |
done |
done |
3708 |
|
|
3709 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
3710 |
echo "configure:3717: checking for uname" >&5 |
echo "configure:3711: checking for uname" >&5 |
3711 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
3712 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3713 |
else |
else |
3714 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3715 |
#line 3722 "configure" |
#line 3716 "configure" |
3716 |
#include "confdefs.h" |
#include "confdefs.h" |
3717 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3718 |
which can conflict with char uname(); below. */ |
which can conflict with char uname(); below. */ |
3735 |
|
|
3736 |
; return 0; } |
; return 0; } |
3737 |
EOF |
EOF |
3738 |
if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3739 |
rm -rf conftest* |
rm -rf conftest* |
3740 |
eval "ac_cv_func_uname=yes" |
eval "ac_cv_func_uname=yes" |
3741 |
else |
else |
3759 |
fi |
fi |
3760 |
|
|
3761 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3762 |
echo "configure:3769: checking for gettimeofday" >&5 |
echo "configure:3763: checking for gettimeofday" >&5 |
3763 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3764 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3765 |
else |
else |
3766 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3767 |
#line 3774 "configure" |
#line 3768 "configure" |
3768 |
#include "confdefs.h" |
#include "confdefs.h" |
3769 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3770 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3787 |
|
|
3788 |
; return 0; } |
; return 0; } |
3789 |
EOF |
EOF |
3790 |
if { (eval echo configure:3797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3791 |
rm -rf conftest* |
rm -rf conftest* |
3792 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3793 |
else |
else |
3816 |
do |
do |
3817 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3818 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3819 |
echo "configure:3826: checking for $ac_hdr" >&5 |
echo "configure:3820: checking for $ac_hdr" >&5 |
3820 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3821 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3822 |
else |
else |
3823 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3824 |
#line 3831 "configure" |
#line 3825 "configure" |
3825 |
#include "confdefs.h" |
#include "confdefs.h" |
3826 |
#include <$ac_hdr> |
#include <$ac_hdr> |
3827 |
EOF |
EOF |
3828 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3829 |
{ (eval echo configure:3836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:3830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3830 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3831 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
3832 |
rm -rf conftest* |
rm -rf conftest* |
3866 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
3867 |
|
|
3868 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
3869 |
echo "configure:3876: checking for BSDgettimeofday" >&5 |
echo "configure:3870: checking for BSDgettimeofday" >&5 |
3870 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
3871 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3872 |
else |
else |
3873 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3874 |
#line 3881 "configure" |
#line 3875 "configure" |
3875 |
#include "confdefs.h" |
#include "confdefs.h" |
3876 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3877 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday(); below. */ |
3894 |
|
|
3895 |
; return 0; } |
; return 0; } |
3896 |
EOF |
EOF |
3897 |
if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3898 |
rm -rf conftest* |
rm -rf conftest* |
3899 |
eval "ac_cv_func_BSDgettimeofday=yes" |
eval "ac_cv_func_BSDgettimeofday=yes" |
3900 |
else |
else |
3915 |
else |
else |
3916 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
3917 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
3918 |
echo "configure:3925: checking for gettimeofday" >&5 |
echo "configure:3919: checking for gettimeofday" >&5 |
3919 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
3920 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3921 |
else |
else |
3922 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3923 |
#line 3930 "configure" |
#line 3924 "configure" |
3924 |
#include "confdefs.h" |
#include "confdefs.h" |
3925 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3926 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday(); below. */ |
3943 |
|
|
3944 |
; return 0; } |
; return 0; } |
3945 |
EOF |
EOF |
3946 |
if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3947 |
rm -rf conftest* |
rm -rf conftest* |
3948 |
eval "ac_cv_func_gettimeofday=yes" |
eval "ac_cv_func_gettimeofday=yes" |
3949 |
else |
else |
3970 |
|
|
3971 |
|
|
3972 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
3973 |
echo "configure:3980: checking for gettimeofday declaration" >&5 |
echo "configure:3974: checking for gettimeofday declaration" >&5 |
3974 |
|
|
3975 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
3976 |
#line 3983 "configure" |
#line 3977 "configure" |
3977 |
#include "confdefs.h" |
#include "confdefs.h" |
3978 |
#include <sys/time.h> |
#include <sys/time.h> |
3979 |
EOF |
EOF |
3994 |
|
|
3995 |
|
|
3996 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3997 |
echo "configure:4004: checking for sin in -lm" >&5 |
echo "configure:3998: checking for sin in -lm" >&5 |
3998 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3999 |
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 |
4000 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4002 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4003 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
4004 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4005 |
#line 4012 "configure" |
#line 4006 "configure" |
4006 |
#include "confdefs.h" |
#include "confdefs.h" |
4007 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4008 |
/* 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 |
4013 |
sin() |
sin() |
4014 |
; return 0; } |
; return 0; } |
4015 |
EOF |
EOF |
4016 |
if { (eval echo configure:4023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4017 |
rm -rf conftest* |
rm -rf conftest* |
4018 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4019 |
else |
else |
4035 |
fi |
fi |
4036 |
|
|
4037 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
4038 |
echo "configure:4045: checking for main in -lmingwex" >&5 |
echo "configure:4039: checking for main in -lmingwex" >&5 |
4039 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
4040 |
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 |
4041 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4043 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4044 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
4045 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4046 |
#line 4053 "configure" |
#line 4047 "configure" |
4047 |
#include "confdefs.h" |
#include "confdefs.h" |
4048 |
|
|
4049 |
int main() { |
int main() { |
4050 |
main() |
main() |
4051 |
; return 0; } |
; return 0; } |
4052 |
EOF |
EOF |
4053 |
if { (eval echo configure:4060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4054 |
rm -rf conftest* |
rm -rf conftest* |
4055 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4056 |
else |
else |
4078 |
do |
do |
4079 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4080 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4081 |
echo "configure:4088: checking for $ac_hdr" >&5 |
echo "configure:4082: checking for $ac_hdr" >&5 |
4082 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4083 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4084 |
else |
else |
4085 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4086 |
#line 4093 "configure" |
#line 4087 "configure" |
4087 |
#include "confdefs.h" |
#include "confdefs.h" |
4088 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4089 |
EOF |
EOF |
4090 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4091 |
{ (eval echo configure:4098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4092 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4093 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4094 |
rm -rf conftest* |
rm -rf conftest* |
4126 |
do |
do |
4127 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4128 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4129 |
echo "configure:4136: checking for $ac_hdr" >&5 |
echo "configure:4130: checking for $ac_hdr" >&5 |
4130 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4131 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4132 |
else |
else |
4133 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4134 |
#line 4141 "configure" |
#line 4135 "configure" |
4135 |
#include "confdefs.h" |
#include "confdefs.h" |
4136 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4137 |
EOF |
EOF |
4138 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4139 |
{ (eval echo configure:4146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4140 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4141 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4142 |
rm -rf conftest* |
rm -rf conftest* |
4173 |
do |
do |
4174 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4175 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4176 |
echo "configure:4183: checking for $ac_hdr" >&5 |
echo "configure:4177: checking for $ac_hdr" >&5 |
4177 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4178 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4179 |
else |
else |
4180 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4181 |
#line 4188 "configure" |
#line 4182 "configure" |
4182 |
#include "confdefs.h" |
#include "confdefs.h" |
4183 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4184 |
EOF |
EOF |
4185 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4186 |
{ (eval echo configure:4193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4187 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4188 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4189 |
rm -rf conftest* |
rm -rf conftest* |
4223 |
do |
do |
4224 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4225 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4226 |
echo "configure:4233: checking for $ac_hdr" >&5 |
echo "configure:4227: checking for $ac_hdr" >&5 |
4227 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4228 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4229 |
else |
else |
4230 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4231 |
#line 4238 "configure" |
#line 4232 "configure" |
4232 |
#include "confdefs.h" |
#include "confdefs.h" |
4233 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4234 |
EOF |
EOF |
4235 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4236 |
{ (eval echo configure:4243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4237 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4238 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4239 |
rm -rf conftest* |
rm -rf conftest* |
4270 |
do |
do |
4271 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4272 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4273 |
echo "configure:4280: checking for $ac_hdr" >&5 |
echo "configure:4274: checking for $ac_hdr" >&5 |
4274 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4275 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4276 |
else |
else |
4277 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4278 |
#line 4285 "configure" |
#line 4279 "configure" |
4279 |
#include "confdefs.h" |
#include "confdefs.h" |
4280 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4281 |
EOF |
EOF |
4282 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4283 |
{ (eval echo configure:4290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4284 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4285 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4286 |
rm -rf conftest* |
rm -rf conftest* |
4317 |
do |
do |
4318 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4319 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4320 |
echo "configure:4327: checking for $ac_hdr" >&5 |
echo "configure:4321: checking for $ac_hdr" >&5 |
4321 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4322 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4323 |
else |
else |
4324 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4325 |
#line 4332 "configure" |
#line 4326 "configure" |
4326 |
#include "confdefs.h" |
#include "confdefs.h" |
4327 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4328 |
EOF |
EOF |
4329 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4330 |
{ (eval echo configure:4337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4331 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4332 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4333 |
rm -rf conftest* |
rm -rf conftest* |
4363 |
# test makes sense. CM |
# test makes sense. CM |
4364 |
# |
# |
4365 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
4366 |
echo "configure:4373: checking for isnormal" >&5 |
echo "configure:4367: checking for isnormal" >&5 |
4367 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4368 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
4369 |
else |
else |
4370 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4371 |
#line 4378 "configure" |
#line 4372 "configure" |
4372 |
#include "confdefs.h" |
#include "confdefs.h" |
4373 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
4374 |
#include <math.h> |
#include <math.h> |
4377 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
4378 |
} |
} |
4379 |
EOF |
EOF |
4380 |
if { (eval echo configure:4387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4381 |
then |
then |
4382 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4383 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
4388 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
4389 |
rm -fr conftest* |
rm -fr conftest* |
4390 |
echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6 |
echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6 |
4391 |
echo "configure:4398: checking for fpclass in ieeefp.h" >&5 |
echo "configure:4392: checking for fpclass in ieeefp.h" >&5 |
4392 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4393 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
4394 |
else |
else |
4395 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4396 |
#line 4403 "configure" |
#line 4397 "configure" |
4397 |
#include "confdefs.h" |
#include "confdefs.h" |
4398 |
#include <ieeefp.h> |
#include <ieeefp.h> |
4399 |
int main() { |
int main() { |
4401 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
4402 |
} |
} |
4403 |
EOF |
EOF |
4404 |
if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4405 |
then |
then |
4406 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4407 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
4423 |
|
|
4424 |
|
|
4425 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
4426 |
echo "configure:4433: checking for isfinite" >&5 |
echo "configure:4427: checking for isfinite" >&5 |
4427 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4428 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
4429 |
else |
else |
4430 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4431 |
#line 4438 "configure" |
#line 4432 "configure" |
4432 |
#include "confdefs.h" |
#include "confdefs.h" |
4433 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
4434 |
#include <math.h> |
#include <math.h> |
4437 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
4438 |
} |
} |
4439 |
EOF |
EOF |
4440 |
if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4441 |
then |
then |
4442 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4443 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
4448 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
4449 |
rm -fr conftest* |
rm -fr conftest* |
4450 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
4451 |
echo "configure:4458: checking for finite()" >&5 |
echo "configure:4452: checking for finite()" >&5 |
4452 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4453 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
4454 |
else |
else |
4455 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4456 |
#line 4463 "configure" |
#line 4457 "configure" |
4457 |
#include "confdefs.h" |
#include "confdefs.h" |
4458 |
#include <math.h> |
#include <math.h> |
4459 |
#include <ieeefp.h> |
#include <ieeefp.h> |
4462 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
4463 |
} |
} |
4464 |
EOF |
EOF |
4465 |
if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:4466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4466 |
then |
then |
4467 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4468 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
4503 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
4504 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
4505 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
4506 |
echo "configure:4513: checking for sockets" >&5 |
echo "configure:4507: checking for sockets" >&5 |
4507 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
4508 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4509 |
echo "configure:4516: checking for connect" >&5 |
echo "configure:4510: checking for connect" >&5 |
4510 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
4511 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4512 |
else |
else |
4513 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4514 |
#line 4521 "configure" |
#line 4515 "configure" |
4515 |
#include "confdefs.h" |
#include "confdefs.h" |
4516 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4517 |
which can conflict with char connect(); below. */ |
which can conflict with char connect(); below. */ |
4534 |
|
|
4535 |
; return 0; } |
; return 0; } |
4536 |
EOF |
EOF |
4537 |
if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4538 |
rm -rf conftest* |
rm -rf conftest* |
4539 |
eval "ac_cv_func_connect=yes" |
eval "ac_cv_func_connect=yes" |
4540 |
else |
else |
4556 |
|
|
4557 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
4558 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
4559 |
echo "configure:4566: checking for main in -lsocket" >&5 |
echo "configure:4560: checking for main in -lsocket" >&5 |
4560 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
4561 |
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 |
4562 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4564 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4565 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
4566 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4567 |
#line 4574 "configure" |
#line 4568 "configure" |
4568 |
#include "confdefs.h" |
#include "confdefs.h" |
4569 |
|
|
4570 |
int main() { |
int main() { |
4571 |
main() |
main() |
4572 |
; return 0; } |
; return 0; } |
4573 |
EOF |
EOF |
4574 |
if { (eval echo configure:4581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4575 |
rm -rf conftest* |
rm -rf conftest* |
4576 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4577 |
else |
else |
4599 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
4600 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
4601 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
4602 |
echo "configure:4609: checking for accept" >&5 |
echo "configure:4603: checking for accept" >&5 |
4603 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
4604 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4605 |
else |
else |
4606 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4607 |
#line 4614 "configure" |
#line 4608 "configure" |
4608 |
#include "confdefs.h" |
#include "confdefs.h" |
4609 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4610 |
which can conflict with char accept(); below. */ |
which can conflict with char accept(); below. */ |
4627 |
|
|
4628 |
; return 0; } |
; return 0; } |
4629 |
EOF |
EOF |
4630 |
if { (eval echo configure:4637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4631 |
rm -rf conftest* |
rm -rf conftest* |
4632 |
eval "ac_cv_func_accept=yes" |
eval "ac_cv_func_accept=yes" |
4633 |
else |
else |
4649 |
|
|
4650 |
fi |
fi |
4651 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4652 |
echo "configure:4659: checking for gethostbyname" >&5 |
echo "configure:4653: checking for gethostbyname" >&5 |
4653 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
4654 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4655 |
else |
else |
4656 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4657 |
#line 4664 "configure" |
#line 4658 "configure" |
4658 |
#include "confdefs.h" |
#include "confdefs.h" |
4659 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4660 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname(); below. */ |
4677 |
|
|
4678 |
; return 0; } |
; return 0; } |
4679 |
EOF |
EOF |
4680 |
if { (eval echo configure:4687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4681 |
rm -rf conftest* |
rm -rf conftest* |
4682 |
eval "ac_cv_func_gethostbyname=yes" |
eval "ac_cv_func_gethostbyname=yes" |
4683 |
else |
else |
4695 |
else |
else |
4696 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4697 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
4698 |
echo "configure:4705: checking for main in -lnsl" >&5 |
echo "configure:4699: checking for main in -lnsl" >&5 |
4699 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
4700 |
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 |
4701 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4703 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4704 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4705 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4706 |
#line 4713 "configure" |
#line 4707 "configure" |
4707 |
#include "confdefs.h" |
#include "confdefs.h" |
4708 |
|
|
4709 |
int main() { |
int main() { |
4710 |
main() |
main() |
4711 |
; return 0; } |
; return 0; } |
4712 |
EOF |
EOF |
4713 |
if { (eval echo configure:4720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4714 |
rm -rf conftest* |
rm -rf conftest* |
4715 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4716 |
else |
else |
4738 |
do |
do |
4739 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4740 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4741 |
echo "configure:4748: checking for $ac_hdr" >&5 |
echo "configure:4742: checking for $ac_hdr" >&5 |
4742 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4743 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4744 |
else |
else |
4745 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4746 |
#line 4753 "configure" |
#line 4747 "configure" |
4747 |
#include "confdefs.h" |
#include "confdefs.h" |
4748 |
#include <$ac_hdr> |
#include <$ac_hdr> |
4749 |
EOF |
EOF |
4750 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4751 |
{ (eval echo configure:4758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:4752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4752 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4753 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
4754 |
rm -rf conftest* |
rm -rf conftest* |
4769 |
#define $ac_tr_hdr 1 |
#define $ac_tr_hdr 1 |
4770 |
EOF |
EOF |
4771 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
4772 |
echo "configure:4779: checking for main in -lreadline" >&5 |
echo "configure:4773: checking for main in -lreadline" >&5 |
4773 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
4774 |
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 |
4775 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4777 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4778 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
4779 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4780 |
#line 4787 "configure" |
#line 4781 "configure" |
4781 |
#include "confdefs.h" |
#include "confdefs.h" |
4782 |
|
|
4783 |
int main() { |
int main() { |
4784 |
main() |
main() |
4785 |
; return 0; } |
; return 0; } |
4786 |
EOF |
EOF |
4787 |
if { (eval echo configure:4794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4788 |
rm -rf conftest* |
rm -rf conftest* |
4789 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4790 |
else |
else |
4821 |
|
|
4822 |
|
|
4823 |
echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6 |
echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6 |
4824 |
echo "configure:4831: checking For network code for nsocket.c" >&5 |
echo "configure:4825: checking For network code for nsocket.c" >&5 |
4825 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4826 |
#line 4833 "configure" |
#line 4827 "configure" |
4827 |
#include "confdefs.h" |
#include "confdefs.h" |
4828 |
|
|
4829 |
#include <sys/time.h> |
#include <sys/time.h> |
4850 |
|
|
4851 |
; return 0; } |
; return 0; } |
4852 |
EOF |
EOF |
4853 |
if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4854 |
rm -rf conftest* |
rm -rf conftest* |
4855 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4856 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
4867 |
|
|
4868 |
|
|
4869 |
echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6 |
echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6 |
4870 |
echo "configure:4877: checking check for listen using fcntl" >&5 |
echo "configure:4871: checking check for listen using fcntl" >&5 |
4871 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4872 |
#line 4879 "configure" |
#line 4873 "configure" |
4873 |
#include "confdefs.h" |
#include "confdefs.h" |
4874 |
#include <stdio.h> |
#include <stdio.h> |
4875 |
#include <fcntl.h> |
#include <fcntl.h> |
4882 |
|
|
4883 |
; return 0; } |
; return 0; } |
4884 |
EOF |
EOF |
4885 |
if { (eval echo configure:4892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4886 |
rm -rf conftest* |
rm -rf conftest* |
4887 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4888 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
4901 |
|
|
4902 |
|
|
4903 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
4904 |
echo "configure:4911: checking for profil" >&5 |
echo "configure:4905: checking for profil" >&5 |
4905 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
4906 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4907 |
else |
else |
4908 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4909 |
#line 4916 "configure" |
#line 4910 "configure" |
4910 |
#include "confdefs.h" |
#include "confdefs.h" |
4911 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4912 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
4929 |
|
|
4930 |
; return 0; } |
; return 0; } |
4931 |
EOF |
EOF |
4932 |
if { (eval echo configure:4939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4933 |
rm -rf conftest* |
rm -rf conftest* |
4934 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
4935 |
else |
else |
4954 |
|
|
4955 |
|
|
4956 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
4957 |
echo "configure:4964: checking for setenv" >&5 |
echo "configure:4958: checking for setenv" >&5 |
4958 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
4959 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4960 |
else |
else |
4961 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4962 |
#line 4969 "configure" |
#line 4963 "configure" |
4963 |
#include "confdefs.h" |
#include "confdefs.h" |
4964 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4965 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
4982 |
|
|
4983 |
; return 0; } |
; return 0; } |
4984 |
EOF |
EOF |
4985 |
if { (eval echo configure:4992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4986 |
rm -rf conftest* |
rm -rf conftest* |
4987 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
4988 |
else |
else |
5008 |
|
|
5009 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
5010 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
5011 |
echo "configure:5018: checking for putenv" >&5 |
echo "configure:5012: checking for putenv" >&5 |
5012 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
5013 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5014 |
else |
else |
5015 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5016 |
#line 5023 "configure" |
#line 5017 "configure" |
5017 |
#include "confdefs.h" |
#include "confdefs.h" |
5018 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5019 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
5036 |
|
|
5037 |
; return 0; } |
; return 0; } |
5038 |
EOF |
EOF |
5039 |
if { (eval echo configure:5046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5040 |
rm -rf conftest* |
rm -rf conftest* |
5041 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
5042 |
else |
else |
5062 |
fi |
fi |
5063 |
|
|
5064 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
5065 |
echo "configure:5072: checking for _cleanup" >&5 |
echo "configure:5066: checking for _cleanup" >&5 |
5066 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
5067 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5068 |
else |
else |
5069 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5070 |
#line 5077 "configure" |
#line 5071 "configure" |
5071 |
#include "confdefs.h" |
#include "confdefs.h" |
5072 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5073 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
5090 |
|
|
5091 |
; return 0; } |
; return 0; } |
5092 |
EOF |
EOF |
5093 |
if { (eval echo configure:5100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5094 |
rm -rf conftest* |
rm -rf conftest* |
5095 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
5096 |
else |
else |
5116 |
gcl_ok=no |
gcl_ok=no |
5117 |
|
|
5118 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5119 |
#line 5126 "configure" |
#line 5120 "configure" |
5120 |
#include "confdefs.h" |
#include "confdefs.h" |
5121 |
#include <ctype.h> |
#include <ctype.h> |
5122 |
EOF |
EOF |
5144 |
|
|
5145 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
5146 |
echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6 |
echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6 |
5147 |
echo "configure:5154: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:5148: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
5148 |
|
|
5149 |
case $system in |
case $system in |
5150 |
OSF*) |
OSF*) |
5175 |
|
|
5176 |
|
|
5177 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
5178 |
echo "configure:5185: checking check for SV_ONSTACK" >&5 |
echo "configure:5179: checking check for SV_ONSTACK" >&5 |
5179 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5180 |
#line 5187 "configure" |
#line 5181 "configure" |
5181 |
#include "confdefs.h" |
#include "confdefs.h" |
5182 |
#include <signal.h> |
#include <signal.h> |
5183 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
5186 |
|
|
5187 |
; return 0; } |
; return 0; } |
5188 |
EOF |
EOF |
5189 |
if { (eval echo configure:5196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5190 |
rm -rf conftest* |
rm -rf conftest* |
5191 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5192 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
5203 |
rm -f conftest* |
rm -f conftest* |
5204 |
|
|
5205 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
5206 |
echo "configure:5213: checking check for SIGSYS" >&5 |
echo "configure:5207: checking check for SIGSYS" >&5 |
5207 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5208 |
#line 5215 "configure" |
#line 5209 "configure" |
5209 |
#include "confdefs.h" |
#include "confdefs.h" |
5210 |
#include <signal.h> |
#include <signal.h> |
5211 |
int joe=SIGSYS; |
int joe=SIGSYS; |
5214 |
|
|
5215 |
; return 0; } |
; return 0; } |
5216 |
EOF |
EOF |
5217 |
if { (eval echo configure:5224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5218 |
rm -rf conftest* |
rm -rf conftest* |
5219 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5220 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
5232 |
|
|
5233 |
|
|
5234 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
5235 |
echo "configure:5242: checking check for SIGEMT" >&5 |
echo "configure:5236: checking check for SIGEMT" >&5 |
5236 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5237 |
#line 5244 "configure" |
#line 5238 "configure" |
5238 |
#include "confdefs.h" |
#include "confdefs.h" |
5239 |
#include <signal.h> |
#include <signal.h> |
5240 |
int joe=SIGEMT; |
int joe=SIGEMT; |
5243 |
|
|
5244 |
; return 0; } |
; return 0; } |
5245 |
EOF |
EOF |
5246 |
if { (eval echo configure:5253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5247 |
rm -rf conftest* |
rm -rf conftest* |
5248 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5249 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
5267 |
do |
do |
5268 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5269 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5270 |
echo "configure:5277: checking for $ac_hdr" >&5 |
echo "configure:5271: checking for $ac_hdr" >&5 |
5271 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5272 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5273 |
else |
else |
5274 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5275 |
#line 5282 "configure" |
#line 5276 "configure" |
5276 |
#include "confdefs.h" |
#include "confdefs.h" |
5277 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5278 |
EOF |
EOF |
5279 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5280 |
{ (eval echo configure:5287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5281 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5282 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5283 |
rm -rf conftest* |
rm -rf conftest* |
5307 |
do |
do |
5308 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5309 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5310 |
echo "configure:5317: checking for $ac_hdr" >&5 |
echo "configure:5311: checking for $ac_hdr" >&5 |
5311 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5312 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5313 |
else |
else |
5314 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5315 |
#line 5322 "configure" |
#line 5316 "configure" |
5316 |
#include "confdefs.h" |
#include "confdefs.h" |
5317 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5318 |
EOF |
EOF |
5319 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5320 |
{ (eval echo configure:5327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5321 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5322 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5323 |
rm -rf conftest* |
rm -rf conftest* |
5344 |
done |
done |
5345 |
|
|
5346 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5347 |
#line 5354 "configure" |
#line 5348 "configure" |
5348 |
#include "confdefs.h" |
#include "confdefs.h" |
5349 |
#include <signal.h> |
#include <signal.h> |
5350 |
long code; |
long code; |
5355 |
|
|
5356 |
; return 0; } |
; return 0; } |
5357 |
EOF |
EOF |
5358 |
if { (eval echo configure:5365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5359 |
rm -rf conftest* |
rm -rf conftest* |
5360 |
|
|
5361 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
5376 |
rm -f conftest* |
rm -f conftest* |
5377 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
5378 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5379 |
#line 5386 "configure" |
#line 5380 "configure" |
5380 |
#include "confdefs.h" |
#include "confdefs.h" |
5381 |
#include <signal.h> |
#include <signal.h> |
5382 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
5393 |
|
|
5394 |
; return 0; } |
; return 0; } |
5395 |
EOF |
EOF |
5396 |
if { (eval echo configure:5403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5397 |
rm -rf conftest* |
rm -rf conftest* |
5398 |
|
|
5399 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
5436 |
# Extract the first word of "emacs", so it can be a program name with args. |
# Extract the first word of "emacs", so it can be a program name with args. |
5437 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
5438 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5439 |
echo "configure:5446: checking for $ac_word" >&5 |
echo "configure:5440: checking for $ac_word" >&5 |
5440 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
5441 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5442 |
else |
else |
5484 |
EOF |
EOF |
5485 |
|
|
5486 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
5487 |
echo "configure:5494: checking emacs site lisp directory" >&5 |
echo "configure:5488: checking emacs site lisp directory" >&5 |
5488 |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
5489 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5490 |
EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
5508 |
EOF |
EOF |
5509 |
|
|
5510 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
5511 |
echo "configure:5518: checking emacs default.el" >&5 |
echo "configure:5512: checking emacs default.el" >&5 |
5512 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5513 |
EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
5514 |
else |
else |
5537 |
EOF |
EOF |
5538 |
|
|
5539 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
5540 |
echo "configure:5547: checking emacs info/dir" >&5 |
echo "configure:5541: checking emacs info/dir" >&5 |
5541 |
if test "$use" = "mingw" ; then |
if test "$use" = "mingw" ; then |
5542 |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
5543 |
else |
else |
5555 |
|
|
5556 |
|
|
5557 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
5558 |
echo "configure:5565: checking for tcl/tk" >&5 |
echo "configure:5559: checking for tcl/tk" >&5 |
5559 |
|
|
5560 |
|
|
5561 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
5578 |
# Extract the first word of "tclsh", so it can be a program name with args. |
# Extract the first word of "tclsh", so it can be a program name with args. |
5579 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
5580 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5581 |
echo "configure:5588: checking for $ac_word" >&5 |
echo "configure:5582: checking for $ac_word" >&5 |
5582 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
5583 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5584 |
else |
else |
5678 |
fi |
fi |
5679 |
fi |
fi |
5680 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
5681 |
echo "configure:5688: checking for main in -llieee" >&5 |
echo "configure:5682: checking for main in -llieee" >&5 |
5682 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
5683 |
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 |
5684 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5686 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5687 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
5688 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5689 |
#line 5696 "configure" |
#line 5690 "configure" |
5690 |
#include "confdefs.h" |
#include "confdefs.h" |
5691 |
|
|
5692 |
int main() { |
int main() { |
5693 |
main() |
main() |
5694 |
; return 0; } |
; return 0; } |
5695 |
EOF |
EOF |
5696 |
if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5697 |
rm -rf conftest* |
rm -rf conftest* |
5698 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5699 |
else |
else |
5758 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
5759 |
|
|
5760 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
5761 |
echo "configure:5768: checking alloca" >&5 |
echo "configure:5762: checking alloca" >&5 |
5762 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5763 |
gcl_ok=no |
gcl_ok=no |
5764 |
else |
else |
5765 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5766 |
#line 5773 "configure" |
#line 5767 "configure" |
5767 |
#include "confdefs.h" |
#include "confdefs.h" |
5768 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
5769 |
EOF |
EOF |
5770 |
if { (eval echo configure:5777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5771 |
then |
then |
5772 |
: |
: |
5773 |
else |
else |
5790 |
gcl_ok=no |
gcl_ok=no |
5791 |
else |
else |
5792 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5793 |
#line 5800 "configure" |
#line 5794 "configure" |
5794 |
#include "confdefs.h" |
#include "confdefs.h" |
5795 |
#include <alloca.h> |
#include <alloca.h> |
5796 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
5797 |
EOF |
EOF |
5798 |
if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5799 |
then |
then |
5800 |
: |
: |
5801 |
else |
else |
5856 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
5857 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
5858 |
echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6 |
echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6 |
5859 |
echo "configure:5866: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:5860: checking Checking for buggy gcc version from redhat" >&5 |
5860 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
5861 |
then |
then |
5862 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |