summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-20 08:43:04 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-20 08:43:04 +0000
commit9110ac619ebd0b3f738db2c688a10283622169ed (patch)
tree553e497d08eb208f3cd2302303295037f6f60497
parentb8731470a7fc9476a730e4ac9a536a6853306074 (diff)
downloadgcc-9110ac619ebd0b3f738db2c688a10283622169ed.tar.gz
2014-02-20 Richard Biener <rguenther@suse.de>
PR libjava/60261 * configure.ac (dbexecdir): Remove redundant multilib addition. * Makefile.am (gcc_version): Export. * configure: Regenerate. * Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207936 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libjava/ChangeLog8
-rw-r--r--libjava/Makefile.am1
-rw-r--r--libjava/Makefile.in1
-rwxr-xr-xlibjava/configure10
-rw-r--r--libjava/configure.ac10
5 files changed, 12 insertions, 18 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index d9b59aa5b21..6ca70f54be5 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,11 @@
+2014-02-18 Richard Biener <rguenther@suse.de>
+
+ PR libjava/60261
+ * configure.ac (dbexecdir): Remove redundant multilib addition.
+ * Makefile.am (gcc_version): Export.
+ * configure: Regenerate.
+ * Makefile.in: Likewise.
+
2014-01-02 Tobias Burnus <burnus@net-b.de>
* gnu/gcj/convert/Convert.java (version): Update copyright notice
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index 5af58faa3af..39b5199ff4e 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -6,6 +6,7 @@ ACLOCAL_AMFLAGS = -I . -I .. -I ../config -I libltdl
# May be used by various substitution variables.
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
+export gcc_version
SUBDIRS = $(DIRLTDL) gcj include classpath
if TESTSUBDIR
diff --git a/libjava/Makefile.in b/libjava/Makefile.in
index 8ce97486b17..f0f635036eb 100644
--- a/libjava/Makefile.in
+++ b/libjava/Makefile.in
@@ -10581,6 +10581,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
uninstall-libexecsubPROGRAMS uninstall-toolexeclibLTLIBRARIES \
uninstall-toolexecmainlibDATA
+export gcc_version
interpret.lo: AM_CXXFLAGS += -fwrapv
prims.lo: AM_CXXFLAGS += -fno-omit-frame-pointer
diff --git a/libjava/configure b/libjava/configure
index 55443608c0c..6fb813f4bd6 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -24016,15 +24016,7 @@ _ACEOF
# Determine where the standard .db file and GNU Classpath JNI
# libraries are found.
gcjsubdir=gcj-$gcjversion-$libgcj_soversion
-multi_os_directory=`$CC -print-multi-os-directory`
-case $multi_os_directory in
- .)
- dbexecdir='$(toolexeclibdir)/'$gcjsubdir # Avoid /.
- ;;
- *)
- dbexecdir='$(toolexeclibdir)/'$multi_os_directory/$gcjsubdir
- ;;
-esac
+dbexecdir='$(toolexeclibdir)/'$gcjsubdir
diff --git a/libjava/configure.ac b/libjava/configure.ac
index eb734b1768d..d2f69a9dd43 100644
--- a/libjava/configure.ac
+++ b/libjava/configure.ac
@@ -1596,15 +1596,7 @@ AC_DEFINE_UNQUOTED(GCJVERSION, "$GCJVERSION", [Short GCJ version ID])
# Determine where the standard .db file and GNU Classpath JNI
# libraries are found.
gcjsubdir=gcj-$gcjversion-$libgcj_soversion
-multi_os_directory=`$CC -print-multi-os-directory`
-case $multi_os_directory in
- .)
- dbexecdir='$(toolexeclibdir)/'$gcjsubdir # Avoid /.
- ;;
- *)
- dbexecdir='$(toolexeclibdir)/'$multi_os_directory/$gcjsubdir
- ;;
-esac
+dbexecdir='$(toolexeclibdir)/'$gcjsubdir
AC_SUBST(dbexecdir)
AC_SUBST(gcjsubdir)