summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2013-10-16 20:36:39 +0000
committerJan-Benedict Glaw <jbglaw@lug-owl.de>2013-10-16 20:36:39 +0000
commit97434d434cd414893ffb3107f87aafca513812d8 (patch)
treeab55d2c27d5aa6eb53326af0f5bc44450cd6efe3
parent1884c9e993f6559baaaf771d72fb74420f939b66 (diff)
downloadgdb-97434d434cd414893ffb3107f87aafca513812d8.tar.gz
2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* configure.ac: Update from GCC. * configure: Regenerate.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure13
-rw-r--r--configure.ac7
3 files changed, 25 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 14c97cc6f80..d3300696730 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
+
+ * configure.ac: Update from GCC.
+ * configure: Regenerate.
+
2013-10-15 Hans-Peter Nilsson <hp@axis.com>
* src-release (do-proto-toplevel): Support subdir-path-prefixed
diff --git a/configure b/configure
index 6ad3c49eaa3..d62285c9067 100755
--- a/configure
+++ b/configure
@@ -556,6 +556,7 @@ enable_option_checking=no
ac_subst_vars='LTLIBOBJS
LIBOBJS
compare_exclusions
+host_shared
stage2_werror_flag
stage1_checking
stage1_cflags
@@ -787,6 +788,7 @@ with_build_time_tools
enable_maintainer_mode
enable_stage1_checking
enable_werror
+enable_host_shared
'
ac_precious_vars='build_alias
host_alias
@@ -1490,6 +1492,7 @@ Optional Features:
choose additional checking for stage1 of the
compiler
--enable-werror enable -Werror in bootstrap stage2 and later
+ --enable-host-shared build host code as shared libraries
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -14570,6 +14573,16 @@ case ${enable_werror} in
esac
+# Enable --enable-host-shared.
+# Check whether --enable-host-shared was given.
+if test "${enable_host_shared+set}" = set; then :
+ enableval=$enable_host_shared; host_shared=$enableval
+else
+ host_shared=no
+fi
+
+
+
# Specify what files to not compare during bootstrap.
compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
diff --git a/configure.ac b/configure.ac
index b5caebbaf17..4c236525014 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3301,6 +3301,13 @@ case ${enable_werror} in
esac
AC_SUBST(stage2_werror_flag)
+# Enable --enable-host-shared.
+AC_ARG_ENABLE(host-shared,
+[AS_HELP_STRING([--enable-host-shared],
+ [build host code as shared libraries])],
+[host_shared=$enableval], [host_shared=no])
+AC_SUBST(host_shared)
+
# Specify what files to not compare during bootstrap.
compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"