Cc: @jubalh , @ikerexxe
What is this used for? Is it anything we can get rid of?
|
AC_ARG_ENABLE([vendordir], |
|
[AS_HELP_STRING([--enable-vendordir=DIR], [Directory for distribution provided configuration files])],[],[]) |
|
AC_CHECK_LIB([econf],[econf_readDirs],[LIBECONF="-leconf"],[LIBECONF=""]) |
|
if test -n "$LIBECONF"; then |
|
AC_DEFINE_UNQUOTED([VENDORDIR], ["$enable_vendordir"], |
|
[Directory for distribution provided configuration files]) |
|
ECONF_CPPFLAGS="-DUSE_ECONF=1" |
|
fi |
|
AC_SUBST([ECONF_CPPFLAGS]) |
|
AC_SUBST([LIBECONF]) |
|
AC_SUBST([VENDORDIR], [$enable_vendordir]) |
|
if test "x$enable_vendordir" != x; then |
|
AC_DEFINE([HAVE_VENDORDIR], [1], [Define to support vendor settings.]) |
|
fi |
|
AM_CONDITIONAL([HAVE_VENDORDIR], [test "x$enable_vendordir" != x]) |
Cc: @jubalh , @ikerexxe
What is this used for? Is it anything we can get rid of?
shadow/configure.ac
Lines 265 to 279 in 5a5b776