aboutsummaryrefslogtreecommitdiff
path: root/sim/rx
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-01-09 21:11:44 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-01-09 21:11:44 +0000
commit3725885a6563fe9c77b251ab5328633279fdeafa (patch)
tree5fd5154b2a5958019b091c8f953a96e3567f8e09 /sim/rx
parent7348c5e1e3f2574f130e7e591448a8c184c0b8a3 (diff)
downloadgdb-3725885a6563fe9c77b251ab5328633279fdeafa.zip
gdb-3725885a6563fe9c77b251ab5328633279fdeafa.tar.gz
gdb-3725885a6563fe9c77b251ab5328633279fdeafa.tar.bz2
Sync Libtool from GCC.
/: * libtool.m4: Sync from git Libtool. * ltmain.sh: Likewise. * ltoptions.m4: Likewise. * ltversion.m4: Likewise. * lt~obsolete.m4: Likewise. sim/iq2000/: * configure: Regenerate. sim/d10v/: * configure: Regenerate. sim/m32r/: * configure: Regenerate. sim/frv/: * configure: Regenerate. sim/: * avr/configure: Regenerate. * cris/configure: Regenerate. * microblaze/configure: Regenerate. sim/h8300/: * configure: Regenerate. sim/mn10300/: * configure: Regenerate. sim/erc32/: * configure: Regenerate. sim/arm/: * configure: Regenerate. sim/m68hc11/: * configure: Regenerate. sim/lm32/: * configure: Regenerate. sim/sh64/: * configure: Regenerate. sim/v850/: * configure: Regenerate. sim/cr16/: * configure: Regenerate. sim/moxie/: * configure: Regenerate. sim/m32c/: * configure: Regenerate. sim/mips/: * configure: Regenerate. sim/mcore/: * configure: Regenerate. sim/sh/: * configure: Regenerate. gprof/: * Makefile.in: Regenerate. * configure: Regenerate. opcodes/: * Makefile.in: Regenerate. * configure: Regenerate. gas/: * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. ld/: * configure: Regenerate. gdb/testsuite/: * gdb.cell/configure: Regenerate. binutils/: * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. bfd/: * Makefile.in: Regenerate. * configure: Regenerate. bfd/doc/: * Makefile.in: Regenerate.
Diffstat (limited to 'sim/rx')
-rwxr-xr-xsim/rx/configure25
1 files changed, 24 insertions, 1 deletions
diff --git a/sim/rx/configure b/sim/rx/configure
index 1726a98..58e42de 100755
--- a/sim/rx/configure
+++ b/sim/rx/configure
@@ -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) default=auto
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@@ -2251,6 +2253,10 @@ ac_config_headers="$ac_config_headers config.h:config.in"
+
+
+
+
sim_inline="-DDEFAULT_INLINE=0"
@@ -4176,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
@@ -4243,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