Move OpenLDAP includes to AM_CPPFLAGS to avoid dropping other defines

for the library.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23061 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-20 18:41:29 +00:00
parent fec9201b64
commit 410a4b83d8

View File

@@ -3,6 +3,7 @@
include $(top_srcdir)/Makefile.am.common
AM_CPPFLAGS += -I../asn1 -I$(srcdir)/../asn1 $(INCLUDE_hcrypto)
AM_CPPFLAGS += $(INCLUDE_openldap) -DHDB_DB_DIR=\"$(DIR_hdbdir)\"
BUILT_SOURCES = \
$(gen_files_hdb:.x=.c) \
@@ -36,6 +37,7 @@ LDADD = libhdb.la \
$(LIB_roken) \
$(LIB_ldopen)
if OPENLDAP_MODULE
ldap_so = hdb_ldap.la
@@ -72,13 +74,9 @@ dist_libhdb_la_SOURCES = \
nodist_libhdb_la_SOURCES = $(BUILT_SOURCES)
AM_CPPFLAGS += $(INCLUDE_openldap)
include_HEADERS = hdb.h hdb-protos.h
nodist_include_HEADERS = hdb_err.h hdb_asn1.h
libhdb_la_CPPFLAGS = -DHDB_DB_DIR=\"$(DIR_hdbdir)\"
libhdb_la_LIBADD = \
$(LIB_com_err) \
../krb5/libkrb5.la \