discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* system without ohash.h has HAVE_OHASH
@ 2016-04-06 14:16 hans
  0 siblings, 0 replies; only message in thread
From: hans @ 2016-04-06 14:16 UTC (permalink / raw)
  To: discuss

Hi Ingo,

I am trying to compile mdocml (a fresh cvs checkout)
on a system withou ohash, namely CentOS 6.6.

Here is my configure.local

	PREFIX="${HOME}"
	HAVE_MANPATH=1
	BUILD_DB=0
	BUILD_CGI=0
	HAVE_OHASH=0

However, ./configure thinks HAVE_OHASH=1, because

	if [ ${BUILD_DB} -eq 0 ]; then
	        HAVE_OHASH=1

I believe that's broken:
"doesn't want the databases" -> we HAVE_OHASH
- but we don't.

The compilation fails with

  In file included from tag.c:30:
  mandoc_ohash.h:18:19: error: ohash.h: No such file or directory

Even the explicit HAVE_OHASH=0 does not fix it
- it gets overwritten by ./configure and config.h ends up with

  #define HAVE_OHASH 1

	Jan

--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-06 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-06 14:16 system without ohash.h has HAVE_OHASH hans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).