summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAnand V. Avati <avati@dev.gluster.com>2009-10-27 05:52:16 -0700
committerAnand V. Avati <avati@dev.gluster.com>2009-10-27 05:52:16 -0700
commit5674c41b3ea4eac8fe8f4f74bd978699bc847332 (patch)
tree65821c9f00a4c75d6cf2c4013683b7e3dca7624b /configure.ac
parentfad22625b4012e9a5d6b29bb23f0d864c611ae1c (diff)
extras/init.d: make install directory configurable with --with-initdir
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 7243735ca..9f1e20831 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,6 +141,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