Re: [htdig3-dev] Compilation problems


loic@ceic.com
Fri, 6 Aug 1999 15:51:22 +0200 (MEST)


Geoff Hutchison writes:
>
> Strange. It's completely halting my build and that file hasn't been
> touched in ages acc'd to the CVS log and the ChangeLog. Have any of the
> automake changes changed the include path?

 
Here is my interpretation:

cvs diff -c -r 1.15 -r 1.16 htconfig.h.in shows that when I run
autoheader it defined the HAVE_STRPTIME flag that was not previously
defined despite the fact that configure.in had a test for it and that
it was used in HtDateTime.cc. However,
the strptime prototype is only included if _USE_XOPEN is defined.
Since HAVE_STRPTIME was previously always false, it used the htdig
implementation instead of the standard lib one.

Two solutions : always use the htdig implementation of strptime or
figure out if we want _USE_XOPEN defined.

Besides I've noticed that HtDateTime.h includes htconfig.h *after*
testing HAVE_SYSTIME_H and this is useless. Besides it should only
be included if HAVE_CONFIG_H defined (and not HAVE_CONFIG).

I don't know whose responsible for this. Can I change it ?

-- 
		Loic Dachary

ECILA 100 av. du Gal Leclerc 93500 Pantin - France Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61 e-mail: Loic@Dachary.org URL: http://www.senga.org/

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Fri Aug 06 1999 - 06:40:20 PDT