Mercurial > masqmail
comparison configure.ac @ 173: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 | 311d4ac8a2eb |
children | 25b769efafe6 |
comparison
equal
deleted
inserted
replaced
171:15b3c71254cb | 173:4917e764f108 |
---|---|
230 | 230 |
231 dnl liblockfile | 231 dnl liblockfile |
232 AC_ARG_WITH(liblockfile, | 232 AC_ARG_WITH(liblockfile, |
233 [ --with-liblockfile use liblock (for Debian)], | 233 [ --with-liblockfile use liblock (for Debian)], |
234 ) | 234 ) |
235 if test "x$with_liblockfile" = 'xno'; then | |
236 with_liblockfile='' | |
237 fi | |
235 if test "x$with_liblockfile" != 'x'; then | 238 if test "x$with_liblockfile" != 'x'; then |
236 with_liblockfile='yes' | 239 with_liblockfile='yes' |
237 fi | 240 fi |
238 if test "x$with_liblockfile" = xyes; then | 241 if test "x$with_liblockfile" = xyes; then |
239 AC_CHECK_LIB(lockfile, maillock, has_lockfile=yes, AC_MSG_ERROR("no liblockfile")) | 242 AC_CHECK_LIB(lockfile, maillock, has_lockfile=yes, AC_MSG_ERROR("no liblockfile")) |