blob: 37ef2b550edaf730d4a6f38564d071ddb0981f62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
use system libtdl from libtool instead of bundled one
see http://www.flameeyes.eu/autotools-mythbuster/libtool/plugins.html
bicatali@gentoo.org
--- cpl-7.0.orig/configure.ac 2012-06-04 18:38:01.000000000 +0100
+++ cpl-7.0/configure.ac 2012-06-04 22:14:23.000000000 +0100
@@ -60,8 +60,9 @@
AC_ENABLE_STATIC(yes)
AC_ENABLE_SHARED(yes)
-AC_LIBLTDL_CONVENIENCE
-AC_PROG_LIBTOOL
+LT_INIT([dlopen])
+LT_CONFIG_LTDL_DIR([libltdl])
+AC_LIB_LTDL
AC_SUBST(INCLTDL)
AC_SUBST(LIBLTDL)
AC_SUBST(LIBTOOL_DEPS)
@@ -131,7 +135,6 @@
CPL_CONFIG_FUNC
# Configure subpackages
-AC_CONFIG_SUBDIRS(libltdl)
if test ! x$"cpl_cv_with_system_cext" = xyes; then
AC_CONFIG_SUBDIRS([libcext])
--- cpl-7.0.orig/Makefile.am
+++ cpl-7.0/Makefile.am
@@ -25,11 +25,10 @@
DISTCLEANFILES = *~
if GASGANO_SUPPORT
-libltdl = libltdl
cpljava = cpljava
endif
-SUBDIRS = $(libltdl) $(libcext) cplcore cplui cpldrs cpldfs $(cpljava)
+SUBDIRS = $(libcext) cplcore cplui cpldrs cpldfs $(cpljava)
HTML_SUBDIRS =
|