#!/bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 1.118
+# Generated automatically using autoconf version 1.120
# Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
#
# This configure script is free software; you can redistribute it and/or
# Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
+# along with this script; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# The redistribution and modification terms for this script do not affect
+# the terms for software that it configures.
ac_help=
ac_help="$ac_help
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
prefix=NONE
program_prefix=NONE
program_suffix=NONE
-program_transform_name=NONE
+program_transform_name=s,x,x,
silent=
srcdir=
target=NONE
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
# Reject names that are not valid shell variable names.
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
- { echo "configure: $ac_feature: invalid feature name" 1>&2; exit 1; }
+ { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
fi
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
eval "enable_${ac_feature}=no" ;;
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
# Reject names that are not valid shell variable names.
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
- { echo "configure: $ac_feature: invalid feature name" 1>&2; exit 1; }
+ { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
fi
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
case "$ac_option" in
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
- echo "configure generated by autoconf version 1.118"
+ echo "configure generated by autoconf version 1.120"
exit 0 ;;
-with-* | --with-*)
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
# Reject names that are not valid shell variable names.
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
- { echo "configure: $ac_package: invalid package name" 1>&2; exit 1; }
+ { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
fi
ac_package=`echo $ac_package| sed 's/-/_/g'`
case "$ac_option" in
ac_package=`echo $ac_option|sed -e 's/-*without-//'`
# Reject names that are not valid shell variable names.
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
- { echo "configure: $ac_package: invalid package name" 1>&2; exit 1; }
+ { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
fi
ac_package=`echo $ac_package| sed 's/-/_/g'`
eval "with_${ac_package}=no" ;;
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
x_libraries="$ac_optarg" ;;
- -*) { echo "configure: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
+ -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
;;
*)
echo "configure: warning: $ac_option: invalid host type" 1>&2
fi
if test "x$nonopt" != xNONE; then
- { echo "configure: can only configure for one host and one target at a time" 1>&2; exit 1; }
+ { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
fi
nonopt="$ac_option"
;;
done
if test -n "$ac_prev"; then
- { echo "configure: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
+ { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
fi
trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
fi
if test ! -r $srcdir/$ac_unique_file; then
if test "$ac_srcdir_defaulted" = yes; then
- { echo "configure: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
+ { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
else
- { echo "configure: can not find sources in $srcdir" 1>&2; exit 1; }
+ { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
fi
fi
case "${enableval}" in
yes) need_bfd=yes user_bfd_gas=yes ;;
no) user_bfd_gas=no ;;
- *) { echo "configure: bad value ${enableval} given for bfd-assembler option" 1>&2; exit 1; } ;;
+ *) { echo "configure: error: bad value ${enableval} given for bfd-assembler option" 1>&2; exit 1; } ;;
esac
fi
fi
done
if test -z "$ac_aux_dir"; then
- { echo "configure: can not find install-sh or install.sh in `cd $srcdir;pwd`/.. $srcdir/`cd $srcdir;pwd`/.." 1>&2; exit 1; }
+ { echo "configure: error: 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
# will get canonicalized.
case $host---$target---$nonopt in
NONE---*---* | *---NONE---* | *---*---NONE) ;;
-*) { echo "configure: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
+*) { echo "configure: error: 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; }
+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>&4
case $nonopt in
NONE)
if host_alias=`$ac_config_guess`; then :
- else { echo "configure: can not guess host type; you must specify one" 1>&2; exit 1; }
+ else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
fi ;;
*) host_alias=$nonopt ;;
esac ;;
test "$host_alias" != "$target_alias" &&
test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONENONE && program_prefix=${target_alias}-
+ NONENONEs,x,x, && program_prefix=${target_alias}-
-test "$program_transform_name" = NONE && program_transform_name=
-if test -n "$program_transform_name"; then
+if test "$program_transform_name" = s,x,x,; then
+ program_transform_name=
+else
# Double any \ or $.
echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
sh-*-coff) obj_format=coff ;;
ns32k-pc532-mach*) obj_format=aout emulation=pc532 bfd_gas=yes ;;
- ns32k-pc532-netbsd*) obj_format=aout emulation=netbsd532 bfd_gas=yes ;;
+ ns32k-pc532-netbsd*) obj_format=aout emulation=nbsd532 bfd_gas=yes ;;
- sparc*-*-sunos4*) obj_format=aout emulation=sun3 bfd_gas=yes ;;
+ sparc*-*-sunos4*) obj_format=aout emulation=sun3 ;;
sparc*-*-aout | sparc*-*-vxworks)
- obj_format=aout bfd_gas=yes ;;
- sparc*-*-coff) obj_format=coff bfd_gas=yes ;;
- sparc*-*-lynxos*) obj_format=coff bfd_gas=yes emulation=lynx ;;
- sparc*-fujitsu-none) obj_format=aout bfd_gas=yes ;;
+ obj_format=aout ;;
+ sparc*-*-coff) obj_format=coff ;;
+ sparc*-*-lynxos*) obj_format=coff emulation=lynx ;;
+ sparc*-fujitsu-none) obj_format=aout ;;
sparc*-*-elf | sparc*-*-solaris*)
obj_format=elf ;;
esac
case "${obj_format}" in
- "") { echo "configure: GAS does not know what format to use for target ${target}" 1>&2; exit 1; } ;;
+ "") { echo "configure: error: GAS does not know what format to use for target ${target}" 1>&2; exit 1; } ;;
esac
if test ! -r ${srcdir}/config/tc-${cpu_type}.c; then
- { echo "configure: GAS does not support target CPU ${cpu_type}" 1>&2; exit 1; }
+ { echo "configure: error: GAS does not support target CPU ${cpu_type}" 1>&2; exit 1; }
fi
if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
- { echo "configure: GAS does not have support for object file format ${obj_format}" 1>&2; exit 1; }
+ { echo "configure: error: GAS does not have support for object file format ${obj_format}" 1>&2; exit 1; }
fi
# and target makefile frag
case ${cpu_type}-${obj_format} in
# not yet
# i386-aout) bfd_gas=preferred ;;
+ sparc*-*) bfd_gas=yes ;;
*-elf) bfd_gas=yes ;;
*-ecoff) bfd_gas=yes ;;
*-som) bfd_gas=yes ;;
*-preferred)
bfd_gas=yes
;;
+ yes-*)
+ bfd_gas=yes
+ ;;
-*)
# User specified nothing.
;;
case ${reject_dev_configs}-${dev} in
yes-yes) # Oops.
- { echo "configure: GAS does not support the ${generic_target} configuration." 1>&2; exit 1; }
+ { echo "configure: error: GAS does not support the ${generic_target} configuration." 1>&2; exit 1; }
;;
esac
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 908 "configure"
+#line 917 "configure"
#include "confdefs.h"
#include <stdio.h>
Syntax Error
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 922 "configure"
+#line 931 "configure"
#include "confdefs.h"
#include <stdio.h>
Syntax Error
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 953 "configure"
+#line 962 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
# people who are not cross-compiling but are compiling cross-assemblers.
echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&4
if test "${host}" = "${target}"; then
+ cross_gas=no
+else
cross_gas=yes
cat >> confdefs.h <<\EOF
#define CROSS_COMPILE 1
EOF
-else
- cross_gas=no
fi
echo "$ac_t""$cross_gas" 1>&4
ac_cv_cross=yes
else
cat > conftest.$ac_ext <<EOF
-#line 1005 "configure"
+#line 1014 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1028 "configure"
+#line 1037 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1059 "configure"
+#line 1068 "configure"
#include "confdefs.h"
#ifdef __GNUC__
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1117 "configure"
+#line 1126 "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 1144 "configure"
+#line 1153 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1185 "configure"
+#line 1194 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1226 "configure"
+#line 1235 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
ac_cv_c_stack_direction=0
else
cat > conftest.$ac_ext <<EOF
-#line 1278 "configure"
+#line 1287 "configure"
#include "confdefs.h"
find_stack_direction ()
{
else
if test "$GCC" = yes; then
cat > conftest.$ac_ext <<EOF
-#line 1319 "configure"
+#line 1328 "configure"
#include "confdefs.h"
int main() { return 0; }
fi
-# VMS needs this.
-for ac_func in unlink delete
+# VMS doesn't have unlink.
+for ac_func in unlink remove
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1357 "configure"
+#line 1366 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1406 "configure"
+#line 1415 "configure"
#include "confdefs.h"
#include <assert.h>
#include <stdio.h>
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1463 "configure"
+#line 1472 "configure"
#include "confdefs.h"
$gas_test_headers
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1499 "configure"
+#line 1508 "configure"
#include "confdefs.h"
$gas_test_headers
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1538 "configure"
+#line 1547 "configure"
#include "confdefs.h"
#ifdef HAVE_ERRNO_H
subdirs="testsuite"
+trap '' 1 2 15
if test -w $cache_file; then
echo "updating cache $cache_file"
cat > $cache_file <<\EOF
echo "not updating unwritable cache $cache_file"
fi
+trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
test "x$prefix" = xNONE && prefix=/usr/local
# Let make expand exec_prefix.
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.118"
+ echo "$CONFIG_STATUS generated by autoconf version 1.120"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
s%@LIBS@%$LIBS%g
s%@exec_prefix@%$exec_prefix%g
s%@prefix@%$prefix%g
+s%@program_transform_name@%$program_transform_name%g
s%@host@%$host%g
s%@host_alias@%$host_alias%g
s%@host_cpu@%$host_cpu%g
s%@build_cpu@%$build_cpu%g
s%@build_vendor@%$build_vendor%g
s%@build_os@%$build_os%g
-s%@program_transform_name@%$program_transform_name%g
s%@OPCODES_LIB@%$OPCODES_LIB%g
/@target_frag@/r $target_frag
s%@target_frag@%%g
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
- sed -e "
+ case "$ac_file" in
+ *Makefile*) ac_comsub="1i\\
+# $configure_input" ;;
+ *) ac_comsub= ;;
+ esac
+ sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
echo "linking $srcdir/$ac_source to $ac_dest"
if test ! -r $srcdir/$ac_source; then
- { echo "configure: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
+ { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
fi
rm -f $ac_dest
if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
ln $srcdir/$ac_source $ac_dest; then :
else
- { echo "configure: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
+ { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
fi
done
*)
if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
else
- { echo "configure: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
+ { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
fi
;;
esac
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; }
+ { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
fi
fi