This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: STABLE3 - fence: Fix configure script (hardcodedfenceagentslibdir path)


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=1597bf03ac5d09c960d643c4725aa582edc93cfe
Commit:        1597bf03ac5d09c960d643c4725aa582edc93cfe
Parent:        ecf592f5afbe11aaa42a4ca9b3661a508e8fe1f3
Author:        Jan Friesse <jfriesse@redhat.com>
AuthorDate:    Mon Mar 23 11:28:35 2009 +0100
Committer:     Jan Friesse <jfriesse@redhat.com>
CommitterDate: Mon Mar 23 13:34:00 2009 +0100

fence: Fix configure script (hardcoded fenceagentslibdir path)

This fix change hardcoded default value of variable
fenceagentslibdir from /usr/share/fence to
{prefix}/share/fence.
---
 configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index c076be3..bbb6999 100755
--- a/configure
+++ b/configure
@@ -273,7 +273,7 @@ if ($help || !$err) {
   print "--ldaplibdir=\tthe base directory for ldap libraries.  (Default: {libdir})\n";
   print "--fence_agents=\tlist of fence agents to configure.  (Default: all)\n";
   print "\t\tUse --fence_agents=help for a list\n";
-  print "--fenceagentslibdir=\tspecify directory where to install common fence python lib.  (Default: /usr/share/fence)\n";
+  print "--fenceagentslibdir=\tspecify directory where to install common fence python lib.  (Default: {prefix}/share/fence)\n";
   print "--enable_crack_of_the_day\tEnable build of highly experimental features that rely on code that is not yet available for general use. (Default: no)\n";
   print "--enable_contrib\tEnable build of community contributed code/tools.  (Default: no)\n";
   print "--enable_legacy_code\tEnable build of old/obsolete/unsupported code/tools.  (Default: no)\n";
@@ -595,7 +595,7 @@ if (!$fence_agents) {
   $fence_agents="all";
 }
 if (!$fenceagentslibdir) {
-  $fenceagentslibdir="/usr/share/fence";
+  $fenceagentslibdir="${prefix}/share/fence";
 }
 if (!$enable_crack_of_the_day) {
   $enable_crack_of_the_day="";


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]