1 #################################################
2 # Check to see if we should use the included popt
4 AC_ARG_WITH(included-popt,
5 [ --with-included-popt use bundled popt library, not from system],
16 if test x"$INCLUDED_POPT" != x"yes"; then
17 AC_CHECK_LIB(popt, poptGetContext,
18 INCLUDED_POPT=no, INCLUDED_POPT=yes)
21 AC_MSG_CHECKING(whether to use included popt)
22 if test x"$INCLUDED_POPT" = x"yes"; then
24 BUILD_POPT='$(POPT_OBJS)'
25 FLAGS1="-I$srcdir/popt"