summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Eisentraut2012-06-27 18:21:18 +0000
committerPeter Eisentraut2012-06-27 18:22:41 +0000
commitf7867154129781ee1522344bef50890c01f2b47a (patch)
tree220d4c78f48ca136e25b856fb894362529bd8fb6 /configure.in
parenta8f97b39c70e831ced842eb7e41f810bee63e431 (diff)
Fix install program detection
configure handles INSTALL as a substitution variable specially, and apparently it gets confused when it's set to empty. Use INSTALL_ instead as a workaround to avoid the issue.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 01869305b9..5e5318b9b7 100644
--- a/configure.in
+++ b/configure.in
@@ -814,8 +814,10 @@ AC_PROG_INSTALL
# a relative path to it in each makefile where it subsitutes it. This clashes
# with our Makefile.global concept. This workaround helps.
case $INSTALL in
- *install-sh*) INSTALL='';;
+ *install-sh*) INSTALL_='';;
+ *) INSTALL_=$INSTALL;;
esac
+AC_SUBST(INSTALL_)
AC_PATH_PROG(TAR, tar)
AC_PROG_LN_S