This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: Re: X11 and configure.in]


Lars Hecking <lhecking@nmrc.ie> [2002-10-30 10:36:09 +0000]:
>   Well, I'm using AC_PATH_X but I don't know how to use this in the 
> Makefile.am , I have tried to get it to work with :
> 
> LDADD           = -lX11 -lm -L$(x_libraries)

For one thing you need to place all of your -L options before your -l
options.  The list is scanned left to right.  You need to tell it the
directories to look in first and then the libraries to link with
second.

Bob



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]