* configure.in: Update to autoconf 2 macro names:
authorEzra Peisach <epeisach@mit.edu>
Wed, 1 Nov 2000 15:10:10 +0000 (15:10 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 1 Nov 2000 15:10:10 +0000 (15:10 +0000)
AC_FORK->AC_FUNC_VFORK, AC_CONST->AC_C_CONST, AC_HEADER_CHECK ->
AC_CHECK_HEADER. In addition, conditionally use internal
AC_PROG_ECHO_N (autoconf 2.12) or _AC_PROG_ECHO (autoconf 2.49)
depending on which is defined.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12844 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/ChangeLog
src/appl/bsd/configure.in

index 93427e0c55e97443e7df3fd713705c8d833df34e..71130f23dcdbe9e37b2c1700661ad6df88d26436 100644 (file)
@@ -1,3 +1,11 @@
+2000-11-01  Ezra Peisach  <epeisach@mit.edu>
+
+       * configure.in: Update to autoconf 2 macro names:
+       AC_FORK->AC_FUNC_VFORK, AC_CONST->AC_C_CONST, AC_HEADER_CHECK ->
+       AC_CHECK_HEADER. In addition, conditionally use internal
+       AC_PROG_ECHO_N (autoconf 2.12) or _AC_PROG_ECHO (autoconf 2.49)
+       depending on which is defined.
+
 2000-10-12  Ezra Peisach  <epeisach@mit.edu>
 
        * login.c (k5_get_password): Declare second argument as unsigned
index 045d3fb2f25d138b76e981873990aa8ad24c520f..16aa7c263d39f19d3c92280b5065255ea27b734a 100644 (file)
@@ -66,7 +66,7 @@ AC_SUBST(LOGINLIBS)
 AC_SUBST(V4RCP)
 AC_SUBST(V4RCPO)
 dnl
-AC_VFORK
+AC_FUNC_VFORK
 AC_TYPE_MODE_T
 AC_CHECK_FUNCS(isatty inet_aton gettosbyname killpg initgroups setpriority setreuid setresuid waitpid setsid ptsname setlogin tcgetpgrp tcsetpgrp setpgid strsave utimes rmufile)
 AC_CHECK_HEADERS(unistd.h stdlib.h string.h sys/filio.h sys/sockio.h sys/label.h sys/tty.h ttyent.h lastlog.h sys/select.h sys/ptyvar.h utmp.h sys/time.h krb4-proto.h sys/ioctl_compat.h paths.h arpa/nameser.h)
@@ -77,13 +77,14 @@ CHECK_SIGNALS
 CHECK_SETJMP
 CHECK_DIRENT
 CHECK_WAIT_TYPE
-AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK(cfsetispeed,AC_DEFINE(POSIX_TERMIOS)))
+AC_CHECK_HEADER(termios.h,AC_CHECK_FUNC(cfsetispeed,AC_DEFINE(POSIX_TERMIOS)))
 CHECK_UTMP
 dnl
 dnl Check for where the BSD rlogin, rcp, and rsh programs live.
 dnl
 save_path=$PATH
-AC_PROG_ECHO_N
+ifdef([_AC_PROG_ECHO], [_AC_PROG_ECHO])
+ifdef([AC_PROG_ECHO_N], [AC_PROG_ECHO_N])
 AC_ARG_ENABLE([athena],
 [  --enable-athena         build with MIT Project Athena configuration],
 [PATH=/usr/athena/bin:/bin:/usr/bin:/usr/bsd:/usr/ucb],
@@ -92,7 +93,8 @@ AC_PATH_PROG(UCB_RLOGIN,rlogin,/usr/ucb/rlogin)
 AC_PATH_PROG(UCB_RSH,rsh,/usr/ucb/rsh)
 AC_PATH_PROG(UCB_RCP,rcp,/usr/ucb/rcp)
 PATH=$save_path
-AC_PROG_ECHO_N
+ifdef([_AC_PROG_ECHO], [_AC_PROG_ECHO])
+ifdef([AC_PROG_ECHO_N], [AC_PROG_ECHO_N])
 dnl
 dnl
 AC_MSG_CHECKING([streams interface])
@@ -167,7 +169,7 @@ dnl
 KRB5_CHECK_PROTOS
 dnl
 ADD_DEF(-DKERBEROS)
-AC_CONST
+AC_C_CONST
 if test "$krb5_cv_build_krb4_libs" = yes; then
        AC_DEFINE(HAVE_KRB_GET_ERR_TEXT)
        AC_DEFINE(HAVE_KRB_SAVE_CREDENTIALS)