configure $srcdir vs. $(top_srcdir) for automake?

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

 



Hi,

when in configure some test construction found lets say

  LDFLAGS="$LDFLAGS -Wl,--script=${srcdir}/lib/link.txt"

for automake in Makefile this should become

  LDFLAGS="$LDFLAGS -Wl,--script=$(top_srcdir)/lib/link.txt"

to work in subdirectories also. Inside configure, $(top_srcdir) of
course is not working and thus macros like AC_SEARCH_LIBS would
fail. Setting srcdir to '\$(top_srcdir)' or alike at the end of
configure.in fails in config.status.

oki,

Steffen
 
About Ingenico Throughout the world businesses rely on Ingenico for secure and expedient electronic transaction acceptance. Ingenico products leverage proven technology, established standards and unparalleled ergonomics to provide optimal reliability, versatility and usability. This comprehensive range of products is complemented by a global array of services and partnerships, enabling businesses in a number of vertical sectors to accept transactions anywhere their business takes them.
www.ingenico.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux