Suggestion on SunOS libresolve (pic/PIC) problem

Doug Hughes (Doug.Hughes@Eng.Auburn.EDU)
Thu, 18 Jul 1996 13:11:14 -0500

I've not done a lot of work with configure, so I don't know how
possible these suggestions are for SunOS, but they will make
a (more) cleanly compiled scotty.

1) (for each ld) change the ld for the shared library creation when
compiling with the --enable-shared option so that it adds the uses ld
-assert pure-text and remove the -l flags from the line (they cause
unecessary pic/PIC warnings at this phase - we'll worry about them
later)

2) definitely users should get libresolv+ or bind-4.9.3 and compile
the resolv from that when linking in the last phase of scotty.
(eliminates the last remaining pic/PIC problems)

3) Since, during a make install, it's using the prefix directory anyway
(either the default or via the configure --prefix= directive), why
not eliminate the TCLLIBPATH thing during the install by using the
same path? For both SunOS and Solaris I had to set my TCLLIBPATH to
/opt/tcl7.5/lib/tnm2.1.0 which seems rather redundant since it has
already installed several things in that directory. It would seem prudent
during the configure phase to set the TCLLIBPATH in the Makefile to
the $prefix/lib/tnm2.1.0 or equivalent. Or is there a specific reason
that this hasn't been done?
(I followed the recent conversation on TCLLIBPATH, but have
only had till now to do the installs. Forgive me if I'm rehashing old
territory)