From 6e4dcc88f4c52c7084539ed4d81ca06fd3e657aa Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 20 Dec 2012 13:16:17 +0100 Subject: [PATCH] Fix 'install' target. This broke in commit 7024574d, where the AC_SUBST() was moved above the AC_PROG_INSTALL on which it depends. This resulted in an empty $install_sh variable, breaking 'make install'. Fix this bug by moving the AC_SUBST() below AC_PROG_INSTALL. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f3e8fb07..b9875747 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,6 @@ AC_PREREQ([2.61]) AC_INIT([paraslash],[git],[maan@systemlinux.org]) AC_CONFIG_HEADER([config.h]) -AC_SUBST(install_sh, [$INSTALL]) AC_CONFIG_FILES([Makefile]) AC_DEFUN([add_dot_o],[$(for i in $@; do printf "$i.o "; done)]) AC_DEFUN([add_para],[$(for i in $@; do printf "para_$i "; done)]) @@ -39,6 +38,7 @@ test -z "$help2man" && AC_MSG_ERROR( AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL +AC_SUBST(install_sh, [$INSTALL]) AC_REPLACE_FNMATCH AC_HEADER_DIRENT -- 2.39.5