Fix FTBFS on Mageia 6

Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 7 years ago
parent 5a660f4af9
commit f07bc86d04

@ -3,5 +3,5 @@ INCLUDES = $(all_includes) $(KDE_INCLUDES)/tde -I$(top_srcdir) $(KRB5_CFLAGS)
lib_LTLIBRARIES = slapi-acl-manager.la
slapi_acl_manager_la_SOURCES = interface.c plugin.cpp plugin.h
slapi_acl_manager_la_LIBADD = -ltqt-mt -ltdeldap
slapi_acl_manager_la_LDFLAGS = -module -avoid-version $(all_libraries) $(KRB5_LIBS)
slapi_acl_manager_la_LIBADD = -ltqt-mt -ltdeldap $(SLAPI_LIBRARIES)
slapi_acl_manager_la_LDFLAGS = -module -avoid-version $(all_libraries) $(KRB5_LIBS)

@ -0,0 +1,6 @@
# Check for slapi-plugin.h
AC_CHECK_HEADERS(slapi-plugin.h)
# Check for the slapi library
AC_CHECK_LIB(slapi, slapi_pblock_get, AC_SUBST(SLAPI_LIBRARIES, "-lslapi"), [], [-shared -fPIC])

@ -18,6 +18,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "config.h"
#ifdef HAVE_SLAPI_PLUGIN_H
#include <slapi-plugin.h>
#else

Loading…
Cancel
Save