* common/aclocal.m4: Add include of ../../config/zlib.m4.

* common/common.m4: Use AM_ZLIB to check for zlib support.
        * ppc/configure.ac: Likewise.
        * arm/configure, avr/configure, common/configure, cr16/configure,
        cris/configure, d10v/configure, erc32/configure, frv/configure,
        h8300/configure, iq2000/configure, lm32/configure, m32c/configure,
        m32r/configure, m68hc11/configure, mcore/configure,
        microblaze/configure, mips/configure, mn10300/configure,
        moxie/configure, ppc/configure, sh/configure, sh64/configure,
        v850/configure: Regenerate.
This commit is contained in:
Joel Brobecker 2009-11-24 22:58:08 +00:00
parent bcba9aec3f
commit 5912faddb2
27 changed files with 1867 additions and 2497 deletions

View File

@ -1,3 +1,16 @@
2009-11-24 Joel Brobecker <brobecker@adacore.com>
* common/aclocal.m4: Add include of ../../config/zlib.m4.
* common/common.m4: Use AM_ZLIB to check for zlib support.
* ppc/configure.ac: Likewise.
* arm/configure, avr/configure, common/configure, cr16/configure,
cris/configure, d10v/configure, erc32/configure, frv/configure,
h8300/configure, iq2000/configure, lm32/configure, m32c/configure,
m32r/configure, m68hc11/configure, mcore/configure,
microblaze/configure, mips/configure, mn10300/configure,
moxie/configure, ppc/configure, sh/configure, sh64/configure,
v850/configure: Regenerate.
2009-11-24 DJ Delorie <dj@redhat.com>
* rx: New directory.

26
sim/arm/configure vendored
View File

@ -705,6 +705,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1353,6 +1354,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2247,6 +2249,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2408,7 +2414,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4178,7 +4183,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4245,6 +4262,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/avr/configure vendored
View File

@ -704,6 +704,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1352,6 +1353,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2246,6 +2248,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2407,7 +2413,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4177,7 +4182,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4244,6 +4261,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

View File

@ -20,6 +20,7 @@
# Include global overrides and fixes for Autoconf.
m4_include(../../config/override.m4)
sinclude([../../config/zlib.m4])
AC_DEFUN([SIM_AC_COMMON],
[

View File

@ -56,7 +56,7 @@ AC_CHECK_LIB(nsl, gethostbyname)
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)])
AM_ZLIB
. ${srcdir}/../../bfd/configure.host

21
sim/common/configure vendored
View File

@ -705,6 +705,7 @@ sim_environment'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1353,6 +1354,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -3974,7 +3976,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4041,6 +4055,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/cr16/configure vendored
View File

@ -704,6 +704,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1356,6 +1357,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2250,6 +2252,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2411,7 +2417,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4181,7 +4186,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4248,6 +4265,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/cris/configure vendored
View File

@ -707,6 +707,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1375,6 +1376,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2269,6 +2271,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2430,7 +2436,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4200,7 +4205,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4267,6 +4284,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/d10v/configure vendored
View File

@ -704,6 +704,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1356,6 +1357,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2250,6 +2252,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2411,7 +2417,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4181,7 +4186,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4248,6 +4265,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/erc32/configure vendored
View File

@ -706,6 +706,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1354,6 +1355,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2248,6 +2250,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2409,7 +2415,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4179,7 +4184,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4246,6 +4263,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/frv/configure vendored
View File

@ -708,6 +708,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1372,6 +1373,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2266,6 +2268,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2427,7 +2433,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4197,7 +4202,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4264,6 +4281,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/h8300/configure vendored
View File

@ -704,6 +704,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1352,6 +1353,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2246,6 +2248,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2407,7 +2413,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4177,7 +4182,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4244,6 +4261,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/iq2000/configure vendored
View File

@ -707,6 +707,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1371,6 +1372,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2265,6 +2267,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2426,7 +2432,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4196,7 +4201,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4263,6 +4280,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/lm32/configure vendored
View File

