* configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
Miles Bader <miles@gnu.ai.mit.edu>. * configure: Rebuild.
This commit is contained in:
parent
5adc7b9b8e
commit
986cf3b852
|
@ -1,3 +1,9 @@
|
||||||
|
Tue Mar 26 15:46:18 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
|
||||||
|
Miles Bader <miles@gnu.ai.mit.edu>.
|
||||||
|
* configure: Rebuild.
|
||||||
|
|
||||||
Fri Mar 22 12:17:00 1996 Ian Lance Taylor <ian@cygnus.com>
|
Fri Mar 22 12:17:00 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* xcofflink.c (xcoff_link_input_bfd): Fix scan for C_BINCL/C_EINCL
|
* xcofflink.c (xcoff_link_input_bfd): Fix scan for C_BINCL/C_EINCL
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# 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.
|
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This configure script is free software; the Free Software Foundation
|
# This configure script is free software; the Free Software Foundation
|
||||||
|
@ -340,7 +340,7 @@ EOF
|
||||||
verbose=yes ;;
|
verbose=yes ;;
|
||||||
|
|
||||||
-version | --version | --versio | --versi | --vers)
|
-version | --version | --versio | --versi | --vers)
|
||||||
echo "configure generated by autoconf version 2.7"
|
echo "configure generated by autoconf version 2.8"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
|
||||||
-with-* | --with-*)
|
-with-* | --with-*)
|
||||||
|
@ -505,12 +505,9 @@ fi
|
||||||
|
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
# 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.
|
||||||
ac_cpp='echo $CPP $CPPFLAGS 1>&5;
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
$CPP $CPPFLAGS'
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
||||||
ac_compile='echo ${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'
|
||||||
${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'
|
|
||||||
|
|
||||||
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
||||||
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
|
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
|
||||||
|
@ -745,7 +742,6 @@ else
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
IFS="$ac_save_ifs"
|
IFS="$ac_save_ifs"
|
||||||
test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
CC="$ac_cv_prog_CC"
|
CC="$ac_cv_prog_CC"
|
||||||
|
@ -755,6 +751,55 @@ else
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
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
|
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
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
||||||
|
@ -765,7 +810,7 @@ else
|
||||||
yes;
|
yes;
|
||||||
#endif
|
#endif
|
||||||
EOF
|
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
|
ac_cv_prog_gcc=yes
|
||||||
else
|
else
|
||||||
ac_cv_prog_gcc=no
|
ac_cv_prog_gcc=no
|
||||||
|
@ -807,8 +852,14 @@ fi
|
||||||
. ${srcdir}/configure.host
|
. ${srcdir}/configure.host
|
||||||
|
|
||||||
|
|
||||||
# Extract the first word of "ar", so it can be a program name with args.
|
if test $host != $build; then
|
||||||
set dummy ar; ac_word=$2
|
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
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
@ -820,12 +871,12 @@ else
|
||||||
for ac_dir in $PATH; do
|
for ac_dir in $PATH; do
|
||||||
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
||||||
if test -f $ac_dir/$ac_word; then
|
if test -f $ac_dir/$ac_word; then
|
||||||
ac_cv_prog_AR="ar"
|
ac_cv_prog_AR="${ac_tool_prefix}ar"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
IFS="$ac_save_ifs"
|
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
|
||||||
fi
|
fi
|
||||||
AR="$ac_cv_prog_AR"
|
AR="$ac_cv_prog_AR"
|
||||||
|
@ -835,7 +886,39 @@ else
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
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
|
set dummy ranlib; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
||||||
|
@ -863,6 +946,11 @@ else
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
else
|
||||||
|
RANLIB=":"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Find a good install program. We prefer a C program (faster),
|
# Find a good install program. We prefer a C program (faster),
|
||||||
# so one script is as good as another. But avoid the broken or
|
# so one script is as good as another. But avoid the broken or
|
||||||
# incompatible versions:
|
# incompatible versions:
|
||||||
|
@ -964,11 +1052,11 @@ else
|
||||||
ac_cv_c_cross=yes
|
ac_cv_c_cross=yes
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 968 "configure"
|
#line 1056 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
main(){return(0);}
|
main(){return(0);}
|
||||||
EOF
|
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
|
if test -s conftest && (./conftest; exit) 2>/dev/null; then
|
||||||
ac_cv_c_cross=no
|
ac_cv_c_cross=no
|
||||||
else
|
else
|
||||||
|
@ -1006,12 +1094,13 @@ else
|
||||||
# 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,
|
||||||
# not just through cpp.
|
# not just through cpp.
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1010 "configure"
|
#line 1098 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
Syntax Error
|
Syntax Error
|
||||||
EOF
|
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`
|
ac_err=`grep -v '^ *+' conftest.out`
|
||||||
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
||||||
:
|
:
|
||||||
|
@ -1020,12 +1109,13 @@ else
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
CPP="${CC-cc} -E -traditional-cpp"
|
CPP="${CC-cc} -E -traditional-cpp"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1024 "configure"
|
#line 1113 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
Syntax Error
|
Syntax Error
|
||||||
EOF
|
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`
|
ac_err=`grep -v '^ *+' conftest.out`
|
||||||
if test -z "$ac_err"; then
|
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
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1057 "configure"
|
#line 1147 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <$ac_hdr>
|
#include <$ac_hdr>
|
||||||
EOF
|
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`
|
ac_err=`grep -v '^ *+' conftest.out`
|
||||||
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
||||||
rm -rf conftest*
|
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
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1093 "configure"
|
#line 1184 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <$ac_hdr>
|
#include <$ac_hdr>
|
||||||
EOF
|
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`
|
ac_err=`grep -v '^ *+' conftest.out`
|
||||||
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
||||||
rm -rf conftest*
|
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
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1128 "configure"
|
#line 1220 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
@ -1146,7 +1238,7 @@ $ac_func();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if eval $ac_link; then
|
if { (eval echo configure:1242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
||||||
else
|
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
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1187 "configure"
|
#line 1279 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1198,7 +1290,7 @@ int t() {
|
||||||
char *(*pfn) = (char *(*)) malloc
|
char *(*pfn) = (char *(*)) malloc
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if eval $ac_compile; then
|
if { (eval echo configure:1294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
bfd_cv_decl_needed_malloc=no
|
bfd_cv_decl_needed_malloc=no
|
||||||
else
|
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
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1227 "configure"
|
#line 1319 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1238,7 +1330,7 @@ int t() {
|
||||||
char *(*pfn) = (char *(*)) free
|
char *(*pfn) = (char *(*)) free
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if eval $ac_compile; then
|
if { (eval echo configure:1334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
bfd_cv_decl_needed_free=no
|
bfd_cv_decl_needed_free=no
|
||||||
else
|
else
|
||||||
|
@ -1510,7 +1602,7 @@ EOF
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1514 "configure"
|
#line 1606 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <sys/procfs.h>
|
#include <sys/procfs.h>
|
||||||
int main() { return 0; }
|
int main() { return 0; }
|
||||||
|
@ -1518,7 +1610,7 @@ int t() {
|
||||||
prstatus_t t;
|
prstatus_t t;
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if eval $ac_compile; then
|
if { (eval echo configure:1614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
bfd_cv_header_sys_procfs_h=yes
|
bfd_cv_header_sys_procfs_h=yes
|
||||||
else
|
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
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1802 "configure"
|
#line 1894 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
@ -1820,7 +1912,7 @@ $ac_func();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if eval $ac_link; then
|
if { (eval echo configure:1916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
||||||
else
|
else
|
||||||
|
@ -1850,7 +1942,7 @@ else
|
||||||
ac_cv_func_mmap=no
|
ac_cv_func_mmap=no
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1854 "configure"
|
#line 1946 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
/* Thanks to Mike Haertel and Jim Avera for this test. */
|
/* Thanks to Mike Haertel and Jim Avera for this test. */
|
||||||
|
@ -1919,7 +2011,7 @@ main()
|
||||||
}
|
}
|
||||||
|
|
||||||
EOF
|
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
|
if test -s conftest && (./conftest; exit) 2>/dev/null; then
|
||||||
ac_cv_func_mmap=yes
|
ac_cv_func_mmap=yes
|
||||||
else
|
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
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1948 "configure"
|
#line 2040 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
@ -1966,7 +2058,7 @@ $ac_func();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if eval $ac_link; then
|
if { (eval echo configure:2062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
||||||
else
|
else
|
||||||
|
@ -2072,7 +2164,7 @@ do
|
||||||
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
|
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 ;;
|
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
||||||
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
-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 ;;
|
exit 0 ;;
|
||||||
-help | --help | --hel | --he | --h)
|
-help | --help | --hel | --he | --h)
|
||||||
echo "\$ac_cs_usage"; exit 0 ;;
|
echo "\$ac_cs_usage"; exit 0 ;;
|
||||||
|
|
|
@ -56,8 +56,8 @@ target64=false
|
||||||
|
|
||||||
ALLLIBS='$(TARGETLIB)'
|
ALLLIBS='$(TARGETLIB)'
|
||||||
PICFLAG=
|
PICFLAG=
|
||||||
SHLIB=
|
SHLIB=unused-shlib
|
||||||
SHLINK=
|
SHLINK=unused-shlink
|
||||||
if test "${shared}" = "true"; then
|
if test "${shared}" = "true"; then
|
||||||
PICFLAG=-fpic
|
PICFLAG=-fpic
|
||||||
if test "${commonbfdlib}" = "true"; then
|
if test "${commonbfdlib}" = "true"; then
|
||||||
|
@ -77,16 +77,17 @@ AC_PROG_CC
|
||||||
. ${srcdir}/configure.host
|
. ${srcdir}/configure.host
|
||||||
|
|
||||||
AC_SUBST(HDEFINES)
|
AC_SUBST(HDEFINES)
|
||||||
AC_CHECK_PROG(AR, ar, ar, :)
|
AC_CHECK_TOOL(AR, ar)
|
||||||
AC_PROG_RANLIB
|
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
if test "${shared}" = "true"; then
|
if test "${shared}" = "true"; then
|
||||||
if test "${GCC}" != "yes" && test "${shared_non_gcc}" != "yes"; then
|
if test "${GCC}" != "yes" && test "${shared_non_gcc}" != "yes"; then
|
||||||
AC_MSG_WARN([BFD --enable-shared only supported when using gcc])
|
AC_MSG_WARN([BFD --enable-shared only supported when using gcc])
|
||||||
shared=false
|
shared=false
|
||||||
|
ALLLIBS='$(TARGETLIB)'
|
||||||
PICFLAG=
|
PICFLAG=
|
||||||
SHLIB=
|
SHLIB=unused-shlib
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -395,21 +396,21 @@ do
|
||||||
# This list is alphabetized to make it easy to compare
|
# This list is alphabetized to make it easy to compare
|
||||||
# with the two vector lists in targets.c.
|
# with the two vector lists in targets.c.
|
||||||
a29kcoff_big_vec) tb="$tb coff-a29k.o cofflink.o" ;;
|
a29kcoff_big_vec) tb="$tb coff-a29k.o cofflink.o" ;;
|
||||||
a_out_adobe_vec) tb="$tb aout-adobe.o aout32.o stab-syms.o" ;;
|
a_out_adobe_vec) tb="$tb aout-adobe.o aout32.o" ;;
|
||||||
armcoff_little_vec) tb="$tb coff-arm.o cofflink.o " ;;
|
armcoff_little_vec) tb="$tb coff-arm.o cofflink.o " ;;
|
||||||
armcoff_big_vec) tb="$tb coff-arm.o cofflink.o " ;;
|
armcoff_big_vec) tb="$tb coff-arm.o cofflink.o " ;;
|
||||||
armpe_little_vec) tb="$tb pe-arm.o cofflink.o " ;;
|
armpe_little_vec) tb="$tb pe-arm.o cofflink.o " ;;
|
||||||
armpe_big_vec) tb="$tb pe-arm.o cofflink.o " ;;
|
armpe_big_vec) tb="$tb pe-arm.o cofflink.o " ;;
|
||||||
armpei_little_vec) tb="$tb pei-arm.o cofflink.o " ;;
|
armpei_little_vec) tb="$tb pei-arm.o cofflink.o " ;;
|
||||||
armpei_big_vec) tb="$tb pei-arm.o cofflink.o " ;;
|
armpei_big_vec) tb="$tb pei-arm.o cofflink.o " ;;
|
||||||
aout0_big_vec) tb="$tb aout0.o aout32.o stab-syms.o" ;;
|
aout0_big_vec) tb="$tb aout0.o aout32.o" ;;
|
||||||
aout_arm_big_vec) tb="$tb aout-arm.o aout32.o stab-syms.o" ;;
|
aout_arm_big_vec) tb="$tb aout-arm.o aout32.o" ;;
|
||||||
aout_arm_little_vec) tb="$tb aout-arm.o aout32.o stab-syms.o" ;;
|
aout_arm_little_vec) tb="$tb aout-arm.o aout32.o" ;;
|
||||||
aout_mips_big_vec) tb="$tb mipsbsd.o aout32.o stab-syms.o" ;;
|
aout_mips_big_vec) tb="$tb mipsbsd.o aout32.o" ;;
|
||||||
aout_mips_little_vec) tb="$tb mipsbsd.o aout32.o stab-syms.o" ;;
|
aout_mips_little_vec) tb="$tb mipsbsd.o aout32.o" ;;
|
||||||
apollocoff_vec) tb="$tb coff-apollo.o" ;;
|
apollocoff_vec) tb="$tb coff-apollo.o" ;;
|
||||||
b_out_vec_big_host) tb="$tb bout.o aout32.o stab-syms.o" ;;
|
b_out_vec_big_host) tb="$tb bout.o aout32.o" ;;
|
||||||
b_out_vec_little_host) tb="$tb bout.o aout32.o stab-syms.o" ;;
|
b_out_vec_little_host) tb="$tb bout.o aout32.o" ;;
|
||||||
# start-sanitize-arc
|
# start-sanitize-arc
|
||||||
bfd_elf32_littlearc_vec) tb="$tb elf32-arc.o elf32.o $elf" ;;
|
bfd_elf32_littlearc_vec) tb="$tb elf32-arc.o elf32.o $elf" ;;
|
||||||
bfd_elf32_bigarc_vec) tb="$tb elf32-arc.o elf32.o $elf" ;;
|
bfd_elf32_bigarc_vec) tb="$tb elf32-arc.o elf32.o $elf" ;;
|
||||||
|
@ -433,7 +434,7 @@ do
|
||||||
bfd_elf64_sparc_vec) tb="$tb elf64-sparc.o elf64.o $elf"
|
bfd_elf64_sparc_vec) tb="$tb elf64-sparc.o elf64.o $elf"
|
||||||
target64=true ;;
|
target64=true ;;
|
||||||
cisco_core_vec) tb="$tb cisco-core.o" ;;
|
cisco_core_vec) tb="$tb cisco-core.o" ;;
|
||||||
demo_64_vec) tb="$tb demo64.o aout64.o stab-syms.o"
|
demo_64_vec) tb="$tb demo64.o aout64.o"
|
||||||
target64=true ;;
|
target64=true ;;
|
||||||
ecoff_big_vec) tb="$tb coff-mips.o ecoff.o ecofflink.o" ;;
|
ecoff_big_vec) tb="$tb coff-mips.o ecoff.o ecofflink.o" ;;
|
||||||
ecoff_little_vec) tb="$tb coff-mips.o ecoff.o ecofflink.o" ;;
|
ecoff_little_vec) tb="$tb coff-mips.o ecoff.o ecofflink.o" ;;
|
||||||
|
@ -441,45 +442,45 @@ do
|
||||||
target64=true ;;
|
target64=true ;;
|
||||||
h8300coff_vec) tb="$tb coff-h8300.o reloc16.o" ;;
|
h8300coff_vec) tb="$tb coff-h8300.o reloc16.o" ;;
|
||||||
h8500coff_vec) tb="$tb coff-h8500.o reloc16.o" ;;
|
h8500coff_vec) tb="$tb coff-h8500.o reloc16.o" ;;
|
||||||
host_aout_vec) tb="$tb host-aout.o aout32.o stab-syms.o" ;;
|
host_aout_vec) tb="$tb host-aout.o aout32.o" ;;
|
||||||
hp300bsd_vec) tb="$tb hp300bsd.o aout32.o stab-syms.o" ;;
|
hp300bsd_vec) tb="$tb hp300bsd.o aout32.o" ;;
|
||||||
hp300hpux_vec) tb="$tb hp300hpux.o aout32.o stab-syms.o" ;;
|
hp300hpux_vec) tb="$tb hp300hpux.o aout32.o" ;;
|
||||||
i386aout_vec) tb="$tb i386aout.o aout32.o stab-syms.o" ;;
|
i386aout_vec) tb="$tb i386aout.o aout32.o" ;;
|
||||||
i386bsd_vec) tb="$tb i386bsd.o aout32.o stab-syms.o" ;;
|
i386bsd_vec) tb="$tb i386bsd.o aout32.o" ;;
|
||||||
i386coff_vec) tb="$tb coff-i386.o cofflink.o" ;;
|
i386coff_vec) tb="$tb coff-i386.o cofflink.o" ;;
|
||||||
i386dynix_vec) tb="$tb i386dynix.o aout32.o stab-syms.o" ;;
|
i386dynix_vec) tb="$tb i386dynix.o aout32.o" ;;
|
||||||
i386freebsd_vec) tb="$tb i386freebsd.o aout32.o stab-syms.o" ;;
|
i386freebsd_vec) tb="$tb i386freebsd.o aout32.o" ;;
|
||||||
i386msdos_vec) tb="$tb i386msdos.o" ;;
|
i386msdos_vec) tb="$tb i386msdos.o" ;;
|
||||||
i386pe_vec) tb="$tb pe-i386.o cofflink.o " ;;
|
i386pe_vec) tb="$tb pe-i386.o cofflink.o " ;;
|
||||||
i386pei_vec) tb="$tb pei-i386.o cofflink.o" ;;
|
i386pei_vec) tb="$tb pei-i386.o cofflink.o" ;;
|
||||||
i386linux_vec) tb="$tb i386linux.o aout32.o stab-syms.o" ;;
|
i386linux_vec) tb="$tb i386linux.o aout32.o" ;;
|
||||||
i386lynx_aout_vec) tb="$tb i386lynx.o lynx-core.o aout32.o stab-syms.o" ;;
|
i386lynx_aout_vec) tb="$tb i386lynx.o lynx-core.o aout32.o" ;;
|
||||||
i386lynx_coff_vec) tb="$tb cf-i386lynx.o cofflink.o lynx-core.o stab-syms.o" ;;
|
i386lynx_coff_vec) tb="$tb cf-i386lynx.o cofflink.o lynx-core.o" ;;
|
||||||
i386mach3_vec) tb="$tb i386mach3.o aout32.o stab-syms.o" ;;
|
i386mach3_vec) tb="$tb i386mach3.o aout32.o" ;;
|
||||||
i386netbsd_vec) tb="$tb i386netbsd.o aout32.o stab-syms.o" ;;
|
i386netbsd_vec) tb="$tb i386netbsd.o aout32.o" ;;
|
||||||
i386os9k_vec) tb="$tb i386os9k.o aout32.o stab-syms.o" ;;
|
i386os9k_vec) tb="$tb i386os9k.o aout32.o" ;;
|
||||||
i860coff_vec) tb="$tb coff-i860.o cofflink.o" ;;
|
i860coff_vec) tb="$tb coff-i860.o cofflink.o" ;;
|
||||||
icoff_big_vec) tb="$tb coff-i960.o cofflink.o" ;;
|
icoff_big_vec) tb="$tb coff-i960.o cofflink.o" ;;
|
||||||
icoff_little_vec) tb="$tb coff-i960.o cofflink.o" ;;
|
icoff_little_vec) tb="$tb coff-i960.o cofflink.o" ;;
|
||||||
ieee_vec) tb="$tb ieee.o" ;;
|
ieee_vec) tb="$tb ieee.o" ;;
|
||||||
m68kcoff_vec) tb="$tb coff-m68k.o cofflink.o" ;;
|
m68kcoff_vec) tb="$tb coff-m68k.o cofflink.o" ;;
|
||||||
m68kcoffun_vec) tb="$tb coff-u68k.o coff-m68k.o cofflink.o" ;;
|
m68kcoffun_vec) tb="$tb coff-u68k.o coff-m68k.o cofflink.o" ;;
|
||||||
m68klinux_vec) tb="$tb m68klinux.o aout32.o stab-syms.o" ;;
|
m68klinux_vec) tb="$tb m68klinux.o aout32.o" ;;
|
||||||
m68klynx_aout_vec) tb="$tb m68klynx.o lynx-core.o aout32.o stab-syms.o" ;;
|
m68klynx_aout_vec) tb="$tb m68klynx.o lynx-core.o aout32.o" ;;
|
||||||
m68klynx_coff_vec) tb="$tb cf-m68klynx.o coff-m68k.o cofflink.o lynx-core.o stab-syms.o" ;;
|
m68klynx_coff_vec) tb="$tb cf-m68klynx.o coff-m68k.o cofflink.o lynx-core.o" ;;
|
||||||
m68knetbsd_vec) tb="$tb m68knetbsd.o aout32.o stab-syms.o" ;;
|
m68knetbsd_vec) tb="$tb m68knetbsd.o aout32.o" ;;
|
||||||
m68k4knetbsd_vec) tb="$tb m68k4knetbsd.o aout32.o stab-syms.o" ;;
|
m68k4knetbsd_vec) tb="$tb m68k4knetbsd.o aout32.o" ;;
|
||||||
m68kaux_coff_vec) tb="$tb coff-aux.o coff-m68k.o cofflink.o" ;;
|
m68kaux_coff_vec) tb="$tb coff-aux.o coff-m68k.o cofflink.o" ;;
|
||||||
m88kbcs_vec) tb="$tb coff-m88k.o" ;;
|
m88kbcs_vec) tb="$tb coff-m88k.o" ;;
|
||||||
newsos3_vec) tb="$tb newsos3.o aout32.o stab-syms.o" ;;
|
newsos3_vec) tb="$tb newsos3.o aout32.o" ;;
|
||||||
nlm32_i386_vec) tb="$tb nlm32-i386.o nlm32.o nlm.o" ;;
|
nlm32_i386_vec) tb="$tb nlm32-i386.o nlm32.o nlm.o" ;;
|
||||||
nlm32_sparc_vec) tb="$tb nlm32-sparc.o nlm32.o nlm.o" ;;
|
nlm32_sparc_vec) tb="$tb nlm32-sparc.o nlm32.o nlm.o" ;;
|
||||||
nlm32_alpha_vec) tb="$tb nlm32-alpha.o nlm32.o nlm.o"
|
nlm32_alpha_vec) tb="$tb nlm32-alpha.o nlm32.o nlm.o"
|
||||||
target64=true ;;
|
target64=true ;;
|
||||||
riscix_vec) tb="$tb aout32.o riscix.o stab-syms.o" ;;
|
riscix_vec) tb="$tb aout32.o riscix.o" ;;
|
||||||
nlm32_powerpc_vec) tb="$tb nlm32-ppc.o nlm32.o nlm.o" ;;
|
nlm32_powerpc_vec) tb="$tb nlm32-ppc.o nlm32.o nlm.o" ;;
|
||||||
pc532netbsd_vec) tb="$tb ns32knetbsd.o aout-ns32k.o stab-syms.o" ;;
|
pc532netbsd_vec) tb="$tb ns32knetbsd.o aout-ns32k.o" ;;
|
||||||
pc532machaout_vec) tb="$tb pc532-mach.o aout-ns32k.o stab-syms.o" ;;
|
pc532machaout_vec) tb="$tb pc532-mach.o aout-ns32k.o" ;;
|
||||||
pmac_xcoff_vec) tb="$tb coff-pmac.o xcofflink.o" ;;
|
pmac_xcoff_vec) tb="$tb coff-pmac.o xcofflink.o" ;;
|
||||||
rs6000coff_vec) tb="$tb coff-rs6000.o xcofflink.o" ;;
|
rs6000coff_vec) tb="$tb coff-rs6000.o xcofflink.o" ;;
|
||||||
bfd_powerpc_pe_vec) tb="$tb pe-ppc.o cofflink.o" ;;
|
bfd_powerpc_pe_vec) tb="$tb pe-ppc.o cofflink.o" ;;
|
||||||
|
@ -488,16 +489,16 @@ do
|
||||||
bfd_powerpcle_pei_vec) tb="$tb pei-ppc.o cofflink.o" ;;
|
bfd_powerpcle_pei_vec) tb="$tb pei-ppc.o cofflink.o" ;;
|
||||||
shcoff_vec) tb="$tb coff-sh.o cofflink.o" ;;
|
shcoff_vec) tb="$tb coff-sh.o cofflink.o" ;;
|
||||||
# start-sanitize-rce
|
# start-sanitize-rce
|
||||||
rce_aout_vec) tb="$tb aout-rce.o aout32.o stab-syms.o" ;;
|
rce_aout_vec) tb="$tb aout-rce.o aout32.o" ;;
|
||||||
# end-sanitize-rce
|
# end-sanitize-rce
|
||||||
shlcoff_vec) tb="$tb coff-sh.o cofflink.o" ;;
|
shlcoff_vec) tb="$tb coff-sh.o cofflink.o" ;;
|
||||||
som_vec) tb="$tb som.o" ;;
|
som_vec) tb="$tb som.o" ;;
|
||||||
sparclynx_aout_vec) tb="$tb sparclynx.o lynx-core.o aout32.o stab-syms.o" ;;
|
sparclynx_aout_vec) tb="$tb sparclynx.o lynx-core.o aout32.o" ;;
|
||||||
sparclynx_coff_vec) tb="$tb cf-sparclynx.o lynx-core.o stab-syms.o" ;;
|
sparclynx_coff_vec) tb="$tb cf-sparclynx.o lynx-core.o" ;;
|
||||||
sparcnetbsd_vec) tb="$tb sparcnetbsd.o aout32.o stab-syms.o" ;;
|
sparcnetbsd_vec) tb="$tb sparcnetbsd.o aout32.o" ;;
|
||||||
sparccoff_vec) tb="$tb coff-sparc.o" ;;
|
sparccoff_vec) tb="$tb coff-sparc.o" ;;
|
||||||
srec_vec) tb="$tb srec.o" ;;
|
srec_vec) tb="$tb srec.o" ;;
|
||||||
sunos_big_vec) tb="$tb sunos.o aout32.o stab-syms.o" ;;
|
sunos_big_vec) tb="$tb sunos.o aout32.o" ;;
|
||||||
symbolsrec_vec) tb="$tb srec.o" ;;
|
symbolsrec_vec) tb="$tb srec.o" ;;
|
||||||
tekhex_vec) tb="$tb tekhex.o" ;;
|
tekhex_vec) tb="$tb tekhex.o" ;;
|
||||||
we32kcoff_vec) tb="$tb coff-we32k.o" ;;
|
we32kcoff_vec) tb="$tb coff-we32k.o" ;;
|
||||||
|
|
Loading…
Reference in New Issue