diff options
author | Alexey Neyman <stilor@att.net> | 2017-10-05 00:09:22 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-04-07 12:02:33 -0700 |
commit | d401afbddaae56093cce388e62f7ba4d9d68a327 (patch) | |
tree | 5b1c7fdc13dd2ade2dbe8576045427e072d1f4d1 /configure.ac | |
parent | 1ce2eab963a004ba352a5cea800e2765a7c6affd (diff) | |
download | crosstool-ng-d401afbddaae56093cce388e62f7ba4d9d68a327.tar.gz crosstool-ng-d401afbddaae56093cce388e62f7ba4d9d68a327.tar.bz2 crosstool-ng-d401afbddaae56093cce388e62f7ba4d9d68a327.zip |
Get rid of sub{lib,doc}dir
They don't make sense - using same ct-ng won't work with different versions,
so they cannot coexist in the same prefix.
Also localize other configure variables so that their usage is easier to track.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 8fa0e33f..72198d1e 100644 --- a/configure.ac +++ b/configure.ac @@ -301,9 +301,11 @@ AS_IF( [test -f version.sh -a -x version.sh], [PACKAGE_VERSION=$(./version.sh "${PACKAGE_VERSION}")]) +# We are not installing dynamic libraries that need to be found by dynamic linker. +# Install into a subdirectory. +libdir=${libdir}/${PACKAGE_TARNAME} + # Handle the local case -AC_SUBST([sublibdir]) -AC_SUBST([subdocdir]) AS_IF( [test "x$enable_local" = "xyes"], [AC_MSG_NOTICE([overiding all of --prefix and the likes, because --enable-local was set]) @@ -311,13 +313,9 @@ AS_IF( exec_prefix="$prefix" bindir="$prefix" libdir="$prefix" - sublibdir="" docdir="$prefix""/docs" - subdocdir="" datarootdir="$prefix" - mandir="$docdir"], - [sublibdir="/\${VERSION}" - subdocdir="/\${VERSION}"]) + mandir="$docdir"]) AC_CONFIG_FILES([ Makefile |