aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-06-20 13:52:32 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-06-20 13:52:32 +0000
commit39bec121fbf7999abee79c0eec02015a84ab8a48 (patch)
treebce4d1826bdccbf52974611b7ac28d8bdac547e8 /gas/configure.in
parent2d30b3dab49cd50d7dd89557888001c0ec7a0171 (diff)
downloadfsf-binutils-gdb-39bec121fbf7999abee79c0eec02015a84ab8a48.zip
fsf-binutils-gdb-39bec121fbf7999abee79c0eec02015a84ab8a48.tar.gz
fsf-binutils-gdb-39bec121fbf7999abee79c0eec02015a84ab8a48.tar.bz2
TI C54x target.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 30b7f6d..f7cf1ea 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -393,6 +393,8 @@ changequote([,])dnl
tic30-*-*aout*) fmt=aout bfd_gas=yes ;;
tic30-*-*coff*) fmt=coff bfd_gas=yes ;;
+ tic54x-*-* | c54x*-*-*)
+ fmt=coff bfd_gas=yes need_libm=yes;;
tic80-*-*) fmt=coff ;;
v850-*-*) fmt=elf bfd_gas=yes ;;
@@ -816,6 +818,14 @@ AC_CHECK_FUNCS(unlink remove, break)
# Some systems don't have sbrk().
AC_CHECK_FUNCS(sbrk)
+# do we need the math library?
+case "${need_libm}" in
+yes)
+ AC_CHECK_LIBM
+ AC_SUBST(LIBM)
+ ;;
+esac
+
# Some non-ANSI preprocessors botch requoting inside strings. That's bad
# enough, but on some of those systems, the assert macro relies on requoting
# working properly!