From: Andre Noll Date: Sat, 8 Jul 2017 16:36:03 +0000 (+0200) Subject: build: Fix check for lopsub. X-Git-Tag: v0.6.1~67 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=0d711036d936076f05e2c93a9076cc441f3eb9f9;p=paraslash.git build: Fix check for lopsub. If the lopsub library is not installed, HAVE_LOPSUB should be set to "no". The current code in configure.ac gets this wrong, causing the configure script to succeed even if the library is not installed. --- diff --git a/configure.ac b/configure.ac index a589613b..ee1c3d82 100644 --- a/configure.ac +++ b/configure.ac @@ -76,7 +76,7 @@ STASH_FLAGS LIB_ARG_WITH([lopsub], [-llopsub]) HAVE_LOPSUB=yes AC_CHECK_HEADER(lopsub.h, [], [HAVE_LOPSUB=no]) -AC_CHECK_LIB([lopsub], [lls_merge], [], [HAVE_LOPSUB=yes]) +AC_CHECK_LIB([lopsub], [lls_merge], [], [HAVE_LOPSUB=no]) if test $HAVE_LOPSUB = no; then AC_MSG_ERROR([ The lopsub library is required to build this software, but the above checks indicate it is not installed on your system.