#!/bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 1.112
+# Generated automatically using autoconf version 1.117
# Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
#
# This configure script is free software; you can redistribute it and/or
ac_help=
ac_help="${ac_help}
bfd-assembler use BFD back end for writing object files"
-# Save the original args to write them into config.status later.
-configure_args="$@"
# Omit some internal or obsolete options to make the list less imposing.
ac_usage="Usage: configure [options] [host]
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
- echo "configure generated by autoconf version 1.112"
+ echo "configure generated by autoconf version 1.117"
exit 0 ;;
-with-* | --with-*)
running configure, to aid debugging if configure makes a mistake.
" 1>&5
-ac_configure_temp="$configure_args"
# Strip out --no-create and --no-recursion so they do not pile up.
-# Also quote any args containing spaces.
-configure_args=
-for ac_arg in $ac_configure_temp; do
+# Also quote any args containing shell metacharacters.
+ac_configure_args=
+for ac_arg
+do
case "$ac_arg" in
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
| --no-cr | --no-c) ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
- *[" "]*) configure_args="$configure_args '$ac_arg'" ;;
- *) configure_args="$configure_args $ac_arg" ;;
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
+ ac_configure_args="$ac_configure_args '$ac_arg'" ;;
+ *) ac_configure_args="$ac_configure_args $ac_arg" ;;
esac
done
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='${CPP} $CPPFLAGS'
-ac_compile='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS 1>&5 2>&5'
+ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS 1>&5 2>&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.
ac_aux_dir=
for ac_dir in `cd $srcdir;pwd`/.. ${srcdir}/`cd $srcdir;pwd`/..; do
- if test -f $ac_dir/install.sh; then
- ac_aux_dir=$ac_dir; break
+ if test -f $ac_dir/install-sh; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="${ac_aux_dir}/install-sh -c"
+ break
+ elif test -f $ac_dir/install.sh; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="${ac_aux_dir}/install.sh -c"
+ break
fi
done
if test -z "$ac_aux_dir"; then
- { echo "configure: can not find install.sh in `cd $srcdir;pwd`/.. ${srcdir}/`cd $srcdir;pwd`/.." 1>&2; exit 1; }
+ { echo "configure: can not find install-sh or install.sh in `cd $srcdir;pwd`/.. ${srcdir}/`cd $srcdir;pwd`/.." 1>&2; exit 1; }
fi
ac_config_guess=${ac_aux_dir}/config.guess
ac_config_sub=${ac_aux_dir}/config.sub
ac_configure=${ac_aux_dir}/configure # This should be Cygnus configure.
-ac_install_sh="${ac_aux_dir}/install.sh -c"
# Do some error checking and defaulting for the host and target type.
*) { echo "configure: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
esac
+
# Make sure we can run config.sub.
if ${ac_config_sub} sun4 >/dev/null 2>&1; then :
else { echo "configure: can not run ${ac_config_sub}" 1>&2; exit 1; }
if test -n "${program_transform_name}"; then
# Double any \ or $.
echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
- program_transform_name="-e `echo ${program_transform_name} | sed -f conftestsed`"
+ program_transform_name="`echo ${program_transform_name}|sed -f conftestsed`"
rm -f conftestsed
fi
test "${program_prefix}" != NONE &&
- program_transform_name="-e s,^,${program_prefix}, ${program_transform_name}"
+ program_transform_name="s,^,${program_prefix},; ${program_transform_name}"
# Use a double $ so make ignores it.
test "${program_suffix}" != NONE &&
- program_transform_name="-e s,\$\$,${program_suffix}, ${program_transform_name}"
+ program_transform_name="s,\$\$,${program_suffix},; ${program_transform_name}"
# sed with no file args requires a program.
-test "${program_transform_name}" = "" && program_transform_name="-e s,x,x,"
+test "${program_transform_name}" = "" && program_transform_name="s,x,x,"
emulation=generic
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.${ac_ext} <<EOF
-#line 905 "configure"
+#line 910 "configure"
#include "confdefs.h"
#include <stdio.h>
Syntax Error
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.${ac_ext} <<EOF
-#line 919 "configure"
+#line 924 "configure"
#include "confdefs.h"
#include <stdio.h>
Syntax Error
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 950 "configure"
+#line 955 "configure"
#include "confdefs.h"
#include <${ac_hdr}>
EOF
ac_cv_cross=yes
else
cat > conftest.${ac_ext} <<EOF
-#line 1002 "configure"
+#line 1007 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
-eval $ac_compile
+eval $ac_link
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_cross=no
else
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 1025 "configure"
+#line 1030 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() { return 0; }
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
-if eval $ac_compile; then
+if eval $ac_link; then
rm -rf conftest*
ac_cv_header_alloca_h=yes
else
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 1056 "configure"
+#line 1061 "configure"
#include "confdefs.h"
#ifdef __GNUC__
char *p = (char *) alloca(1);
; return 0; }
EOF
-if eval $ac_compile; then
+if eval $ac_link; then
rm -rf conftest*
ac_cv_func_alloca=yes
else
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 1114 "configure"
+#line 1119 "configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 1141 "configure"
+#line 1146 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
; return 0; }
EOF
-if eval $ac_compile; then
+if eval $ac_link; then
rm -rf conftest*
eval "ac_cv_func__getb67=yes"
else
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 1182 "configure"
+#line 1187 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
; return 0; }
EOF
-if eval $ac_compile; then
+if eval $ac_link; then
rm -rf conftest*
eval "ac_cv_func_GETB67=yes"
else
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 1223 "configure"
+#line 1228 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
; return 0; }
EOF
-if eval $ac_compile; then
+if eval $ac_link; then
rm -rf conftest*
eval "ac_cv_func_getb67=yes"
else
ac_cv_c_stack_direction=0
else
cat > conftest.${ac_ext} <<EOF
-#line 1275 "configure"
+#line 1280 "configure"
#include "confdefs.h"
find_stack_direction ()
{
exit (find_stack_direction() < 0);
}
EOF
-eval $ac_compile
+eval $ac_link
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_stack_direction=1
else
else
if test "$GCC" = yes; then
cat > conftest.${ac_ext} <<EOF
-#line 1316 "configure"
+#line 1321 "configure"
#include "confdefs.h"
int main() { return 0; }
} inline foo() {
; return 0; }
EOF
-if eval $ac_compile; then
+if eval $ac_link; then
rm -rf conftest*
ac_cv_c_inline=yes
else
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 1354 "configure"
+#line 1359 "configure"
#include "confdefs.h"
#include <assert.h>
#include <stdio.h>
; return 0; }
EOF
-if eval $ac_compile; then
+if eval $ac_link; then
rm -rf conftest*
gas_cv_assert_ok=yes
else
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 1411 "configure"
+#line 1416 "configure"
#include "confdefs.h"
$gas_test_headers
int main() { return 0; }
; return 0; }
EOF
-if eval $ac_compile; then
+if eval $ac_link; then
rm -rf conftest*
gas_cv_decl_needed_malloc=no
else
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 1447 "configure"
+#line 1452 "configure"
#include "confdefs.h"
$gas_test_headers
int main() { return 0; }
; return 0; }
EOF
-if eval $ac_compile; then
+if eval $ac_link; then
rm -rf conftest*
gas_cv_decl_needed_free=no
else
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.${ac_ext} <<EOF
-#line 1486 "configure"
+#line 1491 "configure"
#include "confdefs.h"
#ifdef HAVE_ERRNO_H
; return 0; }
EOF
-if eval $ac_compile; then
+if eval $ac_link; then
rm -rf conftest*
gas_cv_decl_needed_errno=no
else
subdirs="testsuite"
+if test `cd $srcdir;pwd` = `pwd` ; then
+ rm -f .gdbinit
+ cat > .gdbinit << EOF
+dir $srcdir
+dir .
+source $srcdir/.gdbinit
+EOF
+fi
+
+
if test -w $cache_file; then
echo "updating cache $cache_file"
cat > $cache_file <<\EOF
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
+#
EOF
# Ultrix sh set writes to stderr and can't be redirected directly.
-(set) 2>&1 | sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1-'\2'}/p" >> $cache_file
+(set) 2>&1 |
+ sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
+ >> $cache_file
else
echo "not updating unwritable cache $cache_file"
fi
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
-# $0 $configure_args
+# $0 $ac_configure_args
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
do
case "\$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create --no-recursion
- exec \${CONFIG_SHELL-/bin/sh} $0 $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 ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- echo "${CONFIG_STATUS} generated by autoconf version 1.112"
+ echo "${CONFIG_STATUS} generated by autoconf version 1.117"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
# Remove --cache-file and --srcdir arguments so they do not pile up.
ac_sub_configure_args=
ac_prev=
- for ac_arg in $configure_args; do
+ for ac_arg in $ac_configure_args; do
if test -n "$ac_prev"; then
ac_prev=
continue
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
- *[" "]*) ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
esac
done
esac
echo "running ${CONFIG_SHELL-/bin/sh} ${ac_sub_configure} ${ac_sub_configure_args} --cache-file=$ac_sub_cache_file --srcdir=${ac_sub_srcdir}"
- if ${CONFIG_SHELL-/bin/sh} ${ac_sub_configure} ${ac_sub_configure_args} --cache-file=$ac_sub_cache_file --srcdir=${ac_sub_srcdir}
+ # The eval makes quoting arguments work.
+ if eval ${CONFIG_SHELL-/bin/sh} ${ac_sub_configure} ${ac_sub_configure_args} --cache-file=$ac_sub_cache_file --srcdir=${ac_sub_srcdir}
then :
else
{ echo "configure: ${ac_sub_configure} failed for ${ac_config_dir}" 1>&2; exit 1; }