Include autoconf.h (or include it earlier) in a bunch of files that are
authorKen Raeburn <raeburn@mit.edu>
Sat, 1 Apr 2006 03:08:17 +0000 (03:08 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 1 Apr 2006 03:08:17 +0000 (03:08 +0000)
currently depending on command-line macro settings.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17825 dc483132-0cff-0310-8789-dd5450dbe970

37 files changed:
src/kadmin/cli/ChangeLog
src/kadmin/cli/kadmin.h
src/kadmin/dbutil/ChangeLog
src/kadmin/dbutil/ovload.c
src/kadmin/server/ChangeLog
src/kadmin/server/kadm_rpc_svc.c
src/kadmin/testing/util/ChangeLog
src/kadmin/testing/util/tcl_kadm5.c
src/kadmin/testing/util/tcl_ovsec_kadm.c
src/kadmin/testing/util/test.c
src/lib/kadm5/ChangeLog
src/lib/kadm5/chpass_util.c
src/lib/kadm5/clnt/ChangeLog
src/lib/kadm5/clnt/client_init.c
src/lib/kadm5/server_internal.h
src/lib/kadm5/srv/ChangeLog
src/lib/kadm5/srv/svr_iters.c
src/lib/kdb/ChangeLog
src/lib/kdb/err_handle.c
src/lib/krb4/ChangeLog
src/lib/krb4/in_tkt.c
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/dnsglue.c
src/lib/krb5/os/dnsglue.h
src/lib/krb5/os/dnssrv.c
src/lib/rpc/ChangeLog
src/lib/rpc/auth_unix.c
src/lib/rpc/clnt_generic.c
src/lib/rpc/clnt_perror.c
src/lib/rpc/clnt_simple.c
src/lib/rpc/getrpcport.c
src/lib/rpc/svc.c
src/lib/rpc/svc_tcp.c
src/lib/rpc/svc_udp.c
src/lib/rpc/unit-test/ChangeLog
src/lib/rpc/unit-test/client.c
src/lib/rpc/unit-test/server.c

index 57ced5fd648aeed8f4dc379b295491a2ae0ea0ab..a858a07cc1e43ba71ec0df50243f483e0bd8d8f7 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * kadmin.h: Include autoconf.h.
+
 2006-03-11  Ken Raeburn  <raeburn@mit.edu>
 
        * kadmin.c: Don't look for headers in krb5/.
index 0b6c8eae5ebc65dacde58572963d74f66f8bfffa..745ebcb2b8fc464eae17d1e85e2bc3c5e1ca87f7 100644 (file)
@@ -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 <sys/time.h>
 #include <time.h>
index 90fe0f7284db8e24467a74e7de12b903e74d8212..1e826f21c92d9e395915df35bc06fbab33286bdc 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * ovload.c: Include autoconf.h.
+
 2006-03-11  Ken Raeburn  <raeburn@mit.edu>
 
        * dump.c, kdb5_create.c, kdb5_destroy.c, kdb5_util.c, ovload.c,
index 8813f6662a4042ca5fb4dd839be5eee43d59aa4c..b5bff3062fd143df62d1848f7f8518714bdc88f3 100644 (file)
@@ -1,6 +1,7 @@
 #include    <unistd.h>
 #include    <string.h>
 #include    <stdlib.h>
+#include    "autoconf.h"
 #ifdef HAVE_MEMORY_H
 #include    <memory.h>
 #endif
index bbfb35760184ecd49271901c0f708047f83e49af..e1460612e8825ab3b321af6816410b4d9894f1e1 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * kadm_rpc_svc.c: Include autoconf.h.
+
 2006-03-11  Ken Raeburn  <raeburn@mit.edu>
 
        * ovsec_kadmd.c, schpw.c, server_stubs.c, misc.c: Don't look for
index b01d957949ab85cc566f71b6dfc208bf2ccd71a4..978ca3c3365df423052f1f17ff928076799990c8 100644 (file)
@@ -7,6 +7,7 @@
 #include <gssrpc/rpc.h>
 #include <gssapi/gssapi_krb5.h> /* for gss_nt_krb5_name */
 #include <syslog.h>
+#include "autoconf.h"
 #ifdef HAVE_MEMORY_H
 #include <memory.h>
 #endif
index ad3aff92cac7cbf31da3883855f717356cdaf406..ac58b0eb13668d2ef61f286816462a2f70fd210d 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * test.c, tcl_kadm5.c, tcl_ovsec_kadm.c: Include autoconf.h.
+
 2005-11-17  Ken Raeburn  <raeburn@mit.edu>
 
        * tcl_kadm5.c, tcl_ovsec_kadm.c: Don't include k5-int.h.
index 3907efdf0b242e9590ed5eaff54491e625d5d0b4..e177d7b7d98148d0db5a1a98d5b47546e42c55f7 100644 (file)
@@ -1,3 +1,4 @@
+#include "autoconf.h"
 #include <stdio.h>
 #include <string.h>
 #if HAVE_TCL_H
index 68eb3f7f85737af3e52ee9c0b9373744305b6bee..c64657d753ef0922858252efbef8897d0c5b969f 100644 (file)
@@ -1,3 +1,4 @@
+#include "autoconf.h"
 #include <stdio.h>
 #include <string.h>
 #if HAVE_TCL_H
index dabd927d09a77df891698ae89c7327cecd1e2d6c..ef8546debe36e0e787e5601fcbf0741fd30e813d 100644 (file)
@@ -1,3 +1,4 @@
+#include "autoconf.h"
 #if HAVE_TCL_H
 #include <tcl.h>
 #elif HAVE_TCL_TCL_H
index ba9fe5a97fe1064efee8dbf38d8a5b2a9916dee2..e000a2406bfb665689f2541f2fb0ca3f00b343fb 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * server_intertal.h, chpass_util.c: Include autoconf.h.
+
 2006-03-11  Ken Raeburn  <raeburn@mit.edu>
 
        * server_internal.h, adb.h: Don't look for kdb.h in krb5/.
index a3c42bfe1f954461a4a636133bb909f212803c8a..678af3fb39d2d88c96a7690e983fef78c34c81ed 100644 (file)
@@ -4,6 +4,7 @@
 
 
 #include <stdio.h>
+#include "autoconf.h"
 #ifdef HAVE_MEMORY_H
 #include <memory.h>
 #endif
index 4242727725ef383d33dc8da8ec82124e8e96900e..553d573fab7393a7cad42eef90c172cb538771e9 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * client_init.c: Include autoconf.h.
+
 2005-11-17  Ken Raeburn  <raeburn@mit.edu>
 
        * client_principal.c, clnt_policy.c: Include errno.h.
index a4e31362820e78ce736156b0dfbeb7db0044add2..a93aeaa45edceaf83af523b9f2d40e89d7cf0f61 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <stdio.h>
 #include <netdb.h>
+#include "autoconf.h"
 #ifdef HAVE_MEMORY_H
 #include <memory.h>
 #endif
index f26f131a553b45506f63f488feb9155af8976b89..4e890e8aa93fb759bbf22e28db124771ce640c05 100644 (file)
@@ -13,6 +13,7 @@
 #ifndef __KADM5_SERVER_INTERNAL_H__
 #define __KADM5_SERVER_INTERNAL_H__
 
+#include    "autoconf.h"
 #ifdef HAVE_MEMORY_H
 #include    <memory.h>
 #endif
index a2b3394d389be48d0728dc824b6fea1d42ec8993..f543ae6f29cbfd5b162337068d9b584c2670d95c 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * svr_iters.c: Include autoconf.h.
+
 2006-03-11  Ken Raeburn  <raeburn@mit.edu>
 
        * svr_principal.c, server_misc.c: Don't look for kdb.h in krb5/.
index 9493883807392a4fec3e423c935c8d76ce774e44..d78b9e554616b46959a3776be4fcfffc142f8669 100644 (file)
@@ -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)
index 5889afecc6e65940c26036f19813176074295bd9..31437ef7676d65991637654b20ce8d579769dcd5 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * err_handle.c: Include autoconf.h.
+
 2006-03-07  Ken Raeburn  <raeburn@mit.edu>
 
        * kdb5.c: Don't include pthread.h.
