|author||Dan Nicholson <firstname.lastname@example.org>||2009-05-22 09:39:02 -0700|
|committer||Dan Nicholson <email@example.com>||2009-06-01 06:32:52 -0700|
Use separate $(MINSTALL) for installing libraries
The special feature of bin/minstall to copy symlinks is only ever needed when installing libraries which may have .so symlinks. All the headers and directories can use a normal install program. These two modes are separated as $(INSTALL) and $(MINSTALL) to allow the user (or autoconf) to override installing normal files as they please. An autoconf check for the install program has been added and will be used in preference to minstall when available. Fixes bug 16053.
Diffstat (limited to 'configure.ac')
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 24aa13a7cad..772fb299737 100644
@@ -29,6 +29,11 @@ AC_CHECK_PROGS([MAKE], [gmake make])
+dnl Our fallback install-sh is a symlink to minstall. Use the existing
+dnl configuration in that case.
+test "x$INSTALL" = "x$ac_install_sh" && INSTALL='$(MINSTALL)'
dnl We need a POSIX shell for parts of the build. Assume we have one
dnl in most cases.
case "$host_os" in