|
|
|
@ -1,7 +1,7 @@ |
|
|
|
#! /bin/sh |
|
|
|
|
|
|
|
# Guess values for system-dependent variables and create Makefiles. |
|
|
|
# Generated automatically using autoconf version 2.7 |
|
|
|
# Generated automatically using autoconf version 2.8 |
|
|
|
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. |
|
|
|
# |
|
|
|
# This configure script is free software; the Free Software Foundation |
|
|
|
@ -340,7 +340,7 @@ EOF |
|
|
|
verbose=yes ;; |
|
|
|
|
|
|
|
-version | --version | --versio | --versi | --vers) |
|
|
|
echo "configure generated by autoconf version 2.7" |
|
|
|
echo "configure generated by autoconf version 2.8" |
|
|
|
exit 0 ;; |
|
|
|
|
|
|
|
-with-* | --with-*) |
|
|
|
@ -505,12 +505,9 @@ fi |
|
|
|
|
|
|
|
ac_ext=c |
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
|
ac_cpp='echo $CPP $CPPFLAGS 1>&5; |
|
|
|
$CPP $CPPFLAGS' |
|
|
|
ac_compile='echo ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5; |
|
|
|
${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5' |
|
|
|
ac_link='echo ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5; |
|
|
|
${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5' |
|
|
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
|
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
|
|
|
|
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
|
|
|
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
|
|
|
@ -745,7 +742,6 @@ else |
|
|
|
fi |
|
|
|
done |
|
|
|
IFS="$ac_save_ifs" |
|
|
|
test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc" |
|
|
|
fi |
|
|
|
fi |
|
|
|
CC="$ac_cv_prog_CC" |
|
|
|
@ -755,6 +751,55 @@ else |
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
fi |
|
|
|
|
|
|
|
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 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$CC"; then |
|
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
ac_prog_rejected=no |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
|
|
|
ac_prog_rejected=yes |
|
|
|
continue |
|
|
|
fi |
|
|
|
ac_cv_prog_CC="cc" |
|
|
|
break |
|
|
|
fi |
|
|
|
done |
|
|
|
IFS="$ac_save_ifs" |
|
|
|
if test $ac_prog_rejected = yes; then |
|
|
|
# We found a bogon in the path, so make sure we never use it. |
|
|
|
set dummy $ac_cv_prog_CC |
|
|
|
shift |
|
|
|
if test $# -gt 0; then |
|
|
|
# We chose a different compiler from the bogus one. |
|
|
|
# However, it has the same basename, so the bogon will be chosen |
|
|
|
# first if we set CC to just the basename; use the full file name. |
|
|
|
shift |
|
|
|
set dummy "$ac_dir/$ac_word" "$@" |
|
|
|
shift |
|
|
|
ac_cv_prog_CC="$@" |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
CC="$ac_cv_prog_CC" |
|
|
|
if test -n "$CC"; then |
|
|
|
echo "$ac_t""$CC" 1>&6 |
|
|
|
else |
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
fi |
|
|
|
|
|
|
|
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|
|
|
@ -765,7 +810,7 @@ else |
|
|
|
yes; |
|
|
|
#endif |
|
|
|
EOF |
|
|
|
if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then |
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:814: \"$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 |
|
|
|
@ -807,8 +852,14 @@ fi |
|
|
|
. ${srcdir}/configure.host |
|
|
|
|
|
|
|
|
|
|
|
# Extract the first word of "ar", so it can be a program name with args. |
|
|
|
set dummy ar; ac_word=$2 |
|
|
|
if test $host != $build; then |
|
|
|
ac_tool_prefix=${host_alias}- |
|
|
|
else |
|
|
|
ac_tool_prefix= |
|
|
|
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 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
@ -820,12 +871,12 @@ else |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
ac_cv_prog_AR="ar" |
|
|
|
ac_cv_prog_AR="${ac_tool_prefix}ar" |
|
|
|
break |
|
|
|
fi |
|
|
|
done |
|
|
|
IFS="$ac_save_ifs" |
|
|
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=":" |
|
|
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" |
|
|
|
fi |
|
|
|
fi |
|
|
|
AR="$ac_cv_prog_AR" |
|
|
|
@ -835,7 +886,39 @@ else |
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
fi |
|
|
|
|
|
|
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
|
|
|
|
|
|
|
|
|
|
# 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 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$RANLIB"; then |
|
|
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
|
|
break |
|
|
|
fi |
|
|
|
done |
|
|
|
IFS="$ac_save_ifs" |
|
|
|
fi |
|
|
|
fi |
|
|
|
RANLIB="$ac_cv_prog_RANLIB" |
|
|
|
if test -n "$RANLIB"; then |
|
|
|
echo "$ac_t""$RANLIB" 1>&6 |
|
|
|
else |
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if test -z "$ac_cv_prog_RANLIB"; then |
|
|
|
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 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|
|
|
@ -863,6 +946,11 @@ else |
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
fi |
|
|
|
|
|
|
|
else |
|
|
|
RANLIB=":" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
# Find a good install program. We prefer a C program (faster), |
|
|
|
# so one script is as good as another. But avoid the broken or |
|
|
|
# incompatible versions: |
|
|
|
@ -964,11 +1052,11 @@ else |
|
|
|
ac_cv_c_cross=yes |
|
|
|
else |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 968 "configure" |
|
|
|
#line 1056 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
main(){return(0);} |
|
|
|
EOF |
|
|
|
eval $ac_link |
|
|
|
{ (eval echo configure:1060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } |
|
|
|
if test -s conftest && (./conftest; exit) 2>/dev/null; then |
|
|
|
ac_cv_c_cross=no |
|
|
|
else |
|
|
|
@ -1006,12 +1094,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 1010 "configure" |
|
|
|
#line 1098 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <assert.h> |
|
|
|
Syntax Error |
|
|
|
EOF |
|
|
|
eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
{ (eval echo configure:1104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
if test -z "$ac_err"; then |
|
|
|
: |
|
|
|
@ -1020,12 +1109,13 @@ else |
|
|
|
rm -rf conftest* |
|
|
|
CPP="${CC-cc} -E -traditional-cpp" |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1024 "configure" |
|
|
|
#line 1113 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <assert.h> |
|
|
|
Syntax Error |
|
|
|
EOF |
|
|
|
eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
{ (eval echo configure:1119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
if test -z "$ac_err"; then |
|
|
|
: |
|
|
|
@ -1053,11 +1143,12 @@ 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 1057 "configure" |
|
|
|
#line 1147 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <$ac_hdr> |
|
|
|
EOF |
|
|
|
eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
{ (eval echo configure:1152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
if test -z "$ac_err"; then |
|
|
|
rm -rf conftest* |
|
|
|
@ -1089,11 +1180,12 @@ 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 1093 "configure" |
|
|
|
#line 1184 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <$ac_hdr> |
|
|
|
EOF |
|
|
|
eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
{ (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
if test -z "$ac_err"; then |
|
|
|
rm -rf conftest* |
|
|
|
@ -1124,7 +1216,7 @@ 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 1128 "configure" |
|
|
|
#line 1220 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
@ -1146,7 +1238,7 @@ $ac_func(); |
|
|
|
|
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if eval $ac_link; then |
|
|
|
if { (eval echo configure:1242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
|
|
|
rm -rf conftest* |
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
else |
|
|
|
@ -1183,7 +1275,7 @@ 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 1187 "configure" |
|
|
|
#line 1279 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
|
@ -1198,7 +1290,7 @@ int t() { |
|
|
|
char *(*pfn) = (char *(*)) malloc |
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if eval $ac_compile; then |
|
|
|
if { (eval echo configure:1294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
rm -rf conftest* |
|
|
|
bfd_cv_decl_needed_malloc=no |
|
|
|
else |
|
|
|
@ -1223,7 +1315,7 @@ 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 1227 "configure" |
|
|
|
#line 1319 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
|
@ -1238,7 +1330,7 @@ int t() { |
|
|
|
char *(*pfn) = (char *(*)) free |
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if eval $ac_compile; then |
|
|
|
if { (eval echo configure:1334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
rm -rf conftest* |
|
|
|
bfd_cv_decl_needed_free=no |
|
|
|
else |
|
|
|
@ -1510,7 +1602,7 @@ EOF |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1514 "configure" |
|
|
|
#line 1606 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <sys/procfs.h> |
|
|
|
int main() { return 0; } |
|
|
|
@ -1518,7 +1610,7 @@ int t() { |
|
|
|
prstatus_t t; |
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if eval $ac_compile; then |
|
|
|
if { (eval echo configure:1614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
rm -rf conftest* |
|
|
|
bfd_cv_header_sys_procfs_h=yes |
|
|
|
else |
|
|
|
@ -1798,7 +1890,7 @@ 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 1802 "configure" |
|
|
|
#line 1894 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
@ -1820,7 +1912,7 @@ $ac_func(); |
|
|
|
|
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if eval $ac_link; then |
|
|
|
if { (eval echo configure:1916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
|
|
|
rm -rf conftest* |
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
else |
|
|
|
@ -1850,7 +1942,7 @@ else |
|
|
|
ac_cv_func_mmap=no |
|
|
|
else |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1854 "configure" |
|
|
|
#line 1946 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
/* Thanks to Mike Haertel and Jim Avera for this test. */ |
|
|
|
@ -1919,7 +2011,7 @@ main() |
|
|
|
} |
|
|
|
|
|
|
|
EOF |
|
|
|
eval $ac_link |
|
|
|
{ (eval echo configure:2015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } |
|
|
|
if test -s conftest && (./conftest; exit) 2>/dev/null; then |
|
|
|
ac_cv_func_mmap=yes |
|
|
|
else |
|
|
|
@ -1944,7 +2036,7 @@ 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 1948 "configure" |
|
|
|
#line 2040 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
@ -1966,7 +2058,7 @@ $ac_func(); |
|
|
|
|
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if eval $ac_link; then |
|
|
|
if { (eval echo configure:2062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
|
|
|
rm -rf conftest* |
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
else |
|
|
|
@ -2072,7 +2164,7 @@ do |
|
|
|
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
|
|
|
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
|
|
|
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
|
|
|
echo "$CONFIG_STATUS generated by autoconf version 2.7" |
|
|
|
echo "$CONFIG_STATUS generated by autoconf version 2.8" |
|
|
|
exit 0 ;; |
|
|
|
-help | --help | --hel | --he | --h) |
|
|
|
echo "\$ac_cs_usage"; exit 0 ;; |
|
|
|
|