public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - fence: Fix configure script (hardcoded fenceagentslibdir path)
@ 2009-03-23 12:34 Jan Friesse
  0 siblings, 0 replies; only message in thread
From: Jan Friesse @ 2009-03-23 12:34 UTC (permalink / raw)
  To: cluster-cvs-relay

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="";


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-23 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23 12:34 cluster: STABLE3 - fence: Fix configure script (hardcoded fenceagentslibdir path) Jan Friesse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).