diff options
Diffstat (limited to 'boehm-gc/configure.in')
-rw-r--r-- | boehm-gc/configure.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/boehm-gc/configure.in b/boehm-gc/configure.in index 029a8048c9d..9da20406414 100644 --- a/boehm-gc/configure.in +++ b/boehm-gc/configure.in @@ -275,7 +275,11 @@ else toolexecdir='$(libdir)/gcc-lib/$(target_alias)' toolexeclibdir='$(libdir)' fi -toolexeclibdir=$toolexeclibdir/`$CC -print-multi-os-directory` +multi_os_directory=`$CC -print-multi-os-directory` +case $multi_os_directory in + .) ;; # Avoid trailing /. + *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; +esac AC_SUBST(toolexecdir) AC_SUBST(toolexeclibdir) |