aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure.ac
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-02-04 05:51:57 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2011-02-04 05:51:57 +0000
commit4e6ad4226d5396500324f8635b116afa777ad6ec (patch)
tree61da8504716f32fbcb8d9fc8e45aabf76d5d8eda /libjava/configure.ac
parent084996f1d1d1f155146370692339e52d895f6c41 (diff)
downloadgcc-4e6ad4226d5396500324f8635b116afa777ad6ec.zip
gcc-4e6ad4226d5396500324f8635b116afa777ad6ec.tar.gz
gcc-4e6ad4226d5396500324f8635b116afa777ad6ec.tar.bz2
Fix PR java/21206: Unrecognized option '-Wl,-rpath' for jv-convert
libjava/: PR java/21206 * configure.ac (LDLIBICONV): New substituted variable, with instances of '-Wl,' removed from LIBICONV. * configure: Regenerate. * libgcj.spec.in: Use @LDLIBICONV@ not @LIBICONV@. * Makefile.in: Regenerate. * gcj/Makefile.in: Likewise. * include/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. From-SVN: r169822
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r--libjava/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac
index e5310c1..a45cfc9 100644
--- a/libjava/configure.ac
+++ b/libjava/configure.ac
@@ -1240,6 +1240,8 @@ else
AM_ICONV
AM_LC_MESSAGES
AC_STRUCT_TIMEZONE
+ LDLIBICONV=`echo " $LIBICONV " | sed "s/${acl_cv_wl--Wl,}/ /g; s/,/ /g"`
+ AC_SUBST([LDLIBICONV])
AC_CHECK_FUNCS(gethostbyname_r, [
AC_DEFINE(HAVE_GETHOSTBYNAME_R, 1,