Pam na AXP

Artur Frysiak wiget w pld.org.pl
Pią, 5 Sty 2001, 14:19:53 CET


On Fri, Jan 05, 2001 at 01:43:21PM +0100, Jan Rekorajski wrote:
> [piątek, 05 styczeń 2001], Lukas Dobrek napisał(a):
> 
> > Hello,
> > Jan there is a problem with building pam on AXP, is it only 
> > AXP related problem or not? Could you look at it?
> 
> It's C preprocessor related problem that shows on AXP ;)
> A quiz: How to detect if a function is defined (somewhere in headers)?
> Hint: #ifdef/#ifndef does not work as expected.

move check to configure.in eg:
AC_CHECK_FUNCS(gethostname)
and in headers/sources use #ifndef HAVE_GETHOSTNAME

Regards
-- 
Artur Frysiak
http://www.pld.org.pl/



Więcej informacji o liście dyskusyjnej pld-devel-pl