From 882688521994c2329242212a61dd2a7c44eadbc6 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 19 Mar 2000 00:33:02 +0000 Subject: * Makeconfig (soversions.mk): Convert % -> # in shlib-versions after stripping # comments, and then run it through cpp. This allows things like "%ifdef FOO" based on config.h settings. * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio --- shlib-versions | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'shlib-versions') diff --git a/shlib-versions b/shlib-versions index 565d8e4..abf2fd4 100644 --- a/shlib-versions +++ b/shlib-versions @@ -5,6 +5,9 @@ # list is processed, with earlier entries taking precedence over later # entries. So loose patterns at the end of the list can give defaults. +# This file can use cpp-style conditionals starting with % instead of # +# to test the symbols defined in config.h by configure. + # Configuration Library versions # ------------- ------- -------- @@ -29,7 +32,11 @@ alpha.*-.*-linux.* libc=6.1 .*-.*-gnu-gnu* libhurduser=0.0 # libc.so.0.2 is for the Hurd alpha release 0.2. +%ifdef USE_IN_LIBIO /* experimental only! */ +.*-.*-gnu-gnu* libc=0.2.90.libio +%else .*-.*-gnu-gnu* libc=0.2 +%endif # The dynamic loader also requires different names. i.86-.*-linux.* ld=ld-linux.so.2 -- cgit v1.1