[3760] in Kerberos-V5-bugs

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

[krbdev.mit.edu #1311] $(PURE) in krb5-config output

daemon@ATHENA.MIT.EDU (Ezra Peisach via RT)
Mon Jan 13 17:02:08 2003

Message-Id: <rt-1311-3898.14.6801524560847@krbdev.mit.edu>
In-Reply-To: <rt-1311@krbdev.mit.edu>
From: "Ezra Peisach via RT" <rt-comment@krbdev.mit.edu>
Reply-To: rt-comment@krbdev.mit.edu
To: krb5-prs@mit.edu
Errors-To: krb5-bugs-admin@mit.edu
Date: Mon, 13 Jan 2003 17:01:24 -0500 (EST)



------- Forwarded Message

Replied: Mon, 13 Jan 2003 16:55:59 -0500
Return-Path: <kenh@cmf.nrl.navy.mil>
Received: from po12.mit.edu by po12.mit.edu (8.12.4/4.7) id h0DKnHvP025457; Mon, 13 Jan 2003 15:49:33 -0500 (EST)
Received: (from mdefang@localhost)
	by po12.mit.edu (8.12.4/8.12.4/Submit) id h0DKnFUg025400
	for <epeisach@PO12.LOCAL>; Mon, 13 Jan 2003 15:49:15 -0500 (EST)
Received: from ginger.cmf.nrl.navy.mil (ginger.cmf.nrl.navy.mil [134.207.10.161])
	by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id PAA12208
	for <krbcore@mit.edu>; Mon, 13 Jan 2003 15:49:05 -0500 (EST)
Received: from cmf.nrl.navy.mil (elvis.cmf.nrl.navy.mil [134.207.10.38])
	(authenticated bits=0)
	by ginger.cmf.nrl.navy.mil (8.12.5/8.12.5) with ESMTP id h0DKn2qD018743
	for <krbcore@mit.edu>; Mon, 13 Jan 2003 15:49:03 -0500 (EST)
Message-Id: <200301132049.h0DKn2qD018743@ginger.cmf.nrl.navy.mil>
To: krbcore@MIT.EDU
Subject: $(PURE) in krb5-config output
X-Face: "Evs"_GpJ]],xS)b$T2#V&{KfP_i2`TlPrY$Iv9+TQ!6+`~+l)#7I)0xr1>4hfd{#0B4
	WIn3jU;bql;{2Uq%zw5bF4?%F&&j8@KaT?#vBGk}u07<+6/`.F-3_GA@6Bq5gN9\+s;_d
	gD\SW #]iN_U0 KUmOR.P<|um5yP<ea#^"SJK;C*}fMI;Mv(aiO2z~9n.w?@\>kEpSD@*e`
Date: Mon, 13 Jan 2003 15:49:02 -0500
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
X-Spam-Score: 0.8, Required 7.5
X-Virus-Scanned: NAI Completed
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang)
X-Spam-Flag: NO

So, I've been trying to use krb5-config in my Autoconf scripts for various
programs/packages (like the afs-krb5 migration kit).  For the most part,
it works well, except one problem.

Under Solaris (and, apparantly, SunOS), the libs options output by krb5-config
is as follows:

$(PURE) -L/usr/krb5/lib -R/usr/krb5/lib -lkrb5 -lk5crypto -lcom_err -lgen

The problem here is that the $(PURE) is messing me up.  I can't just
add this to LIBS in my autoconf script, because then other autoconf
tests fail with problems like this:

configure:2356: cc -o conftest -O -I/usr/krb5/include  -I/usr/afsws/include  con
ftest.c  $(PURE) -L/usr/krb5/lib -R/usr/krb5/lib -lkrb5 -lk5crypto -lcom_err -lg
en /usr/afsws/lib/afs/util.a >&5
ld: fatal: file $(PURE): open failed: No such file or directory

Yes, I can leave LIBS alone and use another variable and just combine
them in the Makefile, but that makes it hard to add Kerberos to
third-party applications.  Comments on the right thing to do?  Perhaps
the best thing is to add an additional sed statement to krb5-config to
also edit out $(PURE) like is done now for $(CC) (but that sucks for
people who are using current krb5-config scripts under Solaris).

- --Ken

------- End of Forwarded Message

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
http://mailman.mit.edu/mailman/listinfo/krb5-bugs

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