# HG changeset patch # User meillo@marmaro.de # Date 1279100939 -7200 # Node ID 4917e764f1083dd6baa012927a8ff7cfa5bfdb6e # Parent 15b3c71254cb9df0c01d230d6c88e1e173ed8bd5 Fix handling of --with-liblockfile=no or --without-liblockfile thanks to Nico R. diff -r 15b3c71254cb -r 4917e764f108 configure --- a/configure Wed Jul 14 00:54:28 2010 +0200 +++ b/configure Wed Jul 14 11:48:59 2010 +0200 @@ -5374,6 +5374,9 @@ withval=$with_liblockfile; fi +if test "x$with_liblockfile" = 'xno'; then + with_liblockfile='' +fi if test "x$with_liblockfile" != 'x'; then with_liblockfile='yes' fi diff -r 15b3c71254cb -r 4917e764f108 configure.ac --- a/configure.ac Wed Jul 14 00:54:28 2010 +0200 +++ b/configure.ac Wed Jul 14 11:48:59 2010 +0200 @@ -232,6 +232,9 @@ AC_ARG_WITH(liblockfile, [ --with-liblockfile use liblock (for Debian)], ) +if test "x$with_liblockfile" = 'xno'; then + with_liblockfile='' +fi if test "x$with_liblockfile" != 'x'; then with_liblockfile='yes' fi