aboutsummaryrefslogtreecommitdiff
path: root/ports/libspatialite/fix-configure-debug.patch
blob: 77a4c77a0628dcc0695f544e69200185c33a4433 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
diff --git a/configure b/configure
index aafdad55b..11dde35fa 100644
--- a/configure
+++ b/configure
@@ -18089,7 +18089,7 @@ return GEOSCoveredBy ();
   return 0;
 }
 _ACEOF
-for ac_lib in '' geos_c; do
+for ac_lib in '' geos_cd; do
   if test -z "$ac_lib"; then
     ac_res="none required"
   else
@@ -18124,7 +18124,7 @@ else
 fi
 
   LIBS="$LIBS_SAVE"
-  LIBS="$LIBS $GEOS_LDFLAGS -lgeos_c"
+  LIBS="$LIBS $GEOS_LDFLAGS -lgeos_cd"
 
   #-----------------------------------------------------------------------
   #   --enable-controlpoints
@@ -18176,7 +18176,7 @@ return GEOSDelaunayTriangulation ();
   return 0;
 }
 _ACEOF
-for ac_lib in '' geos_c; do
+for ac_lib in '' geos_cd; do
   if test -z "$ac_lib"; then
     ac_res="none required"
   else
@@ -18240,7 +18240,7 @@ fi
 done
 
 	  _save_libs="$LIBS"
-	  LIBS=$LIBS' -llwgeom -lgeos_c'
+	  LIBS=$LIBS' -llwgeom -lgeos_cd'
 	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 int main() { return lwgeom_make_valid(); return 0; }
@@ -18255,7 +18255,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 	  LIBS="$_save_libs"
-	  LIBS=$LIBS' -llwgeom -lgeos_c'
+	  LIBS=$LIBS' -llwgeom -lgeos_cd'
 	#
 	# testing for PostGIS 2.1 - lwgeom_set_handlers
 	#
@@ -18283,7 +18283,7 @@ return lwgeom_set_handlers ();
   return 0;
 }
 _ACEOF
-for ac_lib in '' geos_c; do
+for ac_lib in '' geos_cd; do
   if test -z "$ac_lib"; then
     ac_res="none required"
   else