X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=configure.in;h=9a6b25c794bb8f0aa9697d73b7b082c759e4de1a;hb=42a8de3bf336cc03bb29cf36ddee6a5b9379f21c;hp=2a94b62e132d52118656c7423184af1941132e6f;hpb=a6308641784a7823f5dbdc020a215773b988c496;p=openldap diff --git a/configure.in b/configure.in index 2a94b62e13..9a6b25c794 100644 --- a/configure.in +++ b/configure.in @@ -25,7 +25,7 @@ dnl ================================================================ dnl Configure.in for OpenLDAP AC_COPYRIGHT([[Copyright 1998-2011 The OpenLDAP Foundation. All rights reserved. Restrictions apply, see COPYRIGHT and LICENSE files.]]) -AC_REVISION([$OpenLDAP$]) +AC_REVISION([$Id$]) AC_INIT([OpenLDAP],,[http://www.openldap.org/its/]) m4_define([AC_PACKAGE_BUGREPORT],[]) AC_CONFIG_SRCDIR(build/version.sh)dnl @@ -56,12 +56,14 @@ if test -t 1; then TN="`$SHTOOL echo -e '%b' 2>/dev/null`" fi -OPENLDAP_CVS="" -if test -d $ac_aux_dir/CVS; then - OPENLDAP_CVS="(from CVS sources) " +OPENLDAP_REPO="" +if test -d $ac_aux_dir/../.git; then + OPENLDAP_REPO="(from Git clone) " +elif test -d $ac_aux_dir/CVS; then + OPENLDAP_REPO="(from CVS checkout) " fi -echo "Configuring ${TB}${OL_STRING}${TN} ${OPENLDAP_CVS}..." +echo "Configuring ${TB}${OL_STRING}${TN} ${OPENLDAP_REPO}..." dnl Determine host platform dnl we try not to use this for much @@ -588,7 +590,6 @@ TLS_LIBS= MODULES_LIBS= SLAPI_LIBS= LIBSLAPI= -LIBSLAPITOOLS= AUTH_LIBS= ICU_LIBS= @@ -2163,7 +2164,7 @@ if test $ol_with_fetch != no ; then OL_LIB_FETCH if test $ol_cv_lib_fetch != no ; then - LUTIL_LIBS="$LUTIL_LIBS $ol_link_fetch" + LIBS="$LIBS $ol_link_fetch" ol_link_fetch=freebsd elif test $ol_with_fetch != auto ; then @@ -2521,8 +2522,7 @@ if test "$ol_enable_slapi" != no ; then fi AC_CHECK_LIB(ltdl, lt_dlinit, [ SLAPI_LIBS=-lltdl - LIBSLAPI=libslapi.a - LIBSLAPITOOLS=../libslapi.a + LIBSLAPI=slapi/libslapi.la AC_DEFINE(HAVE_LIBLTDL,1,[define if you have libtool -ltdl]) ],[AC_MSG_ERROR([could not locate libtool -lltdl])]) @@ -3131,7 +3131,6 @@ AC_SUBST(TLS_LIBS) AC_SUBST(MODULES_LIBS) AC_SUBST(SLAPI_LIBS) AC_SUBST(LIBSLAPI) -AC_SUBST(LIBSLAPITOOLS) AC_SUBST(AUTH_LIBS) AC_SUBST(ICU_LIBS)