[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4298-g64ec54d
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4298-g64ec54d |
Date: |
Fri, 10 Sep 2021 05:11:18 -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 "gawk".
The branch, gawk-5.1-stable has been updated
via 64ec54dcc2320d1f1b1e16068674c1333b0bf108 (commit)
from c89ce5850cf9dc9173364de62bb183b207826e96 (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.sv.gnu.org/cgit/gawk.git/commit/?id=64ec54dcc2320d1f1b1e16068674c1333b0bf108
commit 64ec54dcc2320d1f1b1e16068674c1333b0bf108
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Fri Sep 10 12:10:56 2021 +0300
Finish update to Autoconf 2.71. Remove lots of warnings.
diff --git a/extension/ChangeLog b/extension/ChangeLog
index 197b56b..1fa16ef 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,8 +1,13 @@
+2021-09-10 Arnold D. Robbins <arnold@skeeve.com>
+
+ * configure.ac: Updated for Autoconf 2.71. Removes various warnings.
+ * configh.in, configure: Regenerated.
+
2021-09-09 Arnold D. Robbins <arnold@skeeve.com>
Move to Autoconf 2.71 (finally!)
- * aclocal.m4, configh.in configure: Regenerated.
+ * aclocal.m4, configh.in, configure: Regenerated.
2021-05-05 Arnold D. Robbins <arnold@skeeve.com>
diff --git a/extension/configh.in b/extension/configh.in
index d816e99..c0e0e2c 100644
--- a/extension/configh.in
+++ b/extension/configh.in
@@ -182,10 +182,6 @@
backward compatibility; new code need not use it. */
#undef STDC_HEADERS
-/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This
- macro is obsolete. */
-#undef TIME_WITH_SYS_TIME
-
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
diff --git a/extension/configure b/extension/configure
index e21c077..5e746ca 100755
--- a/extension/configure
+++ b/extension/configure
@@ -16841,13 +16841,6 @@ fi
-# Obsolete code to be removed.
-if test $ac_cv_header_sys_time_h = yes; then
-
-printf "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
-
-fi
-# End of obsolete code.
case `uname -m` in
diff --git a/extension/configure.ac b/extension/configure.ac
index 9073c0a..32c02a9 100644
--- a/extension/configure.ac
+++ b/extension/configure.ac
@@ -25,7 +25,7 @@ dnl Process this file with autoconf to produce a configure
script.
AC_INIT([GNU Awk Bundled
Extensions],[5.1.0],[bug-gawk@gnu.org],[gawk-extensions])
-AC_PREREQ([2.69])
+AC_PREREQ([2.71])
AC_CONFIG_MACRO_DIR([../m4])
AC_CONFIG_AUX_DIR([../build-aux])
@@ -94,10 +94,8 @@ AC_CHECK_HEADERS(fnmatch.h limits.h sys/mkdev.h sys/param.h
sys/select.h \
sys/statvfs.h sys/sysmacros.h sys/time.h)
AC_HEADER_DIRENT
-dnl 12/2017: AC_HEADER_MAJOR no longer works on recent Fedora / GLIBC.
-dnl Instead we just check for the headers in the call above.
-dnl AC_HEADER_MAJOR
-AC_HEADER_TIME
+AC_CHECK_HEADERS_ONCE([sys/time.h])
+
dnl check for mpfr support
case `uname -m` in
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 0db8bf3..37329b6 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,8 @@
+2021-09-10 Arnold D. Robbins <arnold@skeeve.com>
+
+ * mpfr.m4, readline.m4, threadlib.m4: Update for Autoconf 2.71.
+ Removes various warnings when Autoconf runs.
+
2020-07-22 Arnold D. Robbins <arnold@skeeve.com>
* fcntl-o.m4, glibc2.m4, glibc21.m4, intdiv0.m4, intldir.m4,
diff --git a/m4/mpfr.m4 b/m4/mpfr.m4
index 7d9e678..83adf95 100644
--- a/m4/mpfr.m4
+++ b/m4/mpfr.m4
@@ -13,7 +13,7 @@ dnl found, and sets @LIBMPFR@ to the necessary libraries.
AC_DEFUN([GNUPG_CHECK_MPFR],
[
AC_ARG_WITH([mpfr],
- AC_HELP_STRING([--with-mpfr=DIR],
+ AS_HELP_STRING([--with-mpfr=DIR],
[look for the mpfr and gmp libraries in DIR]),
[_do_mpfr=$withval],[_do_mpfr=yes])
@@ -27,7 +27,7 @@ AC_DEFUN([GNUPG_CHECK_MPFR],
_combo="-lmpfr -lgmp"
LIBS="$LIBS $_combo"
- AC_MSG_CHECKING([whether mpfr via \"$_combo\" is present and usable])
+ AC_MSG_CHECKING([whether mpfr via "$_combo" is present and usable])
AC_LINK_IFELSE([
AC_LANG_PROGRAM([
diff --git a/m4/readline.m4 b/m4/readline.m4
index 12f389b..25adb6f 100644
--- a/m4/readline.m4
+++ b/m4/readline.m4
@@ -19,7 +19,7 @@ dnl problem is only discovered at run time. Isn't that
special?
AC_DEFUN([GAWK_CHECK_READLINE],
[
AC_ARG_WITH([readline],
- AC_HELP_STRING([--with-readline=DIR],
+ AS_HELP_STRING([--with-readline=DIR],
[look for the readline library in DIR]),
[_do_readline=$withval],[_do_readline=yes])
@@ -34,11 +34,11 @@ AC_DEFUN([GAWK_CHECK_READLINE],
_combo="-lreadline${_termcap:+ $_termcap}"
LIBS="$LIBS $_combo"
- AC_MSG_CHECKING([whether readline via \"$_combo\" is present and sane])
+ AC_MSG_CHECKING([whether readline via "$_combo" is present and sane])
- AC_TRY_RUN(
+ AC_RUN_IFELSE(
dnl source program:
-AC_LANG_SOURCE([[#include <stdio.h>
+[AC_LANG_SOURCE([[#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <readline/readline.h>
@@ -58,17 +58,18 @@ int main(int argc, char **argv)
/* some printfs don't handle NULL for %s */
printf("got <%s>\n", line ? line : "(NULL)");
return 0;
-}]]),
+}]])],
dnl action if true:
[_found_readline=yes],
dnl action if false:
[_found_readline=no],
dnl action if cross compiling:
- AC_TRY_LINK([#include <stdio.h>
+ [AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM([[#include <stdio.h>
#include <readline/readline.h>
-#include <readline/history.h>], dnl includes
+#include <readline/history.h>]], dnl includes
dnl function body
- [
+ [[
int fd;
char *line;
@@ -80,12 +81,12 @@ dnl action if cross compiling:
/* some printfs don't handle NULL for %s */
printf("got <%s>\n", line ? line : "(NULL)");
-],
+]])],
dnl action if found:
[_found_readline=yes],
dnl action if not found:
[_found_readline=no]
- )
+ )]
)
AC_MSG_RESULT([$_found_readline])
diff --git a/m4/threadlib.m4 b/m4/threadlib.m4
index 8615ac9..f1cc15d 100644
--- a/m4/threadlib.m4
+++ b/m4/threadlib.m4
@@ -53,8 +53,8 @@ AC_DEFUN([gl_THREADLIB_EARLY_BODY],
[m4_divert_text([DEFAULTS], [gl_use_threads_default=no])],
[m4_divert_text([DEFAULTS], [gl_use_threads_default=])])
AC_ARG_ENABLE([threads],
-AC_HELP_STRING([--enable-threads={posix|solaris|pth|windows}], [specify
multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [
-AC_HELP_STRING([--disable-threads], [build without multithread safety])]),
+AS_HELP_STRING([--enable-threads={posix|solaris|pth|windows}], [specify
multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [
+AS_HELP_STRING([--disable-threads], [build without multithread safety])]),
[gl_use_threads=$enableval],
[if test -n "$gl_use_threads_default"; then
gl_use_threads="$gl_use_threads_default"
-----------------------------------------------------------------------
Summary of changes:
extension/ChangeLog | 7 ++++++-
extension/configh.in | 4 ----
extension/configure | 7 -------
extension/configure.ac | 8 +++-----
m4/ChangeLog | 5 +++++
m4/mpfr.m4 | 4 ++--
m4/readline.m4 | 21 +++++++++++----------
m4/threadlib.m4 | 4 ++--
8 files changed, 29 insertions(+), 31 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4298-g64ec54d,
Arnold Robbins <=