Project

General

Profile

libprelude_ltdl_v2.patch

New version of my patch, for svn trunk: add --with-ltdl option, and stop with an error - , 02/08/2007 04:16 PM

Download (1.47 KB)

View differences:

configure.in (copie de travail)
53 53

  
54 54

  
55 55
dnl setup libltdl
56
AC_ARG_WITH(ltdl, AC_HELP_STRING(--with-ltdl, Compile libtool dynamic linking loader),
57
            [libtool_dl="$withval"], libtool_dl="no")
58
if test x$libtool_dl != xyes; then
59
    AC_CHECK_LIB([ltdl], [lt_dlopen],,libtool_dl=yes,)
60
fi
61
if test x$libtool_dl != xyes; then
62
    AC_CHECK_HEADERS(ltdl.h,,libtool_dl=yes)
63
fi
64
AM_CONDITIONAL(NEED_LIBTOOL_DL, test x$libtool_dl = xyes)
65
if test x$libtool_dl = xyes; then
66
    AC_CONFIG_SUBDIRS(libltdl)
67
fi
56 68

  
57
AC_CONFIG_SUBDIRS(libltdl)
58 69
AC_LIBTOOL_DLOPEN
59 70
AC_LTDL_DLLIB
60 71
AC_LIBLTDL_CONVENIENCE
......
722 733
echo "    - Generate documentation : $enable_gtk_doc"
723 734
echo "    - Perl binding           : $with_perl"
724 735
echo "    - Python binding         : $with_python"
736
echo "    - Libtool dynamic loader : $libtool_dl"
737

  
Makefile.am (copie de travail)
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