This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: [Fwd: Re: X11 and configure.in]
- From: bob at proulx dot com (Bob Proulx)
- To: automake at gnu dot org
- Date: Wed, 30 Oct 2002 10:34:42 -0700
- Subject: Re: [Fwd: Re: X11 and configure.in]
- References: <20021030103609.GB17745@nmrc.ie>
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