mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
Merge branch '2849_without_prefix'
* 2849_without_prefix: Ticket #2849: bad EXTHELPERSDIR substitution if --prefix is not used.
This commit is contained in:
commit
14cd4fce0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user