aboutsummaryrefslogtreecommitdiff
path: root/opcodes/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-06-26 16:08:02 +0000
committerIan Lance Taylor <ian@airs.com>1998-06-26 16:08:02 +0000
commit69ad8cac123308cc653ca123fbdfa7fe8bde753c (patch)
treefb34f3371aaa7a62ce539079c6740898d6a80ee8 /opcodes/configure.in
parent9ea28a85954c4aa63e0187fa221582cc5f49dbc2 (diff)
downloadgdb-69ad8cac123308cc653ca123fbdfa7fe8bde753c.zip
gdb-69ad8cac123308cc653ca123fbdfa7fe8bde753c.tar.gz
gdb-69ad8cac123308cc653ca123fbdfa7fe8bde753c.tar.bz2
* configure.in: For bfd_vax_arch, build vax-dis.lo.
* Makefile.am: Rebuild dependencies. (CFILES): Add vax-dis.c. (ALL_MACHINES): Add vax-dis.lo. * aclocal.m4: Rebuild with current libtool. * configure, Makefile.in: Rebuild. Fri Jun 26 12:03:20 1998 Klaus Kaempf <kkaempf@progis.de> * vax-dis.c: New file, from work by Pauline Middelink <middelin@polyware.iaf.nl>. * disassemble.c (ARCH_vax): Define if ARCH_all. (disassembler): Add case for ARCH_vax. * makefile.vms: Support compilation on vms/vax.
Diffstat (limited to 'opcodes/configure.in')
-rw-r--r--opcodes/configure.in16
1 files changed, 13 insertions, 3 deletions
diff --git a/opcodes/configure.in b/opcodes/configure.in
index 35fde18..93f0903 100644
--- a/opcodes/configure.in
+++ b/opcodes/configure.in
@@ -70,7 +70,17 @@ AC_CHECK_HEADERS(string.h strings.h stdlib.h)
# start-sanitize-cygnus
use_cgen=no
-if test ${USE_MAINTAINER_MODE} = yes ; then
+cgen_maint=no
+# Having --enable-maintainer-mode take arguments is another way to go.
+AC_ARG_ENABLE(cgen-maint,
+[ --enable-cgen-maint build cgen generated files],
+[case "${enableval}" in
+ yes) cgen_maint=yes ;;
+ no) cgen_maint=no ;;
+ *) AC_MSG_ERROR([bad value ${enableval} for opcodes cgen-maint option]) ;;
+esac])dnl
+AM_CONDITIONAL(CGEN_MAINT, test x${cgen_maint} = xyes)
+if test "x${cgen_maint}" = xyes ; then
for targ in $target $canon_targets
do
case $targ in
@@ -91,7 +101,7 @@ case "${host}" in
*-*-cygwin32*)
if test "$enable_shared" = "yes"; then
WIN32LDFLAGS="-no-undefined"
- WIN32LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -lcygwin"
+ WIN32LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
fi
;;
esac
@@ -184,7 +194,7 @@ if test x${all_targets} = xfalse ; then
bfd_v850e_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
bfd_v850ea_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
# end-sanitize-v850e
- bfd_vax_arch) ;;
+ bfd_vax_arch) ta="$ta vax-dis.lo" ;;
bfd_w65_arch) ta="$ta w65-dis.lo" ;;
bfd_we32k_arch) ;;
bfd_z8k_arch) ta="$ta z8k-dis.lo" ;;