[Top][All Lists]
[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
- time offsets, (continued)
- time offsets, Rory Toma, 2002/08/13
- Re: time offsets, Christian Hopp, 2002/08/13
- Re: time offsets, Jan-Henrik Haukeland, 2002/08/13
- Re: time offsets, Rory Toma, 2002/08/13
- Re: time offsets, Christian Hopp, 2002/08/14
- Re: time offsets, rory, 2002/08/14
- Re: time offsets, Mark Ferlatte, 2002/08/14
- Re: time offsets, Jan-Henrik Haukeland, 2002/08/14
- Re: time offsets, Rory Toma, 2002/08/14
- Re: time offsets, Rory Toma, 2002/08/14
- Re: time offsets,
Jan-Henrik Haukeland <=
- Re: time offsets, Rory Toma, 2002/08/14
- Re: time offsets, Mark Ferlatte, 2002/08/14
- Re: time offsets, Jan-Henrik Haukeland, 2002/08/14