index bfd3c752c169c57c3abed1f6fb7a18c9af08a164..50b8a2a65e53afbb903e2eaff158f07c5a07dba7 100644 (file)
@@ -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 <pthread.h>
 #endif
index 78cbf0230aabf46823c3248e118fa4a1c96abcec..fb45c9a2f3d213db799aa0cdcb8ecab288fba216 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * in_tkt.c: Include autoconf.h.
+
 2006-03-11  Ken Raeburn  <raeburn@mit.edu>
 
        * send_to_kdc.c, mk_preauth.c, memcache.c, recvauth.c, netread.c,
index 4a7624878573d845a2dbd96f0a68a2245678be9d..26336e2269993a2c180533ce6b893f54987d75c2 100644 (file)
@@ -30,6 +30,7 @@
 #include "krb.h"
 #include <fcntl.h>
 #include <sys/stat.h>
+#include "autoconf.h"
 #ifdef TKT_SHMEM
 #include <sys/param.h>
 #endif
index 8c39bb4cae56387cb2beb04178c7d076ad50a6b4..3b4366d903b0f4c0b900d1fb51a257158141eb5b 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * dnsglue.c, dnsglue.h, dnssrv.c: Include autoconf.h.
+
 2006-03-08  Ken Raeburn  <raeburn@mit.edu>
 
        * locate_kdc.c (module_locate_server): Don't set cbdata.lp at
