AC_SEARCH_LIBS directories on 32-bit and 64-bit

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

 



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 -

_______________________________________________
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