Add PowerPC 750 move to/from SPRs
[deliverable/binutils-gdb.git] / opcodes / configure.in
index b47326b3bfc7598d1c0e1353bd78b6d662979c28..93f0903954b5d7d00c50d9431b15843278ecc2ac 100644 (file)
@@ -5,6 +5,7 @@ AC_PREREQ(2.5)
 AC_INIT(z8k-dis.c)
 
 AC_CANONICAL_SYSTEM
+AC_ISC_POSIX
 
 # We currently only use the version number for the name of any shared
 # library.  For user convenience, we always use the same version
@@ -49,9 +50,6 @@ if test -z "$target" ; then
 fi
 AC_ARG_PROGRAM
 
-ALL_LINGUAS=
-CY_GNU_GETTEXT
-
 AM_MAINTAINER_MODE
 AM_CYGWIN32
 AM_EXEEXT
@@ -60,6 +58,9 @@ AM_EXEEXT
 
 AC_PROG_CC
 
+ALL_LINGUAS=
+CY_GNU_GETTEXT
+
 . ${srcdir}/../bfd/configure.host
 
 AC_SUBST(HDEFINES)
@@ -69,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
@@ -90,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
@@ -183,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" ;;
This page took 0.023472 seconds and 4 git commands to generate.