diff options
Diffstat (limited to 'source4/popt/config.m4')
-rw-r--r-- | source4/popt/config.m4 | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/source4/popt/config.m4 b/source4/popt/config.m4 deleted file mode 100644 index 0be7d308c7..0000000000 --- a/source4/popt/config.m4 +++ /dev/null @@ -1,40 +0,0 @@ -################################################# -# Check to see if we should use the included popt - -INCLUDED_POPT=auto -AC_ARG_WITH(included-popt, -[ --with-included-popt use bundled popt library, not from system], -[ -case "$withval" in - yes) - INCLUDED_POPT=yes - ;; - no) - INCLUDED_POPT=no - ;; -esac ], -) -if test x"$INCLUDED_POPT" != x"yes"; then - AC_CHECK_HEADERS(popt.h) - AC_CHECK_LIB_EXT(popt, TMP_LIBPOPT_LIBS, poptGetContext, [], [], INCLUDED_POPT=no) - if test x"$ac_cv_header_popt_h" = x"no"; then - INCLUDED_POPT=yes - TMP_LIBPOPT_LIBS="" - fi -fi - -AC_MSG_CHECKING(whether to use included popt) -if test x"$INCLUDED_POPT" != x"no"; then - TMP_LIBPOPT_OBJS="popt/findme.o popt/popt.o popt/poptconfig.o \ - popt/popthelp.o popt/poptparse.o" - CPPFLAGS="$CPPFLAGS -I$srcdir/popt" - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi - -SMB_SUBSYSTEM(LIBPOPT,[], - [${TMP_LIBPOPT_OBJS}], - [], - [], - [${TMP_LIBPOPT_LIBS}]) |