diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-04-16 14:41:45 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-04-16 14:41:45 +0000 |
commit | 159e6ef88fe32c13a6a9d7485efa83ab6e47be9a (patch) | |
tree | 4a39fd7d44984a2571d20d806c770b51ea888961 /gas/configure.in | |
parent | 15b03b57830544a8eb22813325f738c9f55f2642 (diff) | |
download | gdb-159e6ef88fe32c13a6a9d7485efa83ab6e47be9a.zip gdb-159e6ef88fe32c13a6a9d7485efa83ab6e47be9a.tar.gz gdb-159e6ef88fe32c13a6a9d7485efa83ab6e47be9a.tar.bz2 |
Add -m{,no-}regnames support; Add Solaris/linux support
Diffstat (limited to 'gas/configure.in')
-rw-r--r-- | gas/configure.in | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/gas/configure.in b/gas/configure.in index 3275b8e..17893fe 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -26,9 +26,13 @@ esac])dnl AC_ARG_ENABLE(shared, [ --enable-shared build shared BFD library], [case "${enableval}" in - yes) shared=true ;; + yes) shared=true shared_bfd=true shared_opcodes=true ;; no) shared=false ;; - *) AC_MSG_ERROR([bad value ${enableval} for BFD shared option]) ;; + *bfd*opcodes*) shared=true shared_bfd=true shared_opcodes=true ;; + *opcodes*bfd*) shared=true shared_bfd=true shared_opcodes=true ;; + *bfd*) shared=true shared_bfd=true ;; + *opcodes*) shared=true shared_opcodes=true ;; + *) shared=false ;; esac])dnl # Generate a header file -- gets more post-processing by Makefile later. @@ -230,6 +234,18 @@ changequote([,])dnl *) targ=ppc-lit ;; esac ;; + ppc-*-linux*) fmt=elf + case "$endian" in + big) targ=ppc-big ;; + *) AC_MSG_ERROR(Linux must be configured big endian) ;; + esac + ;; + ppc-*-solaris*) fmt=elf + case "$endian" in + big) AC_MSG_ERROR(Solaris must be configured little endian) ;; + *) targ=ppc-sol ;; + esac + ;; ppc-*-macos* | ppc-*-mpw*) fmt=coff em=macos ;; ppc-*-netware*) fmt=elf em=ppcnw ;; @@ -300,7 +316,7 @@ changequote([,])dnl ;; *) need_opcodes=yes - if test "${shared}" = "true"; then + if test "${shared_opcodes}" = "true"; then # A shared libopcodes must be linked against libbfd. need_bfd=yes fi @@ -519,7 +535,7 @@ case "${need_opcodes}" in OPCODES_LIB='-L../opcodes -lopcodes' # We need to handle some special cases if opcodes was built shared. - if test "${shared}" = "true"; then + if test "${shared_opcodes}" = "true"; then case "${host}" in *-*-sunos*) # On SunOS, we must link against the name we are going to install, @@ -540,7 +556,7 @@ case "${need_bfd}" in ALL_OBJ_DEPS="$ALL_OBJ_DEPS ../bfd/bfd.h" # We need to handle some special cases if BFD was built shared. - if test "${shared}" = "true"; then + if test "${shared_bfd}" = "true"; then case "${host}" in *-*-sunos*) # On SunOS, we must link against the name we are going to install, |