automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should automake add X_LIBS to LIBS automatically?


From: Assar Westerlund
Subject: Re: Should automake add X_LIBS to LIBS automatically?
Date: 20 Jul 2001 17:35:09 +0200
User-agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6

"address@hidden"<address@hidden> writes:
> Hi! I'm trying automake. I can't understand why automake doesn't add
> X_LIBS to LIBS automatically when it finds AC_PATH_XTRA in confgigure.in

Because you might be building programs that do not use X and hence
shouldn't be linked with the X libraries.

> LIBS = @LIBS@ @X_LIBS@ MY_LIBS
> 
> in Makefile.am?

I would suggest

LDADD = $(X_LIBS)

in Makefile.am (or in a per-target variable).

/assar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]