@ -707,6 +707,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1371,6 +1372,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2265,6 +2267,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2426,7 +2432,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4196,7 +4201,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4263,6 +4280,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/m32c/configure vendored
View File

@ -704,6 +704,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1352,6 +1353,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2246,6 +2248,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2407,7 +2413,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4177,7 +4182,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4244,6 +4261,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/m32r/configure vendored
View File

@ -709,6 +709,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1373,6 +1374,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2267,6 +2269,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2428,7 +2434,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4198,7 +4203,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4265,6 +4282,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/m68hc11/configure vendored
View File

@ -705,6 +705,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1365,6 +1366,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2259,6 +2261,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2420,7 +2426,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4190,7 +4195,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4257,6 +4274,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/mcore/configure vendored
View File

@ -704,6 +704,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1352,6 +1353,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2246,6 +2248,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2407,7 +2413,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4177,7 +4182,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4244,6 +4261,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

3774
sim/microblaze/configure vendored

File diff suppressed because it is too large Load Diff

26
sim/mips/configure vendored
View File

@ -716,6 +716,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1392,6 +1393,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
--with-x use the X Window System
@ -2288,6 +2290,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2449,7 +2455,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4219,7 +4224,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4286,6 +4303,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/mn10300/configure vendored
View File

@ -704,6 +704,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1370,6 +1371,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2264,6 +2266,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2425,7 +2431,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4195,7 +4200,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4262,6 +4279,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

36
sim/moxie/configure vendored
View File

@ -705,6 +705,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1363,6 +1364,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2336,6 +2338,17 @@ fi
@ -3001,12 +3014,10 @@ done
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
int
main ()
{
FILE *f = fopen ("conftest.out", "w");
return ferror (f) || fclose (f) != 0;
;
return 0;
@ -4275,7 +4286,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4342,6 +4365,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

21
sim/ppc/configure vendored
View File

@ -766,6 +766,7 @@ enable_sim_warnings
enable_sim_xor_endian
with_pkgversion
with_bugurl
with_zlib
'
ac_precious_vars='build_alias
host_alias
@ -1435,6 +1436,7 @@ Optional Packages:
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
--with-zlib include zlib support (auto/yes/no)
Some influential environment variables:
CC C compiler command
@ -4965,7 +4967,19 @@ program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -5032,6 +5046,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

View File

@ -668,7 +668,7 @@ AC_ARG_PROGRAM
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)])
AM_ZLIB
. ${srcdir}/../../bfd/configure.host

26
sim/sh/configure vendored
View File

@ -704,6 +704,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1352,6 +1353,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2246,6 +2248,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2407,7 +2413,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4177,7 +4182,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4244,6 +4261,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/sh64/configure vendored
View File

@ -707,6 +707,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1371,6 +1372,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2265,6 +2267,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2426,7 +2432,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# This file contains common code used by all simulators.
@ -4194,7 +4199,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4261,6 +4278,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host

26
sim/v850/configure vendored
View File

@ -704,6 +704,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_zlib
enable_maintainer_mode
enable_sim_bswap
enable_sim_cflags
@ -1366,6 +1367,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib include zlib support (auto/yes/no)
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@ -2260,6 +2262,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
@ -2421,7 +2427,6 @@ sim_inline="-DDEFAULT_INLINE=0"
# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
@ -4191,7 +4196,19 @@ fi
# BFD conditionally uses zlib, so we must link it in if libbfd does, by
# using the same condition.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
# See if the user specified whether he wants zlib support or not.
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=auto
fi
if test "$with_zlib" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
$as_echo_n "checking for library containing zlibVersion... " >&6; }
if test "${ac_cv_search_zlibVersion+set}" = set; then :
$as_echo_n "(cached) " >&6
@ -4258,6 +4275,11 @@ done
fi
if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
fi
fi
. ${srcdir}/../../bfd/configure.host