From 7e44bfb32ddeb5c1b88026362a8f82ee46f16e7a Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Wed, 13 Jun 2012 17:00:59 +0300 Subject: [PATCH] Fixed libexec hardcoded value Signed-off-by: Slava Zanko --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4d71f3501..4be6ac814 100644 --- a/configure.ac +++ b/configure.ac @@ -482,7 +482,11 @@ dnl Libraries used only when building the mc binary AC_SUBST(MCLIBS) -EXTHELPERSDIR=${prefix}/libexec/${PACKAGE}/ext.d +if test x${libexecdir} = x'${exec_prefix}/libexec'; then + EXTHELPERSDIR=${prefix}/libexec/${PACKAGE}/ext.d +else + EXTHELPERSDIR=${libexecdir}/${PACKAGE}/ext.d +fi AC_SUBST(EXTHELPERSDIR) MAN_DATE="$(LC_ALL=C date "+%B %Y")"