summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-11-24 16:24:50 +0000
committerIan Lynagh <igloo@earth.li>2007-11-24 16:24:50 +0000
commitac4610c4da6966803b851cb4264bcb4427d6e2d0 (patch)
tree93523ac323a917855ea15eb49f29d5f480cb882d /configure.ac
parent0ae9def5467575d622e85e472858c10248a2b7b6 (diff)
downloadhaskell-ac4610c4da6966803b851cb4264bcb4427d6e2d0.tar.gz
Make install-sh executable /before/ we try to find it
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 17b92ee874..84d6c6df05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -899,11 +899,11 @@ FP_PROG_FIND
dnl ** Find sort command (for the benefit of Win32 environs)
FP_PROG_SORT
-dnl ** figure out how to do a BSD-ish install
-AC_PROG_INSTALL
dnl Let's make sure install-sh is executable here. If we got it from
dnl a darcs repo, it might not be (see bug #978).
chmod +x install-sh
+dnl ** figure out how to do a BSD-ish install
+AC_PROG_INSTALL
dnl If you can run configure, you certainly have /bin/sh
AC_DEFINE([HAVE_BIN_SH], [1], [Define to 1 if you have /bin/sh.])