Репозитории ALT
5.1: | 2.4-alt0.10.b1 |
4.1: | 2.4-alt0.9.b1.1 |
4.0: | 2.4-alt0.9.b1.1 |
3.0: | 2.4-alt0.6.b1.1 |
Группа :: Мониторинг
Пакет: dsniff
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: dsniff-2.4-alt-configure.patch
Скачать
Скачать
--- dsniff-2.4/configure.in.orig 2000-12-20 19:31:21 +0300
+++ dsniff-2.4/configure.in 2004-05-04 23:33:04 +0400
@@ -121,24 +121,13 @@ AC_ARG_WITH(db,
fi
;;
esac ],
-[ for dir in ${prefix}/BerkeleyDB.3.1 ${prefix}/BerkeleyDB.3.0 \
- ${prefix}/BerkeleyDB ${prefix}/db ${prefix}; do
- if test -f ${dir}/include/db_185.h; then
- AC_DEFINE(HAVE_DB_185_H)
- DBINC="-I${dir}/include"
- DBLIB="-L${dir}/lib -ldb"
- have_db=yes
- break
- elif test -f ${dir}/include/db.h; then
- AC_DEFINE(HAVE_DB_H)
- DBINC="-I${dir}/include"
- DBLIB="-L${dir}/lib -ldb"
- have_db=yes
- break
- fi
- done
- if test "x$have_db" = "x"; then
- if test -f /usr/include/db2/db_185.h; then
+[ if test "x$have_db" = "x"; then
+ if test -f /usr/include/db4/db_185.h; then
+ AC_DEFINE(HAVE_DB_185_H)
+ DBINC="-I/usr/include/db4"
+ DBLIB="-ldb-4"
+ have_db=yes
+ elif test -f /usr/include/db2/db_185.h; then
AC_DEFINE(HAVE_DB_185_H)
DBINC="-I/usr/include/db2"
DBLIB="-ldb2"