From: Ezra Peisach Date: Wed, 1 Nov 2000 15:10:10 +0000 (+0000) Subject: * configure.in: Update to autoconf 2 macro names: X-Git-Tag: krb5-1.3-alpha1~1768 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=79a71f862a7a5d9db648d2d30e8375f842788711;p=krb5.git * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12844 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 93427e0c5..71130f23d 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,11 @@ +2000-11-01 Ezra Peisach + + * 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 * login.c (k5_get_password): Declare second argument as unsigned diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in index 045d3fb2f..16aa7c263 100644 --- a/src/appl/bsd/configure.in +++ b/src/appl/bsd/configure.in @@ -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)