autoconf
[Top][All Lists]
Advanced

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

AC_SEARCH_LIBS directories on 32-bit and 64-bit


From: Sergio Belkin
Subject: AC_SEARCH_LIBS directories on 32-bit and 64-bit
Date: Mon, 18 Oct 2010 19:54:08 -0300

Hi,

Let's say we have the check:

AC_SEARCH_LIBS([ns_get16],[resolv])

How can I do to detect library directory path based on host
architecture, I mean, I want that if is an x86_64 bit looks on
${prefix}/lib64 and if is 32-bit look on /usr/lib. I'd want to avoid
that user has to provide manually LDFLAGS. Is that possible? If I am
thinking something wrong, correct me.

Thanks in advance!

-- 
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -



reply via email to

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