--- modules/aaa/config.m4.~1~ 2011-11-12 04:21:04.000000000 +0400 +++ modules/aaa/config.m4 2014-02-25 14:06:36.416273602 +0400 @@ -43,9 +43,9 @@ APACHE_CHECK_APR_HAS_LDAP if test "$ac_cv_APR_HAS_LDAP" = "yes" ; then if test -z "$apu_config" ; then - LDAP_LIBS="`$apr_config --ldap-libs`" + LDAP_LIBS="-lldap_r-2.4 -llber" else - LDAP_LIBS="`$apu_config --ldap-libs`" + LDAP_LIBS="-lldap_r-2.4 -llber" fi APR_ADDTO(MOD_AUTHNZ_LDAP_LDADD, [$LDAP_LIBS]) AC_SUBST(MOD_AUTHNZ_LDAP_LDADD) --- modules/ldap/config.m4.~1~ 2011-08-05 12:01:31.000000000 +0400 +++ modules/ldap/config.m4 2014-02-25 14:08:28.163697144 +0400 @@ -8,9 +8,9 @@ APACHE_CHECK_APR_HAS_LDAP if test "$ac_cv_APR_HAS_LDAP" = "yes" ; then if test -z "$apu_config" ; then - LDAP_LIBS="`$apr_config --ldap-libs`" + LDAP_LIBS="-lldap_r-2.4 -llber" else - LDAP_LIBS="`$apu_config --ldap-libs`" + LDAP_LIBS="-lldap_r-2.4 -llber" fi APR_ADDTO(MOD_LDAP_LDADD, [$LDAP_LIBS]) AC_SUBST(MOD_LDAP_LDADD) --- configure.in.~1~ 2013-08-19 19:42:37.000000000 +0400 +++ configure.in 2014-02-25 14:10:19.886422952 +0400 @@ -191,7 +191,7 @@ else APR_ADDTO(LDFLAGS, `$apu_config --ldflags`) APU_BINDIR=`$apu_config --bindir` - APU_INCLUDEDIR=`$apu_config --includedir` + APU_INCLUDEDIR="`$apu_config --includedir` -I/usr/include/openldap" APU_INCLUDES=`$apu_config --includes` APU_VERSION=`$apu_config --version` APU_CONFIG="$APU_BINDIR/apu-`echo ${APU_VERSION} | sed 's,\..*,,'`-config"