Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
updated: [master] [596203f] Ticket #2849: bad EXTHELPERSDIR substitution if --prefix is not used.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andrew Borodin  
View profile  
 More options Aug 6 2012, 5:21 am
From: "Andrew Borodin" <aboro...@vmail.ru>
Date: Mon, 6 Aug 2012 11:21:50 +0200 (CEST)
Local: Mon, Aug 6 2012 5:21 am
Subject: updated: [master] [596203f] Ticket #2849: bad EXTHELPERSDIR substitution if --prefix is not used.
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »