summaryrefslogtreecommitdiff
path: root/m4/usual.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/usual.m4')
-rw-r--r--m4/usual.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/m4/usual.m4 b/m4/usual.m4
index efeda39..56bf8ad 100644
--- a/m4/usual.m4
+++ b/m4/usual.m4
@@ -122,6 +122,17 @@ fi
AC_SUBST(WFLAGS)
AC_PROG_INSTALL
+
+dnl Convert relative path to absolute path.
+case "$ac_install_sh" in
+./*) ac_install_sh="`pwd`/${ac_install_sh}" ;;
+../*) ac_install_sh="`pwd`/${ac_install_sh}" ;;
+esac
+case "$INSTALL" in
+./*) INSTALL="`pwd`/${INSTALL}" ;;
+../*) INSTALL="`pwd`/${INSTALL}" ;;
+esac
+
AC_PROG_LN_S
AC_PROG_EGREP
AC_PROG_AWK