diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-10-13 00:33:21 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-10-13 00:33:21 +0000 |
commit | ba49e48d26b99bc88634a7c5ceba55179974fdc8 (patch) | |
tree | cf63902978088cd5d1655e7c3249b964dc3f2e9e /gas | |
parent | 4992dbc960696edaa4a6719a5e7adeffbe7d2161 (diff) | |
download | gdb-ba49e48d26b99bc88634a7c5ceba55179974fdc8.zip gdb-ba49e48d26b99bc88634a7c5ceba55179974fdc8.tar.gz gdb-ba49e48d26b99bc88634a7c5ceba55179974fdc8.tar.bz2 |
Renamed config/te-netbsd532.h to te-nbsd532.h.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/te-nbsd532.h (renamed from gas/config/te-netbsd532.h) | 0 | ||||
-rwxr-xr-x | gas/configure | 134 |
3 files changed, 80 insertions, 59 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index c6d725f..857215c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 12 20:30:51 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * config/te-nbsd532.h: Renamed from te-netbsd532.h. + * configure.in, configure: Adjusted. + Wed Oct 12 16:33:38 1994 J.T. Conklin (jtc@phishhead.cygnus.com) * config/cplus-dem.c: Removed. It isn't used. Even if it was, diff --git a/gas/config/te-netbsd532.h b/gas/config/te-nbsd532.h index 1653f7f..1653f7f 100644 --- a/gas/config/te-netbsd532.h +++ b/gas/config/te-nbsd532.h diff --git a/gas/configure b/gas/configure index 9cc5af3..0377a84 100755 --- a/gas/configure +++ b/gas/configure @@ -1,7 +1,7 @@ #!/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 @@ -15,8 +15,11 @@ # 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 @@ -37,6 +40,7 @@ Directory and file names: --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] @@ -63,7 +67,7 @@ no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE -program_transform_name=NONE +program_transform_name=s,x,x, silent= srcdir= target=NONE @@ -110,7 +114,7 @@ do 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" ;; @@ -119,7 +123,7 @@ do 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 @@ -218,14 +222,14 @@ EOF 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 @@ -238,7 +242,7 @@ EOF 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" ;; @@ -261,7 +265,7 @@ EOF | --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; } ;; *) @@ -269,7 +273,7 @@ EOF 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" ;; @@ -278,7 +282,7 @@ EOF 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 @@ -350,9 +354,9 @@ else 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 @@ -408,7 +412,7 @@ if test -n "$enableval"; then 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 @@ -428,7 +432,7 @@ for ac_dir in `cd $srcdir;pwd`/.. $srcdir/`cd $srcdir;pwd`/..; do 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 @@ -453,13 +457,13 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. # 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 @@ -470,7 +474,7 @@ NONE) 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 ;; @@ -515,10 +519,11 @@ echo "$ac_t""$build" 1>&4 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`" @@ -659,14 +664,14 @@ case ${generic_target} in 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 ;; @@ -702,16 +707,16 @@ case ${target_cpu} in 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 @@ -722,6 +727,7 @@ target_frag=${srcdir}/config/${gas_target}.mt 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 ;; @@ -741,6 +747,9 @@ case ${user_bfd_gas}-${bfd_gas} in *-preferred) bfd_gas=yes ;; + yes-*) + bfd_gas=yes + ;; -*) # User specified nothing. ;; @@ -759,7 +768,7 @@ reject_dev_configs=yes 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 @@ -904,7 +913,7 @@ else # 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 @@ -918,7 +927,7 @@ else 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 @@ -949,7 +958,7 @@ if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then 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 @@ -982,13 +991,13 @@ done # 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 @@ -1001,7 +1010,7 @@ else ac_cv_cross=yes else cat > conftest.$ac_ext <<EOF -#line 1005 "configure" +#line 1014 "configure" #include "confdefs.h" main(){return(0);} EOF @@ -1024,7 +1033,7 @@ if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then 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; } @@ -1055,7 +1064,7 @@ if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then 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__ @@ -1113,7 +1122,7 @@ if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then 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 @@ -1140,7 +1149,7 @@ if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then 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; } @@ -1181,7 +1190,7 @@ if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then 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; } @@ -1222,7 +1231,7 @@ if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then 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; } @@ -1274,7 +1283,7 @@ else ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext <<EOF -#line 1278 "configure" +#line 1287 "configure" #include "confdefs.h" find_stack_direction () { @@ -1315,7 +1324,7 @@ if eval "test \"`echo '${'ac_cv_c_inline'+set}'`\" = set"; then else if test "$GCC" = yes; then cat > conftest.$ac_ext <<EOF -#line 1319 "configure" +#line 1328 "configure" #include "confdefs.h" int main() { return 0; } @@ -1345,15 +1354,15 @@ EOF 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; } @@ -1402,7 +1411,7 @@ if eval "test \"`echo '${'gas_cv_assert_ok'+set}'`\" = set"; then 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> @@ -1459,7 +1468,7 @@ if eval "test \"`echo '${'gas_cv_decl_needed_malloc'+set}'`\" = set"; then 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; } @@ -1495,7 +1504,7 @@ if eval "test \"`echo '${'gas_cv_decl_needed_free'+set}'`\" = set"; then 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; } @@ -1534,7 +1543,7 @@ if eval "test \"`echo '${'gas_cv_decl_needed_errno'+set}'`\" = set"; then 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 @@ -1572,6 +1581,7 @@ EOF subdirs="testsuite" +trap '' 1 2 15 if test -w $cache_file; then echo "updating cache $cache_file" cat > $cache_file <<\EOF @@ -1598,6 +1608,7 @@ else 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. @@ -1639,7 +1650,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 1.118" + echo "$CONFIG_STATUS generated by autoconf version 1.120" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; @@ -1665,6 +1676,7 @@ s%@LDFLAGS@%$LDFLAGS%g 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 @@ -1680,7 +1692,6 @@ s%@build_alias@%$build_alias%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 @@ -1739,7 +1750,12 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 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 @@ -1862,7 +1878,7 @@ while test -n "$ac_sources"; do 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 @@ -1888,7 +1904,7 @@ while test -n "$ac_sources"; do 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 @@ -1939,7 +1955,7 @@ if test "$no_recursion" != yes; then *) 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 @@ -1983,7 +1999,7 @@ if test "$no_recursion" != yes; then 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 |