|
|
|
@ -536,6 +536,8 @@ fi |
|
|
|
|
|
|
|
|
|
version_info='6:1:0' |
|
|
|
|
|
|
|
|
|
ft_version=`echo $version_info | tr : .` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_aux_dir= |
|
|
|
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
|
|
|
@ -584,7 +586,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:588: checking host system type" >&5 |
|
|
|
|
echo "configure:590: checking host system type" >&5 |
|
|
|
|
|
|
|
|
|
host_alias=$host |
|
|
|
|
case "$host_alias" in |
|
|
|
@ -605,7 +607,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
|
|
echo "$ac_t""$host" 1>&6 |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking target system type""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:609: checking target system type" >&5 |
|
|
|
|
echo "configure:611: checking target system type" >&5 |
|
|
|
|
|
|
|
|
|
target_alias=$target |
|
|
|
|
case "$target_alias" in |
|
|
|
@ -623,7 +625,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
|
|
echo "$ac_t""$target" 1>&6 |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking build system type""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:627: checking build system type" >&5 |
|
|
|
|
echo "configure:629: checking build system type" >&5 |
|
|
|
|
|
|
|
|
|
build_alias=$build |
|
|
|
|
case "$build_alias" in |
|
|
|
@ -649,7 +651,7 @@ test "$host_alias" != "$target_alias" && |
|
|
|
|
# Extract the first word of "gcc", so it can be a program name with args. |
|
|
|
|
set dummy gcc; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:653: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:655: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -679,7 +681,7 @@ if test -z "$CC"; then |
|
|
|
|
# Extract the first word of "cc", so it can be a program name with args. |
|
|
|
|
set dummy cc; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:683: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:685: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -730,7 +732,7 @@ fi |
|
|
|
|
# Extract the first word of "cl", so it can be a program name with args. |
|
|
|
|
set dummy cl; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:734: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:736: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -762,7 +764,7 @@ fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:766: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
|
|
|
echo "configure:768: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
|
|
|
|
|
|
|
|
ac_ext=c |
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
|
@ -773,12 +775,12 @@ cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext << EOF |
|
|
|
|
|
|
|
|
|
#line 777 "configure" |
|
|
|
|
#line 779 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
main(){return(0);} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
ac_cv_prog_cc_works=yes |
|
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler. |
|
|
|
|
if (./conftest; exit) 2>/dev/null; then |
|
|
|
@ -804,12 +806,12 @@ if test $ac_cv_prog_cc_works = no; then |
|
|
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
|
|
|
|
fi |
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:808: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
|
|
echo "configure:810: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:813: checking whether we are using GNU C" >&5 |
|
|
|
|
echo "configure:815: checking whether we are using GNU C" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -818,7 +820,7 @@ else |
|
|
|
|
yes; |
|
|
|
|
#endif |
|
|
|
|
EOF |
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:822: \"$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:824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
|
|
ac_cv_prog_gcc=yes |
|
|
|
|
else |
|
|
|
|
ac_cv_prog_gcc=no |
|
|
|
@ -837,7 +839,7 @@ ac_test_CFLAGS="${CFLAGS+set}" |
|
|
|
|
ac_save_CFLAGS="$CFLAGS" |
|
|
|
|
CFLAGS= |
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:841: checking whether ${CC-cc} accepts -g" >&5 |
|
|
|
|
echo "configure:843: checking whether ${CC-cc} accepts -g" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -869,7 +871,7 @@ else |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:873: checking how to run the C preprocessor" >&5 |
|
|
|
|
echo "configure:875: checking how to run the C preprocessor" >&5 |
|
|
|
|
# On Suns, sometimes $CPP names a directory. |
|
|
|
|
if test -n "$CPP" && test -d "$CPP"; then |
|
|
|
|
CPP= |
|
|
|
@ -884,13 +886,13 @@ else |
|
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
|
|
# not just through cpp. |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 888 "configure" |
|
|
|
|
#line 890 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <assert.h> |
|
|
|
|
Syntax Error |
|
|
|
|
EOF |
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
|
{ (eval echo configure:894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
{ (eval echo configure:896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
|
|
if test -z "$ac_err"; then |
|
|
|
|
: |
|
|
|
@ -901,13 +903,13 @@ else |
|
|
|
|
rm -rf conftest* |
|
|
|
|
CPP="${CC-cc} -E -traditional-cpp" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 905 "configure" |
|
|
|
|
#line 907 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <assert.h> |
|
|
|
|
Syntax Error |
|
|
|
|
EOF |
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
|
{ (eval echo configure:911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
{ (eval echo configure:913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
|
|
if test -z "$ac_err"; then |
|
|
|
|
: |
|
|
|
@ -918,13 +920,13 @@ else |
|
|
|
|
rm -rf conftest* |
|
|
|
|
CPP="${CC-cc} -nologo -E" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 922 "configure" |
|
|
|
|
#line 924 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <assert.h> |
|
|
|
|
Syntax Error |
|
|
|
|
EOF |
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
|
{ (eval echo configure:928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
{ (eval echo configure:930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
|
|
if test -z "$ac_err"; then |
|
|
|
|
: |
|
|
|
@ -971,7 +973,7 @@ fi |
|
|
|
|
# Extract the first word of "rm", so it can be a program name with args. |
|
|
|
|
set dummy rm; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:975: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:977: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RMF'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -1000,7 +1002,7 @@ fi |
|
|
|
|
# Extract the first word of "rmdir", so it can be a program name with args. |
|
|
|
|
set dummy rmdir; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1004: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:1006: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RMDIR'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -1039,7 +1041,7 @@ fi |
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh. |
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1043: checking for a BSD compatible install" >&5 |
|
|
|
|
echo "configure:1045: checking for a BSD compatible install" >&5 |
|
|
|
|
if test -z "$INSTALL"; then |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
@ -1099,12 +1101,12 @@ case "$INSTALL" in |
|
|
|
|
esac |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1103: checking for ANSI C header files" >&5 |
|
|
|
|
echo "configure:1105: checking for ANSI C header files" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1108 "configure" |
|
|
|
|
#line 1110 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdlib.h> |
|
|
|
|
#include <stdarg.h> |
|
|
|
@ -1112,7 +1114,7 @@ else |
|
|
|
|
#include <float.h> |
|
|
|
|
EOF |
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
|
{ (eval echo configure:1116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
{ (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
|
|
if test -z "$ac_err"; then |
|
|
|
|
rm -rf conftest* |
|
|
|
@ -1129,7 +1131,7 @@ rm -f conftest* |
|
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
|
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1133 "configure" |
|
|
|
|
#line 1135 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <string.h> |
|
|
|
|
EOF |
|
|
|
@ -1147,7 +1149,7 @@ fi |
|
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
|
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1151 "configure" |
|
|
|
|
#line 1153 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdlib.h> |
|
|
|
|
EOF |
|
|
|
@ -1168,7 +1170,7 @@ if test "$cross_compiling" = yes; then |
|
|
|
|
: |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1172 "configure" |
|
|
|
|
#line 1174 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <ctype.h> |
|
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
|
@ -1179,7 +1181,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
|
|
|
|
exit (0); } |
|
|
|
|
|
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:1183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:1185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
: |
|
|
|
|
else |
|
|
|
@ -1206,17 +1208,17 @@ for ac_hdr in fcntl.h unistd.h |
|
|
|
|
do |
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1210: checking for $ac_hdr" >&5 |
|
|
|
|
echo "configure:1212: checking for $ac_hdr" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1215 "configure" |
|
|
|
|
#line 1217 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <$ac_hdr> |
|
|
|
|
EOF |
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
|
{ (eval echo configure:1220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
{ (eval echo configure:1222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
|
|
if test -z "$ac_err"; then |
|
|
|
|
rm -rf conftest* |
|
|
|
@ -1244,12 +1246,12 @@ done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1248: checking for working const" >&5 |
|
|
|
|
echo "configure:1250: checking for working const" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1253 "configure" |
|
|
|
|
#line 1255 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
int main() { |
|
|
|
@ -1298,7 +1300,7 @@ ccp = (char const *const *) p; |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:1302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
if { (eval echo configure:1304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
ac_cv_c_const=yes |
|
|
|
|
else |
|
|
|
@ -1319,7 +1321,7 @@ EOF |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking size of int""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1323: checking size of int" >&5 |
|
|
|
|
echo "configure:1325: checking size of int" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -1327,7 +1329,7 @@ else |
|
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1331 "configure" |
|
|
|
|
#line 1333 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
main() |
|
|
|
@ -1338,7 +1340,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:1342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:1344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
ac_cv_sizeof_int=`cat conftestval` |
|
|
|
|
else |
|
|
|
@ -1358,7 +1360,7 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking size of long""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1362: checking size of long" >&5 |
|
|
|
|
echo "configure:1364: checking size of long" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -1366,7 +1368,7 @@ else |
|
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1370 "configure" |
|
|
|
|
#line 1372 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
main() |
|
|
|
@ -1377,7 +1379,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
ac_cv_sizeof_long=`cat conftestval` |
|
|
|
|
else |
|
|
|
@ -1402,17 +1404,17 @@ for ac_hdr in unistd.h |
|
|
|
|
do |
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1406: checking for $ac_hdr" >&5 |
|
|
|
|
echo "configure:1408: checking for $ac_hdr" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1411 "configure" |
|
|
|
|
#line 1413 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <$ac_hdr> |
|
|
|
|
EOF |
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
|
{ (eval echo configure:1416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
{ (eval echo configure:1418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
|
|
if test -z "$ac_err"; then |
|
|
|
|
rm -rf conftest* |
|
|
|
@ -1441,12 +1443,12 @@ done |
|
|
|
|
for ac_func in getpagesize |
|
|
|
|
do |
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1445: checking for $ac_func" >&5 |
|
|
|
|
echo "configure:1447: checking for $ac_func" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1450 "configure" |
|
|
|
|
#line 1452 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
@ -1469,7 +1471,7 @@ $ac_func(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:1473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:1475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
|
else |
|
|
|
@ -1494,7 +1496,7 @@ fi |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1498: checking for working mmap" >&5 |
|
|
|
|
echo "configure:1500: checking for working mmap" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -1502,7 +1504,7 @@ else |
|
|
|
|
ac_cv_func_mmap_fixed_mapped=no |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1506 "configure" |
|
|
|
|
#line 1508 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
/* Thanks to Mike Haertel and Jim Avera for this test. |
|
|
|
@ -1642,7 +1644,7 @@ main() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:1646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:1648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
ac_cv_func_mmap_fixed_mapped=yes |
|
|
|
|
else |
|
|
|
@ -1670,12 +1672,12 @@ else |
|
|
|
|
FTSYS_SRC='$(BUILD)/ftsystem.c' |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether munmap must be declared""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1674: checking whether munmap must be declared" >&5 |
|
|
|
|
echo "configure:1676: checking whether munmap must be declared" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ft_cv_munmap_decl'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1679 "configure" |
|
|
|
|
#line 1681 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
#ifdef HAVE_UNISTD_H |
|
|
|
@ -1686,7 +1688,7 @@ int main() { |
|
|
|
|
char *(*pfn) = (char *(*))munmap |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:1690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
if { (eval echo configure:1692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
ft_cv_munmap_decl=no |
|
|
|
|
else |
|
|
|
@ -1706,9 +1708,9 @@ EOF |
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
echo $ac_n "checking for munmap's first parameter type""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1710: checking for munmap's first parameter type" >&5 |
|
|
|
|
echo "configure:1712: checking for munmap's first parameter type" >&5 |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1712 "configure" |
|
|
|
|
#line 1714 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
#include <unistd.h> |
|
|
|
@ -1718,7 +1720,7 @@ int main() { |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:1722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
if { (eval echo configure:1724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
echo "$ac_t""void *" 1>&6;cat >> confdefs.h <<\EOF |
|
|
|
|
#define MUNMAP_USES_VOIDP 1 |
|
|
|
@ -1738,12 +1740,12 @@ fi |
|
|
|
|
for ac_func in memcpy memmove |
|
|
|
|
do |
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1742: checking for $ac_func" >&5 |
|
|
|
|
echo "configure:1744: checking for $ac_func" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 1747 "configure" |
|
|
|
|
#line 1749 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
@ -1766,7 +1768,7 @@ $ac_func(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:1770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:1772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
|
else |
|
|
|
@ -1863,7 +1865,7 @@ fi |
|
|
|
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
|
|
|
set dummy ranlib; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1867: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:1869: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -1902,7 +1904,7 @@ ac_prog=ld |
|
|
|
|
if test "$ac_cv_prog_gcc" = yes; then |
|
|
|
|
# Check if gcc -print-prog-name=ld gives a path. |
|
|
|
|
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1906: checking for ld used by GCC" >&5 |
|
|
|
|
echo "configure:1908: checking for ld used by GCC" >&5 |
|
|
|
|
ac_prog=`($CC -print-prog-name=ld) 2>&5` |
|
|
|
|
case "$ac_prog" in |
|
|
|
|
# Accept absolute paths. |
|
|
|
@ -1926,10 +1928,10 @@ echo "configure:1906: checking for ld used by GCC" >&5 |
|
|
|
|
esac |
|
|
|
|
elif test "$with_gnu_ld" = yes; then |
|
|
|
|
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1930: checking for GNU ld" >&5 |
|
|
|
|
echo "configure:1932: checking for GNU ld" >&5 |
|
|
|
|
else |
|
|
|
|
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1933: checking for non-GNU ld" >&5 |
|
|
|
|
echo "configure:1935: checking for non-GNU ld" >&5 |
|
|
|
|
fi |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
@ -1964,7 +1966,7 @@ else |
|
|
|
|
fi |
|
|
|
|
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } |
|
|
|
|
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1968: checking if the linker ($LD) is GNU ld" >&5 |
|
|
|
|
echo "configure:1970: checking if the linker ($LD) is GNU ld" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -1980,7 +1982,7 @@ echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:1984: checking for BSD-compatible nm" >&5 |
|
|
|
|
echo "configure:1986: checking for BSD-compatible nm" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -2016,7 +2018,7 @@ NM="$ac_cv_path_NM" |
|
|
|
|
echo "$ac_t""$NM" 1>&6 |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:2020: checking whether ln -s works" >&5 |
|
|
|
|
echo "configure:2022: checking whether ln -s works" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -2065,8 +2067,8 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" |
|
|
|
|
case "$lt_target" in |
|
|
|
|
*-*-irix6*) |
|
|
|
|
# Find out which ABI we are using. |
|
|
|
|
echo '#line 2069 "configure"' > conftest.$ac_ext |
|
|
|
|
if { (eval echo configure:2070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
echo '#line 2071 "configure"' > conftest.$ac_ext |
|
|
|
|
if { (eval echo configure:2072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
case "`/usr/bin/file conftest.o`" in |
|
|
|
|
*32-bit*) |
|
|
|
|
LD="${LD-ld} -32" |
|
|
|
@ -2087,19 +2089,19 @@ case "$lt_target" in |
|
|
|
|
SAVE_CFLAGS="$CFLAGS" |
|
|
|
|
CFLAGS="$CFLAGS -belf" |
|
|
|
|
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:2091: checking whether the C compiler needs -belf" >&5 |
|
|
|
|
echo "configure:2093: checking whether the C compiler needs -belf" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 2096 "configure" |
|
|
|
|
#line 2098 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
|
|
int main() { |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:2103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:2105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
lt_cv_cc_needs_belf=yes |
|
|
|
|
else |
|
|
|
@ -2335,6 +2337,7 @@ s%@oldincludedir@%$oldincludedir%g |
|
|
|
|
s%@infodir@%$infodir%g |
|
|
|
|
s%@mandir@%$mandir%g |
|
|
|
|
s%@version_info@%$version_info%g |
|
|
|
|
s%@ft_version@%$ft_version%g |
|
|
|
|
s%@host@%$host%g |
|
|
|
|
s%@host_alias@%$host_alias%g |
|
|
|
|
s%@host_cpu@%$host_cpu%g |
|
|
|
|