summaryrefslogtreecommitdiff
path: root/db3
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-14 21:35:35 +0000
committerjbj <devnull@localhost>2002-08-14 21:35:35 +0000
commit622e40678461d27bc8f8b45061bdc4d866a8bdf2 (patch)
treeb72c10d517e6f59cab04462b20194f4ecfa062fc /db3
parent2a3235eb27dccdd51b6a4e113c22fe219edef0c5 (diff)
downloadrpm-622e40678461d27bc8f8b45061bdc4d866a8bdf2.tar.gz
rpm-622e40678461d27bc8f8b45061bdc4d866a8bdf2.tar.bz2
rpm-622e40678461d27bc8f8b45061bdc4d866a8bdf2.zip
Update to db-4.1.17.
CVS patchset: 5636 CVS date: 2002/08/14 21:35:35
Diffstat (limited to 'db3')
-rwxr-xr-xdb3/configure11
1 files changed, 2 insertions, 9 deletions
diff --git a/db3/configure b/db3/configure
index a252b2aac..3cd0d9a65 100755
--- a/db3/configure
+++ b/db3/configure
@@ -4,10 +4,6 @@ db_dist="../db/dist"
rm -f config.cache
-# XXX hacks to get db-3.3.4 to configure properly
-#ln -sf ../dist $db_dist/../db/dist
-#ln -sf ../dist $db_dist
-
# XXX edit CFLAGS= ... out of invocation args ???
ARGS="`echo $* | sed -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's%--cache-file=.*$%%'`"
@@ -15,18 +11,15 @@ CC="$CC" CFLAGS="$CFLAGS" $db_dist/configure $ARGS \
--enable-shared --enable-static --enable-rpc \
--with-uniquename=_rpmdb --srcdir=$db_dist
-# XXX hack to get db-3.3.4 to configure properly
-#rm -f $db_dist/../db/dist $db_dist/dist
-
mv Makefile Makefile.orig
-cat Makefile.orig | sed -e 's/ -g$/ -g -O2/' -e '/^install:/c\
+cat Makefile.orig | sed -e '/^install[:-]/c\
.PHONY: listobjs\
listobjs:\
@echo $(OBJS) $(C_OBJS) \
\
distdir install check:\
\
-db3_install: all install_setip' > Makefile
+db4_install: all install_setip' > Makefile
mv db.h db.h.orig
cat db.h.orig | sed \