|
|
306fa1 |
autofs-5.0.8 - fix external env configure
|
|
|
306fa1 |
|
|
|
306fa1 |
From: Ian Kent <raven@themaw.net>
|
|
|
306fa1 |
|
|
|
306fa1 |
Macro lookup can also resolve names in the external environment.
|
|
|
306fa1 |
The configure script disables this by default but the configure
|
|
|
306fa1 |
help implies it is enabled by default.
|
|
|
306fa1 |
---
|
|
|
306fa1 |
CHANGELOG | 1 +
|
|
|
306fa1 |
configure | 2 +-
|
|
|
306fa1 |
configure.in | 2 +-
|
|
|
306fa1 |
3 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
306fa1 |
|
|
|
306fa1 |
--- autofs-5.0.7.orig/CHANGELOG
|
|
|
306fa1 |
+++ autofs-5.0.7/CHANGELOG
|
|
|
306fa1 |
@@ -92,6 +92,7 @@
|
|
|
306fa1 |
- fix macro_addvar() and move init to main thread.
|
|
|
306fa1 |
- change walk_tree() to take ap.
|
|
|
306fa1 |
- add negative cache lookup to hesiod lookup.
|
|
|
306fa1 |
+- fix external env configure.
|
|
|
306fa1 |
|
|
|
306fa1 |
25/07/2012 autofs-5.0.7
|
|
|
306fa1 |
=======================
|
|
|
306fa1 |
--- autofs-5.0.7.orig/configure
|
|
|
306fa1 |
+++ autofs-5.0.7/configure
|
|
|
306fa1 |
@@ -5608,7 +5608,7 @@ else
|
|
|
306fa1 |
enableval=yes
|
|
|
306fa1 |
fi
|
|
|
306fa1 |
|
|
|
306fa1 |
-if test x$enable_ext_env = xyes; then
|
|
|
306fa1 |
+if test x$enable_ext_env = xyes -o x$enableval = xyes; then
|
|
|
306fa1 |
|
|
|
306fa1 |
$as_echo "#define ENABLE_EXT_ENV 1" >>confdefs.h
|
|
|
306fa1 |
|
|
|
306fa1 |
--- autofs-5.0.7.orig/configure.in
|
|
|
306fa1 |
+++ autofs-5.0.7/configure.in
|
|
|
306fa1 |
@@ -346,7 +346,7 @@ AC_SUBST(DAEMON_LDFLAGS)
|
|
|
306fa1 |
AC_ARG_ENABLE(ext-env,
|
|
|
306fa1 |
[ --disable-ext-env disable search in environment for substitution variable],,
|
|
|
306fa1 |
enableval=yes)
|
|
|
306fa1 |
-if test x$enable_ext_env = xyes; then
|
|
|
306fa1 |
+if test x$enable_ext_env = xyes -o x$enableval = xyes; then
|
|
|
306fa1 |
AC_DEFINE(ENABLE_EXT_ENV, 1, [leave this alone])
|
|
|
306fa1 |
fi
|
|
|
306fa1 |
|