[921] in Kerberos-V5-bugs

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

WITH_CCOPTS problems

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Tue Nov 1 09:40:06 1994

From: epeisach@MIT.EDU
Date: Tue, 1 Nov 1994 09:39:59 -0500
To: krb5-bugs@MIT.EDU


The following configure.in files have problems with their WITH_CCOPTS.

isode/configure.in - WITH_CCOPTS near end of file...
appl/telnet/configure.in - missing WITH_CCOPT- this will break for
	subdirs if you start the make here as CCOPTS is passed to subdirs..
include/configure.in - same as above
include/kerberosIV/configure.in - you can include for consistancy...
lib/gssapi/configure.in - CC_OPTS and KRB5ROOT too far down in file...
lib/krb5/configure.in - ditto
util/autoconf/configure.in..... (of course not....)

I found these by using head:

head */configure.in */*/configure.in ...... > /tmp/a

awk -f /tmp/awk.in < /tmp/a > /tmp/b

The WITH_KRB5ROOT could be similarly added...
------------------------------------- awk.in ---------------------
BEGIN { state = 0;}
/^==/ { 
	if(state == 1) {printf "Missed WITH_CCOPTS in %s\n", name;}
	name= $2; state = 1; line=0; next; }
/WITH_CCOPTS/ {
	if(state != 1) {printf "Something weird in %s\n", name;}
	if(line > 3) {printf "CC_OPTS too far down in %s %d\n", name, line;}
	state = 2;
	next;
	}
{ line++;}
END {	if(state == 1) {printf "Missed WITH_CCOPTS in %s\n", name;}}


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