From: agk@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: device-mapper configure.in
Date: 15 Jan 2007 19:02:29 -0000 [thread overview]
Message-ID: <20070115190229.577.qmail@sourceware.org> (raw)
CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: agk@sourceware.org 2007-01-15 19:02:29
Modified files:
. : configure.in
Log message:
configure-time dmeventd prefix
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/configure.in.diff?cvsroot=dm&r1=1.40&r2=1.41
--- device-mapper/configure.in 2007/01/11 21:54:51 1.40
+++ device-mapper/configure.in 2007/01/15 19:02:29 1.41
@@ -359,7 +359,7 @@
################################################################################
-dnl -- dmeventd pidfile path
+dnl -- dmeventd pidfile and executable path
AH_TEMPLATE(DMEVENTD_PIDFILE, [Path to dmeventd pidfile.])
if test "$DMEVENTD" = yes; then
AC_ARG_WITH(dmeventd-pidfile,
@@ -367,6 +367,21 @@
[ AC_DEFINE_UNQUOTED(DMEVENTD_PIDFILE,"$withval") ],
[ AC_DEFINE_UNQUOTED(DMEVENTD_PIDFILE,"/var/run/dmeventd.pid") ])
fi
+
+AH_TEMPLATE(DMEVENTD_PATH, [Path to dmeventd binary.])
+if test "$DMEVENTD" = yes; then
+ dmeventd_prefix="$exec_prefix"
+ if test "x$dmeventd_prefix" = "xNONE"; then
+ dmeventd_prefix="$prefix"
+ fi
+ if test "x$dmeventd_prefix" = "xNONE"; then
+ dmeventd_prefix=""
+ fi
+ AC_ARG_WITH(dmeventd-path,
+ [ --with-dmeventd-path=PATH dmeventd path [[\${exec_prefix}/sbin/dmeventd]] ],
+ [ AC_DEFINE_UNQUOTED(DMEVENTD_PATH,"$withval") ],
+ [ AC_DEFINE_UNQUOTED(DMEVENTD_PATH,"$dmeventd_pref/sbin/dmeventd") ])
+fi
################################################################################
AC_SUBST(usrlibdir)
AC_SUBST(JOBS)
reply other threads:[~2007-01-15 19:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070115190229.577.qmail@sourceware.org \
--to=agk@sourceware.org \
--cc=dm-cvs@sourceware.org \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.