summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2004-04-14 17:39:55 +0000
committerAlasdair Kergon <agk@redhat.com>2004-04-14 17:39:55 +0000
commit4a7f3eb2747c13f1f71432c54fc498c2fb43bdf5 (patch)
tree9291d7d0da8d9c608c20288f60544712b99e5c96 /configure.in
parentc7a7f85737e7f1e9aa844b937a89da48f1308ee7 (diff)
downloadlvm2-4a7f3eb2747c13f1f71432c54fc498c2fb43bdf5.tar.gz
lvm2-4a7f3eb2747c13f1f71432c54fc498c2fb43bdf5.tar.xz
lvm2-4a7f3eb2747c13f1f71432c54fc498c2fb43bdf5.zip
Install example config file by default if there isn't one already.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 1897d9b8..d31199dd 100644
--- a/configure.in
+++ b/configure.in
@@ -258,6 +258,11 @@ if test x$INTL = xyes; then
[ LOCALEDIR='${prefix}/share/locale' ])
fi
+AC_ARG_WITH(confdir,
+ [ --with-confdir=DIR Configuration files in DIR [EXEC_PREFIX/etc]],
+ [ CONFDIR="$withval" ],
+ [ CONFDIR='${exec_prefix}/etc' ])
+
if test "-f VERSION"; then
LVM_VERSION="\"`cat VERSION`\""
else
@@ -286,6 +291,7 @@ AC_SUBST(HAVE_SELINUX)
AC_SUBST(CMDLIB)
AC_SUBST(MSGFMT)
AC_SUBST(LOCALEDIR)
+AC_SUBST(CONFDIR)
AC_SUBST(INTL_PACKAGE)
AC_SUBST(INTL)
@@ -294,6 +300,7 @@ dnl keep utility scripts running properly
AC_OUTPUT( \
Makefile \
make.tmpl \
+doc/Makefile \
include/Makefile \
lib/Makefile \
lib/format1/Makefile \