Make sure INSTALL path is relative to the top dir when using the

script in tools/.
This commit is contained in:
Alexandre Julliard 2002-12-24 00:35:19 +00:00
parent 37516b3621
commit e24bcc77e5
2 changed files with 1999 additions and 653 deletions

2645
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -83,11 +83,16 @@ AC_CHECK_TOOL(AR,ar,ar)
AC_PROG_RANLIB AC_PROG_RANLIB
AC_CHECK_TOOL(STRIP,strip,strip) AC_CHECK_TOOL(STRIP,strip,strip)
AC_CHECK_TOOL(WINDRES,windres,false) AC_CHECK_TOOL(WINDRES,windres,false)
AC_PROG_INSTALL
AC_PROG_LN_S AC_PROG_LN_S
WINE_PROG_LN WINE_PROG_LN
AC_CHECK_PROG(C2MAN,c2man,c2man,\$(TOPSRCDIR)/tools/c2man.pl) AC_CHECK_PROG(C2MAN,c2man,c2man,\$(TOPSRCDIR)/tools/c2man.pl)
AC_PATH_PROG(LDCONFIG, ldconfig, true, [/sbin /usr/sbin $PATH]) AC_PATH_PROG(LDCONFIG, ldconfig, true, [/sbin /usr/sbin $PATH])
AC_PROG_INSTALL
dnl Prepend src dir to install path dir if it's a relative path
case "$INSTALL" in
[\\/$]* | ?:[\\/]* ) ;;
*) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
esac
dnl Check for lint dnl Check for lint
AC_CHECK_PROGS(LINT, lclint lint) AC_CHECK_PROGS(LINT, lclint lint)