esac
changequote([, ])
AC_SUBST(PASS)
+
+dnl for tests/
+if test x"$RUNTEST" != x; then
+ HAVE_RUNTEST=yes
+else
+ HAVE_RUNTEST=no
+fi
+AC_SUBST(HAVE_RUNTEST)
+if test "$KRB4_LIB" = ''; then
+ KRB4_DEJAGNU_TEST="KRBIV=0"
+else
+ AC_MSG_RESULT(Kerberos 4 testing enabled)
+ KRB4_DEJAGNU_TEST="KRBIV=1"
+fi
+AC_SUBST(KRB4_DEJAGNU_TEST)
+
dnl
dnl
dnl Check for thread safety issues.
fi
AC_SUBST(ldap_plugin_dir)
-AC_CONFIG_SUBDIRS(plugins/kdb/db2 plugins/preauth/wpse plugins/preauth/cksum_body appl tests)
+AC_CONFIG_SUBDIRS(plugins/kdb/db2 plugins/preauth/wpse plugins/preauth/cksum_body)
AC_CHECK_HEADERS(Python.h python2.3/Python.h)
appl/sample appl/sample/sclient appl/sample/sserver
appl/simple appl/simple/client appl/simple/server
appl/gss-sample appl/user_user
+
+ tests tests/resolve tests/asn.1 tests/create tests/hammer
+ tests/verify tests/gssapi tests/dejagnu tests/threads tests/shlib
+ tests/gss-threads tests/misc
)
-thisconfigdir=.
-mydir=.
+thisconfigdir=..
+mydir=tests
myfulldir=tests
BUILDTOP=$(REL)..
LOCAL_SUBDIRS = resolve asn.1 create hammer verify gssapi dejagnu shlib \
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/asn.1
-mydir=asn.1
+mydir=tests/asn.1
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
+++ /dev/null
-K5_AC_INIT(configure.in)
-CONFIG_RULES
-KRB5_RUN_FLAGS
-KRB5_BUILD_PROGRAM
-dnl Set krb5_cv_host
-KRB5_LIB_PARAMS
-dnl
-AC_HEADER_STDC
-AC_CHECK_FUNCS(strchr sem_init sem_trywait)
-AC_CHECK_HEADERS(unistd.h stdlib.h sys/param.h sys/socket.h dlfcn.h semaphore.h)
-AC_C_CONST
-AC_PROG_INSTALL
-AC_CHECK_PROG(RUNTEST,runtest,runtest)
-if test x"$RUNTEST" != x; then
- HAVE_RUNTEST=yes
-else
- HAVE_RUNTEST=no
-fi
-AC_SUBST(HAVE_RUNTEST)
-AC_TYPE_SIGNAL
-CHECK_SIGNALS
-if test "$KRB4_LIB" = ''; then
- KRB4_DEJAGNU_TEST="KRBIV=0"
-else
- AC_MSG_RESULT(Kerberos 4 testing enabled)
- KRB4_DEJAGNU_TEST="KRBIV=1"
-fi
-AC_SUBST(KRB4_DEJAGNU_TEST)
-KRB5_AC_PRIOCNTL_HACK
-V5_AC_OUTPUT_MAKEFILE(. resolve asn.1 create hammer verify gssapi dejagnu threads shlib gss-threads misc)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/create
-mydir=create
+mydir=tests/create
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/dejagnu
-mydir=dejagnu
+mydir=tests/dejagnu
BUILDTOP=$(REL)..$(S)..
RUNTEST = @RUNTEST@ $(DEJAFLAGS)
RUNTESTFLAGS =
# Derived from appl/gss-sample, January 2005.
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/gss-threads
-mydir=gss-threads
+mydir=tests/gss-threads
BUILDTOP=$(REL)..$(S)..
DEFINES = -DUSE_AUTOCONF_H -DGSSAPI_V2
PROG_LIBPATH=-L$(TOPLIBD)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/gssapi
-mydir=gssapi
+mydir=tests/gssapi
BUILDTOP=$(REL)..$(S)..
DEFINES = -DUSE_AUTOCONF_H
PROG_LIBPATH=-L$(TOPLIBD)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/hammer
-mydir=hammer
+mydir=tests/hammer
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/misc
-mydir=misc
+mydir=tests/misc
BUILDTOP=$(REL)..$(S)..
RUN_SETUP = @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/resolve
-mydir=resolve
+mydir=tests/resolve
BUILDTOP=$(REL)..$(S)..
RUN_SETUP = @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/shlib
-mydir=shlib
+mydir=tests/shlib
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/threads
-mydir=threads
+mydir=tests/threads
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=tests/verify
-mydir=verify
+mydir=tests/verify
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)