From: Alan W. I. <ai...@us...> - 2003-09-28 05:10:31
|
Update of /cvsroot/plplot/plplot/bindings/tcl In directory sc8-pr-cvs1:/tmp/cvs-serv29036/bindings/tcl Modified Files: Makefile.am Log Message: As part of dealing with cygwin platform issues I have reconsidered the autotools chapter on interlibrary dependencies. The changes here are meant to follow those precepts more closely along with rules about order of linking for systems where that matters for static libraries. libtool takes care of interlibrary dependencies so long as you identify just the _directly_ dependent libraries using a *.la suffix. However, for interdependent system libraries which are (quite possibly) not linked by libtool you cannot rely on this mechanism to keep track of the library dependencies so it is necessary to mention _all_ interdependent system libraries in the correct order on the libtool line when any one of them is referred to. * The order of interdependent system libraries is libitk, libtk, libitcl, libtcl, libX11, libm, and all changes here involve those libraries. * If libitk is referred to you must also mention libtk. * If libtk is referred to you must also mention libtcl, libX11 and libm. * If libtcl is referred to you must also mention libm. (This fixes an AIX problem mentioned some time ago for libtclmatrix.) * if libX11 is referred to you must also mention libm. The fixes here make no essential difference on Linux, but they are expected to reduce linking errors on Unix platforms. |