From: Ken Raeburn Date: Sat, 1 Apr 2006 03:08:17 +0000 (+0000) Subject: Include autoconf.h (or include it earlier) in a bunch of files that are X-Git-Tag: krb5-1.5-alpha1~115 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=005af08753fd9c090f285cbd1bb7599e47a15cae;p=krb5.git Include autoconf.h (or include it earlier) in a bunch of files that are currently depending on command-line macro settings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17825 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/cli/ChangeLog b/src/kadmin/cli/ChangeLog index 57ced5fd6..a858a07cc 100644 --- a/src/kadmin/cli/ChangeLog +++ b/src/kadmin/cli/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * kadmin.h: Include autoconf.h. + 2006-03-11 Ken Raeburn * kadmin.c: Don't look for headers in krb5/. diff --git a/src/kadmin/cli/kadmin.h b/src/kadmin/cli/kadmin.h index 0b6c8eae5..745ebcb2b 100644 --- a/src/kadmin/cli/kadmin.h +++ b/src/kadmin/cli/kadmin.h @@ -50,6 +50,8 @@ extern void kadmin_getprivs(int argc, char *argv[]); extern void kadmin_keytab_add(int argc, char *argv[]); extern void kadmin_keytab_remove(int argc, char *argv[]); +#include "autoconf.h" + #ifdef TIME_WITH_SYS_TIME #include #include diff --git a/src/kadmin/dbutil/ChangeLog b/src/kadmin/dbutil/ChangeLog index 90fe0f728..1e826f21c 100644 --- a/src/kadmin/dbutil/ChangeLog +++ b/src/kadmin/dbutil/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * ovload.c: Include autoconf.h. + 2006-03-11 Ken Raeburn * dump.c, kdb5_create.c, kdb5_destroy.c, kdb5_util.c, ovload.c, diff --git a/src/kadmin/dbutil/ovload.c b/src/kadmin/dbutil/ovload.c index 8813f6662..b5bff3062 100644 --- a/src/kadmin/dbutil/ovload.c +++ b/src/kadmin/dbutil/ovload.c @@ -1,6 +1,7 @@ #include #include #include +#include "autoconf.h" #ifdef HAVE_MEMORY_H #include #endif diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index bbfb35760..e1460612e 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * kadm_rpc_svc.c: Include autoconf.h. + 2006-03-11 Ken Raeburn * ovsec_kadmd.c, schpw.c, server_stubs.c, misc.c: Don't look for diff --git a/src/kadmin/server/kadm_rpc_svc.c b/src/kadmin/server/kadm_rpc_svc.c index b01d95794..978ca3c33 100644 --- a/src/kadmin/server/kadm_rpc_svc.c +++ b/src/kadmin/server/kadm_rpc_svc.c @@ -7,6 +7,7 @@ #include #include /* for gss_nt_krb5_name */ #include +#include "autoconf.h" #ifdef HAVE_MEMORY_H #include #endif diff --git a/src/kadmin/testing/util/ChangeLog b/src/kadmin/testing/util/ChangeLog index ad3aff92c..ac58b0eb1 100644 --- a/src/kadmin/testing/util/ChangeLog +++ b/src/kadmin/testing/util/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * test.c, tcl_kadm5.c, tcl_ovsec_kadm.c: Include autoconf.h. + 2005-11-17 Ken Raeburn * tcl_kadm5.c, tcl_ovsec_kadm.c: Don't include k5-int.h. diff --git a/src/kadmin/testing/util/tcl_kadm5.c b/src/kadmin/testing/util/tcl_kadm5.c index 3907efdf0..e177d7b7d 100644 --- a/src/kadmin/testing/util/tcl_kadm5.c +++ b/src/kadmin/testing/util/tcl_kadm5.c @@ -1,3 +1,4 @@ +#include "autoconf.h" #include #include #if HAVE_TCL_H diff --git a/src/kadmin/testing/util/tcl_ovsec_kadm.c b/src/kadmin/testing/util/tcl_ovsec_kadm.c index 68eb3f7f8..c64657d75 100644 --- a/src/kadmin/testing/util/tcl_ovsec_kadm.c +++ b/src/kadmin/testing/util/tcl_ovsec_kadm.c @@ -1,3 +1,4 @@ +#include "autoconf.h" #include #include #if HAVE_TCL_H diff --git a/src/kadmin/testing/util/test.c b/src/kadmin/testing/util/test.c index dabd927d0..ef8546deb 100644 --- a/src/kadmin/testing/util/test.c +++ b/src/kadmin/testing/util/test.c @@ -1,3 +1,4 @@ +#include "autoconf.h" #if HAVE_TCL_H #include #elif HAVE_TCL_TCL_H diff --git a/src/lib/kadm5/ChangeLog b/src/lib/kadm5/ChangeLog index ba9fe5a97..e000a2406 100644 --- a/src/lib/kadm5/ChangeLog +++ b/src/lib/kadm5/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * server_intertal.h, chpass_util.c: Include autoconf.h. + 2006-03-11 Ken Raeburn * server_internal.h, adb.h: Don't look for kdb.h in krb5/. diff --git a/src/lib/kadm5/chpass_util.c b/src/lib/kadm5/chpass_util.c index a3c42bfe1..678af3fb3 100644 --- a/src/lib/kadm5/chpass_util.c +++ b/src/lib/kadm5/chpass_util.c @@ -4,6 +4,7 @@ #include +#include "autoconf.h" #ifdef HAVE_MEMORY_H #include #endif diff --git a/src/lib/kadm5/clnt/ChangeLog b/src/lib/kadm5/clnt/ChangeLog index 424272772..553d573fa 100644 --- a/src/lib/kadm5/clnt/ChangeLog +++ b/src/lib/kadm5/clnt/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * client_init.c: Include autoconf.h. + 2005-11-17 Ken Raeburn * client_principal.c, clnt_policy.c: Include errno.h. diff --git a/src/lib/kadm5/clnt/client_init.c b/src/lib/kadm5/clnt/client_init.c index a4e313628..a93aeaa45 100644 --- a/src/lib/kadm5/clnt/client_init.c +++ b/src/lib/kadm5/clnt/client_init.c @@ -30,6 +30,7 @@ #include #include +#include "autoconf.h" #ifdef HAVE_MEMORY_H #include #endif diff --git a/src/lib/kadm5/server_internal.h b/src/lib/kadm5/server_internal.h index f26f131a5..4e890e8aa 100644 --- a/src/lib/kadm5/server_internal.h +++ b/src/lib/kadm5/server_internal.h @@ -13,6 +13,7 @@ #ifndef __KADM5_SERVER_INTERNAL_H__ #define __KADM5_SERVER_INTERNAL_H__ +#include "autoconf.h" #ifdef HAVE_MEMORY_H #include #endif diff --git a/src/lib/kadm5/srv/ChangeLog b/src/lib/kadm5/srv/ChangeLog index a2b3394d3..f543ae6f2 100644 --- a/src/lib/kadm5/srv/ChangeLog +++ b/src/lib/kadm5/srv/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * svr_iters.c: Include autoconf.h. + 2006-03-11 Ken Raeburn * svr_principal.c, server_misc.c: Don't look for kdb.h in krb5/. diff --git a/src/lib/kadm5/srv/svr_iters.c b/src/lib/kadm5/srv/svr_iters.c index 949388380..d78b9e554 100644 --- a/src/lib/kadm5/srv/svr_iters.c +++ b/src/lib/kadm5/srv/svr_iters.c @@ -8,6 +8,7 @@ static char *rcsid = "$Header$"; #endif +#include "autoconf.h" #if defined(HAVE_COMPILE) && defined(HAVE_STEP) #define SOLARIS_REGEXPS #elif defined(HAVE_REGCOMP) && defined(HAVE_REGEXEC) diff --git a/src/lib/kdb/ChangeLog b/src/lib/kdb/ChangeLog index 5889afecc..31437ef76 100644 --- a/src/lib/kdb/ChangeLog +++ b/src/lib/kdb/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * err_handle.c: Include autoconf.h. + 2006-03-07 Ken Raeburn * kdb5.c: Don't include pthread.h. diff --git a/src/lib/kdb/err_handle.c b/src/lib/kdb/err_handle.c index bfd3c752c..50b8a2a65 100644 --- a/src/lib/kdb/err_handle.c +++ b/src/lib/kdb/err_handle.c @@ -16,6 +16,7 @@ static char *_csrc = safety requirement stops me from putting there. if I do, then all the applications have to link to pthread. */ +#include "autoconf.h" #if defined(ENABLE_THREADS) && defined(HAVE_PTHREAD_H) #include #endif diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 78cbf0230..fb45c9a2f 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * in_tkt.c: Include autoconf.h. + 2006-03-11 Ken Raeburn * send_to_kdc.c, mk_preauth.c, memcache.c, recvauth.c, netread.c, diff --git a/src/lib/krb4/in_tkt.c b/src/lib/krb4/in_tkt.c index 4a7624878..26336e226 100644 --- a/src/lib/krb4/in_tkt.c +++ b/src/lib/krb4/in_tkt.c @@ -30,6 +30,7 @@ #include "krb.h" #include #include +#include "autoconf.h" #ifdef TKT_SHMEM #include #endif diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 8c39bb4ca..3b4366d90 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * dnsglue.c, dnsglue.h, dnssrv.c: Include autoconf.h. + 2006-03-08 Ken Raeburn * locate_kdc.c (module_locate_server): Don't set cbdata.lp at diff --git a/src/lib/krb5/os/dnsglue.c b/src/lib/krb5/os/dnsglue.c index bd1eed7db..ef8b08783 100644 --- a/src/lib/krb5/os/dnsglue.c +++ b/src/lib/krb5/os/dnsglue.c @@ -24,6 +24,7 @@ * or implied warranty. * */ +#include "autoconf.h" #ifdef KRB5_DNS_LOOKUP #include "dnsglue.h" diff --git a/src/lib/krb5/os/dnsglue.h b/src/lib/krb5/os/dnsglue.h index 4164b9a46..c73a43305 100644 --- a/src/lib/krb5/os/dnsglue.h +++ b/src/lib/krb5/os/dnsglue.h @@ -43,6 +43,7 @@ #ifndef KRB5_DNSGLUE_H #define KRB5_DNSGLUE_H +#include "autoconf.h" #ifdef KRB5_DNS_LOOKUP #include "k5-int.h" diff --git a/src/lib/krb5/os/dnssrv.c b/src/lib/krb5/os/dnssrv.c index dffdc8d07..d1c96b291 100644 --- a/src/lib/krb5/os/dnssrv.c +++ b/src/lib/krb5/os/dnssrv.c @@ -27,6 +27,7 @@ * do DNS SRV RR queries */ +#include "autoconf.h" #ifdef KRB5_DNS_LOOKUP #include "dnsglue.h" diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog index 0707c279a..60fbc9784 100644 --- a/src/lib/rpc/ChangeLog +++ b/src/lib/rpc/ChangeLog @@ -1,3 +1,10 @@ +2006-03-31 Ken Raeburn + + * clnt_perror.c, svc.c, svc_udp.c, clnt_simple.c, svc_tcp.c, + auth_unix.c, clnt_generic.c, getrpcport.c: Include autoconf.h. + + * auth_unix.c (GETGROUPS_T): Don't define. + 2006-03-30 Ken Raeburn * dyn.c (DynDelete, DynInsert, DynPut): Delete bcopy branches. diff --git a/src/lib/rpc/auth_unix.c b/src/lib/rpc/auth_unix.c index 4af3bc4c7..eaa842732 100644 --- a/src/lib/rpc/auth_unix.c +++ b/src/lib/rpc/auth_unix.c @@ -52,9 +52,7 @@ static char sccsid[] = "@(#)auth_unix.c 1.19 87/08/11 Copyr 1984 Sun Micro"; #include #include -#ifndef GETGROUPS_T -#define GETGROUPS_T int -#endif +#include "autoconf.h" /* * Unix authenticator operations vector diff --git a/src/lib/rpc/clnt_generic.c b/src/lib/rpc/clnt_generic.c index 225ab9432..07490eeea 100644 --- a/src/lib/rpc/clnt_generic.c +++ b/src/lib/rpc/clnt_generic.c @@ -38,6 +38,7 @@ static char sccsid[] = "@(#)clnt_generic.c 1.4 87/08/11 (C) 1987 SMI"; #include #include #include +#include "autoconf.h" /* * Generic client creation: takes (hostname, program-number, protocol) and diff --git a/src/lib/rpc/clnt_perror.c b/src/lib/rpc/clnt_perror.c index 4f159c3b0..85935a8b0 100644 --- a/src/lib/rpc/clnt_perror.c +++ b/src/lib/rpc/clnt_perror.c @@ -45,6 +45,8 @@ static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro"; #include #include +#include "autoconf.h" + #ifndef HAVE_STRERROR #ifdef NEED_SYS_ERRLIST extern char *sys_errlist[]; diff --git a/src/lib/rpc/clnt_simple.c b/src/lib/rpc/clnt_simple.c index 317fbe5dd..d2434a13c 100644 --- a/src/lib/rpc/clnt_simple.c +++ b/src/lib/rpc/clnt_simple.c @@ -45,6 +45,7 @@ static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro"; #include #include #include +#include "autoconf.h" static struct callrpc_private { CLIENT *client; diff --git a/src/lib/rpc/getrpcport.c b/src/lib/rpc/getrpcport.c index 4890d582c..8688df2ea 100644 --- a/src/lib/rpc/getrpcport.c +++ b/src/lib/rpc/getrpcport.c @@ -41,6 +41,7 @@ static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI"; #include #include #include +#include "autoconf.h" int gssrpc_getrpcport( diff --git a/src/lib/rpc/svc.c b/src/lib/rpc/svc.c index 7d2be1c1a..9fa7b33fe 100644 --- a/src/lib/rpc/svc.c +++ b/src/lib/rpc/svc.c @@ -41,6 +41,7 @@ static char sccsid[] = "@(#)svc.c 1.41 87/10/13 Copyr 1984 Sun Micro"; * Copyright (C) 1984, Sun Microsystems, Inc. */ +#include "autoconf.h" #if HAVE_SYS_PARAM_H #include #endif diff --git a/src/lib/rpc/svc_tcp.c b/src/lib/rpc/svc_tcp.c index ce9bb35af..d49cf3672 100644 --- a/src/lib/rpc/svc_tcp.c +++ b/src/lib/rpc/svc_tcp.c @@ -48,6 +48,7 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro"; #include #include #include +#include "autoconf.h" /*extern bool_t abort(); extern errno; */ diff --git a/src/lib/rpc/svc_udp.c b/src/lib/rpc/svc_udp.c index 16eb5f01a..49c555fe2 100644 --- a/src/lib/rpc/svc_udp.c +++ b/src/lib/rpc/svc_udp.c @@ -45,6 +45,7 @@ static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro"; #include #include #include +#include "autoconf.h" #ifdef HAVE_SYS_UIO_H #include #endif diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog index 5da06fe52..a3da36e1a 100644 --- a/src/lib/rpc/unit-test/ChangeLog +++ b/src/lib/rpc/unit-test/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Ken Raeburn + + * client.c, server.c: Include autoconf.h. + 2006-03-11 Ken Raeburn * server.c (krb5_kt_default_name): Deleted unused function. diff --git a/src/lib/rpc/unit-test/client.c b/src/lib/rpc/unit-test/client.c index ffe6739cb..796a5aaa1 100644 --- a/src/lib/rpc/unit-test/client.c +++ b/src/lib/rpc/unit-test/client.c @@ -11,6 +11,7 @@ static char *rcsid = "$Header$"; #include #include +#include "autoconf.h" #ifdef HAVE_UNISTD_H #include #endif diff --git a/src/lib/rpc/unit-test/server.c b/src/lib/rpc/unit-test/server.c index e831a0d34..d4f0d8c6a 100644 --- a/src/lib/rpc/unit-test/server.c +++ b/src/lib/rpc/unit-test/server.c @@ -11,6 +11,7 @@ static char *rcsid = "$Header$"; #include #include +#include "autoconf.h" #ifdef HAVE_UNISTD_H #include #endif