Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
build/pkgs/gnulib: Update to version of 2022-07-31
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 22, 2022
1 parent ce70f3d commit 8bf9d97
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
3 changes: 1 addition & 2 deletions build/pkgs/gnulib/package-version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
19435dc207e9279d744435ce72466f765c5358e2
# version of 2022-07-10
f9b39c4e337f1dc0dd07c4f3985c476fb875d799
2 changes: 1 addition & 1 deletion build/pkgs/gnulib/spkg-src
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# the commit hash below is the latest as of 2022-07-31
# For updating gnulib, change this hash and run
#
# ./sage -sh -c 'build/pkgs/gnulib/spkg-src
# ./sage -sh -c 'build/pkgs/gnulib/spkg-src'
#
# Then commit the results.

Expand Down
24 changes: 17 additions & 7 deletions m4/iconv.m4
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# iconv.m4 serial 24
# iconv.m4 serial 26
dnl Copyright (C) 2000-2002, 2007-2014, 2016-2022 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
Expand Down Expand Up @@ -234,12 +234,6 @@ AC_DEFUN([AM_ICONV_LINK],

dnl Define AM_ICONV using AC_DEFUN_ONCE, in order to avoid warnings like
dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required".
dnl This is tricky because of the way 'aclocal' is implemented:
dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN.
dnl Otherwise aclocal's initial scan pass would miss the macro definition.
dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions.
dnl Otherwise aclocal would emit many "Use of uninitialized value $1"
dnl warnings.
AC_DEFUN_ONCE([AM_ICONV],
[
AM_ICONV_LINK
Expand Down Expand Up @@ -280,4 +274,20 @@ size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, si
ICONV_CONST="const"
fi
])
dnl A summary result, for those packages which want to print a summary at the
dnl end of the configuration.
if test "$am_func_iconv" = yes; then
if test -n "$LIBICONV"; then
am_cv_func_iconv_summary='yes, in libiconv'
else
am_cv_func_iconv_summary='yes, in libc'
fi
else
if test "$am_cv_func_iconv" = yes; then
am_cv_func_iconv_summary='not working, consider installing GNU libiconv'
else
am_cv_func_iconv_summary='no, consider installing GNU libiconv'
fi
fi
])
6 changes: 3 additions & 3 deletions m4/lib-link.m4
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# lib-link.m4 serial 32
# lib-link.m4 serial 33
dnl Copyright (C) 2001-2022 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
Expand Down Expand Up @@ -196,8 +196,8 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
])
AC_ARG_WITH(PACK[-prefix],
[[ --with-]]PACK[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
--without-]]PACK[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
[[ --with-]]PACK[[-prefix[=DIR] search for ]]PACKLIBS[[ in DIR/include and DIR/lib
--without-]]PACK[[-prefix don't search for ]]PACKLIBS[[ in includedir and libdir]],
[
if test "X$withval" = "Xno"; then
use_additional=no
Expand Down

0 comments on commit 8bf9d97

Please sign in to comment.