2009-05-28 Nick Clifton <nickc@redhat.com>
[deliverable/binutils-gdb.git] / binutils / configure.in
index b4d4dcd26d3a8acca62cf88d816e420c486d2435..6f9b3d022ffaea9a6af54ce77927b707fa16cb2b 100644 (file)
@@ -15,6 +15,25 @@ AM_INIT_AUTOMAKE(binutils, ${BFD_VERSION})
 AC_PROG_CC
 AC_GNU_SOURCE
 AC_USE_SYSTEM_EXTENSIONS
+
+AC_PLUGINS
+
+case "${target}" in
+changequote(,)dnl
+  sparc-*-solaris*|i[3-7]86-*-solaris*)
+changequote([,])dnl
+    # See comment in bfd/configure.in for the reason for this test.
+    # PR 9992/binutils: We have to duplicate the behaviour of bfd's
+    # configure script so that the utilities in this directory agree
+    # on the size of structures used to describe files.
+    if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
+      if test "$plugins" = "no"; then
+        enable_largefile="no"
+      fi
+    fi
+    ;;
+esac
+
 AC_SYS_LARGEFILE
 LT_INIT
 
@@ -26,13 +45,6 @@ AC_ARG_ENABLE(targets,
   no)       enable_targets= ;;
   *)        enable_targets=$enableval ;;
 esac])dnl
-AC_ARG_ENABLE(commonbfdlib,
-[  --enable-commonbfdlib   build shared BFD/opcodes/libiberty library],
-[case "${enableval}" in
-  yes) commonbfdlib=true ;;
-  no)  commonbfdlib=false ;;
-  *)   AC_MSG_ERROR([bad value ${enableval} for BFD commonbfdlib option]) ;;
-esac])dnl
 
 AM_BINUTILS_WARNINGS
                   
@@ -337,7 +349,9 @@ changequote(,)dnl
        powerpc*-aix5.[01])
 changequote([,])dnl
          ;;
-       powerpc*-aix5.*)
+changequote(,)dnl
+       powerpc*-aix[5-9].*)
+changequote([,])dnl
          OBJDUMP_DEFS="-DAIX_WEAK_SUPPORT"
          ;;
        powerpc*-*-pe* | powerpc*-*-cygwin*)
@@ -454,6 +468,7 @@ AC_SUBST(EMULATION_VECTOR)
 AC_SUBST(datarootdir)
 AC_SUBST(docdir)
 AC_SUBST(htmldir)
+AC_SUBST(pdfdir)
 
 AC_CONFIG_FILES(Makefile doc/Makefile po/Makefile.in:po/Make-in)
 AC_OUTPUT
This page took 0.0231209999999999 seconds and 4 git commands to generate.