aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-09 20:23:20 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-09 20:23:20 +0000
commitdda7bd8459991b0e96a0c8b7c2cb63592083fc3f (patch)
treedfcee6e83463c7d02c78b3c5f3ae2b16e27932bc /Makeconfig
parent4c78249d06de46901afafab3ff32b858b8c739ed (diff)
downloadglibc-dda7bd8459991b0e96a0c8b7c2cb63592083fc3f.zip
glibc-dda7bd8459991b0e96a0c8b7c2cb63592083fc3f.tar.gz
glibc-dda7bd8459991b0e96a0c8b7c2cb63592083fc3f.tar.bz2
Add comments about using DEFAULT in second column. (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig16
1 files changed, 10 insertions, 6 deletions
diff --git a/Makeconfig b/Makeconfig
index 7291f24..df30d89 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-1999,2000 Free Software Foundation, Inc.
+# Copyright (C) 1991-1999,2000,01 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -725,11 +725,15 @@ $(common-objpfx)soversions.i: $(..)shlib-versions $(..)Makeconfig \
test -n "$$version" && \
test `expr '$(config-machine)-$(config-vendor)-$(config-os)' \
: "$$conf"` != 0 || continue; \
- lib=`echo $$version | sed 's/=.*$$//'`; \
- if eval test -z "\$${versioned_$${lib}}"; then \
- eval versioned_$${lib}=yes; \
- number=`echo $$version | sed "s/^.*=//"`; \
- echo $$lib $$number $$setname; \
+ if test "x$$version" = xDEFAULT; then \
+ default_setname="$$setname"; \
+ else \
+ lib=`echo $$version | sed 's/=.*$$//'`; \
+ if eval test -z "\$${versioned_$${lib}}"; then \
+ eval versioned_$${lib}=yes; \
+ number=`echo $$version | sed "s/^.*=//"`; \
+ echo $$lib $$number $${setname:-$${default_setname}}; \
+ fi; \
fi; \
done > $@T; exit 0
mv -f $@T $@