1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>

	* Makeconfig (all-subdirs): Add db.
	* Versions.def: Add definition for libdb1.
	* shlib-versions: Add definitions for libdb1.
	* db/Makefile (extra-libs): Replace by libdb1.
	(libdb-routines): Rename to libdb1-routines.
	(headers): Rename to db1-headers.
	(distribute): Add $(db1-headers).
	(install-others): Define to install symlink libdb.so.NN and the
	$(db1-headers).
	(CPPFLAGS): Add -USE_LIBDB1
	Remove rules to build makedb.
	* db/Versions: Rename libdb to libdb1.
	* include/db.h: If USE_LIBDB1 is defined include db/db.h.

	* scripts/versions.awk: Recognize digits in library names.

	* db/btree/bt_open.c: Fix compiler warnings.
	* db/btree/bt_put.c: Likewise.
	* db/btree/bt_split.c: Likewise.
	* db/hash/hash.c: Likewise.
	* db/hash/hash_bigkey.c: Likewise.
	* db/recno/rec_close.c: Likewise.
This commit is contained in:
Ulrich Drepper
1998-09-23 14:02:16 +00:00
parent 1cd9c90dc9
commit 24fd4cc451
14 changed files with 90 additions and 47 deletions

View File

@@ -12,7 +12,7 @@
BEGIN {
nlibs=0;
while (getline < defsfile) {
if (/^[a-zA-Z_]+ {/) {
if (/^[a-zA-Z0-9_]+ {/) {
libs[$1] = 1;
curlib = $1;
while (getline < defsfile && ! /^}/) {
@@ -38,7 +38,7 @@ BEGIN {
}
# This matches the beginning of the version information for a new library.
/^[a-zA-Z_]+/ {
/^[a-zA-Z0-9_]+/ {
actlib = $1;
if (!libs[$1]) {
printf("no versions defined for %s\n", $1) > "/dev/stderr";