]> git.pld-linux.org Git - packages/libprelude.git/blame - libprelude-libdir.patch
- updated to 0.9.17.2
[packages/libprelude.git] / libprelude-libdir.patch
CommitLineData
4ca84080
JB
1--- libprelude-0.9.17.2/configure.in.orig 2008-05-06 17:51:17.000000000 +0200
2+++ libprelude-0.9.17.2/configure.in 2008-07-16 22:08:23.058034707 +0200
3@@ -226,8 +226,10 @@
91ebca17 4 if test x$with_system_ltdl != xno; then
4ca84080
JB
5 CPPFLAGS_bkp=$CPPFLAGS
6 LDFLAGS_bkp=$LIBS
7+ if x$with_system_ltdl != x -a x$with_system_ltdl != x/usr ; then
8 CPPFLAGS="-I$with_system_ltdl/include"
9 LDFLAGS="-L$with_system_ltdl/lib"
91ebca17
JB
10+ fi
11
12 AC_CHECK_HEADER(ltdl.h, AC_CHECK_LIB(ltdl, lt_dlopen, have_system_ltdl=yes))
4ca84080
JB
13
14@@ -244,8 +246,13 @@
91ebca17
JB
15 AC_CONFIG_SUBDIRS(libltdl)
16 else
17 with_ltdl_type="System"
18+ if test -n "$with_system_ltdl" -a "$with_system_ltdl" != "yes"; then
19 INCLTDL="-I$with_system_ltdl/include"
20 LIBLTDL="-L$with_system_ltdl/lib -lltdl"
21+ else
22+ INCLTDL=
23+ LIBLTDL="-lltdl"
24+ fi
25 fi
26
27 AM_CONDITIONAL(HAVE_SYSTEM_LIBLTDL, test x$have_system_ltdl = xyes)
This page took 0.10718 seconds and 4 git commands to generate.