~ubuntu-branches/ubuntu/trusty/mapnik/trusty-proposed

« back to all changes in this revision

Viewing changes to config/ax_libltdl.m4

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2009-08-27 00:28:37 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090827002837-ztqzfg2rmclfh4i9
Tags: 0.6.1-0ubuntu1
* New upstream release.
* Change usr/lib to usr/lib* to enable build on 64 bits systems due to new
  configuration in SConstruct in :
  - debian/libmapnik-dev.install
  - debian/libmapnik0.6.install
  - debian/mapnik-plugin-base

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_DEFUN([AX_CHECK_LTDL],
2
 
[
3
 
 
4
 
dnl libjpeg check function
5
 
 
6
 
AC_CHECK_LIB(ltdl,
7
 
             lt_dlopen,
8
 
             [LTDL_LIBS="-lltdl" link_ltdl="ltdl"],
9
 
             [link_jpeg="no"]
10
 
            )
11
 
 
12
 
if test "x$link_ltdl" != "xno"; then
13
 
  AC_CHECK_HEADER(ltdl.h,
14
 
                  [LTDL_CFLAGS="" link_ltdl="ltdl"],
15
 
                  [link_ltdl="no"]
16
 
                 )
17
 
fi
18
 
 
19
 
if test "x$link_ltdl" = "xno"; then
20
 
  AC_MSG_ERROR(Could not link against libltdl !)
21
 
fi
22
 
 
23
 
AC_SUBST(LTDL_LIBS)
24
 
AC_SUBST(LTDL_CFLAGS)
25
 
 
26
 
])dnl
27