monit-general
[Top][All Lists]
Advanced

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

Re: time offsets


From: Jan-Henrik Haukeland
Subject: Re: time offsets
Date: 14 Aug 2002 23:52:22 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

Rory Toma <address@hidden> writes:

> I decided I wanted to split the difference, and do the following:
> 
> if test "$ARCH" = "FREEBSD"
> then
>         LIBS="-pthread $LIBS"
>         EXTRA_DEFINES="-DHAVE_TM_GMTOFF"
> fi
> 
> then have util.c as the test against HAVE_TM_GMTOFF. However, I can't
> seem to get the EXTRA_DEFINES into the Makefile at all. I would suspect
> that in Makefile.in:
> 
> DEFINES         = address@hidden@ @EXTRA_DEFINES@ 
> 
> that this would work, but it does not. How do I get the extra value
> specified in configure.in into the Makefile?

The original plan was that we tested against the architecture. If this
isn't good enough and we need stuff like HAVE_XYZ we should do it
proper and create a config.h with all those defines, to avoid having a
to long compile line. But if I understod Mark, he's going to fix this.

BTW, you must use AC_SUBST(VARIABLE) for autoconf to replace the
@VARIABLE@ in the output files, like I did with ARCH. Or you can put
it into some known autoconf variable like CFLAGS.

-- 
Jan-Henrik Haukeland




reply via email to

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