mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r3403] Purpose:
Fix Description: On machines which use the bin/install-sh script, it wasn't picking up the install-sh script unless it was one directory depth away from it (ie, it thought that it was in ../bin/install-sh, which isn't good if, like with the documentation, it's in a deeper directory). Solution: Hacked it up so that, if it does use the broken relative-path schema, then it will change it to use the $(top_srcdir) macro instead. Platforms tested: Linux
This commit is contained in:
parent
e361fef08b
commit
7c0fb27132
@ -235,6 +235,14 @@ AC_PROG_INSTALL
|
||||
AC_LIBTOOL_DLOPEN
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
dnl Fix up the INSTALL macro if it's a relative path. We want the
|
||||
dnl full-path to the binary instead.
|
||||
case "$INSTALL" in
|
||||
../bin/install-sh)
|
||||
INSTALL='\${top_srcdir}'/bin/install-sh
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_MSG_CHECKING(make)
|
||||
AC_SUBST_FILE(DEPEND)
|
||||
if test "`${MAKE-make} --version -f /dev/null 2>/dev/null |\
|
||||
|
Loading…
x
Reference in New Issue
Block a user