dnl Process this file with autoconf to produce a configure script. AC_REVISION($Revision$) AC_INIT(lib/krb5/send_to_kdc.c) AM_CONFIG_HEADER(include/config.h) AC_CONFIG_AUX_DIR_DEFAULT if test "`uname`" = AIX; then INSTALL="$ac_install_sh" fi AM_INIT_AUTOMAKE(heimdal,0.1c) AC_PREFIX_DEFAULT(/usr/heimdal) AC_CANONICAL_HOST CANONICAL_HOST=$host AC_SUBST(CANONICAL_HOST) case "$host" in *-*-sunos4*) AC_DEFINE(SunOS, 4) ;; *-*-solaris2*) AC_DEFINE(SunOS, 5) ;; esac test -z "$CFLAGS" && CFLAGS="-g" dnl Checks for programs. AC_PROG_CC dnl AC_KRB_PROG_YACC AC_PROG_YACC AM_PROG_LEX AC_PROG_RANLIB AC_PROG_AWK AC_KRB_PROG_LN_S AM_DISABLE_SHARED AM_PROG_LIBTOOL if test "$GCC" = "yes"; then # -Wcast-align doesn't work well on alpha osf/1 WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs" WFLAGS_NOUNUSED="-Wno-unused" fi AC_SUBST(WFLAGS) AC_SUBST(WFLAGS_NOUNUSED) berkeley_db=db AC_ARG_WITH(berkeley-db, [ --without-berkeley-db if you don't want berkeley db],[ if test "$withval" = no; then berkeley_db="" fi ]) AC_TEST_PACKAGE(krb4,krb.h,libkrb.a,-lkrb,/usr/athena) if test "$with_krb4"; then LIB_krb4="$KRB4LIB -ldes" INCLUDE_krb4="$KRB4INCLUDE" EXTRA_LIB45=lib45.a AC_SUBST(EXTRA_LIB45) AC_CACHE_CHECK(for four valued krb_put_int, ac_cv_func_krb_put_int_four, [save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $INCLUDE_krb4" AC_TRY_COMPILE([#include ],[ char tmp[4]; krb_put_int(17, tmp, 4, sizeof(tmp));], ac_cv_func_krb_put_int_four=yes, ac_cv_func_krb_put_int_four=no) CFLAGS="$save_CFLAGS" ]) if test "$ac_cv_func_krb_put_int_four" = yes; then AC_DEFINE(HAVE_FOUR_VALUED_KRB_PUT_INT, 1) fi fi AM_CONDITIONAL(KRB4, test "$with_krb4")dnl AC_SUBST(LIB_krb4)dnl AC_SUBST(INCLUDE_krb4)dnl AM_CONDITIONAL(AIX, test "`uname`" = AIX)dnl AM_CONDITIONAL(AIX4, test "`uname`" = AIX -a "`uname -v`" = 4) aix_dynamic_afs=yes AM_CONDITIONAL(AIX_DYNAMIC_AFS, test "$aix_dynamic_afs" = yes)dnl if test "`uname`" = AIX ;then if test "$aix_dynamic_afs" = yes; then AC_FIND_FUNC_NO_LIBS(dlopen, dl) if test "$ac_cv_funclib_dlopen" = yes; then AIX_EXTRA_KAFS= elif test "$ac_cv_funclib_dlopen" != no; then AIX_EXTRA_KAFS="$ac_cv_funclib_dlopen" else AIX_EXTRA_KAFS=-lld fi else AIX_EXTRA_KAFS= fi fi AM_CONDITIONAL(HAVE_DLOPEN, test "$ac_cv_funclib_dlopen" != no)dnl AC_SUBST(AFS_EXTRA_LD)dnl AC_SUBST(AIX_EXTRA_KAFS)dnl AC_ARG_ENABLE(kaserver, [ --enable-kaserver if you want the KDC to try to emulate a kaserver], [ if test "$enableval" != no; then AC_DEFINE(KASERVER, 1) if test "x$with_krb4" = "x"; then AC_MSG_ERROR(kaserver requires krb4) exit 1 fi fi ]) AC_ARG_ENABLE(kaserver-db, [ --enable-kaserver-db if you want support for reading kaserver databases in hprop], [ if test "$enableval" != "no"; then AC_DEFINE(KASERVER_DB, 1) fi ]) otp=yes AC_ARG_ENABLE(otp, [ --disable-otp if you don't want OTP support], [ if test "$enableval" = "no"; then otp=no fi ]) if test "$otp" = "yes"; then AC_DEFINE(OTP) LIB_otp='$(top_builddir)/lib/otp/libotp.la' OTP_dir=otp fi AC_SUBST(LIB_otp) AC_SUBST(OTP_dir) new_des3_code=no AC_ARG_ENABLE(new-des3-code, [ --enable-new-des3-code to make new key-deriving des3 the default], [ if test "$enableval" = "yes"; then new_des3_code=yes fi ]) if test "$new_des3_code" = "yes"; then AC_DEFINE(NEW_DES3_CODE, 1) fi AC_PATH_PROG(NROFF, nroff) AC_PATH_PROG(GROFF, groff) AC_CACHE_CHECK(how to format man pages,ac_cv_sys_man_format, [cat > conftest.1 << END .Dd January 1, 1970 .Dt CONFTEST 1 .Sh NAME .Nm conftest .Nd foobar END if test "$NROFF" ; then for i in "-mdoc" "-mandoc"; do if "$NROFF" $i conftest.1 2> /dev/null | \ grep Jan > /dev/null 2>&1 ; then ac_cv_sys_man_format="$NROFF $i" break fi done fi if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then for i in "-mdoc" "-mandoc"; do if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \ grep Jan > /dev/null 2>&1 ; then ac_cv_sys_man_format="$GROFF -Tascii $i" break fi done fi if test "$ac_cv_sys_man_format"; then ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@" fi ]) if test "$ac_cv_sys_man_format"; then CATMAN="$ac_cv_sys_man_format" AC_SUBST(CATMAN) fi AM_CONDITIONAL(CATMAN, test "$CATMAN") AC_CACHE_CHECK(extension of pre-formatted manual pages,ac_cv_sys_catman_ext, if grep _suffix /etc/man.conf > /dev/null 2>&1; then ac_cv_sys_catman_ext=0 else ac_cv_sys_catman_ext=number fi ) if test "$ac_cv_sys_catman_ext" = number; then CATMANEXT='$$section' else CATMANEXT=0 fi AC_SUBST(CATMANEXT) AC_TEST_PACKAGE(readline,readline.h,libreadline.a,-lreadline) AC_TEST_PACKAGE(hesiod,hesiod.h,libhesiod.a,-lhesiod) AC_C_BIGENDIAN AC_C_INLINE dnl dnl See if there is any X11 present dnl AC_PATH_XTRA if test "$no_x" = "yes" ; then MAKE_X_PROGS_BIN="" MAKE_X_PROGS_LIBEXEC="" else MAKE_X_PROGS_BIN='$(X_PROGS_BIN)' MAKE_X_PROGS_LIBEXEC='$(X_PROGS_LIBEXEC)' fi AC_SUBST(MAKE_X_PROGS_BIN)dnl AC_SUBST(MAKE_X_PROGS_LIBEXEC)dnl save_CFLAGS="$CFLAGS" CFLAGS="$X_CFLAGS $CFLAGS" save_LIBS="$LIBS" dnl LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS $LIBS" LIBS="$X_PRE_LIBS $X_EXTRA_LIBS $LIBS" save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $X_LIBS" AC_FIND_FUNC_NO_LIBS(XauReadAuth, Xau X11) ac_xxx="$LIBS" LIBS="$LIB_XauReadAuth $LIBS" AC_CHECK_FUNCS(XauWriteAuth) if test "$ac_cv_func_XauWriteAuth" != "yes"; then XauWriteAuth_c=writeauth.c XauWriteAuth_o=writeauth.o fi AC_SUBST(XauWriteAuth_c)dnl AC_SUBST(XauWriteAuth_o)dnl LIBS="$ac_xxx" CFLAGS=$save_CFLAGS LIBS=$save_LIBS LDFLAGS=$save_LDFLAGS dnl AM_C_PROTOTYPES dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_OFF_T AC_TYPE_SIZE_T AC_CHECK_TYPE_EXTRA(ssize_t, int, [#include ]) AC_TYPE_PID_T AC_TYPE_UID_T AC_CHECK_TYPE_EXTRA(mode_t, unsigned short, []) AC_CHECK_TYPE_EXTRA(sig_atomic_t, int, [#include ]) AC_HEADER_TIME AC_STRUCT_TM dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/telnet.h ) AC_CHECK_HEADERS(bsdsetjmp.h crypt.h) AC_CHECK_HEADERS(curses.h db.h dbm.h dirent.h err.h errno.h) AC_CHECK_HEADERS(fcntl.h fnmatch.h grp.h inttypes.h limits.h) AC_CHECK_HEADERS(maillock.h ndbm.h) AC_CHECK_HEADERS(net/if.h netdb.h) AC_CHECK_HEADERS(netinet/in.h netinet/in6.h netinet/in6_var.h) AC_CHECK_HEADERS(netinet/in6_machtypes.h netinet/in_systm.h) AC_CHECK_HEADERS(netinet/ip.h netinet/tcp.h netinfo/ni.h netinet6/in6.h paths.h pty.h pwd.h) AC_CHECK_HEADERS(io.h resolv.h) AC_CHECK_HEADERS(rpcsvc/dbm.h sac.h sgtty.h shadow.h signal.h stropts.h) AC_CHECK_HEADERS(sys/bitypes.h sys/file.h sys/filio.h sys/ioctl.h) AC_CHECK_HEADERS(sys/param.h sys/proc.h sys/pty.h sys/ptyio.h) AC_CHECK_HEADERS(sys/ptyvar.h sys/resource.h sys/select.h) AC_CHECK_HEADERS(sys/socket.h sys/sockio.h sys/stat.h sys/stream.h) AC_CHECK_HEADERS(sys/stropts.h sys/strtty.h sys/str_tty.h sys/syscall.h) AC_CHECK_HEADERS(sys/sysctl.h sys/time.h sys/timeb.h sys/times.h) AC_CHECK_HEADERS(sys/termio.h sys/tty.h sys/types.h sys/uio.h sys/un.h) AC_CHECK_HEADERS(sys/utsname.h sys/wait.h syslog.h termio.h) AC_CHECK_HEADERS(termios.h time.h tmpdir.h unistd.h util.h utmp.h utmpx.h) if test "$ac_cv_header_err_h" = no; then EXTRA_HDRS="$EXTRA_HDRS err.h" AC_SUBST(EXTRA_HDRS) fi if test "$ac_cv_header_fnmatch_h" = no; then NOINST_HDRS="$NOINST_HDRS fnmatch.h" AC_SUBST(NOINST_HDRS) fi dnl Checks for libraries. AC_FIND_FUNC(socket, socket) AC_FIND_FUNC(gethostbyname, nsl) AC_FIND_FUNC(syslog, syslog) AC_FIND_FUNC_NO_LIBS(logwtmp, util) AC_FIND_FUNC_NO_LIBS(tgetent, termcap ncurses curses) AC_FIND_FUNC(gethostbyname2, inet6 ip6) AC_FIND_FUNC(inet_ntop, inet6 ip6) AC_CHECK_FUNCS(inet_pton) AC_FIND_FUNC(res_search, resolv, [ #include #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_ARPA_NAMESER_H #include #endif #ifdef HAVE_RESOLV_H #include #endif ], [0,0,0,0,0]) AC_FIND_FUNC(dn_expand, resolv, [ #include #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_ARPA_NAMESER_H #include #endif #ifdef HAVE_RESOLV_H #include #endif ], [0,0,0,0,0]) dnl Checks for library functions. AC_BROKEN_SNPRINTF AC_BROKEN_VSNPRINTF AC_BROKEN_GLOB if test "$ac_cv_func_glob_working" != yes; then NOINST_HDRS="$NOINST_HDRS glob.h" AC_SUBST(NOINST_HDRS) LIBOBJS="$LIBOBJS glob.o" fi dnl these should happen after tests for *snprintf AC_FIND_FUNC_NO_LIBS(dbopen, $berkeley_db) AC_FIND_FUNC_NO_LIBS(dbm_firstkey, $berkeley_db gdbm ndbm) DBLIB="$LIB_dbopen" if test "$LIB_dbopen" != "$LIB_dbm_firstkey"; then DBLIB="$DBLIB $LIB_dbm_firstkey" fi AC_SUBST(DBLIB)dnl AC_CHECK_FUNCS(_getpty _scrsize asnprintf asprintf fcntl) AC_CHECK_FUNCS(gethostname getlogin) AC_CHECK_FUNCS(getmsg getrlimit getspnam getspuid gettimeofday getuid) AC_CHECK_FUNCS(grantpt innetgr mktime ptsname rand random) AC_CHECK_FUNCS(revoke select setitimer setlogin setpcred setpgid) AC_CHECK_FUNCS(setregid setresgid setresuid setreuid setutent) AC_CHECK_FUNCS(setsid setsockopt sigaction strstr) AC_CHECK_FUNCS(sysconf sysctl timegm ttyname ttyslot umask uname) AC_CHECK_FUNCS(unlockpt vasnprintf vasprintf vhangup) AC_CHECK_FUNCS(yp_get_default_domain) AC_TYPE_SIGNAL if test "$ac_cv_type_signal" = "void" ; then AC_DEFINE(VOID_RETSIGTYPE, 1) fi AC_SUBST(VOID_RETSIGTYPE) AC_FIND_IF_NOT_BROKEN(hstrerror, resolv, [#ifdef HAVE_NETDB_H #include #endif], 17) if test "$ac_cv_func_hstrerror" = yes; then AC_NEED_PROTO([ #ifdef HAVE_NETDB_H #include #endif], hstrerror) fi dnl sigh, wish this could be done in a loop if test "$ac_cv_func_asprintf" = yes; then AC_NEED_PROTO([ #include #include ], asprintf)dnl fi if test "$ac_cv_func_vasprintf" = yes; then AC_NEED_PROTO([ #include #include ], vasprintf)dnl fi if test "$ac_cv_func_asnprintf" = yes; then AC_NEED_PROTO([ #include #include ], asnprintf)dnl fi if test "$ac_cv_func_vasnprintf" = yes; then AC_NEED_PROTO([ #include #include ], vasnprintf)dnl fi AC_BROKEN(chown daemon err errx fchown flock fnmatch) AC_BROKEN(getcwd getdtablesize gethostname geteuid getgid getegid) AC_BROKEN(getopt getusershell inet_aton initgroups iruserok lstat memmove) AC_BROKEN(mkstemp putenv rcmd readv setegid setenv seteuid) AC_BROKEN(strcasecmp strncasecmp strdup strerror strftime strlwr strnlen) AC_BROKEN(strsep strtok_r strupr swab unsetenv verr verrx vsyslog) AC_BROKEN(vwarn vwarnx warn warnx writev) AC_NEED_PROTO([#include ], setenv) AC_NEED_PROTO([#include ], unsetenv) AC_NEED_PROTO([#include ], gethostname) AC_NEED_PROTO([#include ], mkstemp) AC_NEED_PROTO([#include ],getusershell) AC_NEED_PROTO([ #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_ARPA_INET_H #include #endif], inet_aton) AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl AC_CACHE_CHECK(if realloc if broken, ac_cv_func_realloc_broken, [ ac_cv_func_realloc_broken=no AC_TRY_RUN([ #include #include int main() { return realloc(NULL, 17) == NULL; } ],:, ac_cv_func_realloc_broken=yes, :) ]) if test "$ac_cv_func_realloc_broken" = yes ; then AC_DEFINE(BROKEN_REALLOC) fi dnl AC_KRB_FUNC_GETCWD_BROKEN dnl dnl Checks for prototypes and declarations dnl AC_PROTO_COMPAT([ #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_ARPA_INET_H #include #endif #ifdef HAVE_NETDB_H #include #endif ], gethostbyname, struct hostent *gethostbyname(const char *)) AC_PROTO_COMPAT([ #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_ARPA_INET_H #include #endif #ifdef HAVE_NETDB_H #include #endif ], gethostbyaddr, struct hostent *gethostbyaddr(const void *, size_t, int)) AC_PROTO_COMPAT([ #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_ARPA_INET_H #include #endif #ifdef HAVE_NETDB_H #include #endif ], getservbyname, struct servent *getservbyname(const char *, const char *)) AC_PROTO_COMPAT([ #ifdef HAVE_SYSLOG_H #include #endif ], openlog, void openlog(const char *, int, int)) AC_NEED_PROTO([ #ifdef HAVE_CRYPT_H #include #endif #ifdef HAVE_UNISTD_H #include #endif ], crypt) AC_NEED_PROTO([ #include ], strtok_r) AC_CHECK_VAR([#ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_NETDB_H #include #endif], h_errno) AC_CHECK_VAR([#ifdef HAVE_NETDB_H #include #endif], h_errlist) AC_CHECK_VAR([#ifdef HAVE_NETDB_H #include #endif], h_nerr) AC_CHECK_VAR([#ifdef HAVE_ERR_H #include #endif],[__progname]) AC_CHECK_DECLARATION([#include ], optarg) AC_CHECK_DECLARATION([#include ], optind) AC_CHECK_DECLARATION([#include ], opterr) AC_CHECK_DECLARATION([#include ], optopt) AC_CHECK_DECLARATION([#include ], environ) dnl dnl Check for fields in struct utmp dnl AC_HAVE_STRUCT_FIELD(utmp, ut_addr, [#include ]) AC_HAVE_STRUCT_FIELD(utmp, ut_host, [#include ]) AC_HAVE_STRUCT_FIELD(utmp, ut_id, [#include ]) AC_HAVE_STRUCT_FIELD(utmp, ut_pid, [#include ]) AC_HAVE_STRUCT_FIELD(utmp, ut_type, [#include ]) AC_HAVE_STRUCT_FIELD(utmp, ut_user, [#include ]) AC_HAVE_STRUCT_FIELD(utmpx, ut_exit, [#include ]) AC_HAVE_STRUCT_FIELD(utmpx, ut_syslen, [#include ]) AC_KRB_IPV6 dnl dnl Check for struct winsize dnl AC_KRB_STRUCT_WINSIZE dnl dnl Check for struct spwd dnl AC_KRB_STRUCT_SPWD dnl dnl Check for sa_len in struct sockaddr dnl AC_HAVE_STRUCT_FIELD(struct sockaddr, sa_len, [#include #include ]) AC_GROK_TYPES(int8_t int16_t int32_t int64_t) AC_GROK_TYPES(u_int8_t u_int16_t u_int32_t u_int64_t) dnl dnl Tests for editline dnl AC_FIND_FUNC_NO_LIBS(el_init, edit) if test "$ac_cv_func_el_init" = yes ; then AC_CACHE_CHECK(for four argument el_init, ac_cv_func_el_init_four,[ AC_TRY_COMPILE([#include #include ], [el_init("", NULL, NULL, NULL);], ac_cv_func_el_init_four=yes, ac_cv_func_el_init_four=no)]) if test "$ac_cv_func_el_init_four" = yes; then AC_DEFINE(HAVE_FOUR_VALUED_EL_INIT, 1, [Define if el_init takes four arguments.]) fi fi AC_FIND_FUNC_NO_LIBS(readline, edit readline) ac_foo=no if test "$with_readline"; then LIB_readline="$READLINELIB" INCLUDE_readline="$READLINEINCLUDE" elif test "$ac_cv_func_readline" = yes; then INCLUDE_readline= elif test "$ac_cv_func_el_init" = yes; then ac_foo=yes LIB_readline="\$(top_builddir)/lib/editline/libel_compat.a $LIB_el_init" INCLUDE_readline='-I$(top_srcdir)/lib/editline' else LIB_readline='$(top_builddir)/lib/editline/libeditline.a' INCLUDE_readline='-I$(top_srcdir)/lib/editline' fi AM_CONDITIONAL(el_compat, test "$ac_foo" = yes) LIB_readline="$LIB_readline \$(LIB_tgetent)" AC_DEFINE(HAVE_READLINE, 1)dnl XXX AC_SUBST(LIB_readline) AC_SUBST(INCLUDE_readline) dnl telnet muck -------------------------------------------------- AC_DEFINE(AUTHENTICATION)dnl AC_DEFINE(KRB5)dnl AC_DEFINE(ENCRYPTION)dnl AC_DEFINE(DES_ENCRYPTION)dnl AC_DEFINE(DIAGNOSTICS)dnl AC_DEFINE(OLD_ENVIRON)dnl # Simple test for streamspty, based on the existance of getmsg(), alas # this breaks on SunOS4 which have streams but BSD-like ptys # # And also something wierd has happend with dec-osf1, fallback to bsd-ptys AC_MSG_CHECKING(for streamspty) case "`uname -sr`" in SunOS\ 4*|OSF1*|IRIX\ 4*|HP-UX\ ?.10.*) krb_cv_sys_streamspty=no ;; AIX*) os_rel=`uname -v`.`uname -r` if expr "$os_rel" : "3*" >/dev/null 2>&1; then krb_cv_sys_streamspty=no else krb_cv_sys_streamspty="$ac_cv_func_getmsg" fi ;; *) krb_cv_sys_streamspty="$ac_cv_func_getmsg" ;; esac if test "$krb_cv_sys_streamspty" = yes; then AC_DEFINE(STREAMSPTY) fi dnl AC_SUBST(STREAMSPTY) AC_MSG_RESULT($krb_cv_sys_streamspty) dnl This is done by AC_OUTPUT but we need the result here. test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' for i in bin lib libexec sbin; do i=${i}dir foo=`echo $i | tr 'xindiscernible' 'XINDISCERNIBLE'` x="\$${i}" eval y="$x" while test "x$y" != "x$x"; do x="$y" eval y="$x" done AC_DEFINE_UNQUOTED($foo,"$x") done if false; then # hack to shut up automake LIBOBJS="$LIBOBJS make-print-version.o" fi LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/\.lo/g'` AC_SUBST(LTLIBOBJS) AC_OUTPUT(Makefile \ include/Makefile \ include/kadm5/Makefile \ lib/Makefile \ lib/45/Makefile \ lib/asn1/Makefile \ lib/com_err/Makefile \ lib/des/Makefile \ lib/editline/Makefile \ lib/gssapi/Makefile \ lib/hdb/Makefile \ lib/kadm5/Makefile \ lib/kafs/Makefile \ lib/krb5/Makefile \ lib/otp/Makefile \ lib/roken/Makefile \ lib/sl/Makefile \ kuser/Makefile \ kpasswd/Makefile \ kadmin/Makefile \ admin/Makefile \ kdc/Makefile \ appl/Makefile \ appl/afsutil/Makefile \ appl/ftp/Makefile \ appl/ftp/common/Makefile \ appl/ftp/ftp/Makefile \ appl/ftp/ftpd/Makefile \ appl/kauth/Makefile \ appl/kx/Makefile \ appl/login/Makefile \ appl/otp/Makefile \ appl/popper/Makefile \ appl/push/Makefile \ appl/rsh/Makefile \ appl/telnet/Makefile \ appl/telnet/libtelnet/Makefile \ appl/telnet/telnet/Makefile \ appl/telnet/telnetd/Makefile \ appl/test/Makefile \ doc/Makefile \ ) dnl dnl This is the release version name-number[beta] dnl HEIMDALVERSION="$PACKAGE-$VERSION" cat > include/newversion.h.in </dev/null | sed 1q` Date=`date` mv -f include/newversion.h.in include/version.h.in sed -e "s/@USER@/$User/" -e "s/@HOST@/$Host/" -e "s/@DATE@/$Date/" include/version.h.in > include/version.h fi