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 )])])