From 053f21feda024bbe6dd41de481794966008b6b0e Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Tue, 23 Oct 2001 17:12:30 +0000 Subject: Fix popt library checking (This used to be commit 2cd33e88eb5ed88da90ddfd50a1ec96a2053479a) --- source3/configure.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 1de15c4333..134b7ec6af 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2491,8 +2491,9 @@ AC_ARG_WITH(included-popt, ;; esac ], ) -if test x"$INCLUDED_POPT" = x"no"; then - AC_CHECK_LIB(popt, poptGetContext, ,INCLUDED_POPT=yes) +if test x"$INCLUDED_POPT" != x"yes"; then + AC_CHECK_LIB(popt, poptGetContext, + INCLUDED_POPT=no, INCLUDED_POPT=yes) fi if test x"$INCLUDED_POPT" = x"yes"; then -- cgit