On Wed, 1 Apr 1998, Nigel Metheringham wrote:
> My hack to make a system which builds on both is to have this in the build
> script
>
> if ldd /bin/ls | fgrep -s 'libc.so.6'
> then
> echo 'LIBRESOLV = -lresolv -lnsl' >>Local/Makefile-Linux
> fi
>
> ie I hack the Makefile if ls is linked against libc version 6.
The same hack could be put into scripts/os-type to cause it to vary the
string returned. I'm happy to do that if it is the best thing anyone can
come up with.
--
Philip Hazel University Computing Service,
ph10@??? New Museums Site, Cambridge CB2 3QG,
P.Hazel@??? England. Phone: +44 1223 334714
--
*** Exim information can be found at
http://www.exim.org/ ***