])
dnl
dnl ====================================================================
-dnl International Components for Unicode (ICU)
-AC_DEFUN([OL_ICU],
-[ol_icu=no
-AC_CHECK_HEADERS( unicode/utypes.h )
-if test $ac_cv_header_unicode_utypes_h = yes ; then
- dnl OL_ICULIBS="-licui18n -licuuc -licudata"
- OL_ICULIBS="-licuuc -licudata"
-
- AC_CACHE_CHECK([for ICU libraries], [ol_cv_lib_icu], [
- ol_LIBS="$LIBS"
- LIBS="$OL_ICULIBS $LIBS"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
-#include <unicode/utypes.h>
-]], [[
-(void) u_errorName(0);
-]])],[ol_cv_lib_icu=yes],[ol_cv_lib_icu=no])
- LIBS="$ol_LIBS"
-])
-
- if test $ol_cv_lib_icu != no ; then
- ol_icu="$OL_ICULIBS"
- AC_DEFINE(HAVE_ICU,1,[define if you actually have ICU])
- fi
-fi
-])
-dnl
-dnl ====================================================================
dnl Berkeley DB macros
dnl
dnl --------------------------------------------------------------------
TLS_LIBS = @TLS_LIBS@
AUTH_LIBS = @AUTH_LIBS@
SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
-ICU_LIBS = @ICU_LIBS@
MODULES_CPPFLAGS = @SLAPD_MODULES_CPPFLAGS@
MODULES_LDFLAGS = @SLAPD_MODULES_LDFLAGS@
SLAPD_SQL_INCLUDES = @SLAPD_SQL_INCLUDES@
SLAPD_SQL_LIBS = @SLAPD_SQL_LIBS@
-SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_PERL_LDFLAGS@ @SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@ $(ICU_LIBS)
+SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_PERL_LDFLAGS@ @SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@
# Our Defaults
CC = $(AC_CC)
SLAPI_LIBS=
LIBSLAPI=
AUTH_LIBS=
-ICU_LIBS=
SLAPD_SLP_LIBS=
SLAPD_GMP_LIBS=
fi
fi
-dnl ----------------------------------------------------------------
-dnl International Components for Unicode
-OL_ICU
-if test "$ol_icu" = no ; then
- AC_MSG_WARN([ICU not available])
-else
- ICU_LIBS="$ol_icu"
-fi
dnl ----------------------------------------------------------------
dnl
dnl Check for Cyrus SASL
AC_SUBST(SLAPI_LIBS)
AC_SUBST(LIBSLAPI)
AC_SUBST(AUTH_LIBS)
-AC_SUBST(ICU_LIBS)
AC_SUBST(SLAPD_SLP_LIBS)
AC_SUBST(SLAPD_GMP_LIBS)
/* Define to 1 if you have the `hstrerror' function. */
#undef HAVE_HSTRERROR
-/* define if you actually have ICU */
-#undef HAVE_ICU
-
/* define to you inet_aton(3) is available */
#undef HAVE_INET_ATON
/* define if you have TLS */
#undef HAVE_TLS
-/* Define to 1 if you have the <unicode/utypes.h> header file. */
-#undef HAVE_UNICODE_UTYPES_H
-
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H