Configure cksum_body and wpse in top-level configure script. (Still don't build...
authorKen Raeburn <raeburn@mit.edu>
Thu, 31 May 2007 21:25:56 +0000 (21:25 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 31 May 2007 21:25:56 +0000 (21:25 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19565 dc483132-0cff-0310-8789-dd5450dbe970

src/configure.in
src/plugins/preauth/cksum_body/Makefile.in
src/plugins/preauth/cksum_body/cksum_body_main.c
src/plugins/preauth/cksum_body/configure.in [deleted file]
src/plugins/preauth/wpse/Makefile.in
src/plugins/preauth/wpse/configure.in [deleted file]
src/plugins/preauth/wpse/wpse_main.c

index 983107d2767656fe5a5667dab034163467bab413..88b25675f296d4eab208a17041d89a8469638d8a 100644 (file)
@@ -399,7 +399,7 @@ AC_CHECK_HEADER(termios.h,dnl
   AC_DEFINE(POSIX_TERMIOS,1,[Define if termios.h exists and tcsetattr exists]))])
 dnl
 KRB5_SIGTYPE
-AC_CHECK_HEADERS(stdlib.h string.h stddef.h sys/types.h sys/file.h sys/param.h sys/stat.h sys/time.h netinet/in.h sys/uio.h sys/filio.h sys/select.h time.h paths.h)
+AC_CHECK_HEADERS(stdlib.h string.h stddef.h sys/types.h sys/file.h sys/param.h sys/stat.h sys/time.h netinet/in.h sys/uio.h sys/filio.h sys/select.h time.h paths.h errno.h)
 AC_HEADER_STDARG
 KRB5_AC_INET6
 dnl
@@ -961,8 +961,6 @@ if test -n "$OPENLDAP_PLUGIN"; then
 fi
 AC_SUBST(ldap_plugin_dir)
 
-AC_CONFIG_SUBDIRS(plugins/preauth/wpse plugins/preauth/cksum_body)
-
 AC_CHECK_HEADERS(Python.h python2.3/Python.h)
 
 dnl
@@ -1004,6 +1002,8 @@ V5_AC_OUTPUT_MAKEFILE(.
 
        plugins/locate/python
        plugins/kdb/db2
+       plugins/preauth/cksum_body
+       plugins/preauth/wpse
 
        clients clients/klist clients/kinit clients/kvno
        clients/kdestroy clients/kpasswd clients/ksu
index 83d7cdb5b53a1187e7efd194d772f8b6772b0fc2..ae79f821977cdb2fe3d9c0db4f9d5dd279173d65 100644 (file)
@@ -1,6 +1,6 @@
-thisconfigdir=.
+thisconfigdir=../../..
 myfulldir=plugins/preauth/cksum_body
-mydir=.
+mydir=plugins/preauth/cksum_body
 BUILDTOP=$(REL)..$(S)..$(S)..
 KRB5_RUN_ENV = @KRB5_RUN_ENV@
 KRB5_CONFIG_SETUP = KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf ; export KRB5_CONFIG ;
@@ -40,3 +40,11 @@ clean::
 @libobj_frag@
 
 # +++ Dependency line eater +++
+# 
+# Makefile dependencies follow.  This must be the last section in
+# the Makefile.in file
+#
+cksum_body_main.so cksum_body_main.po $(OUTPRE)cksum_body_main.$(OBJEXT): \
+  $(BUILDTOP)/include/autoconf.h $(BUILDTOP)/include/krb5/krb5.h \
+  $(COM_ERR_DEPS) $(SRCTOP)/include/krb5/preauth_plugin.h \
+  cksum_body_main.c
index cd19daf7ab739b2ac949e18abc46071820943781..8efda23f5e8c433683eb7b6673c5c34f34fd0bf5 100644 (file)
@@ -43,9 +43,7 @@
 
 #ident "$Id$"
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "autoconf.h"
 
 #ifdef HAVE_ERRNO_H
 #include <errno.h>
diff --git a/src/plugins/preauth/cksum_body/configure.in b/src/plugins/preauth/cksum_body/configure.in
deleted file mode 100644 (file)
index 53870b5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-K5_AC_INIT(configure.in)
-CONFIG_RULES
-
-AC_CHECK_HEADERS(errno.h string.h)
-
-KRB5_RUN_FLAGS
-dnl The following is for check...
-KRB5_BUILD_PROGRAM
-KRB5_BUILD_LIBOBJS
-KRB5_BUILD_LIBRARY
-AC_CONFIG_HEADERS(config.h)
-V5_AC_OUTPUT_MAKEFILE
index 6c2830f50ba4b3423336042adda019338485cb87..efb054177d9f2828c2f4e765c9761d1dad0a962d 100644 (file)
@@ -1,6 +1,6 @@
-thisconfigdir=.
+thisconfigdir=../../..
 myfulldir=plugins/preauth/wpse
-mydir=.
+mydir=plugins/preauth/wpse
 BUILDTOP=$(REL)..$(S)..$(S)..
 KRB5_RUN_ENV = @KRB5_RUN_ENV@
 KRB5_CONFIG_SETUP = KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf ; export KRB5_CONFIG ;
@@ -40,3 +40,11 @@ clean::
 @libobj_frag@
 
 # +++ Dependency line eater +++
+# 
+# Makefile dependencies follow.  This must be the last section in
+# the Makefile.in file
+#
+wpse_main.so wpse_main.po $(OUTPRE)wpse_main.$(OBJEXT): \
+  $(BUILDTOP)/include/autoconf.h $(BUILDTOP)/include/krb5/krb5.h \
+  $(COM_ERR_DEPS) $(SRCTOP)/include/krb5/preauth_plugin.h \
+  wpse_main.c
diff --git a/src/plugins/preauth/wpse/configure.in b/src/plugins/preauth/wpse/configure.in
deleted file mode 100644 (file)
index 53870b5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-K5_AC_INIT(configure.in)
-CONFIG_RULES
-
-AC_CHECK_HEADERS(errno.h string.h)
-
-KRB5_RUN_FLAGS
-dnl The following is for check...
-KRB5_BUILD_PROGRAM
-KRB5_BUILD_LIBOBJS
-KRB5_BUILD_LIBRARY
-AC_CONFIG_HEADERS(config.h)
-V5_AC_OUTPUT_MAKEFILE
index f85806387553f5a7470198446bb2dc78d416bf60..fd6ff92dda447cbbe9b7cbc4af6d673752e4aecc 100644 (file)
@@ -32,9 +32,7 @@
 
 #ident "$Id$"
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "autoconf.h"
 
 #ifdef HAVE_ERRNO_H
 #include <errno.h>