[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Detect usage of GNU libc.
From: |
Johan Rydberg |
Subject: |
Re: Detect usage of GNU libc. |
Date: |
Fri, 16 Jan 2004 19:17:00 +0100 |
address@hidden (Paul Jarc) wrote:
: Testing for glibc specifically, by whatever means, is not the right
: way to go about this. Instead, try to compile and link (but not run,
: if you care about cross-compiling) a test program that uses those
: functions. If that succeeds, then let your main program use them too.
: autoconf can help with tests like this.
I do not need any functions, but instead defines, such as LITTLE_ENDIAN
and BYTE_ORDER. The thing is that the header will be installed, so I
can not use a autoconf-generated config.h file for these things.
--
Johan Rydberg, Free Software Developer, Sweden
http://rtmk.sf.net | http://www.nongnu.org/guss/
Playing Luke's Angels - Cinema