changeset 154:4917e764f108

Fix handling of --with-liblockfile=no or --without-liblockfile thanks to Nico R.
author meillo@marmaro.de
date Wed, 14 Jul 2010 11:48:59 +0200
parents 15b3c71254cb
children dbe3dadd1afe
files configure configure.ac
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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