[1315] in Kerberos-V5-bugs
lib/{configure.in,Makefile.in}
daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Tue Mar 28 23:19:29 1995
From: epeisach@MIT.EDU
Date: Tue, 28 Mar 1995 23:19:25 -0500
To: krb5-bugs@MIT.EDU
Recently a change was made to configure.in to
AppendRule([all-unix:: libkrb5.a libcrypto.a])
from
AppendRule([all:: libkrb5.a libcrypto.a])
This causes the problem as follows....
At the top of the Makefile.in:
all:: all-$(WHAT)
which is inserted before the subdir rules linked to all::
Now here is the screw case..
all:: first tries to make all-unix which is looking for libkrb5.a -
which it doesn't know how to find...
Solution - append the all-$(WHAT) after the subdir rules have been
inserted into the Makefile... Then all:: will first do subdirs and later
all-$(WHAT).
Diffs below
Index: Makefile.in
===================================================================
RCS file: /mit/krb5/.cvsroot/src/lib/Makefile.in,v
retrieving revision 1.15
diff -c -r1.15 Makefile.in
*** Makefile.in 1995/03/29 02:27:38 1.15
--- Makefile.in 1995/03/29 04:15:01
***************
*** 3,9 ****
##DOSBUILDTOP = ..
##DOS!include $(BUILDTOP)\config\windows.in
! all:: all-$(WHAT)
all-unix::
--- 3,9 ----
##DOSBUILDTOP = ..
##DOS!include $(BUILDTOP)\config\windows.in
! all::
all-unix::
Index: configure.in
===================================================================
RCS file: /mit/krb5/.cvsroot/src/lib/configure.in,v
retrieving revision 1.9
diff -c -r1.9 configure.in
*** configure.in 1995/03/29 02:27:39 1.9
--- configure.in 1995/03/29 04:15:21
***************
*** 14,18 ****
--- 14,19 ----
LinkFile(libgssapi_krb5.a, ./gssapi/libgssapi_krb5.a)
AppendRule([all-unix:: libkrb5.a libcrypto.a])
AppendRule([all-unix:: libgssapi_krb5.a])
+ AppendRule([all:: all-$(WHAT)])
WITH_KRB5ROOT
V5_AC_OUTPUT_MAKEFILE