[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configure $srcdir vs. $(top_srcdir) for automake?
From: |
Steffen DETTMER |
Subject: |
configure $srcdir vs. $(top_srcdir) for automake? |
Date: |
Tue, 2 Sep 2008 20:35:01 +0200 |
User-agent: |
Mutt/1.4.1i |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- configure $srcdir vs. $(top_srcdir) for automake?,
Steffen DETTMER <=