From 115c99144920b9726a43b224e3224e31587eef64 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Tue, 6 Apr 2004 11:56:20 +0000 Subject: Update to 3.0.3.p2 (aka pre2), which containes a lot of imporvements and bugfixes since 3.0.2a. In addition following problems solved: o linking agaist libiconv is mandatary now o more ways of detecting Kerberos5 installation and LIB_DEPENDS on Heimdal port if none is found - should address problems with bentoo building as well o fixed problem when port wasn't compilable when LDAP wasn't chosen and ADS was. Submitted by: Timur Bakeyev (maintainer) PR: 65237 --- net/samba3/files/patch-aclocal.m4 | 104 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 net/samba3/files/patch-aclocal.m4 (limited to 'net/samba3/files/patch-aclocal.m4') diff --git a/net/samba3/files/patch-aclocal.m4 b/net/samba3/files/patch-aclocal.m4 new file mode 100644 index 000000000000..36c172411d1e --- /dev/null +++ b/net/samba3/files/patch-aclocal.m4 @@ -0,0 +1,104 @@ +--- aclocal.m4.orig Sat Apr 3 22:30:01 2004 ++++ aclocal.m4 Sat Apr 3 22:33:24 2004 +@@ -564,89 +564,20 @@ + jm_cv_lib_iconv="" + jm_cv_giconv=no + jm_save_LIBS="$LIBS" +- LIBS="$LIBS -lbiconv" +- AC_TRY_LINK([#include +-#include ], +- [iconv_t cd = iconv_open("",""); +- iconv(cd,NULL,NULL,NULL,NULL); +- iconv_close(cd);], +- jm_cv_func_iconv=yes +- jm_cv_biconv=yes +- jm_cv_include="biconv.h" +- jm_cv_lib_iconv="biconv") +- LIBS="$jm_save_LIBS" +- +- dnl Check for include in funny place but no lib needed +- if test "$jm_cv_func_iconv" != yes; then +- AC_TRY_LINK([#include +-#include ], +- [iconv_t cd = iconv_open("",""); +- iconv(cd,NULL,NULL,NULL,NULL); +- iconv_close(cd);], +- jm_cv_func_iconv=yes +- jm_cv_include="giconv.h" +- jm_cv_giconv="yes" +- jm_cv_lib_iconv="") +- +- dnl Standard iconv.h include, lib in glibc or libc ... +- if test "$jm_cv_func_iconv" != yes; then +- AC_TRY_LINK([#include ++ LIBS="$LIBS -liconv" ++ AC_TRY_LINK([#include + #include ], +- [iconv_t cd = iconv_open("",""); +- iconv(cd,NULL,NULL,NULL,NULL); +- iconv_close(cd);], +- jm_cv_include="iconv.h" +- jm_cv_func_iconv=yes +- jm_cv_lib_iconv="") +- +- if test "$jm_cv_lib_iconv" != yes; then +- jm_save_LIBS="$LIBS" +- LIBS="$LIBS -lgiconv" +- AC_TRY_LINK([#include +-#include ], +- [iconv_t cd = iconv_open("",""); +- iconv(cd,NULL,NULL,NULL,NULL); +- iconv_close(cd);], +- jm_cv_lib_iconv=yes +- jm_cv_func_iconv=yes +- jm_cv_include="giconv.h" +- jm_cv_giconv=yes +- jm_cv_lib_iconv="giconv") +- +- LIBS="$jm_save_LIBS" +- +- if test "$jm_cv_func_iconv" != yes; then +- jm_save_LIBS="$LIBS" +- LIBS="$LIBS -liconv" +- AC_TRY_LINK([#include +-#include ], +- [iconv_t cd = iconv_open("",""); +- iconv(cd,NULL,NULL,NULL,NULL); +- iconv_close(cd);], +- jm_cv_include="iconv.h" +- jm_cv_func_iconv=yes +- jm_cv_lib_iconv="iconv") +- LIBS="$jm_save_LIBS" +- fi +- fi +- fi +- fi ++ [iconv_t cd = iconv_open("",""); ++ iconv(cd,NULL,NULL,NULL,NULL); ++ iconv_close(cd);], ++ jm_cv_include="iconv.h" ++ jm_cv_func_iconv=yes ++ jm_cv_lib_iconv="iconv") ++ LIBS="$jm_save_LIBS" + if test "$jm_cv_func_iconv" = yes; then +- if test "$jm_cv_giconv" = yes; then +- AC_DEFINE(HAVE_GICONV, 1, [What header to include for iconv() function: giconv.h]) +- AC_MSG_RESULT(yes) +- ICONV_FOUND=yes +- else +- if test "$jm_cv_biconv" = yes; then +- AC_DEFINE(HAVE_BICONV, 1, [What header to include for iconv() function: biconv.h]) +- AC_MSG_RESULT(yes) +- ICONV_FOUND=yes +- else +- AC_DEFINE(HAVE_ICONV, 1, [What header to include for iconv() function: iconv.h]) +- AC_MSG_RESULT(yes) +- ICONV_FOUND=yes +- fi +- fi ++ AC_DEFINE(HAVE_ICONV, 1, [What header to include for iconv() function: iconv.h]) ++ AC_MSG_RESULT(yes) ++ ICONV_FOUND=yes + else + AC_MSG_RESULT(no) + fi -- cgit v1.2.3