[Rt-commit] r14265 - rt/3.8/trunk
elacour at bestpractical.com
elacour at bestpractical.com
Fri Jul 18 09:33:25 EDT 2008
Author: elacour
Date: Fri Jul 18 09:32:40 2008
New Revision: 14265
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/configure.ac
Log:
r10150 at datura: manu | 2008-07-18 15:31:43 +0200
If we get a relative path to install-sh, make it a full path so we can call it
from anywhere
Modified: rt/3.8/trunk/configure.ac
==============================================================================
--- rt/3.8/trunk/configure.ac (original)
+++ rt/3.8/trunk/configure.ac Fri Jul 18 09:32:40 2008
@@ -23,6 +23,13 @@
dnl Check for programs
AC_PROG_INSTALL
+# If $INSTALL point to our install-sh, it may be a relative path. Make it a
+# full path so we can call it from anywhere
+AC_SUBST([rt_srcdir], ["`cd $srcdir && pwd`"])
+if test "$INSTALL" == "./install-sh -c"; then
+ INSTALL="$rt_srcdir/install-sh -c"
+fi
+
AC_PROG_AWK
AC_ARG_VAR([PERL],[Perl interpreter command])
AC_PATH_PROG([PERL], [perl], [not found])
More information about the Rt-commit
mailing list