summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAnand V. Avati <avati@dev.gluster.com>2009-11-03 04:41:09 -0800
committerAnand V. Avati <avati@dev.gluster.com>2009-11-03 04:41:09 -0800
commit05ba65c143ff35cf9a2bbd022711877efb8c67d4 (patch)
tree9e151d0205850fbd274c69a05f7d8ad92b0e2e14 /configure.ac
parent28d10d5dfdca4015827679dcc9a18d0e75624287 (diff)
use @initdir@ for installing init scripts
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index acf6b0e..3fcba2b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,6 +137,12 @@ AC_ARG_WITH(mountutildir,
[mountutildir='/sbin'])
AC_SUBST(mountutildir)
+AC_ARG_WITH(initdir,
+ [ --with-initdir=DIR init.d scripts in DIR @<:@/etc/init.d@:>@],
+ [initdir=$withval],
+ [initdir='/etc/init.d'])
+AC_SUBST(initdir)
+
# LEX needs a check
AC_PROG_LEX
if test "x${LEX}" != "xflex" -a "x${FLEX}" != "xlex"; then