Группа :: Система/Серверы
Пакет: net-snmp
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: net-snmp-5.1-alt-rpm4.patch
diff -Nur net-snmp-5.1.orig/configure.in net-snmp-5.1/configure.in
--- net-snmp-5.1.orig/configure.in 2003-12-25 16:40:51 +0500
+++ net-snmp-5.1/configure.in 2003-12-25 16:41:44 +0500
@@ -1532,26 +1532,6 @@
fi
])
- # dunno if this is needed for rpm-4.0.x, earlier probably needs.
- AC_CHECK_HEADER(zlib.h,
- AC_CHECK_LIB(z, gzread, , CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}),
- CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags})
-
- # two variants of bzip2 need checking.
- AC_CHECK_LIB(bz2, bzread, [_rpmlibs="$_rpmlibs -lbz2"],
- AC_CHECK_LIB(bz2, BZ2_bzread, [_rpmlibs="$_rpmlibs -lbz2"],))
-
- # two variants of db1 need checking.
- AC_CHECK_LIB(db1, dbopen, [_rpmlibs="-ldb1 $_rpmlibs"],
- AC_CHECK_LIB(db, dbopen, [_rpmlibs="-ldb $_rpmlibs"]))
-
- # two variants of db3 need checking.
- AC_CHECK_LIB(db-3.1, db_create, [_rpmlibs="-ldb-3.1 $_rpmlibs"],
- AC_CHECK_LIB(db-3.0, db_create, [_rpmlibs="-ldb-3.0 $_rpmlibs"]))
-
- # rpm-3.0.5 and later needs popt.
- AC_CHECK_LIB(popt, poptParseArgvString, [_rpmlibs="-lpopt $_rpmlibs"])
-
# rpm-4.0.x needs rpmio.
AC_CHECK_LIB(rpmio, Fopen, [_rpmlibs="-lrpmio $_rpmlibs"],,$_rpmlibs)