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

Gitweb:        http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=7bc7d1679680090b5a4b34d051c65041e16facd7
Commit:        7bc7d1679680090b5a4b34d051c65041e16facd7
Parent:        38493ef91b33d4ba4e6f4f6d5adebec936ca8c67
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 11:28:35 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 888d022..08c1980 100755
--- a/configure
+++ b/configure
@@ -146,7 +146,7 @@ if ($help || !$err) {
   print "--virtlibdir=\tthe base directory for libvirt 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_legacy_code\tEnable build of old/obsolete/unsupported code/tools.  (Default: no)\n";
   print "--enable_virt\tEnable building of virtualization code (Default: disabled)\n";
@@ -297,7 +297,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 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23 10:29 fence-agents: master - 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).