On Thu, 4 Jan 2001 11:04:32 -0500 (EST), Rick Scott wrote:

>The immediate problem that I see is the following
>
>LDADD= -L$(top_builddir)/src/.libs -lXbae \
>       -L$(top_builddir)/../Xm$(lib_version_suffix)/.libs \
>       @MOTIF_LIBS@ -lXm @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11
>${X_EXTRA_LIBS}
>
>The second line ensures that Xm is picked up from the LessTif source tree, no
>matter what was specified with --with-motif-libs, which is contained in
>@MOTIF_LIBS@. Now if LessTif was not compiled, every thing will be fine,
>because there will not be a libXm.so in the LessTif tree. On second thought, it
>won't be fine because it will be picking up the wrong headers also.
>
>This is one of the _many_ problems with compiling a library that depends on
>another library that is being built at the same time.

Well, we could and should make all references from Xbae/Xlt to
any paths above the library topdir _only_ if ... hmm... not sure
what to write ....
Insert:
 - if a specific flag given
 - if actually the headers/libs are in ../foo
 - if no -with-motif is given

Also note that my today's changes to Xbae/configure.in, acinclude.m4
may have broken the configure stuff temporarily!


---
Alexander Mai
[EMAIL PROTECTED]


Reply via email to