aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libgda4/files/patch-configure
blob: cf6a34b0c4ae034c747e6a8a66d318e762c99398 (plain) (blame)
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
--- configure.orig  2010-11-14 17:29:29.000000000 +0100
+++ configure   2010-11-14 17:33:39.000000000 +0100
@@ -19487,9 +19487,9 @@
             INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
             INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
             INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
-            INTROSPECTION_GIRDIR=${INTROSPECTION_GIRDIR/$datadir/\$(datadir)}
+            INTROSPECTION_GIRDIR=`echo ${INTROSPECTION_GIRDIR} | sed -e "s|${datadir}|\\\$(datadir)|"`
             INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
-            INTROSPECTION_TYPELIBDIR=${INTROSPECTION_TYPELIBDIR/$libdir/\$(libdir)}
+            INTROSPECTION_TYPELIBDIR=`echo ${INTROSPECTION_TYPELIBDIR} | sed -e "s|${libdir}|\\\$(libdir)|"`
             INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
             INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
             INTROSPECTION_MAKEFILE=$introspection_makefile
@@ -19586,7 +19586,7 @@
    echo "$LIBCRYPTO_PKG_ERRORS" >&5
 
    if test "$enable_crypto" = "yes"; then
-       as_fn_error $? "libcrypto support requested but not found" "$LINENO" 5
+#      as_fn_error $? "libcrypto support requested but not found" "$LINENO" 5
    fi
    have_crypto=no
 
@@ -19594,7 +19594,7 @@
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
    if test "$enable_crypto" = "yes"; then
-       as_fn_error $? "libcrypto support requested but not found" "$LINENO" 5
+#      as_fn_error $? "libcrypto support requested but not found" "$LINENO" 5
    fi
    have_crypto=no
 
@@ -21772,6 +21772,15 @@
        fi
        CFLAGS="$save_CFLAGS"
    fi
+    else
+         if false; then
+  MDB_TRUE=
+  MDB_FALSE='#'
+else
+  MDB_TRUE='#'
+  MDB_FALSE=
+fi
+
     fi
 
      if test "$mdbtools_found" = "yes"; then