Partially fix slapi builds, still have undefined references

This commit is contained in:
Kurt Zeilenga 2003-05-23 06:27:38 +00:00
parent 75fed6691a
commit 703444febd
3 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh
# $OpenLDAP$
# from OpenLDAP: pkg/ldap/configure.in,v 1.476 2003/05/23 03:22:44 kurt Exp
# from OpenLDAP: pkg/ldap/configure.in,v 1.477 2003/05/23 03:27:34 kurt Exp
# Copyright 1998-2003 The OpenLDAP Foundation. All Rights Reserved.
#
@ -23009,7 +23009,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
SLAPI_LIBS=-lltdl
LIBSLAPI=./libslapi.a
LIBSLAPI=libslapi.a
LIBSLAPITOOLS=../libslapi.a
cat >> confdefs.h <<\EOF
#define HAVE_LIBLTDL 1

View File

@ -2507,7 +2507,7 @@ if test "$ol_enable_slapi" != no ; then
fi
AC_CHECK_LIB(ltdl, lt_dlinit, [
SLAPI_LIBS=-lltdl
LIBSLAPI=./libslapi.a
LIBSLAPI=libslapi.a
LIBSLAPITOOLS=../libslapi.a
AC_DEFINE(HAVE_LIBLTDL,1,[define if you have libtool -ltdl])
],[AC_MSG_ERROR([could not locate libtool -lltdl])])

View File

@ -230,7 +230,7 @@ libslapi.a: .slapi
(cd slapi; $(MAKE) $(MFLAGS) all)
cp slapi/.libs/libslapi.a .
.slapi: $(SLAPD_OBJECTS)
.slapi: FORCE
$(AR) ruv slapi/libtmpslapd.a $(OBJS)
(cd slapi; $(MAKE) $(MFLAGS) all)