diff options
author | Alasdair G Kergon <agk@redhat.com> | 2015-02-13 19:10:10 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2015-02-13 19:10:10 +0000 |
commit | 032c9178ca72aef93bfef6e4952bb98d3373b642 (patch) | |
tree | 4ffd81250f7bc17345df5d6da5c3da4248e6969f /configure.in | |
parent | d726246f78ed7b8b957d45abe9084fb0b47c7240 (diff) | |
download | lvm2-032c9178ca72aef93bfef6e4952bb98d3373b642.tar.gz |
conf: Set default global/etc from --with-confdir.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index b4b9ec285..73ca4cd95 100644 --- a/configure.in +++ b/configure.in @@ -1452,6 +1452,8 @@ AC_ARG_WITH(confdir, AC_HELP_STRING([--with-confdir=DIR], [configuration files in DIR [/etc]]), CONFDIR=$withval, CONFDIR='/etc') +AC_DEFINE_UNQUOTED(DEFAULT_ETC_DIR, ["$CONFDIR"], + [Default system configuration directory.]) AC_ARG_WITH(staticdir, AC_HELP_STRING([--with-staticdir=DIR], |