index bd1eed7db32f13a9670726836d8fc91330b39479..ef8b08783070f185b1794df1eaa18e0a634ae24d 100644 (file)
@@ -24,6 +24,7 @@
  * or implied warranty.
  * 
  */
+#include "autoconf.h"
 #ifdef KRB5_DNS_LOOKUP
 
 #include "dnsglue.h"
index 4164b9a46a4fd93f9b628f25eeae2ee6943cfd73..c73a43305617ce217ad101ced4250c3cff65963b 100644 (file)
@@ -43,6 +43,7 @@
 #ifndef KRB5_DNSGLUE_H
 #define KRB5_DNSGLUE_H
 
+#include "autoconf.h"
 #ifdef KRB5_DNS_LOOKUP
 
 #include "k5-int.h"
index dffdc8d077f4ca840f8692a2001b79b14df2bda3..d1c96b291cad419935a6bc1eb3fe9163a0eac368 100644 (file)
@@ -27,6 +27,7 @@
  * do DNS SRV RR queries
  */
 
+#include "autoconf.h"
 #ifdef KRB5_DNS_LOOKUP
 
 #include "dnsglue.h"
index 0707c279adc45062e9f5dd57c6e20706615de740..60fbc97841ef3fc025ca086bb70e38e54ba3c5a7 100644 (file)
@@ -1,3 +1,10 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * 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  <raeburn@mit.edu>
 
        * dyn.c (DynDelete, DynInsert, DynPut): Delete bcopy branches.
index 4af3bc4c79b2624338c24c1a56bbdb50d341828e..eaa842732032cfb3c7c09cd76696da43c51d60f3 100644 (file)
@@ -52,9 +52,7 @@ static char sccsid[] = "@(#)auth_unix.c 1.19 87/08/11 Copyr 1984 Sun Micro";
 #include <gssrpc/auth.h>
 #include <gssrpc/auth_unix.h>
 
