summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog7
-rwxr-xr-xlibjava/configure2
-rw-r--r--libjava/configure.ac2
3 files changed, 9 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 619c88e825e..e95c659e2e0 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,10 @@
+2012-05-21 Benjamin Kosnik <bkoz@redhat.com>
+
+ PR libstdc++/52700
+ * configure.ac: Allow gnu, gnu-versioned-namespace for
+ --enable-symvers arguments.
+ * configure: Regenerate.
+
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* configure: Regenerated.
diff --git a/libjava/configure b/libjava/configure
index 655179a89af..0bd423dadef 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -24542,7 +24542,7 @@ else
# Check whether --enable-symvers was given.
if test "${enable_symvers+set}" = set; then :
enableval=$enable_symvers; case "$enableval" in
- yes) libjava_cv_anon_version_script=yes ;;
+ yes|gnu*) libjava_cv_anon_version_script=yes ;;
no) libjava_cv_anon_version_script=no ;;
*) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5;;
esac
diff --git a/libjava/configure.ac b/libjava/configure.ac
index 351b2bd9848..62c50003f3a 100644
--- a/libjava/configure.ac
+++ b/libjava/configure.ac
@@ -1805,7 +1805,7 @@ AC_CACHE_CHECK([whether ld supports anonymous version scripts],
AS_HELP_STRING([--disable-symvers],
[disable symbol versioning for libjava]),
[case "$enableval" in
- yes) libjava_cv_anon_version_script=yes ;;
+ yes|gnu*) libjava_cv_anon_version_script=yes ;;
no) libjava_cv_anon_version_script=no ;;
*) AC_MSG_ERROR([Unknown argument to enable/disable symvers]);;
esac],