1 --- ekiga-3.2.5/configure.ac.orig 2009-07-07 03:09:34.000000000 +0800
2 +++ ekiga-3.2.5/configure.ac 2009-07-13 10:50:41.167182000 +0800
5 AC_ARG_WITH(ldap-dir, AS_HELP_STRING([--with-ldap-dir=PFX],[location of LDAP]), with_ldap_dir="$withval", with_ldap_dir="/usr")
7 + if test "x${gm_platform}" != "xsolaris"; then
8 dnl Check for the includes presence
9 AC_MSG_CHECKING(for LDAP includes in ${with_ldap_dir}/include/)
13 AC_MSG_ERROR(You need the LDAP library to compile Ekiga with LDAP support)
16 + dnl Check for the includes presence
17 + AC_MSG_CHECKING(for LDAP includes in /usr/include/openldap)
21 + if test -f /usr/include/openldap/ldap.h; then
22 + LDAP_CFLAGS="-I/usr/include/openldap"
24 + AC_MSG_ERROR(You need the LDAP headers to compile Ekiga with LDAP support)
27 + dnl Checking for the library presence
29 + LIBS="-L/usr/${libname}/ -lldap-2.4 -llber-2.4"
30 + AC_CHECK_LIB(ldap, ldap_initialize, ldap_libs="yes", ldap_libs="no")
33 + if test "x${ldap_libs}" != "xno"; then
34 + LDAP_LIBS="-L/usr/${libname} -lldap-2.4 -llber-2.4"
36 + AC_MSG_ERROR(You need the LDAP library to compile Ekiga with LDAP support)
41 dnl Checking for libsasl2
42 AC_ARG_WITH(libsasl2-dir, AS_HELP_STRING([--with-libsasl2-dir=PFX],[location of LIBSASL2]), with_libsasl2_dir="$withval", with_libsasl2_dir="/usr")
45 AC_MSG_ERROR(*** libsasl2 headers not found)
47 - LDAP_LIBS="$LDAP_LIBS -lsasl2"
48 + LDAP_LIBS="$LDAP_LIBS -lsasl"
50 dnl Checking for libresolv
51 if test ${gm_platform} = "linux" ; then