ld: Fix issue where PROVIDE overrides defined symbol
[external/binutils.git] / opcodes / configure
index 386352e..17530f5 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for opcodes 2.28.51.
+# Generated by GNU Autoconf 2.64 for opcodes 2.29.51.
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
@@ -556,8 +556,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='opcodes'
 PACKAGE_TARNAME='opcodes'
-PACKAGE_VERSION='2.28.51'
-PACKAGE_STRING='opcodes 2.28.51'
+PACKAGE_VERSION='2.29.51'
+PACKAGE_STRING='opcodes 2.29.51'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -604,8 +604,6 @@ LTLIBOBJS
 LIBOBJS
 BFD_MACHINES
 archdefs
-BFDLIB
-BFDHDIR
 SHARED_DEPENDENCIES
 SHARED_LIBADD
 SHARED_LDFLAGS
@@ -1324,7 +1322,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures opcodes 2.28.51 to adapt to many kinds of systems.
+\`configure' configures opcodes 2.29.51 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1395,7 +1393,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of opcodes 2.28.51:";;
+     short | recursive ) echo "Configuration of opcodes 2.29.51:";;
    esac
   cat <<\_ACEOF
 
@@ -1502,7 +1500,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-opcodes configure 2.28.51
+opcodes configure 2.29.51
 generated by GNU Autoconf 2.64
 
 Copyright (C) 2009 Free Software Foundation, Inc.
@@ -1912,7 +1910,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by opcodes $as_me 2.28.51, which was
+It was created by opcodes $as_me 2.29.51, which was
 generated by GNU Autoconf 2.64.  Invocation command line was
 
   $ $0 $@
@@ -3721,7 +3719,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='opcodes'
- VERSION='2.28.51'
+ VERSION='2.29.51'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -11153,7 +11151,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11156 "configure"
+#line 11154 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11259,7 +11257,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11262 "configure"
+#line 11260 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11810,7 +11808,7 @@ fi
 
 # host-specific stuff:
 
-ALL_LINGUAS="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN it uk"
+ALL_LINGUAS="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN it uk sr"
 # If we haven't got the data from the intl directory,
 # assume NLS is disabled.
 USE_NLS=no
 
 # target-specific stuff:
 
-# Check if `bfd_mips_elf_get_abiflags' is present in BFD, needed by
-# `mips-dis.c'.  Avoid using AC_CHECK_LIB as it uses a cache variable
-# which could hold the wrong value if we are rerun due to the
-# `../bfd/libbfd.la' dependency for `config.status', so use a handcoded
-# sequence which is equivalent but does not use the cache.
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the bfd header in the build tree" >&5
-$as_echo_n "checking for the bfd header in the build tree... " >&6; }
-dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."
-if test "${ac_cv_c_bfdh+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-for i in $dirlist; do
-    if test -f "$i/bfd/bfd.h" ; then
-       ac_cv_c_bfdh=`(cd $i/bfd; ${PWDCMD-pwd})`
-       break
-    fi
-done
-
-fi
-
-if test x"${ac_cv_c_bfdh}" != x; then
-    BFDHDIR="-I${ac_cv_c_bfdh}"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_c_bfdh}" >&5
-$as_echo "${ac_cv_c_bfdh}" >&6; }
-else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
-$as_echo "none" >&6; }
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the bfd library in the build tree" >&5
-$as_echo_n "checking for the bfd library in the build tree... " >&6; }
-if test "${ac_cv_c_bfdlib+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-for i in $dirlist; do
-    if test -f "$i/bfd/Makefile" ; then
-       ac_cv_c_bfdlib=`(cd $i/bfd; ${PWDCMD-pwd})`
-    fi
-done
-
-fi
-
-if test x"${ac_cv_c_bfdlib}" != x; then
-    BFDLIB="-L${ac_cv_c_bfdlib} -L${ac_cv_c_bfdlib}/.libs"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_c_bfdlib}" >&5
-$as_echo "${ac_cv_c_bfdlib}" >&6; }
-else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
-$as_echo "none" >&6; }
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd_mips_elf_get_abiflags in -lbfd" >&5
-$as_echo_n "checking for bfd_mips_elf_get_abiflags in -lbfd... " >&6; }
-opcodes_save_LIBS=$LIBS
-LIBS="$BFDLIB -lbfd ../libiberty/libiberty.a `test -e ../bfd/libbfd.la && . ../bfd/libbfd.la; echo $dependency_libs`"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char bfd_mips_elf_get_abiflags ();
-int
-main ()
-{
-return bfd_mips_elf_get_abiflags ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  opcodes_lib_bfd_bfd_mips_elf_get_abiflags=yes
-else
-  opcodes_lib_bfd_bfd_mips_elf_get_abiflags=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$opcodes_save_LIBS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $opcodes_lib_bfd_bfd_mips_elf_get_abiflags" >&5
-$as_echo "$opcodes_lib_bfd_bfd_mips_elf_get_abiflags" >&6; }
-if test x"$opcodes_lib_bfd_bfd_mips_elf_get_abiflags" = xyes; then
-
-$as_echo "#define HAVE_BFD_MIPS_ELF_GET_ABIFLAGS 1" >>confdefs.h
-
-fi
-
 # Canonicalize the secondary target names.
 if test -n "$enable_targets" ; then
     for targ in `echo $enable_targets | sed 's/,/ /g'`
@@ -12779,6 +12683,7 @@ if test x${all_targets} = xfalse ; then
        bfd_pj_arch)            ta="$ta pj-dis.lo pj-opc.lo" ;;
        bfd_powerpc_arch)       ta="$ta ppc-dis.lo ppc-opc.lo" ;;
        bfd_powerpc_64_arch)    ta="$ta ppc-dis.lo ppc-opc.lo" ;;
+       bfd_pru_arch)           ta="$ta pru-dis.lo pru-opc.lo" ;;
        bfd_pyramid_arch)       ;;
        bfd_romp_arch)          ;;
        bfd_riscv_arch)         ta="$ta riscv-dis.lo riscv-opc.lo" ;;
@@ -12819,6 +12724,7 @@ if test x${all_targets} = xfalse ; then
        bfd_vax_arch)           ta="$ta vax-dis.lo" ;;
        bfd_visium_arch)        ta="$ta visium-dis.lo visium-opc.lo" ;;
        bfd_w65_arch)           ta="$ta w65-dis.lo" ;;
+        bfd_wasm32_arch)        ta="$ta wasm32-dis.lo" ;;
        bfd_we32k_arch)         ;;
        bfd_xc16x_arch)         ta="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen=yes ;;
        bfd_xgate_arch)         ta="$ta xgate-dis.lo xgate-opc.lo" ;;
@@ -13401,7 +13307,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by opcodes $as_me 2.28.51, which was
+This file was extended by opcodes $as_me 2.29.51, which was
 generated by GNU Autoconf 2.64.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -13465,7 +13371,7 @@ Report bugs to the package provider."
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_version="\\
-opcodes config.status 2.28.51
+opcodes config.status 2.29.51
 configured by $0, generated by GNU Autoconf 2.64,
   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"