diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2008-06-03 18:02:43 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2008-06-03 18:02:43 -0700 |
commit | 04471bd33edb8100b9604ab5e304104ad2055d44 (patch) | |
tree | 8a5cba0d9dc4f917cfb6658fcb501fa18ee43ea1 | |
parent | 8d5a2cd25a2cfe6e14a45d53c3ae225f695d0b11 (diff) |
Define default init.d directory
This allows the default init.d directory to be set from configure. By
default, it will be /etc/init.d.
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f89b46c..f58a8d5 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,16 @@ if test "x$enable_werror" != xno; then fi fi +AC_ARG_WITH([initd-dir], + [AS_HELP_STRING([--with-initd-dir=DIR], + [Set the default initd directory @<:@/etc/init.d@:>@])], + [initd_dir="$withval"], + [initd_dir=/etc/init.d] +) +AC_DEFINE_UNQUOTED([DEF_INITD_DIR], ["$initd_dir"], + [Default init.d directory] +) + AC_CONFIG_FILES([ Makefile lib/Makefile |