Группа :: Система/Серверы
Пакет: apache
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: apache_1.3.23-nondbm.patch
diff -urNk.original ./src/helpers/find-dbm-lib.original ./src/helpers/find-dbm-lib
--- ./src/helpers/find-dbm-lib.original Tue Jan 22 09:39:15 2002
+++ ./src/helpers/find-dbm-lib Fri Feb 8 17:31:03 2002
@@ -13,13 +13,7 @@
*-linux*)
# many systems don't have -ldbm
DBM_LIB=""
- if ./helpers/TestCompile lib ndbm dbm_open; then
- DBM_LIB="-lndbm"
- if ./helpers/TestCompile lib db1 dbm_open; then
- # Red Hat needs this; ndbm.h lives in db1
- CFLAGS="$CFLAGS -I/usr/include/db1"
- fi
- elif ./helpers/TestCompile lib db1 dbm_open; then
+ if ./helpers/TestCompile lib db1 dbm_open; then
# For Red Hat 7, if not handled by the ndbm case above
DBM_LIB="-ldb1"
CFLAGS="$CFLAGS -I/usr/include/db1"