[1095] in Kerberos-V5-bugs

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

Change to include/krb5/config.h breaks build in sep trees

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Tue Feb 21 10:18:26 1995

From: epeisach@MIT.EDU
Date: Tue, 21 Feb 1995 10:18:14 -0500
To: krb5-bugs@MIT.EDU


The recent change to the source tree prevent compilation in a separate
build tree. The reason is that now config.h is no longer generated - it
exists in the source tree only. The include of "autoconf.h" worked fine
as both config.h and autoconf.h existed in the same directory. Now,
krb5/autoconf.h is required as they exist in separate locations...
(note: a change is required to Makefile.in as make install should
install config.h - krb5/krb5.h includes it...) (The other change to
Makefile.in is so that an install will actually work...)


===================================================================
RCS file: /mit/krb5/.cvsroot/src/include/krb5/Makefile.in,v
retrieving revision 1.23
diff -c -r1.23 Makefile.in
*** 1.23	1995/02/21 04:59:34
--- Makefile.in	1995/02/21 15:16:53
***************
*** 4,14 ****
  ##DOSBUILDTOP = ..\..
  ##DOS!include $(BUILDTOP)\config\windows.in
  
! KRB5_HEADERS = asn1.h base-defs.h ccache.h crc-32.h encryption.h \
  		error_def.h errors.h ext-proto.h fieldbits.h \
  		free.h func-proto.h hostaddr.h kdb.h kdb_dbm.h \
  		keytab.h krb5.h libos.h los-proto.h macros.h mit-des.h \
! 		proto.h rcache.h rsa-md4.h safepriv.h sysincl.h wordsize.h
  # these are installed here for the build from lib/krb5/error_tables but 
  # also need to be in the installed tree
  ET_HEADERS = adm_err.h asn1_err.h kdb5_err.h krb5_err.h
--- 4,14 ----
  ##DOSBUILDTOP = ..\..
  ##DOS!include $(BUILDTOP)\config\windows.in
  
! KRB5_HEADERS = asn1.h base-defs.h ccache.h config.h encryption.h \
  		error_def.h errors.h ext-proto.h fieldbits.h \
  		free.h func-proto.h hostaddr.h kdb.h kdb_dbm.h \
  		keytab.h krb5.h libos.h los-proto.h macros.h mit-des.h \
! 		proto.h rcache.h safepriv.h sysincl.h wordsize.h
  # these are installed here for the build from lib/krb5/error_tables but 
  # also need to be in the installed tree
  ET_HEADERS = adm_err.h asn1_err.h kdb5_err.h krb5_err.h
===================================================================
RCS file: /mit/krb5/.cvsroot/src/include/krb5/config.h,v
rcsdiff warning: Unknown phrases like `dead ...;' are in the RCS file.
retrieving revision 5.1
diff -c -r5.1 config.h
*** 5.1	1995/02/21 04:59:32
--- config.h	1995/02/21 15:13:45
***************
*** 62,68 ****
  
  #ifndef KRB5_AUTOCONF__
  #define KRB5_AUTOCONF__
! #include "autoconf.h"
  #endif
  
  #ifdef SYSV
--- 62,68 ----
  
  #ifndef KRB5_AUTOCONF__
  #define KRB5_AUTOCONF__
! #include "krb5/autoconf.h"
  #endif
  
  #ifdef SYSV

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