The following commit has been merged in the master branch:
commit 596203f9a90bdc667cda20f12edd880b4a6c616b
Author: Andrew Borodin <aboro
...@vmail.ru>
Date: Fri Jul 20 12:53:33 2012 +0400
Ticket #2849: bad EXTHELPERSDIR substitution if --prefix is not used.
If --prefix is not set in command line, EXTHELPERSDIR was expanded to
NONE/libexec/mc/ext.d in misc/mc.ext and misc/ext.d/Makefile.
Signed-off-by: Andrew Borodin <aboro...@vmail.ru>
diff --git a/configure.ac b/configure.ac
index 0ffb31c..845add2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -462,6 +462,10 @@ AC_SUBST(LIBS)
dnl Libraries used only when building the mc binary
AC_SUBST(MCLIBS)
+dnl ${prefix} and ${exec_prefix} are undefined here if --prefix is not used in command line
+dnl Let define ${prefix} and ${exec_prefix}
+test "x$prefix" = "xNONE" && prefix=$ac_default_prefix
+test "x$exec_prefix" = "xNONE" && exec_prefix='${prefix}'
if test x${libexecdir} = x'${exec_prefix}/libexec'; then
EXTHELPERSDIR=${prefix}/libexec/${PACKAGE}/ext.d
--
Midnight Commander Development