chmod +x install-sh, see bug #978
authorSimon Marlow <simonmar@microsoft.com>
Thu, 1 Feb 2007 13:11:25 +0000 (13:11 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 1 Feb 2007 13:11:25 +0000 (13:11 +0000)
configure.ac

index 85301aa..eb64f4e 100644 (file)
@@ -903,6 +903,9 @@ 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 If you can run configure, you certainly have /bin/sh
 AC_DEFINE([HAVE_BIN_SH], [1], [Define to 1 if you have /bin/sh.])