Project

General

Profile

libprelude_ltdl.patch

, 02/07/2007 07:12 PM

Download (1.33 KB)

View differences:

libprelude-0.9.12.2/Makefile.am 2007-02-07 19:00:14.000000000 +0100
1 1
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
2 2

  
3 3
ACLOCAL_AMFLAGS = -I m4 -I libmissing/m4
4
SUBDIRS = libltdl libmissing m4 src prelude-adduser bindings docs
4
SUBDIRS = libmissing m4 src prelude-adduser bindings docs
5
if NEED_LIBTOOL_DL
6
SUBDIRS += libltdl
7
endif
5 8

  
6 9
EXTRA_DIST = HACKING.README LICENSE.README client.conf global.conf idmef-client.conf tls.conf
7 10

  
8
-- libprelude-0.9.12.2.old/configure.in	2007-01-08 13:51:42.000000000 +0100
11
++ libprelude-0.9.12.2/configure.in	2007-02-07 18:59:05.000000000 +0100
......
52 52

  
53 53

  
54 54
dnl setup libltdl
55
AC_CHECK_LIB([ltdl], [lt_dlopen], libtool_dl=no, libtool_dl=yes, [-L/usr/local/lib])
56
if test x$libtool_dl = xyes; then
57
    AC_CONFIG_SUBDIRS(libltdl)
58
else
59
    AC_CHECK_HEADERS(ltdl.h,,AC_MSG_ERROR([*** ltdl library is present but headers are missing]))
60
fi
61
AM_CONDITIONAL(NEED_LIBTOOL_DL, test x$libtool_dl = xyes)
55 62

  
56
AC_CONFIG_SUBDIRS(libltdl)
57 63
AC_LIBTOOL_DLOPEN
58 64
AC_LTDL_DLLIB
59 65
AC_LIBLTDL_CONVENIENCE
......
710 716
echo "    - Generate documentation : $enable_gtk_doc"
711 717
echo "    - Perl binding           : $with_perl"
712 718
echo "    - Python binding         : $with_python"
719
echo "    - Libtool dl             : $libtool_dl"
720