1 dnl Process this file with autoconf to produce a configure script.
2 AC_REVISION($Revision$)
3 AC_INIT(lib/krb5/send_to_kdc.c)
4 AM_CONFIG_HEADER(include/config.h)
6 AM_INIT_AUTOMAKE(heimdal,0.2n)
8 AC_PREFIX_DEFAULT(/usr/heimdal)
12 AC_SUBST(CANONICAL_HOST)
26 if test "$sunos" != no; then
27 AC_DEFINE_UNQUOTED(SunOS, $sunos,
28 [Define to what version of SunOS you are running.])
41 test -z "$CFLAGS" && CFLAGS="-g"
43 dnl Checks for programs.
59 libdir="$libdir$abilibdirext"
66 AC_WFLAGS(-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs)
69 AC_ARG_WITH(berkeley-db,
70 [ --without-berkeley-db if you don't want berkeley db],[
71 if test "$withval" = no; then
76 AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,-ldes,/usr/athena)
79 if test "$with_krb4" != "no"; then
81 CFLAGS="$CFLAGS $INCLUDE_krb4"
83 LIBS="$LIB_krb4 -ldes $LIBS"
86 AC_CACHE_CHECK(for four valued krb_put_int, ac_cv_func_krb_put_int_four,
87 [AC_TRY_COMPILE([#include <krb.h>],[
89 krb_put_int(17, tmp, 4, sizeof(tmp));],
90 ac_cv_func_krb_put_int_four=yes,
91 ac_cv_func_krb_put_int_four=no)
93 if test "$ac_cv_func_krb_put_int_four" = yes; then
94 AC_DEFINE(HAVE_FOUR_VALUED_KRB_PUT_INT, 1,
95 [define if krb_put_int takes four arguments.])
97 AC_CACHE_CHECK(for KRB_VERIFY_SECURE, ac_cv_func_krb_verify_secure,
98 [AC_TRY_COMPILE([#include <krb.h>],[
99 int x = KRB_VERIFY_SECURE],
100 ac_cv_func_krb_verify_secure=yes,
101 ac_cv_func_krb_verify_secure=no)
103 if test "$ac_cv_func_krb_verify_secure" != yes; then
104 AC_DEFINE(KRB_VERIFY_SECURE, 1,
105 [Define to one if your krb.h doesn't])
106 AC_DEFINE(KRB_VERIFY_SECURE_FAIL, 2,
107 [Define to two if your krb.h doesn't])
109 AC_CACHE_CHECK(for KRB_VERIFY_NOT_SECURE,
110 ac_cv_func_krb_verify_not_secure,
111 [AC_TRY_COMPILE([#include <krb.h>],[
112 int x = KRB_VERIFY_NOT_SECURE],
113 ac_cv_func_krb_verify_not_secure=yes,
114 ac_cv_func_krb_verify_not_secure=no)
116 if test "$ac_cv_func_krb_verify_not_secure" != yes; then
117 AC_DEFINE(KRB_VERIFY_NOT_SECURE, 0,
118 [Define to zero if your krb.h doesn't])
120 AC_FIND_FUNC(krb_enable_debug)
121 AC_FIND_FUNC(krb_disable_debug)
122 AC_FIND_FUNC(krb_get_our_ip_for_realm)
124 CFLAGS="$save_CFLAGS"
125 LIB_kdb="-lkdb -lkrb"
126 if test "$krb4_libdir"; then
127 LIB_krb4="-rpath $krb4_libdir $LIB_krb4"
128 LIB_kdb="-rpath $krb4_libdir -L$krb4_libdir $LIB_kdb"
131 AM_CONDITIONAL(KRB4, test "$with_krb4" != "no")
132 AM_CONDITIONAL(KRB5, true)
133 AC_DEFINE(KRB5, 1, [Enable Kerberos 5 support in applications.])dnl
135 AM_CONDITIONAL(AIX, test "$aix" != no)dnl
136 AM_CONDITIONAL(AIX4, test "$aix" = 4)
138 AM_CONDITIONAL(AIX_DYNAMIC_AFS, test "$aix_dynamic_afs" = yes)dnl
140 AC_FIND_FUNC_NO_LIBS(dlopen, dl)
142 if test "$aix" != no; then
143 if test "$aix_dynamic_afs" = yes; then
144 if test "$ac_cv_funclib_dlopen" = yes; then
146 elif test "$ac_cv_funclib_dlopen" != no; then
147 AIX_EXTRA_KAFS="$ac_cv_funclib_dlopen"
156 AM_CONDITIONAL(HAVE_DLOPEN, test "$ac_cv_funclib_dlopen" != no)dnl
157 AC_SUBST(AFS_EXTRA_LD)dnl
158 AC_SUBST(AIX_EXTRA_KAFS)dnl
160 AC_ARG_ENABLE(kaserver,
161 [ --enable-kaserver if you want the KDC to try to emulate a kaserver])
162 if test "$enable_kaserver" = yes; then
163 AC_DEFINE(KASERVER, 1,
164 [Define if you want to use the KDC as a kaserver.])
165 if test "$with_krb4" = "no"; then
166 AC_MSG_ERROR(kaserver requires krb4)
171 AC_ARG_ENABLE(kaserver-db,
172 [ --enable-kaserver-db if you want support for reading kaserver databases in hprop])
173 if test "$enable_kaserver_db" = yes; then
174 AC_DEFINE(KASERVER_DB, 1,
175 [Define if you want support in hprop for reading kaserver databases])
176 if test "$with_krb4" = "no"; then
177 AC_MSG_ERROR(kaserver-db requires krb4)
184 [ --disable-otp if you don't want OTP support],
186 if test "$enableval" = "no"; then
190 if test "$otp" = "yes"; then
191 AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
192 LIB_otp='$(top_builddir)/lib/otp/libotp.la'
195 AM_CONDITIONAL(OTP, test "$otp" = yes)dnl
201 AC_TEST_PACKAGE_NEW(readline,
203 #include <readline.h>],-lreadline)
205 AC_TEST_PACKAGE_NEW(hesiod,[#include <hesiod.h>],-lhesiod)
212 if test "$no_x" = "yes" ; then
213 MAKE_X_PROGS_BIN_PROGS=""
214 MAKE_X_PROGS_BIN_SCRPTS=""
215 MAKE_X_PROGS_LIBEXEC_PROGS=""
217 MAKE_X_PROGS_BIN_PROGS='$(X_PROGS_BIN_PROGS)'
218 MAKE_X_PROGS_BIN_SCRPTS='$(X_PROGS_BIN_SCRPTS)'
219 MAKE_X_PROGS_LIBEXEC_PROGS='$(X_PROGS_LIBEXEC_PROGS)'
221 AC_SUBST(MAKE_X_PROGS_BIN_PROGS)dnl
222 AC_SUBST(MAKE_X_PROGS_BIN_SCRPTS)dnl
223 AC_SUBST(MAKE_X_PROGS_LIBEXEC_PROGS)dnl
229 dnl Checks for typedefs, structures, and compiler characteristics.
233 AC_CHECK_TYPE_EXTRA(ssize_t, int, [#include <unistd.h>])
236 AC_CHECK_TYPE_EXTRA(mode_t, unsigned short, [])
237 AC_CHECK_TYPE_EXTRA(sig_atomic_t, int, [#include <signal.h>])
238 AC_HAVE_TYPE([long long])
242 dnl Checks for header files.
245 if test "$berkeley_db"; then
278 netinet/in6_machtypes.h \
290 security/pam_modules.h \
341 CHECK_NETINET_IP_AND_TCP
344 AC_ARG_ENABLE(netinfo,
345 [ --enable-netinfo enable netinfo for configuration lookup])
347 if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
348 AC_DEFINE(HAVE_NETINFO, 1,
349 [Define if you want to use Netinfo instead of krb5.conf.])
352 AM_CONDITIONAL(have_err_h, test "$ac_cv_header_err_h" = yes)
353 AM_CONDITIONAL(have_fnmatch_h, test "$ac_cv_header_fnmatch_h" = yes)
357 dnl Checks for libraries.
359 AC_FIND_FUNC(socket, socket)
360 AC_FIND_FUNC(gethostbyname, nsl)
361 AC_FIND_FUNC(syslog, syslog)
363 AC_FIND_FUNC_NO_LIBS(logwtmp, util)
364 AC_FIND_FUNC_NO_LIBS(tgetent, termcap ncurses curses)
365 AC_FIND_FUNC(gethostbyname2, inet6 ip6)
367 AC_FIND_FUNC(res_search, resolv,
370 #ifdef HAVE_SYS_TYPES_H
371 #include <sys/types.h>
373 #ifdef HAVE_NETINET_IN_H
374 #include <netinet/in.h>
376 #ifdef HAVE_ARPA_NAMESER_H
377 #include <arpa/nameser.h>
385 AC_FIND_FUNC(dn_expand, resolv,
388 #ifdef HAVE_SYS_TYPES_H
389 #include <sys/types.h>
391 #ifdef HAVE_NETINET_IN_H
392 #include <netinet/in.h>
394 #ifdef HAVE_ARPA_NAMESER_H
395 #include <arpa/nameser.h>
403 dnl Checks for library functions.
410 if test "$ac_cv_func_glob_working" != yes; then
411 LIBOBJS="$LIBOBJS glob.o"
413 AM_CONDITIONAL(have_glob_h, test "$ac_cv_func_glob_working" = yes)
415 dnl these should happen after tests for *snprintf
417 AC_FIND_FUNC_NO_LIBS(dbopen, $berkeley_db)
418 AC_FIND_FUNC_NO_LIBS(dbm_firstkey, $berkeley_db gdbm ndbm)
421 if test "$LIB_dbopen" != "$LIB_dbm_firstkey"; then
422 DBLIB="$DBLIB $LIB_dbm_firstkey"
426 AC_CHECK_FUNCS(_getpty _scrsize asnprintf asprintf cgetent fcntl)
427 AC_CHECK_FUNCS(getmsg getrlimit getspnam gettimeofday getuid)
428 AC_CHECK_FUNCS(grantpt mktime ptsname rand random setproctitle)
429 AC_CHECK_FUNCS(revoke select setitimer setpcred setpgid)
430 AC_CHECK_FUNCS(setregid setresgid setresuid setreuid setutent)
431 AC_CHECK_FUNCS(setsid sigaction strstr)
432 AC_CHECK_FUNCS(sysconf sysctl timegm ttyname ttyslot umask uname)
433 AC_CHECK_FUNCS(unlockpt vasnprintf vasprintf vhangup)
434 AC_CHECK_FUNCS(yp_get_default_domain)
436 if test "$ac_cv_func_cgetent" = no; then
437 LIBOBJS="$LIBOBJS getcap.o"
444 AC_CHECK_GETPWNAM_R_POSIX
446 AC_FIND_FUNC_NO_LIBS(getsockopt,,
447 [#ifdef HAVE_SYS_TYPES_H
448 #include <sys/types.h>
450 #ifdef HAVE_SYS_SOCKET_H
451 #include <sys/socket.h>
454 AC_FIND_FUNC_NO_LIBS(setsockopt,,
455 [#ifdef HAVE_SYS_TYPES_H
456 #include <sys/types.h>
458 #ifdef HAVE_SYS_SOCKET_H
459 #include <sys/socket.h>
464 AC_CHECK_FUNCS(getudbnam setlim)
467 if test "$ac_cv_type_signal" = "void" ; then
468 AC_DEFINE(VOID_RETSIGTYPE, 1, [Define if signal handlers return void.])
470 AC_SUBST(VOID_RETSIGTYPE)
472 AC_FIND_IF_NOT_BROKEN(hstrerror, resolv,
477 if test "$ac_cv_func_hstrerror" = yes; then
485 dnl sigh, wish this could be done in a loop
486 if test "$ac_cv_func_asprintf" = yes; then
489 #include <string.h>],
492 if test "$ac_cv_func_vasprintf" = yes; then
495 #include <string.h>],
498 if test "$ac_cv_func_asnprintf" = yes; then
501 #include <string.h>],
504 if test "$ac_cv_func_vasnprintf" = yes; then
507 #include <string.h>],
511 AC_BROKEN(chown copyhostent daemon err errx fchown flock fnmatch)
512 AC_BROKEN(freeaddrinfo freehostent gai_strerror getaddrinfo)
513 AC_BROKEN(getcwd getdtablesize gethostname getipnodebyaddr getipnodebyname)
514 AC_BROKEN(geteuid getgid getegid)
515 AC_BROKEN(getnameinfo getopt getusershell)
516 AC_BROKEN(inet_aton inet_ntop inet_pton initgroups innetgr iruserok lstat)
518 AC_BROKEN(mkstemp putenv rcmd readv recvmsg sendmsg setegid setenv seteuid)
519 AC_BROKEN(strcasecmp strncasecmp strdup strerror strftime)
520 AC_BROKEN(strlcat strlcpy strlwr)
521 AC_BROKEN(strndup strnlen strptime strsep strtok_r strupr)
522 AC_BROKEN(swab unsetenv verr verrx vsyslog)
523 AC_BROKEN(vwarn vwarnx warn warnx writev)
525 AC_NEED_PROTO([#include <stdlib.h>], setenv)
526 AC_NEED_PROTO([#include <stdlib.h>], unsetenv)
527 AC_NEED_PROTO([#include <unistd.h>], gethostname)
528 AC_NEED_PROTO([#include <unistd.h>], mkstemp)
529 AC_NEED_PROTO([#include <unistd.h>], getusershell)
532 #ifdef HAVE_SYS_TYPES_H
533 #include <sys/types.h>
535 #ifdef HAVE_SYS_SOCKET_H
536 #include <sys/socket.h>
538 #ifdef HAVE_NETINET_IN_H
539 #include <netinet/in.h>
541 #ifdef HAVE_ARPA_INET_H
542 #include <arpa/inet.h>
546 AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
549 dnl libroken references crypt and dbopen
552 LIB_roken='$(top_builddir)/lib/roken/libroken.la $(LIB_crypt) $(LIB_dbopen)'
553 AC_SUBST(LIB_roken)dnl
555 AC_CACHE_CHECK(if realloc if broken, ac_cv_func_realloc_broken, [
556 ac_cv_func_realloc_broken=no
563 return realloc(NULL, 17) == NULL;
565 ],:, ac_cv_func_realloc_broken=yes, :)
567 if test "$ac_cv_func_realloc_broken" = yes ; then
568 AC_DEFINE(BROKEN_REALLOC, 1, [Define if realloc(NULL) doesn't work.])
571 dnl AC_KRB_FUNC_GETCWD_BROKEN
574 dnl Checks for prototypes and declarations
578 #ifdef HAVE_SYS_TYPES_H
579 #include <sys/types.h>
581 #ifdef HAVE_SYS_SOCKET_H
582 #include <sys/socket.h>
584 #ifdef HAVE_NETINET_IN_H
585 #include <netinet/in.h>
587 #ifdef HAVE_ARPA_INET_H
588 #include <arpa/inet.h>
594 gethostbyname, struct hostent *gethostbyname(const char *))
597 #ifdef HAVE_SYS_TYPES_H
598 #include <sys/types.h>
600 #ifdef HAVE_SYS_SOCKET_H
601 #include <sys/socket.h>
603 #ifdef HAVE_NETINET_IN_H
604 #include <netinet/in.h>
606 #ifdef HAVE_ARPA_INET_H
607 #include <arpa/inet.h>
613 gethostbyaddr, struct hostent *gethostbyaddr(const void *, size_t, int))
616 #ifdef HAVE_SYS_TYPES_H
617 #include <sys/types.h>
619 #ifdef HAVE_SYS_SOCKET_H
620 #include <sys/socket.h>
622 #ifdef HAVE_NETINET_IN_H
623 #include <netinet/in.h>
625 #ifdef HAVE_ARPA_INET_H
626 #include <arpa/inet.h>
632 getservbyname, struct servent *getservbyname(const char *, const char *))
639 openlog, void openlog(const char *, int, int))
661 AC_CHECK_VAR([#ifdef HAVE_SYS_TYPES_H
662 #include <sys/types.h>
669 AC_CHECK_VAR([#ifdef HAVE_NETDB_H
674 AC_CHECK_VAR([#ifdef HAVE_NETDB_H
679 AC_CHECK_VAR([#ifdef HAVE_ERR_H
681 #endif],[__progname])
683 AC_CHECK_DECLARATION([#include <stdlib.h>
687 AC_CHECK_DECLARATION([#include <stdlib.h>
691 AC_CHECK_DECLARATION([#include <stdlib.h>
695 AC_CHECK_DECLARATION([#include <stdlib.h>
700 AC_CHECK_DECLARATION([#include <stdlib.h>], environ)
703 dnl Check for fields in struct utmp
706 AC_HAVE_STRUCT_FIELD(struct utmp, ut_addr, [#include <utmp.h>])
707 AC_HAVE_STRUCT_FIELD(struct utmp, ut_host, [#include <utmp.h>])
708 AC_HAVE_STRUCT_FIELD(struct utmp, ut_id, [#include <utmp.h>])
709 AC_HAVE_STRUCT_FIELD(struct utmp, ut_pid, [#include <utmp.h>])
710 AC_HAVE_STRUCT_FIELD(struct utmp, ut_type, [#include <utmp.h>])
711 AC_HAVE_STRUCT_FIELD(struct utmp, ut_user, [#include <utmp.h>])
712 AC_HAVE_STRUCT_FIELD(struct utmpx, ut_exit, [#include <utmpx.h>])
713 AC_HAVE_STRUCT_FIELD(struct utmpx, ut_syslen, [#include <utmpx.h>])
716 dnl Check for fields in struct tm
719 AC_HAVE_STRUCT_FIELD(struct tm, tm_gmtoff, [#include <time.h>])
720 AC_HAVE_STRUCT_FIELD(struct tm, tm_zone, [#include <time.h>])
723 dnl or do we have a variable `timezone' ?
730 AC_HAVE_TYPE([sa_family_t],[#include <sys/socket.h>])
732 AC_HAVE_TYPE([socklen_t],[#include <sys/socket.h>])
734 AC_HAVE_TYPE([struct sockaddr], [#include <sys/socket.h>])
736 AC_HAVE_TYPE([struct sockaddr_storage], [#include <sys/socket.h>])
738 AC_HAVE_TYPE([struct addrinfo], [#include <netdb.h>])
741 dnl Check for struct winsize
744 AC_KRB_STRUCT_WINSIZE
747 dnl Check for struct spwd
753 dnl Check for sa_len in struct sockaddr
756 AC_HAVE_STRUCT_FIELD(struct sockaddr, sa_len, [#include <sys/types.h>
757 #include <sys/socket.h>])
760 AC_GROK_TYPES(int8_t int16_t int32_t int64_t)
761 AC_GROK_TYPES(u_int8_t u_int16_t u_int32_t u_int64_t)
764 dnl crypto functions tests
767 AC_FIND_FUNC_NO_LIBS(MD4Init, crypto)
768 AC_FIND_FUNC_NO_LIBS(MD4_Init, crypto)
769 AC_FIND_FUNC_NO_LIBS(MD5Init, crypto)
770 AC_FIND_FUNC_NO_LIBS(MD5_Init, crypto)
771 AC_FIND_FUNC_NO_LIBS(SHA1Init, crypto)
772 AC_FIND_FUNC_NO_LIBS(SHA1_Init, crypto)
773 AC_FIND_FUNC_NO_LIBS(des_cbc_encrypt, crypto des)
776 dnl Tests for editline
781 AC_FIND_FUNC_NO_LIBS(el_init, edit, [], [], [$LIB_tgetent])
782 if test "$ac_cv_func_el_init" = yes ; then
783 AC_CACHE_CHECK(for four argument el_init, ac_cv_func_el_init_four,[
784 AC_TRY_COMPILE([#include <stdio.h>
785 #include <histedit.h>],
786 [el_init("", NULL, NULL, NULL);],
787 ac_cv_func_el_init_four=yes,
788 ac_cv_func_el_init_four=no)])
789 if test "$ac_cv_func_el_init_four" = yes; then
790 AC_DEFINE(HAVE_FOUR_VALUED_EL_INIT, 1, [Define if el_init takes four arguments.])
797 if test "$with_readline" = yes; then
799 elif test "$ac_cv_func_readline" = yes; then
801 elif test "$ac_cv_func_el_init" = yes; then
803 LIB_readline="\$(top_builddir)/lib/editline/libel_compat.a $LIB_el_init"
805 LIB_readline='$(top_builddir)/lib/editline/libeditline.a'
807 AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
808 if test "$readline_libdir"; then
809 LIB_readline="-rpath $readline_libdir $LIB_readline"
811 LIB_readline="$LIB_readline \$(LIB_tgetent)"
812 AC_DEFINE(HAVE_READLINE, 1,
813 [Define if you have a readline compatible library.])dnl
815 dnl telnet muck --------------------------------------------------
817 AC_DEFINE(AUTHENTICATION, 1,
818 [Define if you want authentication support in telnet.])dnl
819 AC_DEFINE(ENCRYPTION, 1,
820 [Define if you want encryption support in telnet.])dnl
821 AC_DEFINE(DES_ENCRYPTION, 1,
822 [Define if you want to use DES encryption in telnet.])dnl
823 AC_DEFINE(DIAGNOSTICS, 1,
824 [Define this to enable diagnostics in telnet.])dnl
825 AC_DEFINE(OLD_ENVIRON, 1,
826 [Define this to enable old environment option in telnet.])dnl
828 AC_DEFINE(ENV_HACK, 1,
829 [Define this if you want support for broken ENV_{VAR,VAL} telnets.])
832 # Simple test for streamspty, based on the existance of getmsg(), alas
833 # this breaks on SunOS4 which have streams but BSD-like ptys
835 # And also something wierd has happend with dec-osf1, fallback to bsd-ptys
837 AC_MSG_CHECKING(for streamspty)
839 *-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux10*)
840 krb_cv_sys_streamspty=no
843 krb_cv_sys_streamspty="$ac_cv_func_getmsg"
846 if test "$krb_cv_sys_streamspty" = yes; then
847 AC_DEFINE(STREAMSPTY, 1, [Define if you have streams ptys.])
849 dnl AC_SUBST(STREAMSPTY)
850 AC_MSG_RESULT($krb_cv_sys_streamspty)
854 dnl This is done by AC_OUTPUT but we need the result here.
856 test "x$prefix" = xNONE && prefix=$ac_default_prefix
857 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
859 for i in bin lib libexec sbin; do
861 foo=`echo $i | tr 'xindiscernible' 'XINDISCERNIBLE'`
864 while test "x$y" != "x$x"; do
868 AC_DEFINE_UNQUOTED($foo,"$x")
872 # hack to shut up automake
873 LIBOBJS="$LIBOBJS make-print-version.o"
875 LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/\.lo/g'`
879 include/kadm5/Makefile \
883 lib/auth/afskauthlib/Makefile \
884 lib/auth/pam/Makefile \
885 lib/auth/sia/Makefile \
887 lib/com_err/Makefile \
889 lib/editline/Makefile \
890 lib/gssapi/Makefile \
904 appl/afsutil/Makefile \
906 appl/ftp/common/Makefile \
907 appl/ftp/ftp/Makefile \
908 appl/ftp/ftpd/Makefile \
909 appl/kauth/Makefile \
911 appl/login/Makefile \
913 appl/popper/Makefile \
917 appl/xnlock/Makefile \
918 appl/telnet/Makefile \
919 appl/telnet/libtelnet/Makefile \
920 appl/telnet/telnet/Makefile \
921 appl/telnet/telnetd/Makefile \
928 dnl This is the release version name-number[beta]
930 HEIMDALVERSION="$PACKAGE-$VERSION"
932 cat > include/newversion.h.in <<EOF
933 char *heimdal_long_version = "@(#)\$Version: $HEIMDALVERSION by @USER@ on @HOST@ ($host) @DATE@ \$";
934 char *heimdal_version = "$HEIMDALVERSION";
937 if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then
938 echo "include/version.h is unchanged"
939 rm -f include/newversion.h.in
941 echo "creating include/version.h"
942 User=${USER-${LOGNAME}}
943 Host=`(hostname || uname -n || echo unknown) 2>/dev/null | sed 1q`
945 mv -f include/newversion.h.in include/version.h.in
946 sed -e "s/@USER@/$User/" -e "s/@HOST@/$Host/" -e "s/@DATE@/$Date/" include/version.h.in > include/version.h