-#ifndef GETGROUPS_T
-#define GETGROUPS_T int
-#endif
+#include "autoconf.h"
 
 /*
  * Unix authenticator operations vector
index 225ab94328f23279cca977a137c85e387c1222db..07490eeead48d9aff47615aaa52de1e8e2812e76 100644 (file)
@@ -38,6 +38,7 @@ static char sccsid[] = "@(#)clnt_generic.c 1.4 87/08/11 (C) 1987 SMI";
 #include <sys/socket.h>
 #include <sys/errno.h>
 #include <netdb.h>
+#include "autoconf.h"
 
 /*
  * Generic client creation: takes (hostname, program-number, protocol) and
index 4f159c3b0986c40189881d42738bc0102c3be883..85935a8b002feab0c66f2a53149ee8386338d9ec 100644 (file)
@@ -45,6 +45,8 @@ static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";
 #include <gssrpc/auth.h>
 #include <gssrpc/clnt.h>
 
+#include "autoconf.h"
+
 #ifndef HAVE_STRERROR
 #ifdef NEED_SYS_ERRLIST
 extern char *sys_errlist[];
index 317fbe5dd39b5684a1b7160fe1c68d8d7c25994e..d2434a13c3a233615f1aa3f505577b511ae00452 100644 (file)
@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";
 #include <sys/socket.h>
 #include <netdb.h>
 #include <string.h>
+#include "autoconf.h"
 
 static struct callrpc_private {
        CLIENT  *client;
index 4890d582c6b41140e954a33f1daafec0fd5db51e..8688df2eadf02faa8c5f48dc46e3b640dfc6d42c 100644 (file)
@@ -41,6 +41,7 @@ static  char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
 #include <gssrpc/pmap_clnt.h>
 #include <netdb.h>
 #include <sys/socket.h>
+#include "autoconf.h"
 
 int
 gssrpc_getrpcport(
index 7d2be1c1a1c1745d800826ee271470b52f7fc4e1..9fa7b33fea899f8d9b8c20f9c96bd8bf7814d488 100644 (file)
@@ -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 <sys/param.h>
 #endif
index ce9bb35afb229352fc36c6facea92b16e24bef24..d49cf3672236f2cac7a4df63950b3b106dee4722 100644 (file)
@@ -48,6 +48,7 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
 #include <sys/socket.h>
 #include <errno.h>
 #include <stdlib.h>
+#include "autoconf.h"
 /*extern bool_t abort();
 extern errno;
 */
index 16eb5f01a28406ef85b58a3ab9b5980d8299a87d..49c555fe2c5c6aacccbf7a88af01c2a516dea52d 100644 (file)
@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";
 #include <gssrpc/rpc.h>
 #include <sys/socket.h>
 #include <errno.h>
+#include "autoconf.h"
 #ifdef HAVE_SYS_UIO_H
 #include <sys/uio.h>
 #endif
index 5da06fe5282e79e34c29880df0b6eed5c2dc8492..a3da36e1ad774fda401b7a6196266a00224699e8 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * client.c, server.c: Include autoconf.h.
+
 2006-03-11  Ken Raeburn  <raeburn@mit.edu>
 
        * server.c (krb5_kt_default_name): Deleted unused function.
index ffe6739cb2d8efb78046849e797e80ff749a9c40..796a5aaa1ecbe6944e27525a9970cddaed25b769 100644 (file)
@@ -11,6 +11,7 @@ static char *rcsid = "$Header$";
 
 #include <stdio.h>
 #include <string.h>
+#include "autoconf.h"
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
index e831a0d343cb743ac1f1d7e3d50c6b7882f15ee1..d4f0d8c6a03d1e6cabfa242d3f92f9b2ea2af8ee 100644 (file)
@@ -11,6 +11,7 @@ static char *rcsid = "$Header$";
 
 #include <stdio.h>
 #include <stdlib.h>
+#include "autoconf.h"
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif