commit-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Inetutils branch, master, updated. v2.2-6-g880dbcf


From: Simon Josefsson
Subject: [SCM] GNU Inetutils branch, master, updated. v2.2-6-g880dbcf
Date: Wed, 1 Sep 2021 17:50:40 -0400 (EDT)

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  880dbcf7effb86373b011108f6cf9d250342420b (commit)
       via  a23230a6ff0eb0c2bc1158e154a6ee68afc5d1ed (commit)
      from  fc310f059c59884a2217606df62b444887c86f84 (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=880dbcf7effb86373b011108f6cf9d250342420b


commit 880dbcf7effb86373b011108f6cf9d250342420b
Author: Simon Josefsson <simon@josefsson.org>
Date:   Wed Sep 1 23:31:44 2021 +0200

    Drop obsolete/unused AC_HEADER_DIRENT, AC_FUNC_CLOSEDIR_VOID and 
AC_FUNC_STRCOLL.
    
    * configure.ac: Remove calls.

diff --git a/configure.ac b/configure.ac
index 81783e8..692858e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -611,9 +611,6 @@ AC_CHECK_FUNCS([setlocale])
 IU_CHECK_LIBIDN([$with_libidn_prefix], [$with_idn])
 
 ### Checks for header files.
-
-AC_HEADER_DIRENT
-
 AC_CHECK_HEADERS([arpa/nameser.h arpa/tftp.h fcntl.h features.h \
                  glob.h memory.h netinet/ether.h netinet/in_systm.h \
                  netinet/ip.h netinet/ip_icmp.h netinet/ip_var.h \
@@ -746,9 +743,7 @@ IU_CHECK_MEMBERS([struct tftphdr.th_u], , ,
                  #include <arpa/tftp.h>])
 
 ### Checks for library functions.
-AC_FUNC_CLOSEDIR_VOID
 AC_FUNC_FORK
-AC_FUNC_STRCOLL
 AC_FUNC_MMAP
 
 AC_CHECK_FUNCS(cfsetspeed cgetent dirfd flock \

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=a23230a6ff0eb0c2bc1158e154a6ee68afc5d1ed


commit a23230a6ff0eb0c2bc1158e154a6ee68afc5d1ed
Author: Simon Josefsson <simon@josefsson.org>
Date:   Wed Sep 1 23:11:52 2021 +0200

    Drop unused IU_CHECK_WEAK_REFS.
    
    * configure.ac: Remove IU_CHECK_WEAK_REFS.
    * am/check_weak_refs.m4: Remove file.

diff --git a/am/check_weak_refs.m4 b/am/check_weak_refs.m4
deleted file mode 100644
index 6256acd..0000000
--- a/am/check_weak_refs.m4
+++ /dev/null
@@ -1,72 +0,0 @@
-dnl
-dnl Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-dnl 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015,
-dnl 2016, 2017, 2018, 2019, 2020, 2021 Free Software Foundation, Inc.
-dnl
-dnl This file is part of GNU Inetutils.
-dnl
-dnl GNU Inetutils is free software: you can redistribute it and/or modify
-dnl it under the terms of the GNU General Public License as published by
-dnl the Free Software Foundation, either version 3 of the License, or (at
-dnl your option) any later version.
-dnl
-dnl GNU Inetutils is distributed in the hope that it will be useful, but
-dnl WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-dnl General Public License for more details.
-dnl
-dnl You should have received a copy of the GNU General Public License
-dnl along with this program.  If not, see `http://www.gnu.org/licenses/'.
-
-dnl Written by Miles Bader.
-
-dnl IU_CHECK_WEAK_REFS -- See if any of a variety of `weak reference'
-dnl mechanisms works.  If so, this defines HAVE_WEAK_REFS, and one of
-dnl HAVE_ATTR_WEAK_REFS, HAVE_PRAGMA_WEAK_REFS, or HAVE_ASM_WEAK_REFS to
-dnl indicate which sort.
-dnl
-dnl This can't just be a compile-check, as gcc somtimes accepts the syntax even
-dnl feature isn't actually supported.
-dnl
-AC_DEFUN([IU_CHECK_WEAK_REFS], [
-  AH_TEMPLATE(HAVE_WEAK_REFS, 1, [Define if you have weak references])
-  AC_CACHE_CHECK(whether gcc weak references work,
-                inetutils_cv_attr_weak_refs,
-    AC_TRY_LINK([],
-      [extern char *not_defined (char *, char *) __attribute__ ((weak));
-       if (not_defined) puts ("yes"); ],
-      [inetutils_cv_attr_weak_refs=yes],
-      [inetutils_cv_attr_weak_refs=no]))
-  if test "$inetutils_cv_weak_refs" = yes; then
-    AC_DEFINE([HAVE_WEAK_REFS])
-    AC_DEFINE([HAVE_ATTR_WEAK_REFS], 1,
-              [Define if you have weak "attribute" references])
-  else
-    AC_CACHE_CHECK(whether pragma weak references work,
-                  inetutils_cv_pragma_weak_refs,
-      AC_TRY_LINK([],
-       [extern char *not_defined (char *, char *);
-#pragma weak not_defined
-        if (not_defined) puts ("yes"); ],
-       [inetutils_cv_pragma_weak_refs=yes],
-       [inetutils_cv_pragma_weak_refs=no]))
-    if test "$inetutils_cv_pragma_weak_refs" = yes; then
-      AC_DEFINE([HAVE_WEAK_REFS])
-      AC_DEFINE([HAVE_PRAGMA_WEAK_REFS], 1,
-                [Define if you have weak "pragma" references])
-    else
-      AC_CACHE_CHECK(whether asm weak references work,
-                    inetutils_cv_asm_weak_refs,
-       AC_TRY_LINK([],
-         [extern char *not_defined (char *, char *);
-          asm (".weak not_defined");
-          if (not_defined) puts ("yes"); ],
-         [inetutils_cv_asm_weak_refs=yes],
-         [inetutils_cv_asm_weak_refs=no]))
-      if test "$inetutils_cv_asm_weak_refs" = yes; then
-       AC_DEFINE([HAVE_WEAK_REFS])
-       AC_DEFINE([HAVE_ASM_WEAK_REFS], 1,
-                 [Define if you have weak "assembler" references])
-      fi
-    fi
-  fi])dnl
diff --git a/configure.ac b/configure.ac
index dd1d762..81783e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -745,15 +745,6 @@ IU_CHECK_MEMBERS([struct tftphdr.th_u], , ,
                  #include <sys/socket.h>
                  #include <arpa/tftp.h>])
 
-### Checks for compiler characteristics.
-
-# See if `weak refs' are possible; these make it possible (with shared
-# libraries) to check for the existance of a standard function at
-# run-time instead of compile time, which is very handy for
-# distributing binary version programs that automatically adapt -- in
-# inetutils case, to whether or not crypt is available.
-IU_CHECK_WEAK_REFS
-
 ### Checks for library functions.
 AC_FUNC_CLOSEDIR_VOID
 AC_FUNC_FORK

-----------------------------------------------------------------------

Summary of changes:
 am/check_weak_refs.m4 | 72 ---------------------------------------------------
 configure.ac          | 14 ----------
 2 files changed, 86 deletions(-)
 delete mode 100644 am/check_weak_refs.m4


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]