summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-29 17:17:31 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-29 17:17:31 +0000
commita8322b4fa929e14f7a14e52645232acdaa1d5623 (patch)
tree0c41e5054db88fb39a44ff2ec8d0b1bc847fd55f /Makeconfig
parent08c7f6b0082b1b645348518fdc42643b5580d87c (diff)
downloadglibc-a8322b4fa929e14f7a14e52645232acdaa1d5623.tar.gz
Update.
2000-05-29 Jakub Jelinek <jakub@redhat.com> * inet/rcmd.c (rresvport_af): Use correct port number. 2000-05-26 Andreas Schwab <schwab@suse.de> * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to entries in all-sonames. ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol, preserving the old name if different for compatibility.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig15
1 files changed, 11 insertions, 4 deletions
diff --git a/Makeconfig b/Makeconfig
index c4f682968c..441ee06273 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -709,9 +709,9 @@ $(common-objpfx)soversions.mk: $(common-objpfx)soversions.i
while read lib number setname; do \
case $$number in \
[0-9]*) echo "$$lib.so-version=.$$number"; \
- echo "all-sonames+=$$lib.so\$$($$lib.so-version)";;\
+ echo "all-sonames+=$$lib=$$lib.so\$$($$lib.so-version)";;\
*) echo "$$lib.so-version=$$number"; \
- echo "all-sonames+=\$$($$lib.so-version)";;\
+ echo "all-sonames+=$$lib=\$$($$lib.so-version)";;\
esac; \
done < $< > $@T; exit 0
mv -f $@T $@
@@ -735,10 +735,17 @@ $(common-objpfx)gnu/lib-names.stmp: $(common-objpfx)soversions.mk
echo; \
(libs='$(all-sonames)';\
for l in $$libs; do \
- upname=`echo $$l | sed 's/[.]so.*//' | \
+ name=`echo $$l | sed 's/.*=//'`; \
+ upname=`echo $$l | sed 's/=.*//' | \
tr 'abcdefghijklmnopqrstuvwxyz-' \
'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`; \
- echo "#define $${upname}_SO \"$$l\""; \
+ upname2=`echo $$name | sed 's/[.]so.*//' | \
+ tr 'abcdefghijklmnopqrstuvwxyz-' \
+ 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`; \
+ echo "#define $${upname}_SO \"$$name\""; \
+ if test $$upname != $$upname2; then \
+ echo "#define $${upname2}_SO \"$$name\""; \
+ fi; \
done;) | sort; \
echo; \
echo '#endif /* gnu/lib-names.h */';) > ${@:stmp=T}