summaryrefslogtreecommitdiff
path: root/libjava/configure.ac
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-17 10:11:39 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-17 10:11:39 +0000
commitf0806d8b859e0e4660a211da84d01b116a61bc3b (patch)
tree5fb6e939143892e83ed4a72bc9d44989107e0cf0 /libjava/configure.ac
parent120c66974c4f07d2acd3ddef2463bd0ed6473058 (diff)
downloadgcc-f0806d8b859e0e4660a211da84d01b116a61bc3b.tar.gz
* configure.ac (dbexecdir): New substituted var.
* configure: Rebuilt. * Makefile.am (dbexecdir): Remove. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109814 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r--libjava/configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac
index 6ae83609ace..26a7ef5e2e9 100644
--- a/libjava/configure.ac
+++ b/libjava/configure.ac
@@ -1239,6 +1239,14 @@ AC_SUBST(toolexecdir)
AC_SUBST(toolexecmainlibdir)
AC_SUBST(toolexeclibdir)
+# Determine where the standard .db file is found.
+multi_os_directory=`$CC -print-multi-os-directory`
+case $multi_os_directory in
+ .) dbexecdir='$(libdir)/gcj-$(gcc_version)' ;; # Avoid /.
+ *) dbexecdir='$(libdir)/'$multi_os_directory'/gcj-$(gcc_version)' ;;
+esac
+AC_SUBST(dbexecdir)
+
# Determine gcj version number.
gcjversion=`$GCJ -v 2>&1 | sed -n 's/^.*version \([[^ ]]*\).*$/\1/p'`
GCJVERSION=$gcjversion