summaryrefslogtreecommitdiff
path: root/libffi/configure
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-12 21:34:31 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-12 21:34:31 +0000
commit777bb3dc76d24121756fee72a23c67339754ce39 (patch)
tree8893b740f8d5e53bef1207f3fe34d23c18ffb3d2 /libffi/configure
parent9e36e267115861827fc981c749a903310b24b02b (diff)
downloadgcc-777bb3dc76d24121756fee72a23c67339754ce39.tar.gz
2003-03-10 Andreas Schwab <schwab@suse.de>
boehm-gc: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libf2c: * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * configure: Rebuilt. libffi: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libjava: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libobjc: * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * configure: Rebuilt. libstdc++-v3: * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * aclocal.m4, configure: Rebuilt. zlib: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64267 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/configure')
-rwxr-xr-xlibffi/configure6
1 files changed, 5 insertions, 1 deletions
diff --git a/libffi/configure b/libffi/configure
index bdf13a8da50..0a812deea19 100755
--- a/libffi/configure
+++ b/libffi/configure
@@ -3661,7 +3661,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