This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Inetutils ".
The branch, master has been updated via 040efca40e5e252ba861ede88ae0896eeec84465 (commit) via 035fc188a35ac56bcc6551368db970d3f527c945 (commit) from 09a2242bb5c70d956bf8d13547210d83e0d98bcd (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=040efca40e5e252ba861ede88ae0896eeec84465 commit 040efca40e5e252ba861ede88ae0896eeec84465 Author: Simon Josefsson <si...@josefsson.org> Date: Fri Sep 3 17:23:04 2021 +0200 doc: Update TODO. diff --git a/TODO b/TODO index 7a61a2e..f1168f1 100644 --- a/TODO +++ b/TODO @@ -118,20 +118,17 @@ Add more utilities: Add internationalization, read: gettext support, and provide translations, especially for the clients. -3.0 will be a release that tries to put as much as possible into -libraries (startup code, etc). We would also like to try and write -(or convince someone else to write) a gopher and gopherd pair. +Try to put as much as possible into libraries (startup code, etc). + +gopher and gopherd? Make src/hostname.c handle missing 'sethostname' functions on platforms that doesn't have them (it could just print an error message). -Fix all warnings with autoconf 2.71+ - enhance man pages so they fully supersede NetKit and BSD man pages generally use gnulib for portability more than we use today: - - gnulib has fts.c that we have a custom libls/ for - getaddrinfo/getnameinfo with IDN support to simplify IDN complexity - more system header files replacements - ruserok/wtmp stuff http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=035fc188a35ac56bcc6551368db970d3f527c945 commit 035fc188a35ac56bcc6551368db970d3f527c945 Author: Simon Josefsson <si...@josefsson.org> Date: Fri Sep 3 17:08:07 2021 +0200 maint: Autoupdate for autoconf 2.71. * configure.ac: Don't use AC_TRY_LINK or AC_TRY_COMPILE. * am/libcurses.m4: Ditto. * am/krb5.m4: Ditto. diff --git a/am/krb5.m4 b/am/krb5.m4 index 676ffec..76c0893 100644 --- a/am/krb5.m4 +++ b/am/krb5.m4 @@ -67,17 +67,15 @@ AC_DEFUN([IU_CHECK_KRB5], ## Check for new MIT kerberos V support LIBS="$saved_LIBS -lkrb5 -lk5crypto -lcom_err" - AC_TRY_LINK([], [return krb5_init_context((void *) 0); ], - [KRB5_IMPL="MIT" - KRB5_LIBS="$KRB5_LDFLAGS -lkrb5 -lk5crypto -lcom_err"], ) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[return krb5_init_context((void *) 0); ]])],[KRB5_IMPL="MIT" + KRB5_LIBS="$KRB5_LDFLAGS -lkrb5 -lk5crypto -lcom_err"],[]) ## Heimdal kerberos V support if test "$KRB5_IMPL" = "none"; then LIBS="$saved_LIBS -lkrb5 -ldes -lasn1 -lroken -lcrypt -lcom_err" - AC_TRY_LINK([], [return krb5_init_context((void *) 0); ], - [KRB5_IMPL="Heimdal" - KRB5_LIBS="$KRB5_LDFLAGS -lkrb5 -ldes -lasn1 -lroken -lcrypt -lcom_err"] - , ) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[return krb5_init_context((void *) 0); ]])],[KRB5_IMPL="Heimdal" + KRB5_LIBS="$KRB5_LDFLAGS -lkrb5 -ldes -lasn1 -lroken -lcrypt -lcom_err" + ],[]) fi ### FIXME: Implement a robust distinction between @@ -88,10 +86,9 @@ AC_DEFUN([IU_CHECK_KRB5], ## OpenBSD variant of Heimdal if test "$KRB5_IMPL" = "none"; then LIBS="$saved_LIBS -lkrb5 -lcrypto" - AC_TRY_LINK([], [return krb5_init_context((void *) 0); ], - [KRB5_IMPL="OpenBSD-Heimdal" + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[return krb5_init_context((void *) 0); ]])],[KRB5_IMPL="OpenBSD-Heimdal" KRB5_CFLAGS="-I/usr/include/kerberosV" - KRB5_LIBS="$KRB5_LDFLAGS -lkrb5 -lcrypto -lasn1 -ldes"], ) + KRB5_LIBS="$KRB5_LDFLAGS -lkrb5 -lcrypto -lasn1 -ldes"],[]) fi ## Old MIT Kerberos V @@ -99,9 +96,8 @@ AC_DEFUN([IU_CHECK_KRB5], ## -lk5crypto. This may conflict with OpenSSL. if test "$KRB5_IMPL" = "none"; then LIBS="$saved_LIBS -lkrb5 -lcrypto -lcom_err" - AC_TRY_LINK([], [return krb5_init_context((void *) 0); ], - [KRB5_IMPL="OldMIT" - KRB5_LIBS="$KRB5_LDFLAGS $KRB4_LIBS -lkrb5 -lcrypto -lcom_err"], ) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[return krb5_init_context((void *) 0); ]])],[KRB5_IMPL="OldMIT" + KRB5_LIBS="$KRB5_LDFLAGS $KRB4_LIBS -lkrb5 -lcrypto -lcom_err"],[]) fi LDFLAGS="$saved_LDFLAGS" diff --git a/am/libcurses.m4 b/am/libcurses.m4 index 05f5412..1774270 100644 --- a/am/libcurses.m4 +++ b/am/libcurses.m4 @@ -175,9 +175,7 @@ AC_DEFUN([IU_LIB_CURSES], [ AC_CACHE_CHECK(whether curses needs $LIBTERMCAP, inetutils_cv_curses_needs_termcap, LIBS="$LIBCURSES" - AC_TRY_LINK([#include <curses.h>], [initscr ();], - [inetutils_cv_curses_needs_termcap=no], - [inetutils_cv_curses_needs_termcap=yes])) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <curses.h>]], [[initscr ();]])],[inetutils_cv_curses_needs_termcap=no],[inetutils_cv_curses_needs_termcap=yes])) if test $inetutils_cv_curses_needs_termcap = yes; then LIBCURSES="$LIBCURSES $LIBTERMCAP" fi diff --git a/configure.ac b/configure.ac index 692858e..49995a9 100644 --- a/configure.ac +++ b/configure.ac @@ -591,9 +591,10 @@ if test "$with_wrap" = yes; then AC_MSG_CHECKING(hosts_ctl in -lwrap); save_LIBS=$LIBS LIBS="$save_LIBS -lwrap" - AC_TRY_LINK([int allow_severity = 1; int deny_severity = 1;], - hosts_ctl(), eval "ac_cv_lib_wrap_hosts_ctl=yes", - eval "ac_cv_lib_wrap_hosts_ctl=no") + AC_LINK_IFELSE([AC_LANG_PROGRAM([[int allow_severity = 1; int deny_severity = 1;]], + [[hosts_ctl()]])], + [eval "ac_cv_lib_wrap_hosts_ctl=yes"], + [eval "ac_cv_lib_wrap_hosts_ctl=no"]) LIBS=$save_LIBS if test "$ac_cv_lib_wrap_hosts_ctl" = yes \ && test "$ac_cv_header_tcpd_h" = yes; then @@ -880,9 +881,7 @@ AC_CHECK_DECLS(htons, , , # See if we have h_errno (the test is here so we can use -lresolv if # necessary). AC_CACHE_CHECK([for h_errno], inetutils_cv_var_h_errno, - AC_TRY_COMPILE([#include <netdb.h>], - [ extern int h_errno; int iu_x = h_errno; ], - inetutils_cv_var_h_errno=yes, inetutils_cv_var_h_errno=no)) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]], [[ extern int h_errno; int iu_x = h_errno; ]])],[inetutils_cv_var_h_errno=yes],[inetutils_cv_var_h_errno=no])) if test "$inetutils_cv_var_h_errno" = yes; then # FIXME: Isn't this wrong? Shouldn't the declaration check define # this if we find h_errno? ----------------------------------------------------------------------- Summary of changes: TODO | 9 +++------ am/krb5.m4 | 22 +++++++++------------- am/libcurses.m4 | 4 +--- configure.ac | 11 +++++------ 4 files changed, 18 insertions(+), 28 deletions(-) hooks/post-receive -- GNU Inetutils _______________________________________________ Commit-inetutils mailing list Commit-inetutils@gnu.org https://lists.gnu.org/mailman/listinfo/commit-inetutils