1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Prepend $(top_builddir) to @INSTALL@ if it is relative.

Reported to elinks-users on 2006-08-23.

[ From commit 57a9871ea1 in ELinks 0.12.GIT.
  Should fix an error building ELinks in the source directory on SunOS.
  The error was again reported to elinks-users on 2007-05-10.  --KON ]
This commit is contained in:
Kalle Olavi Niemitalo 2006-09-10 08:57:55 +03:00 committed by Kalle Olavi Niemitalo
parent 156f9722b2
commit 33ba3bd8d4

View File

@ -38,7 +38,10 @@ ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
# The INSTALL substituted by configure can be either absolute or
# relative to the top build directory. Adjust it so that it can
# be used in build subdirectories.
INSTALL = $(if $(patsubst /%,,$(firstword @INSTALL@)),$(top_builddir)/)@INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@