1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-28 19:39:52 +02:00

fix installation with ./ginstall in src

* src/Makefile.am (cu_install_program): New variable, set to
either ./ginstall or @INSTALL_PROGRAM@ (for cross compilation).
(INSTALL_PROGRAM): Override AC_SUBST unconditionally, to avoid
warning, and wrong initialization order.
This commit is contained in:
Ralf Wildenhues
2008-09-22 22:32:08 +02:00
committed by Jim Meyering
parent 2643b4b77d
commit beaee48f26
+5 -2
View File
@@ -466,6 +466,9 @@ sc_tight_scope: $(all_programs)
exit 1; } || :
# Use the just-built ./ginstall, when not cross-compiling.
if !CROSS_COMPILING
INSTALL_PROGRAM = ./ginstall
if CROSS_COMPILING
cu_install_program = @INSTALL_PROGRAM@
else
cu_install_program = ./ginstall
endif
INSTALL_PROGRAM = $(cu_install_program)