makefiles for util/et, util/profile, lib/kdb, clients and those clients
subdirectories built on UNIX, rather than running configure there.
Deleted configure.in scripts for those directories, and changed
Makefile.in definitions of thisconfigdir and mydir.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18018
dc483132-0cff-0310-8789-
dd5450dbe970
-thisconfigdir=.
+thisconfigdir=..
myfulldir=clients
-mydir=.
+mydir=clients
BUILDTOP=$(REL)..
LOCAL_SUBDIRS= klist kinit kdestroy kpasswd ksu kvno kcpytkt kdeltkt
+++ /dev/null
-K5_AC_INIT(configure.in)
-CONFIG_RULES
-AC_PROG_INSTALL
-KRB5_BUILD_PROGRAM
-AC_HEADER_STDARG
-AC_CHECK_FUNCS(getusershell lstat setenv unsetenv getenv inet_ntop)
-if test $ac_cv_func_setenv = no || test $ac_cv_func_unsetenv = no \
- || test $ac_cv_func_getenv = no; then
- SETENVOBJ=setenv.o
-else
- SETENVOBJ=
-fi
-AC_SUBST(SETENVOBJ)
-AC_CHECK_HEADERS(unistd.h pwd.h arpa/inet.h)
-case $krb5_cv_host in
-alpha*-dec-osf*)
- AC_CHECK_LIB(security,setluid,
- AC_DEFINE(HAVE_SETLUID,1,[Define if OSF/1 security lib provides setluid])
- KSU_LIBS="$KSU_LIBS -lsecurity"
- )
- ;;
-esac
-AC_SUBST(KSU_LIBS)
-V5_AC_OUTPUT_MAKEFILE(. klist kinit kvno kdestroy kpasswd ksu)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=clients/kdestroy
-mydir=kdestroy
+mydir=clients/kdestroy
BUILDTOP=$(REL)..$(S)..
DEFS=
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=clients/kinit
-mydir=kinit
+mydir=clients/kinit
BUILDTOP=$(REL)..$(S)..
DEFS=
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=clients/klist
-mydir=klist
+mydir=clients/klist
BUILDTOP=$(REL)..$(S)..
DEFS=
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=clients/kpasswd
-mydir=kpasswd
+mydir=clients/kpasswd
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=clients/ksu
-mydir=ksu
+mydir=clients/ksu
BUILDTOP=$(REL)..$(S)..
DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"'
DEFS=
-thisconfigdir=./..
+thisconfigdir=../..
myfulldir=clients/kvno
-mydir=kvno
+mydir=clients/kvno
BUILDTOP=$(REL)..$(S)..
DEFS=
alpha*-dec-osf*)
AC_CHECK_LIB(security,setluid,
AC_DEFINE(HAVE_SETLUID,1,[Define if setluid provided in OSF/1 security library])
+ KSU_LIBS="-lsecurity"
)
;;
esac
+AC_SUBST(KSU_LIBS)
+dnl
+if test $ac_cv_func_setenv = no || test $ac_cv_func_unsetenv = no \
+ || test $ac_cv_func_getenv = no; then
+ SETENVOBJ=setenv.o
+else
+ SETENVOBJ=
+fi
+AC_SUBST(SETENVOBJ)
dnl
dnl Check what the return types for gethostbyname_r and getservbyname_r are.
dnl
#endif
])
dnl
+dnl stuff for util/profile
+dnl
+dnl AC_KRB5_TCL already done
+DO_TCL=
+test "$TCL_LIBS" != "" && DO_TCL=ok
+AC_SUBST(DO_TCL)
+dnl
dnl Test for POSIX 2001 *printf support (X/Open System Interfaces extension
dnl to ANSI/ISO C 1999 specification). Specifically, positional
dnl specifications; not checking for other features like %zx at present.
dnl
dnl
if test "$COM_ERR_VERSION" = k5 ; then
- AC_CONFIG_SUBDIRS(util/et)
+dnl AC_CONFIG_SUBDIRS(util/et)
+ K5_GEN_MAKEFILE(util/et)
fi
if test "$SS_VERSION" = k5 ; then
AC_CONFIG_SUBDIRS(util/ss)
if test -n "$KRB4_LIB"; then
AC_CONFIG_SUBDIRS(lib/krb4)
fi
-AC_CONFIG_SUBDIRS(lib/kdb lib/gssapi lib/rpc lib/kadm5)
-AC_CONFIG_SUBDIRS(kadmin clients plugins/kdb/db2 appl tests)
+AC_CONFIG_SUBDIRS(lib/gssapi lib/rpc lib/kadm5)
+AC_CONFIG_SUBDIRS(kadmin plugins/kdb/db2 appl tests)
AC_CONFIG_FILES(krb5-config, [chmod +x krb5-config])
-V5_AC_OUTPUT_MAKEFILE(. util util/support util/send-pr lib kdc slave krb524 config-files gen-manpages include include/kerberosIV)
+V5_AC_OUTPUT_MAKEFILE(. util util/support util/profile util/send-pr lib lib/kdb kdc slave krb524 config-files gen-manpages include include/kerberosIV clients clients/klist clients/kinit clients/kvno clients/kdestroy clients/kpasswd clients/ksu)
-thisconfigdir=.
+thisconfigdir=../..
myfulldir=lib/kdb
-mydir=.
+mydir=lib/kdb
BUILDTOP=$(REL)..$(S)..
KRB5_RUN_ENV = @KRB5_RUN_ENV@
KRB5_CONFIG_SETUP = KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf ; export KRB5_CONFIG ;
+++ /dev/null
-K5_AC_INIT(configure.in)
-CONFIG_RULES
-AC_CHECK_HEADERS(unistd.h)
-AC_TYPE_MODE_T
-AC_TYPE_OFF_T
-
-AC_CHECK_HEADERS(pthread.h)
-AC_CHECK_FUNCS(srand48 srand srandom umask)
-
-KRB5_RUN_FLAGS
-dnl The following is for check...
-KRB5_BUILD_PROGRAM
-KRB5_BUILD_LIBOBJS
-KRB5_BUILD_LIBRARY_WITH_DEPS
-V5_AC_OUTPUT_MAKEFILE
bindir=@bindir@
datadir=@datadir@
mydatadir=$(datadir)/et
-thisconfigdir=.
+thisconfigdir=../..
myfulldir=util/et
-mydir=.
+mydir=util/et
BUILDTOP=$(REL)..$(S)..
RELDIR=../util/et
SED = sed
+++ /dev/null
-K5_AC_INIT(error_table.y)
-CONFIG_RULES
-AC_C_CONST
-AC_PROG_LEX
-AC_PROG_YACC
-AC_PROG_AWK
-HAVE_YYLINENO
-DECLARE_SYS_ERRLIST
-dnl
-dnl Fancy caching of perror result...
-AC_MSG_CHECKING(for perror declaration)
-AC_CACHE_VAL(krb5_cv_decl_perror,
-[AC_EGREP_HEADER(perror, errno.h,
- krb5_cv_decl_perror=yes, krb5_cv_decl_perror=no)])dnl
-AC_MSG_RESULT($krb5_cv_decl_perror)
-if test $krb5_cv_decl_perror = yes; then
- AC_DEFINE(HDR_HAS_PERROR,1,[Define if errno.h declares perror])
-fi
-dnl
-AC_CHECK_FUNCS(strerror)
-AC_HEADER_STDARG
-AC_CHECK_HEADERS(stdlib.h)
-KRB5_BUILD_LIBOBJS
-KRB5_BUILD_LIBRARY_WITH_DEPS
-KRB5_BUILD_PROGRAM dnl for test programs
-KRB5_RUN_FLAGS dnl for test programs
-V5_AC_OUTPUT_MAKEFILE
-thisconfigdir=.
+thisconfigdir=../..
myfulldir=util/profile
-mydir=.
+mydir=util/profile
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD) $(TCL_LIBPATH)
PROG_RPATH=$(KRB5_LIBDIR)$(TCL_RPATH)
+++ /dev/null
-K5_AC_INIT(prof_parse.c)
-CONFIG_RULES
-AC_C_CONST
-AC_CHECK_HEADERS(unistd.h stdlib.h pwd.h)
-AC_CHECK_FUNCS(stat access strdup)
-AC_CHECK_MEMBERS([struct stat.st_mtimensec,struct stat.st_mtimespec.tv_nsec,struct stat.st_mtim.tv_nsec],,,[#include <sys/types.h>
-#include <sys/stat.h>])
-AC_PROG_AWK
-AC_KRB5_TCL
-DO_TCL=
-test "$TCL_LIBS" != "" && DO_TCL=ok
-AC_SUBST(DO_TCL)
-KRB5_BUILD_LIBOBJS
-KRB5_BUILD_PROGRAM
-KRB5_BUILD_LIBRARY_WITH_DEPS
-KRB5_RUN_FLAGS
-AC_CONFIG_FILES(prtest, [chmod +x prtest])
-V5_AC_OUTPUT_MAKEFILE