>>>> "SJT" == Stephen J Turnbull
<turnbull(a)sk.tsukuba.ac.jp> writes:
SJT> Debian (unstable == potato, current as of a couple days ago) supplies
SJT> both the standard libXaw.so and a libXaw3d.so, by those names, in
SJT> /usr/X11R6/lib. This is unlikely to go away since there are several
SJT> programs that don't seem to coexist with Athena 3D for some reason.
SJT> `ln -sf libXaw3d.so.6.1 libXaw.so' and bingo! no errors. But I don't
SJT> think I want to do this permanently.
SJT> Or do I? (Advice, please.)
i doubt it. at least when i tried running this way several years ago,
i would eventually always find some program that would crap out on the
Xaw3d libs. So I've always kept them separate.
SJT> If not, Would it be reasonable for ./configure (once it has decided to
SJT> use Xaw3d) to test for the existence of libXaw3d.so (and maybe
SJT> libXaw3d.a, but maybe not) and do `-lXaw3d' instead of `-lXaw' in that
SJT> case?
Ideally it would be nice if there was a way to specify this in
configure. Until then, I have this in my build script for the xaw3d
case:
if [ $1 = "xaw3d" ]; then
mv src/Makefile src/Makefile.orig
mv src/GNUmakefile src/GNUmakefile.orig
sed -e s/-lXaw/-lXaw3d/ src/Makefile.orig > src/Makefile
sed -e s/-lXaw/-lXaw3d/ src/GNUmakefile.orig > src/GNUmakefile
fi