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

Re: heimdal build problem



On Mon, Sep 30, 2002 at 11:43:00AM +0200, Johan Danielsson wrote:
> Brian May <bam@snoopy.apana.org.au> writes:
> 
> > configure: error: conditional "have_err_h" was never defined.
> 
> err.h is tested for in cf/roken-frag.m4, and should not be
> conditional. Something is fishy.

My thoughts exactly...

> grep err.h configure?

[600] [scrooge:bam] ~/source/debian/heimdal/heimdal-0.5/build-tree/heimdal-0.5 >grep err.h configure
	err.h					\
if test "$ac_cv_header_err_h" = yes; then
  have_err_h_TRUE=
  have_err_h_FALSE='#'
  have_err_h_TRUE='#'
  have_err_h_FALSE=
#include <err.h>
#include <com_err.h>
#include <com_err.h>
if test -z "${have_err_h_TRUE}" && test -z "${have_err_h_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"have_err_h\" was never defined.echo "$as_me: error: conditional \"have_err_h\" was never defined.
s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t

I am not sure what is expected...

Everything looks OK to me:

if test "$ac_cv_header_err_h" = yes; then
  have_err_h_TRUE=
  have_err_h_FALSE='#'
else
  have_err_h_TRUE='#'
  have_err_h_FALSE=
fi
-- 
Brian May <bam@snoopy.apana.org.au>