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>
(cherry picked from commit f07bc86d04)
r14.0.x
Slávek Banko 7 years ago
parent 5c00f5d906
commit c452cace52

@ -3,5 +3,5 @@ INCLUDES = $(all_includes) $(KDE_INCLUDES)/tde -I$(top_srcdir)
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)
slapi_acl_manager_la_LIBADD = -ltqt-mt -ltdeldap $(SLAPI_LIBRARIES)
slapi_acl_manager_la_LDFLAGS = -module -avoid-version $(all_libraries)

@ -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