|
|
|
@ -15,6 +15,8 @@ ac_help="$ac_help
|
|
|
|
|
--enable-netrom "
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--enable-gm "
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--enable-ide Enable IDE support"
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--enable-gdbtk "
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
@ -539,7 +541,7 @@ fi
|
|
|
|
|
# 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:543: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:545: 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
|
|
|
|
@ -568,7 +570,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:572: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:574: 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
|
|
|
|
@ -616,7 +618,7 @@ fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:620: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
echo "configure:622: 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.
|
|
|
|
@ -626,11 +628,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 630 "configure"
|
|
|
|
|
#line 632 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
main(){return(0);}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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
|
|
|
|
@ -650,12 +652,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:654: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "configure:656: 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:659: checking whether we are using GNU C" >&5
|
|
|
|
|
echo "configure:661: 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
|
|
|
|
@ -664,7 +666,7 @@ else
|
|
|
|
|
yes;
|
|
|
|
|
#endif
|
|
|
|
|
EOF
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:668: \"$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:670: \"$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
|
|
|
|
@ -679,7 +681,7 @@ if test $ac_cv_prog_gcc = yes; then
|
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS=
|
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:683: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
echo "configure:685: 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
|
|
|
|
@ -707,7 +709,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:711: checking how to run the C preprocessor" >&5
|
|
|
|
|
echo "configure:713: checking how to run the C preprocessor" >&5
|
|
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
|
|
CPP=
|
|
|
|
@ -722,13 +724,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 726 "configure"
|
|
|
|
|
#line 728 "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:732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
@ -739,13 +741,13 @@ else
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 743 "configure"
|
|
|
|
|
#line 745 "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:749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
@ -768,9 +770,9 @@ fi
|
|
|
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for AIX""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:772: checking for AIX" >&5
|
|
|
|
|
echo "configure:774: checking for AIX" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 774 "configure"
|
|
|
|
|
#line 776 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#ifdef _AIX
|
|
|
|
|
yes
|
|
|
|
@ -793,17 +795,17 @@ rm -f conftest*
|
|
|
|
|
|
|
|
|
|
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:797: checking for minix/config.h" >&5
|
|
|
|
|
echo "configure:799: checking for minix/config.h" >&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 802 "configure"
|
|
|
|
|
#line 804 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <minix/config.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -841,7 +843,7 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:845: checking for POSIXized ISC" >&5
|
|
|
|
|
echo "configure:847: checking for POSIXized ISC" >&5
|
|
|
|
|
if test -d /etc/conf/kconfig.d &&
|
|
|
|
|
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
|
|
|
|
|
then
|
|
|
|
@ -909,7 +911,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:913: checking host system type" >&5
|
|
|
|
|
echo "configure:915: checking host system type" >&5
|
|
|
|
|
|
|
|
|
|
host_alias=$host
|
|
|
|
|
case "$host_alias" in
|
|
|
|
@ -930,7 +932,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:934: checking target system type" >&5
|
|
|
|
|
echo "configure:936: checking target system type" >&5
|
|
|
|
|
|
|
|
|
|
target_alias=$target
|
|
|
|
|
case "$target_alias" in
|
|
|
|
@ -948,7 +950,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:952: checking build system type" >&5
|
|
|
|
|
echo "configure:954: checking build system type" >&5
|
|
|
|
|
|
|
|
|
|
build_alias=$build
|
|
|
|
|
case "$build_alias" in
|
|
|
|
@ -993,7 +995,7 @@ configdirs="doc testsuite"
|
|
|
|
|
# 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:997: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:999: 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
|
|
|
|
@ -1051,7 +1053,7 @@ fi
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}ar; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1055: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1057: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1082,7 +1084,7 @@ fi
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1086: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1088: 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
|
|
|
|
@ -1113,7 +1115,7 @@ if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# 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:1117: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1119: 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
|
|
|
|
@ -1149,7 +1151,7 @@ do
|
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
|
|
set dummy $ac_prog; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1153: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1155: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1183,7 +1185,7 @@ do
|
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
|
|
set dummy $ac_prog; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1187: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1189: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1233,12 +1235,12 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1237: checking return type of signal handlers" >&5
|
|
|
|
|
echo "configure:1239: checking return type of signal handlers" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1242 "configure"
|
|
|
|
|
#line 1244 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <signal.h>
|
|
|
|
@ -1255,7 +1257,7 @@ int main() {
|
|
|
|
|
int i;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_type_signal=void
|
|
|
|
|
else
|
|
|
|
@ -1275,12 +1277,12 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1279: checking for ANSI C header files" >&5
|
|
|
|
|
echo "configure:1281: 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 1284 "configure"
|
|
|
|
|
#line 1286 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
@ -1288,7 +1290,7 @@ else
|
|
|
|
|
#include <float.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -1305,7 +1307,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 1309 "configure"
|
|
|
|
|
#line 1311 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <string.h>
|
|
|
|
|
EOF
|
|
|
|
@ -1323,7 +1325,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 1327 "configure"
|
|
|
|
|
#line 1329 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
EOF
|
|
|
|
@ -1344,7 +1346,7 @@ if test "$cross_compiling" = yes; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1348 "configure"
|
|
|
|
|
#line 1350 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
|
@ -1355,7 +1357,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
|
|
|
exit (0); }
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:1361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
@ -1382,17 +1384,17 @@ for ac_hdr in limits.h memory.h string.h strings.h unistd.h termios.h termio.h s
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1386: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:1388: 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 1391 "configure"
|
|
|
|
|
#line 1393 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -1419,12 +1421,12 @@ fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1423: checking whether stat file-mode macros are broken" >&5
|
|
|
|
|
echo "configure:1425: checking whether stat file-mode macros are broken" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1428 "configure"
|
|
|
|
|
#line 1430 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/stat.h>
|
|
|
|
@ -1476,12 +1478,12 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1480: checking for working const" >&5
|
|
|
|
|
echo "configure:1482: 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 1485 "configure"
|
|
|
|
|
#line 1487 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
@ -1530,7 +1532,7 @@ ccp = (char const *const *) p;
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_c_const=yes
|
|
|
|
|
else
|
|
|
|
@ -1554,12 +1556,12 @@ fi
|
|
|
|
|
for ac_func in setpgid sbrk select poll
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1558: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:1560: 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 1563 "configure"
|
|
|
|
|
#line 1565 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -1582,7 +1584,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -1624,19 +1626,19 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for gregset_t type""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1628: checking for gregset_t type" >&5
|
|
|
|
|
echo "configure:1630: checking for gregset_t type" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'gdb_cv_have_gregset_t'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1633 "configure"
|
|
|
|
|
#line 1635 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/procfs.h>
|
|
|
|
|
int main() {
|
|
|
|
|
gregset_t *gregsetp = 0
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
gdb_cv_have_gregset_t=yes
|
|
|
|
|
else
|
|
|
|
@ -1657,19 +1659,19 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for fpregset_t type""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1661: checking for fpregset_t type" >&5
|
|
|
|
|
echo "configure:1663: checking for fpregset_t type" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'gdb_cv_have_fpregset_t'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1666 "configure"
|
|
|
|
|
#line 1668 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/procfs.h>
|
|
|
|
|
int main() {
|
|
|
|
|
fpregset_t *fpregsetp = 0
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
gdb_cv_have_fpregset_t=yes
|
|
|
|
|
else
|
|
|
|
@ -1690,7 +1692,7 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1694: checking for main in -lm" >&5
|
|
|
|
|
echo "configure:1696: checking for main in -lm" >&5
|
|
|
|
|
ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -1698,14 +1700,14 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lm $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1702 "configure"
|
|
|
|
|
#line 1704 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
main()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -1735,12 +1737,12 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for long long support in compiler""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1739: checking for long long support in compiler" >&5
|
|
|
|
|
echo "configure:1741: checking for long long support in compiler" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'gdb_cv_c_long_long'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1744 "configure"
|
|
|
|
|
#line 1746 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
@ -1750,7 +1752,7 @@ int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
gdb_cv_c_long_long=yes
|
|
|
|
|
else
|
|
|
|
@ -1772,7 +1774,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for long long support in printf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1776: checking for long long support in printf" >&5
|
|
|
|
|
echo "configure:1778: checking for long long support in printf" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'gdb_cv_printf_has_long_long'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1780,7 +1782,7 @@ else
|
|
|
|
|
gdb_cv_printf_has_long_long=no
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1784 "configure"
|
|
|
|
|
#line 1786 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main () {
|
|
|
|
@ -1790,7 +1792,7 @@ int main () {
|
|
|
|
|
return (strcmp ("12345", buf));
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:1796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
gdb_cv_printf_has_long_long=yes
|
|
|
|
|
else
|
|
|
|
@ -1814,19 +1816,19 @@ echo "$ac_t""$gdb_cv_printf_has_long_long" 1>&6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for long double support in compiler""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1818: checking for long double support in compiler" >&5
|
|
|
|
|
echo "configure:1820: checking for long double support in compiler" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1823 "configure"
|
|
|
|
|
#line 1825 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
long double foo;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_c_long_double=yes
|
|
|
|
|
else
|
|
|
|
@ -1848,7 +1850,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for long double support in printf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1852: checking for long double support in printf" >&5
|
|
|
|
|
echo "configure:1854: checking for long double support in printf" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'gdb_cv_printf_has_long_double'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1856,7 +1858,7 @@ else
|
|
|
|
|
gdb_cv_printf_has_long_double=no
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1860 "configure"
|
|
|
|
|
#line 1862 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main () {
|
|
|
|
@ -1866,7 +1868,7 @@ int main () {
|
|
|
|
|
return (strncmp ("3.14159", buf, 7));
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:1872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
gdb_cv_printf_has_long_double=yes
|
|
|
|
|
else
|
|
|
|
@ -1892,17 +1894,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:1896: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:1898: 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 1901 "configure"
|
|
|
|
|
#line 1903 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -1931,12 +1933,12 @@ done
|
|
|
|
|
for ac_func in getpagesize
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1935: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:1937: 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 1940 "configure"
|
|
|
|
|
#line 1942 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -1959,7 +1961,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -1984,7 +1986,7 @@ fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1988: checking for working mmap" >&5
|
|
|
|
|
echo "configure:1990: 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
|
|
|
|
@ -1992,7 +1994,7 @@ else
|
|
|
|
|
ac_cv_func_mmap_fixed_mapped=no
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1996 "configure"
|
|
|
|
|
#line 1998 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
/* Thanks to Mike Haertel and Jim Avera for this test.
|
|
|
|
@ -2132,7 +2134,7 @@ main()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:2138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_func_mmap_fixed_mapped=yes
|
|
|
|
|
else
|
|
|
|
@ -2156,12 +2158,12 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2160: checking whether malloc must be declared" >&5
|
|
|
|
|
echo "configure:2162: checking whether malloc must be declared" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2165 "configure"
|
|
|
|
|
#line 2167 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
@ -2182,7 +2184,7 @@ int main() {
|
|
|
|
|
char *(*pfn) = (char *(*)) malloc
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:2188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bfd_cv_decl_needed_malloc=no
|
|
|
|
|
else
|
|
|
|
@ -2204,12 +2206,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2208: checking whether realloc must be declared" >&5
|
|
|
|
|
echo "configure:2210: checking whether realloc must be declared" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2213 "configure"
|
|
|
|
|
#line 2215 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
@ -2230,7 +2232,7 @@ int main() {
|
|
|
|
|
char *(*pfn) = (char *(*)) realloc
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:2236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bfd_cv_decl_needed_realloc=no
|
|
|
|
|
else
|
|
|
|
@ -2252,12 +2254,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2256: checking whether free must be declared" >&5
|
|
|
|
|
echo "configure:2258: checking whether free must be declared" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2261 "configure"
|
|
|
|
|
#line 2263 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
@ -2278,7 +2280,7 @@ int main() {
|
|
|
|
|
char *(*pfn) = (char *(*)) free
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:2284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
bfd_cv_decl_needed_free=no
|
|
|
|
|
else
|
|
|
|
@ -2306,7 +2308,7 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
|
|
|
|
|
case ${host_os} in
|
|
|
|
|
hpux*)
|
|
|
|
|
echo $ac_n "checking for HPUX/OSF thread support""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2310: checking for HPUX/OSF thread support" >&5
|
|
|
|
|
echo "configure:2312: checking for HPUX/OSF thread support" >&5
|
|
|
|
|
if test -f /usr/include/dce/cma_config.h ; then
|
|
|
|
|
if test "$GCC" = "yes" ; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
@ -2324,7 +2326,7 @@ EOF
|
|
|
|
|
;;
|
|
|
|
|
solaris*)
|
|
|
|
|
echo $ac_n "checking for Solaris thread debugging library""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2328: checking for Solaris thread debugging library" >&5
|
|
|
|
|
echo "configure:2330: checking for Solaris thread debugging library" >&5
|
|
|
|
|
if test -f /usr/lib/libthread_db.so.1 ; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
@ -2333,7 +2335,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
|
|
|
|
|
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2337: checking for dlopen in -ldl" >&5
|
|
|
|
|
echo "configure:2339: checking for dlopen in -ldl" >&5
|
|
|
|
|
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -2341,7 +2343,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ldl $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2345 "configure"
|
|
|
|
|
#line 2347 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -2352,7 +2354,7 @@ int main() {
|
|
|
|
|
dlopen()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:2358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -2426,6 +2428,21 @@ fi
|
|
|
|
|
# end-sanitize-gm
|
|
|
|
|
|
|
|
|
|
# start-sanitize-gdbtk
|
|
|
|
|
ENABLE_IDE=
|
|
|
|
|
# Check whether --enable-ide or --disable-ide was given.
|
|
|
|
|
if test "${enable_ide+set}" = set; then
|
|
|
|
|
enableval="$enable_ide"
|
|
|
|
|
:
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test "$enable_ide" = yes; then
|
|
|
|
|
enable_ide=yes
|
|
|
|
|
ENABLE_IDE=1
|
|
|
|
|
else
|
|
|
|
|
enable_ide=no
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ENABLE_GDBTK=
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-gdbtk or --disable-gdbtk was given.
|
|
|
|
@ -2489,7 +2506,7 @@ if test "${with_tclconfig+set}" = set; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2493: checking for Tcl configuration" >&5
|
|
|
|
|
echo "configure:2510: checking for Tcl configuration" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2597,7 +2614,7 @@ if test "${with_tkconfig+set}" = set; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for Tk configuration""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2601: checking for Tk configuration" >&5
|
|
|
|
|
echo "configure:2618: checking for Tk configuration" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2692,7 +2709,7 @@ fi
|
|
|
|
|
|
|
|
|
|
no_tcl=true
|
|
|
|
|
echo $ac_n "checking for Tcl private headers. dir=${configdir}""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2696: checking for Tcl private headers. dir=${configdir}" >&5
|
|
|
|
|
echo "configure:2713: checking for Tcl private headers. dir=${configdir}" >&5
|
|
|
|
|
# Check whether --with-tclinclude or --without-tclinclude was given.
|
|
|
|
|
if test "${with_tclinclude+set}" = set; then
|
|
|
|
|
withval="$with_tclinclude"
|
|
|
|
@ -2758,17 +2775,17 @@ fi
|
|
|
|
|
if test x"${ac_cv_c_tclh}" = x ; then
|
|
|
|
|
ac_safe=`echo "tclInt.h" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for tclInt.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2762: checking for tclInt.h" >&5
|
|
|
|
|
echo "configure:2779: checking for tclInt.h" >&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 2767 "configure"
|
|
|
|
|
#line 2784 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <tclInt.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:2772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:2789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -2828,7 +2845,7 @@ fi
|
|
|
|
|
#
|
|
|
|
|
no_tk=true
|
|
|
|
|
echo $ac_n "checking for Tk private headers""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2832: checking for Tk private headers" >&5
|
|
|
|
|
echo "configure:2849: checking for Tk private headers" >&5
|
|
|
|
|
# Check whether --with-tkinclude or --without-tkinclude was given.
|
|
|
|
|
if test "${with_tkinclude+set}" = set; then
|
|
|
|
|
withval="$with_tkinclude"
|
|
|
|
@ -2894,17 +2911,17 @@ fi
|
|
|
|
|
if test x"${ac_cv_c_tkh}" = x ; then
|
|
|
|
|
ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for tk.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2898: checking for tk.h" >&5
|
|
|
|
|
echo "configure:2915: checking for tk.h" >&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 2903 "configure"
|
|
|
|
|
#line 2920 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <tk.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:2908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:2925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -2948,11 +2965,66 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for Itcl private headers. srcdir=${srcdir}""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2971: checking for Itcl private headers. srcdir=${srcdir}" >&5
|
|
|
|
|
if test x"${ac_cv_c_itclh}" = x ; then
|
|
|
|
|
for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ; do
|
|
|
|
|
if test -f $i/src/itcl.h ; then
|
|
|
|
|
ac_cv_c_itclh=`(cd $i/src; pwd)`
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
fi
|
|
|
|
|
if test x"${ac_cv_c_itclh}" = x ; then
|
|
|
|
|
ITCLHDIR="# no Itcl private headers found"
|
|
|
|
|
{ echo "configure: error: Can't find Itcl private headers" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
if test x"${ac_cv_c_itclh}" != x ; then
|
|
|
|
|
ITCLHDIR="-I${ac_cv_c_itclh}"
|
|
|
|
|
fi
|
|
|
|
|
# should always be here
|
|
|
|
|
ITCLLIB="../itcl/src/libitcl.a"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for Tix private headers. srcdir=${srcdir}""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2994: checking for Tix private headers. srcdir=${srcdir}" >&5
|
|
|
|
|
if test x"${ac_cv_c_tixh}" = x ; then
|
|
|
|
|
for i in ${srcdir}/../tix ${srcdir}/../../tix ${srcdir}/../../../tix ; do
|
|
|
|
|
if test -f $i/generic/tix.h ; then
|
|
|
|
|
ac_cv_c_tixh=`(cd $i/generic; pwd)`
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
fi
|
|
|
|
|
if test x"${ac_cv_c_tixh}" = x ; then
|
|
|
|
|
TIXHDIR="# no Tix private headers found"
|
|
|
|
|
{ echo "configure: error: Can't find Tix private headers" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
if test x"${ac_cv_c_tixh}" != x ; then
|
|
|
|
|
TIXHDIR="-I${ac_cv_c_tixh}"
|
|
|
|
|
fi
|
|
|
|
|
# need to do better than this...
|
|
|
|
|
case "${host}" in
|
|
|
|
|
*-*-cygwin32*)
|
|
|
|
|
TIXLIB="../tix/win/tk4.2/libtix4.1.7.6.a" ;;
|
|
|
|
|
*)
|
|
|
|
|
TIXLIB="../tix/unix/tk4.2/libtix4.1.7.6.a" ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ENABLE_GDBTK=1
|
|
|
|
|
|
|
|
|
|
# Include some libraries that Tcl and Tk want.
|
|
|
|
|
TCL_LIBS='$(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
|
|
|
|
|
if test "${enable_ide}" = "yes"; then
|
|
|
|
|
TCL_LIBS='$(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
|
|
|
|
|
else
|
|
|
|
|
TCL_LIBS='$(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
|
|
|
|
|
fi
|
|
|
|
|
# Yes, the ordering seems wrong here. But it isn't.
|
|
|
|
|
# TK_LIBS is the list of libraries that need to be linked
|
|
|
|
|
# after Tcl/Tk.
|
|
|
|
@ -3109,7 +3181,7 @@ links="${links} nm.h"
|
|
|
|
|
fi
|
|
|
|
|
# start-sanitize-gdbtk
|
|
|
|
|
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3113: checking whether ln -s works" >&5
|
|
|
|
|
echo "configure:3185: 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
|
|
|
|
@ -3300,6 +3372,7 @@ s%@RANLIB@%$RANLIB%g
|
|
|
|
|
s%@YACC@%$YACC%g
|
|
|
|
|
s%@AWK@%$AWK%g
|
|
|
|
|
s%@CONFIG_LDFLAGS@%$CONFIG_LDFLAGS%g
|
|
|
|
|
s%@ENABLE_IDE@%$ENABLE_IDE%g
|
|
|
|
|
s%@TCL_VERSION@%$TCL_VERSION%g
|
|
|
|
|
s%@TCL_MAJOR_VERSION@%$TCL_MAJOR_VERSION%g
|
|
|
|
|
s%@TCL_MINOR_VERSION@%$TCL_MINOR_VERSION%g
|
|
|
|
@ -3325,6 +3398,10 @@ s%@TK_BUILD_LIB_SPEC@%$TK_BUILD_LIB_SPEC%g
|
|
|
|
|
s%@TK_LIB_SPEC@%$TK_LIB_SPEC%g
|
|
|
|
|
s%@TCLHDIR@%$TCLHDIR%g
|
|
|
|
|
s%@TKHDIR@%$TKHDIR%g
|
|
|
|
|
s%@ITCLHDIR@%$ITCLHDIR%g
|
|
|
|
|
s%@ITCLLIB@%$ITCLLIB%g
|
|
|
|
|
s%@TIXHDIR@%$TIXHDIR%g
|
|
|
|
|
s%@TIXLIB@%$TIXLIB%g
|
|
|
|
|
s%@ENABLE_GDBTK@%$ENABLE_GDBTK%g
|
|
|
|
|
s%@X_CFLAGS@%$X_CFLAGS%g
|
|
|
|
|
s%@X_LDFLAGS@%$X_LDFLAGS%g
|
|
|
|
|