--- a/configure +++ b/configure @@ -15048,7 +15048,7 @@ # Check whether --enable-vlock was given. if test "${enable_vlock+set}" = set; then : - enableval=$enable_vlock; VLOCK_PROG=no + enableval=$enable_vlock; VLOCK_PROG=$enableval else VLOCK_PROG=yes fi --- a/configure.ac +++ b/configure.ac @@ -111,7 +111,7 @@ AC_ARG_ENABLE(vlock, AS_HELP_STRING(--disable-vlock, [do not build vlock]), - [VLOCK_PROG=no],[VLOCK_PROG=yes]) + [VLOCK_PROG=$enableval],[VLOCK_PROG=yes]) AM_CONDITIONAL(VLOCK, test "$VLOCK_PROG" = "yes") if test "$VLOCK_PROG" = "yes"; then