1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r18537: after testing for poptGetContext, if the test fails, don't try to use

the external popt (this affects hpisgr8)
This commit is contained in:
Andrew Tridgell 2006-09-14 19:36:26 +00:00 committed by Gerald (Jerry) Carter
parent fbe13ed83e
commit 9afbd60f91

View File

@ -11,7 +11,7 @@ AC_SUBST(POPT_CFLAGS)
if test x"$INCLUDED_POPT" != x"yes"; then
AC_CHECK_HEADERS(popt.h)
AC_CHECK_LIB(popt, poptGetContext, [ POPT_LIBS="-lpopt" ])
if test x"$ac_cv_header_popt_h" = x"no"; then
if test x"$ac_cv_header_popt_h" = x"no" -o x"$ac_cv_lib_popt_poptGetContext" = x"no"; then
INCLUDED_POPT=yes
POPT_CFLAGS=""
else