summaryrefslogtreecommitdiff
blob: 7cf6a3e61a3c5bffab1355f3580bf64db5a27903 (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
59
60
61
62
63
64
diff -Naur GNUnet-0.6.6b.orig/configure.ac GNUnet-0.6.6b/configure.ac
--- GNUnet-0.6.6b.orig/configure.ac	2005-02-28 04:03:38.000000000 +0100
+++ GNUnet-0.6.6b/configure.ac	2005-05-30 00:47:45.947668208 +0200
@@ -235,7 +235,6 @@
         CPPFLAGS="-I$with_extractor/include $CPPFLAGS"
         AC_CHECK_HEADERS(extractor.h,
           AC_CHECK_LIB([extractor], [EXTRACTOR_loadDefaultLibraries],
-            EXT_LIB_PATH="-L$with_extractor/lib $EXT_LIB_PATH"
             extractor=1))
         ;;
     esac
@@ -268,7 +267,6 @@
     CPPFLAGS="-I$with_gdbm/include $CPPFLAGS"
     AC_CHECK_HEADERS(gdbm.h,
      AC_CHECK_LIB(gdbm, gdbm_open,
-      EXT_LIB_PATH="-L$with_gdbm/lib $EXT_LIB_PATH"
       gdb=true))
     ;;
    esac
@@ -291,7 +289,6 @@
     CPPFLAGS="-I$with_tdb/include $CPPFLAGS"
     AC_CHECK_HEADERS(tdb.h,
      AC_CHECK_LIB(tdb, tdb_open,
-      EXT_LIB_PATH="-L$with_tdb/lib $EXT_LIB_PATH"
       tdb=true))
    fi
   ],
@@ -313,7 +310,6 @@
     LDFLAGS="-L$with_bdb/lib $LDFLAGS"
     CPPFLAGS="-I$with_bdb/include $CPPFLAGS"
     AC_CHECK_HEADERS(db.h,
-      EXT_LIB_PATH="-L$with_bdb/lib $EXT_LIB_PATH"
       bdb=true)
    fi
   ],
@@ -358,7 +354,6 @@
     LDFLAGS="-L$with_sqlite/lib $LDFLAGS"
     CPPFLAGS="-I$with_sqlite/include $CPPFLAGS"
     AC_CHECK_HEADERS(sqlite3.h,
-     EXT_LIB_PATH="-L$with_sqlite/lib $EXT_LIB_PATH"
      sqlite=true)
     ;;
    esac
@@ -385,11 +380,9 @@
   [AC_MSG_RESULT("$with_mysql")
    if test "$with_mysql" != "no"
    then
-    LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql $LDFLAGS $ZLIBS"
-    CPPFLAGS="-I$with_mysql/include $CPPFLAGS"
+    LDFLAGS="$LDFLAGS $ZLIBS"
     AC_CHECK_HEADERS(mysql/mysql.h,
      AC_CHECK_LIB(mysqlclient, mysql_init,
-      EXT_LIB_PATH="-L$with_mysql/lib -L$with_mysql/lib/mysql $EXT_LIB_PATH"
       mysql=true))
    fi
   ],
@@ -397,7 +390,6 @@
    LDFLAGS="-L/usr/lib/mysql $LDFLAGS $ZLIBS"
    AC_CHECK_LIB(mysqlclient, mysql_init,
     [AC_CHECK_HEADERS(mysql/mysql.h,
-      EXT_LIB_PATH="-L/usr/lib/mysql $EXT_LIB_PATH"
       mysql=true
      )])])