Make sure INSTALL path is relative to the top dir when using the
script in tools/.
This commit is contained in:
parent
37516b3621
commit
e24bcc77e5
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue