[662] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Beta4 problem with autoconf

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Thu Aug 18 14:55:13 1994

From: epeisach@MIT.EDU
Date: Thu, 18 Aug 1994 14:54:59 -0400
To: krb5-bugs@MIT.EDU


When trying to build in include/krb5 I get the following:

making in include/krb5...
/bin/csh config.status
ac_cs_usage=Usage: config.status [--recheck] [--version] [--help]: Command not f
ound.
for: Command not found.
do: Command not found.
ac_option: Undefined variable.

I think the problem stems from the src/aclocal.m4 when there is a
dependency on config.status:

Makefile: $(srcdir)/Makefile.in config.status
        $(SHELL) config.status
config.status: $(srcdir)/configure
        $(SHELL) config.status --recheck

But SHELL is defined in very few Makefile.in..... (so it defaults to
/bin/csh). 

Solutions:
a) Use gmake - which seems to default SHELL to /bin/sh
b) Put in the aclocal.m4 file a SHELL=/bin/sh.... 
c) I notice that configure use CONFIG_SHELL and defaults ro /bin/sh if
not defined. Perhaps CONFIG_SHELL could be exported for the Makefiles -
and the line in aclocal.m4 changed.


	Ezra

home help back first fref pref prev next nref lref last post