mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Don't build libnsl for new ABIs
For architectures and ABIs that are added in version 2.29 or later the option --enable-obsolete-nsl is no longer available, and no libnsl compatibility library is built.
This commit is contained in:
23
scripts/haveversions.awk
Normal file
23
scripts/haveversions.awk
Normal file
@ -0,0 +1,23 @@
|
||||
# This script reads the contents of Versions.all and outputs a definition
|
||||
# of variable have-VERSION for each symbol version VERSION which is
|
||||
# defined.
|
||||
#
|
||||
# The have-VERSION variables can be used to check that a port supports a
|
||||
# particular symbol version in makefiles due to its base version. A test
|
||||
# for a compatibility symbol which was superseded with a GLIBC_2.15
|
||||
# version could be tested like this:
|
||||
#
|
||||
# ifdef HAVE-GLIBC_2.14
|
||||
# tests += tst-spawn4-compat
|
||||
# endif # HAVE-GLIBC_2.14
|
||||
#
|
||||
# (NB: GLIBC_2.14 is the symbol version that immediately precedes
|
||||
# GLIBC_2.15.)
|
||||
|
||||
NF == 1 && $1 != "}" {
|
||||
haveversion[$1] = 1
|
||||
}
|
||||
END {
|
||||
for (i in haveversion)
|
||||
printf "have-%s = yes\n", i
|
||||
}
|
Reference in New Issue
Block a user