~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to debian/patches/spatialite

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: gdal/configure
 
2
===================================================================
 
3
--- gdal.orig/configure 2012-02-20 11:36:33.000000000 +0100
 
4
+++ gdal/configure      2012-02-20 11:41:37.000000000 +0100
 
5
@@ -24425,7 +24425,7 @@
 
6
   $as_echo_n "(cached) " >&6
 
7
 else
 
8
   ac_check_lib_save_LIBS=$LIBS
 
9
-LIBS="-lspatialite  $LIBS"
 
10
+LIBS="-lspatialite -lsqlite3 $LIBS"
 
11
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12
 /* end confdefs.h.  */
 
13
 
 
14
@@ -24463,7 +24463,7 @@
 
15
 
 
16
             if test "$SPATIALITE_INIT_FOUND" = "yes"; then
 
17
                 HAVE_SPATIALITE=yes
 
18
-                LIBS="$LIBS -lspatialite"
 
19
+                LIBS="$LIBS -lspatialite -lsqlite3"
 
20
                 HAVE_SQLITE3=yes
 
21
             fi
 
22
         else
 
23
@@ -24478,7 +24478,7 @@
 
24
   $as_echo_n "(cached) " >&6
 
25
 else
 
26
   ac_check_lib_save_LIBS=$LIBS
 
27
-LIBS="-lspatialite -L$with_spatialite/lib -lspatialite $LIBS"
 
28
+LIBS="-lspatialite -L$with_spatialite/lib -lspatialite -lsqlite3 $LIBS"
 
29
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
30
 /* end confdefs.h.  */
 
31
 
 
32
@@ -24528,7 +24528,7 @@
 
33
         # as there's a spatialite.h file in it, which we don't want to include.
 
34
         # We want to include include/spatialite.h instead !
 
35
         SQLITE3_CFLAGS="-I$with_spatialite/include"
 
36
-        LIBS="$LIBS -L$with_spatialite/lib -lspatialite"
 
37
+        LIBS="$LIBS -L$with_spatialite/lib -lspatialite -lsqlite3"
 
38
         HAVE_SQLITE3=yes
 
39
 
 
40
     elif test -f "$with_spatialite/include/spatialite.h" -a \