diff options
author | Pedro Alves <palves@redhat.com> | 2013-07-01 11:14:42 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-07-01 11:14:42 +0000 |
commit | 3574124b5f33fb080dfe11d4a98475a991e6fb25 (patch) | |
tree | d93b4b594f1ea61ec181d1f5fea0ea98c7329d03 | |
parent | 702dc4fd25277e0b3206af531c59cea4fbf58be4 (diff) | |
download | fsf-binutils-gdb-3574124b5f33fb080dfe11d4a98475a991e6fb25.zip fsf-binutils-gdb-3574124b5f33fb080dfe11d4a98475a991e6fb25.tar.gz fsf-binutils-gdb-3574124b5f33fb080dfe11d4a98475a991e6fb25.tar.bz2 |
Reimport gnulib from scratch.
Moving aside gnulib/import/, and re-running our
gnulib/update-gnulib.sh script, surprisingly, one gets a different
result compared to what's in the tree. This is with pristine FSF
autoconf and FSF automake, at the versions required by
update-gnulib.sh. However, if one just runs the update-gnulib.sh
scripts against the _existing_ tree, then nothing changes... I
suspect gnulib-tool's merge logic might be preserving some things by
design. This gets rid of cruft that might have accumulated over
gnulib updates. onceonly.m4 seems to fit in that category.
gdb/
2013-07-01 Pedro Alves <palves@redhat.com>
Reimport gnulib from scratch.
* gnulib/Makefile.in (aclocal_m4_deps): Remove reference to
import/m4/onceonly.m4.
* gnulib/aclocal.m4: Renegerate.
* gnulib/config.in: Renegerate.
* gnulib/configure: Renegerate.
* gnulib/import/Makefile.in: Renegerate.
* gnulib/import/extra/update-copyright: Renegerate.
* gnulib/import/m4/onceonly.m4: Delete.
-rw-r--r-- | gdb/ChangeLog | 12 | ||||
-rw-r--r-- | gdb/gnulib/Makefile.in | 1 | ||||
-rw-r--r-- | gdb/gnulib/aclocal.m4 | 1 | ||||
-rw-r--r-- | gdb/gnulib/config.in | 28 | ||||
-rw-r--r-- | gdb/gnulib/configure | 351 | ||||
-rw-r--r-- | gdb/gnulib/import/Makefile.in | 1 | ||||
-rw-r--r-- | gdb/gnulib/import/m4/onceonly.m4 | 104 |
7 files changed, 56 insertions, 442 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8e1c185..a19367f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,17 @@ 2013-07-01 Pedro Alves <palves@redhat.com> + Reimport gnulib from scratch. + * gnulib/Makefile.in (aclocal_m4_deps): Remove reference to + import/m4/onceonly.m4. + * gnulib/aclocal.m4: Renegerate. + * gnulib/config.in: Renegerate. + * gnulib/configure: Renegerate. + * gnulib/import/Makefile.in: Renegerate. + * gnulib/import/extra/update-copyright: Renegerate. + * gnulib/import/m4/onceonly.m4: Delete. + +2013-07-01 Pedro Alves <palves@redhat.com> + * tui/tui-regs.c (pagination_enabled): Delete declaration. 2013-06-30 Jan Kratochvil <jan.kratochvil@redhat.com> diff --git a/gdb/gnulib/Makefile.in b/gdb/gnulib/Makefile.in index 89deae2..e74b601 100644 --- a/gdb/gnulib/Makefile.in +++ b/gdb/gnulib/Makefile.in @@ -235,7 +235,6 @@ aclocal_m4_deps = \ import/m4/memmem.m4 \ import/m4/mmap-anon.m4 \ import/m4/multiarch.m4 \ - import/m4/onceonly.m4 \ import/m4/stdbool.m4 \ import/m4/stddef_h.m4 \ import/m4/stdint.m4 \ diff --git a/gdb/gnulib/aclocal.m4 b/gdb/gnulib/aclocal.m4 index fb99505..4ed32d3 100644 --- a/gdb/gnulib/aclocal.m4 +++ b/gdb/gnulib/aclocal.m4 @@ -1048,7 +1048,6 @@ m4_include([import/m4/memchr.m4]) m4_include([import/m4/memmem.m4]) m4_include([import/m4/mmap-anon.m4]) m4_include([import/m4/multiarch.m4]) -m4_include([import/m4/onceonly.m4]) m4_include([import/m4/stdbool.m4]) m4_include([import/m4/stddef_h.m4]) m4_include([import/m4/stdint.m4]) diff --git a/gdb/gnulib/config.in b/gdb/gnulib/config.in index 145a42a..7807fea 100644 --- a/gdb/gnulib/config.in +++ b/gdb/gnulib/config.in @@ -54,7 +54,7 @@ /* Define to 1 when the gnulib module memmem should be tested. */ #undef GNULIB_TEST_MEMMEM -/* Define to 1 if you have the 'alarm' function. */ +/* Define to 1 if you have the `alarm' function. */ #undef HAVE_ALARM /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that @@ -68,7 +68,7 @@ /* Define to 1 if you have the <bp-sym.h> header file. */ #undef HAVE_BP_SYM_H -/* Define to 1 if you have the 'btowc' function. */ +/* Define to 1 if you have the `btowc' function. */ #undef HAVE_BTOWC /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you @@ -111,7 +111,7 @@ /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H -/* Define to 1 if you have the 'isblank' function. */ +/* Define to 1 if you have the `isblank' function. */ #undef HAVE_ISBLANK /* Define if the isnan(double) function is available in libc. */ @@ -120,10 +120,10 @@ /* Define if the isnan(long double) function is available in libc. */ #undef HAVE_ISNANL_IN_LIBC -/* Define to 1 if you have the 'iswcntrl' function. */ +/* Define to 1 if you have the `iswcntrl' function. */ #undef HAVE_ISWCNTRL -/* Define to 1 if you have the 'iswctype' function. */ +/* Define to 1 if you have the `iswctype' function. */ #undef HAVE_ISWCTYPE /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ @@ -139,13 +139,13 @@ /* Define to 1 if you have the <math.h> header file. */ #undef HAVE_MATH_H -/* Define to 1 if you have the 'mbrtowc' function. */ +/* Define to 1 if you have the `mbrtowc' function. */ #undef HAVE_MBRTOWC -/* Define to 1 if you have the 'mbsinit' function. */ +/* Define to 1 if you have the `mbsinit' function. */ #undef HAVE_MBSINIT -/* Define to 1 if you have the 'mbsrtowcs' function. */ +/* Define to 1 if you have the `mbsrtowcs' function. */ #undef HAVE_MBSRTOWCS /* Define to 1 if <wchar.h> declares mbstate_t. */ @@ -157,10 +157,10 @@ /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H -/* Define to 1 if you have the 'mempcpy' function. */ +/* Define to 1 if you have the `mempcpy' function. */ #undef HAVE_MEMPCPY -/* Define to 1 if you have the 'mprotect' function. */ +/* Define to 1 if you have the `mprotect' function. */ #undef HAVE_MPROTECT /* Define to 1 if acosf is declared even after undefining macros. */ @@ -637,7 +637,7 @@ /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H -/* Define to 1 if you have the 'symlink' function. */ +/* Define to 1 if you have the `symlink' function. */ #undef HAVE_SYMLINK /* Define to 1 if you have the <sys/bitypes.h> header file. */ @@ -676,13 +676,13 @@ /* Define if you have the 'wint_t' type. */ #undef HAVE_WINT_T -/* Define to 1 if you have the 'wmemchr' function. */ +/* Define to 1 if you have the `wmemchr' function. */ #undef HAVE_WMEMCHR -/* Define to 1 if you have the 'wmemcpy' function. */ +/* Define to 1 if you have the `wmemcpy' function. */ #undef HAVE_WMEMCPY -/* Define to 1 if you have the 'wmempcpy' function. */ +/* Define to 1 if you have the `wmempcpy' function. */ #undef HAVE_WMEMPCPY /* Define to 1 if O_NOATIME works. */ diff --git a/gdb/gnulib/configure b/gdb/gnulib/configure index 042673c..601658a 100644 --- a/gdb/gnulib/configure +++ b/gdb/gnulib/configure @@ -589,8 +589,8 @@ ac_includes_default="\ #endif" gl_fnmatch_required=POSIX -gl_func_list= -gl_header_list= +ac_func_list= +ac_header_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE gltests_LTLIBOBJS @@ -2856,29 +2856,29 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi -gl_func_list="$gl_func_list btowc" -gl_func_list="$gl_func_list isblank" -gl_func_list="$gl_func_list iswctype" -gl_func_list="$gl_func_list mbsrtowcs" -gl_func_list="$gl_func_list mempcpy" -gl_func_list="$gl_func_list wmemchr" -gl_func_list="$gl_func_list wmemcpy" -gl_func_list="$gl_func_list wmempcpy" -gl_header_list="$gl_header_list wctype.h" +as_fn_append ac_func_list " btowc" +as_fn_append ac_func_list " isblank" +as_fn_append ac_func_list " iswctype" +as_fn_append ac_func_list " mbsrtowcs" +as_fn_append ac_func_list " mempcpy" +as_fn_append ac_func_list " wmemchr" +as_fn_append ac_func_list " wmemcpy" +as_fn_append ac_func_list " wmempcpy" +as_fn_append ac_header_list " wctype.h" gl_fnmatch_required=GNU -gl_func_list="$gl_func_list alarm" -gl_header_list="$gl_header_list wchar.h" -gl_header_list="$gl_header_list stdint.h" -gl_header_list="$gl_header_list inttypes.h" -gl_header_list="$gl_header_list unistd.h" -gl_func_list="$gl_func_list symlink" -gl_header_list="$gl_header_list math.h" -gl_func_list="$gl_func_list mbsinit" -gl_func_list="$gl_func_list mbrtowc" -gl_header_list="$gl_header_list sys/mman.h" -gl_func_list="$gl_func_list mprotect" -gl_header_list="$gl_header_list features.h" -gl_func_list="$gl_func_list iswcntrl" +as_fn_append ac_func_list " alarm" +as_fn_append ac_header_list " wchar.h" +as_fn_append ac_header_list " stdint.h" +as_fn_append ac_header_list " inttypes.h" +as_fn_append ac_header_list " unistd.h" +as_fn_append ac_func_list " symlink" +as_fn_append ac_header_list " math.h" +as_fn_append ac_func_list " mbsinit" +as_fn_append ac_func_list " mbrtowc" +as_fn_append ac_header_list " sys/mman.h" +as_fn_append ac_func_list " mprotect" +as_fn_append ac_header_list " features.h" +as_fn_append ac_func_list " iswcntrl" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -5595,8 +5595,7 @@ $as_echo "#define mbstate_t int" >>confdefs.h - - for ac_func in $gl_func_list + for ac_func in $ac_func_list do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -5628,34 +5627,11 @@ done - - - - - - - - - - - - - - - - - - - - - - - - - for ac_header in $gl_header_list + for ac_header in $ac_header_list do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" eval as_val=\$$as_ac_Header if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF @@ -5669,8 +5645,6 @@ done - - GNULIB_ACOSF=0; GNULIB_ACOSL=0; GNULIB_ASINF=0; @@ -5960,9 +5934,6 @@ $as_echo "$gl_cv_func_frexp_no_libm" >&6; } - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long double and double are the same" >&5 $as_echo_n "checking whether long double and double are the same... " >&6; } if test "${gl_cv_long_double_equals_double+set}" = set; then : @@ -6126,12 +6097,6 @@ $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h - - - - - - gl_cv_c_multiarch=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6191,12 +6156,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - : - - - - - if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else @@ -6224,12 +6183,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - : - - - - - @@ -6914,9 +6867,6 @@ fi - - - GNULIB_IMAXABS=0; GNULIB_IMAXDIV=0; GNULIB_STRTOIMAX=0; @@ -6936,8 +6886,6 @@ fi - : - @@ -6949,16 +6897,6 @@ fi - - : - - - - - - - - if test $gl_cv_have_include_next = yes; then gl_cv_next_inttypes_h='<'inttypes.h'>' else @@ -7743,24 +7681,6 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h - - - - - - : - - - - - - - : - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 $as_echo_n "checking for working fcntl.h... " >&6; } if test "${gl_cv_header_working_fcntl_h+set}" = set; then : @@ -7902,8 +7822,7 @@ cat >>confdefs.h <<_ACEOF _ACEOF - - ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then : ac_have_decl=1 else @@ -7915,7 +7834,6 @@ cat >>confdefs.h <<_ACEOF _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5 $as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; } if test "${ac_cv_gnu_library_2_1+set}" = set; then : @@ -7955,9 +7873,6 @@ $as_echo "$ac_cv_gnu_library_2_1" >&6; } - - - GNULIB_BTOWC=0; GNULIB_WCTOB=0; GNULIB_MBSINIT=0; @@ -8057,12 +7972,6 @@ $as_echo "$ac_cv_gnu_library_2_1" >&6; } - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 $as_echo_n "checking for a traditional japanese locale... " >&6; } if test "${gt_cv_locale_ja+set}" = set; then : @@ -8600,12 +8509,6 @@ $as_echo "$gt_cv_locale_fr" >&6; } - - - - - - GNULIB_FFSL=0; GNULIB_FFSLL=0; GNULIB_MEMCHR=0; @@ -8745,18 +8648,6 @@ $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h fi - : - - - - - - - : - - - - @@ -8849,8 +8740,7 @@ $as_echo "$gl_cv_func_memchr_works" >&6; } fi fi - - ac_fn_c_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default" +ac_fn_c_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default" if test "x$ac_cv_have_decl_memmem" = x""yes; then : ac_have_decl=1 else @@ -8865,7 +8755,6 @@ _ACEOF - for ac_func in memmem do : ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem" @@ -8883,12 +8772,6 @@ done HAVE_MEMMEM=0 fi - : - - - - - if test $ac_cv_have_decl_memmem = no; then HAVE_DECL_MEMMEM=0 else @@ -9339,15 +9222,6 @@ Configuration aborted." "$LINENO" 5 - - - - : - - - - - if test $ac_cv_header_features_h = yes; then HAVE_FEATURES_H=1 else @@ -9410,9 +9284,6 @@ $as_echo "#define HAVE_WINT_T 1" >>confdefs.h - - - if false; then GL_COND_LIBTOOL_TRUE= GL_COND_LIBTOOL_FALSE='#' @@ -9916,39 +9787,6 @@ cat >>confdefs.h <<_ACEOF _ACEOF - : - - - - - - - - - - - - - - - - - - - - - - - - - - - - : - - - - fi @@ -9988,39 +9826,6 @@ cat >>confdefs.h <<_ACEOF _ACEOF - : - - - - - - - - - - - - - - - - - - - - - - - - - - - - : - - - - fi @@ -10072,12 +9877,6 @@ $as_echo "$gl_cv_func_frexp_in_libm" >&6; } - : - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5 $as_echo_n "checking whether frexp works... " >&6; } if test "${gl_cv_func_frexp_works+set}" = set; then : @@ -11133,12 +10932,6 @@ _ACEOF - : - - - - - @@ -11153,12 +10946,6 @@ _ACEOF - : - - - - - @@ -11344,18 +11131,6 @@ fi - : - - - - - - - : - - - - if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then @@ -11503,12 +11278,6 @@ $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } - : - - - - - if test $ac_cv_func_mbrtowc = no; then HAVE_MBRTOWC=0 ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" " @@ -11956,18 +11725,6 @@ $as_echo "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h - : - - - - - - - : - - - - if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then @@ -12115,12 +11872,6 @@ $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } - : - - - - - if test $ac_cv_func_mbsinit = no; then HAVE_MBSINIT=0 ac_fn_c_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" " @@ -12196,18 +11947,6 @@ $as_echo "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h - : - - - - - - - : - - - - if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then @@ -12355,12 +12094,6 @@ $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } - : - - - - - if test $ac_cv_func_mbsrtowcs = no; then HAVE_MBSRTOWCS=0 ac_fn_c_check_decl "$LINENO" "mbsrtowcs" "ac_cv_have_decl_mbsrtowcs" " @@ -12721,12 +12454,6 @@ done HAVE_MEMMEM=0 fi - : - - - - - if test $ac_cv_have_decl_memmem = no; then HAVE_DECL_MEMMEM=0 else @@ -13002,12 +12729,6 @@ $as_echo "$gl_cv_next_stddef_h" >&6; } - : - - - - - @@ -13150,12 +12871,6 @@ fi - : - - - - - if test $ac_cv_func_iswcntrl = yes; then HAVE_ISWCNTRL=1 else @@ -13177,12 +12892,6 @@ fi - : - - - - - diff --git a/gdb/gnulib/import/Makefile.in b/gdb/gnulib/import/Makefile.in index 284b4af..a7dc344 100644 --- a/gdb/gnulib/import/Makefile.in +++ b/gdb/gnulib/import/Makefile.in @@ -99,7 +99,6 @@ am__aclocal_m4_deps = $(top_srcdir)/import/m4/00gnulib.m4 \ $(top_srcdir)/import/m4/memmem.m4 \ $(top_srcdir)/import/m4/mmap-anon.m4 \ $(top_srcdir)/import/m4/multiarch.m4 \ - $(top_srcdir)/import/m4/onceonly.m4 \ $(top_srcdir)/import/m4/stdbool.m4 \ $(top_srcdir)/import/m4/stddef_h.m4 \ $(top_srcdir)/import/m4/stdint.m4 \ diff --git a/gdb/gnulib/import/m4/onceonly.m4 b/gdb/gnulib/import/m4/onceonly.m4 deleted file mode 100644 index 275d73c..0000000 --- a/gdb/gnulib/import/m4/onceonly.m4 +++ /dev/null @@ -1,104 +0,0 @@ -# onceonly.m4 serial 9 -dnl Copyright (C) 2002-2003, 2005-2006, 2008-2012 Free Software Foundation, -dnl Inc. -dnl -dnl This file 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 -dnl (at your option) any later version. -dnl -dnl This file is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -dnl GNU General Public License for more details. -dnl -dnl You should have received a copy of the GNU General Public License -dnl along with this file. If not, see <http://www.gnu.org/licenses/>. -dnl -dnl As a special exception to the GNU General Public License, -dnl this file may be distributed as part of a program -dnl that contains a configuration script generated by Autoconf, under -dnl the same distribution terms as the rest of that program. - -dnl This file defines some "once only" variants of standard autoconf macros. -dnl AC_CHECK_HEADERS_ONCE like AC_CHECK_HEADERS -dnl AC_CHECK_FUNCS_ONCE like AC_CHECK_FUNCS -dnl AC_CHECK_DECLS_ONCE like AC_CHECK_DECLS -dnl AC_REQUIRE([AC_FUNC_STRCOLL]) like AC_FUNC_STRCOLL -dnl The advantage is that the check for each of the headers/functions/decls -dnl will be put only once into the 'configure' file. It keeps the size of -dnl the 'configure' file down, and avoids redundant output when 'configure' -dnl is run. -dnl The drawback is that the checks cannot be conditionalized. If you write -dnl if some_condition; then gl_CHECK_HEADERS(stdlib.h); fi -dnl inside an AC_DEFUNed function, the gl_CHECK_HEADERS macro call expands to -dnl empty, and the check will be inserted before the body of the AC_DEFUNed -dnl function. - -dnl The original code implemented AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE -dnl in terms of AC_DEFUN and AC_REQUIRE. This implementation uses diversions to -dnl named sections DEFAULTS and INIT_PREPARE in order to check all requested -dnl headers at once, thus reducing the size of 'configure'. It is known to work -dnl with autoconf 2.57..2.62 at least . The size reduction is ca. 9%. - -dnl Autoconf version 2.59 plus gnulib is required; this file is not needed -dnl with Autoconf 2.60 or greater. But note that autoconf's implementation of -dnl AC_CHECK_DECLS_ONCE expects a comma-separated list of symbols as first -dnl argument! -AC_PREREQ([2.59]) - -# AC_CHECK_HEADERS_ONCE(HEADER1 HEADER2 ...) is a once-only variant of -# AC_CHECK_HEADERS(HEADER1 HEADER2 ...). -AC_DEFUN([AC_CHECK_HEADERS_ONCE], [ - : - m4_foreach_w([gl_HEADER_NAME], [$1], [ - AC_DEFUN([gl_CHECK_HEADER_]m4_quote(m4_translit(gl_HEADER_NAME, - [./-], [___])), [ - m4_divert_text([INIT_PREPARE], - [gl_header_list="$gl_header_list gl_HEADER_NAME"]) - gl_HEADERS_EXPANSION - AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])), - [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.]) - ]) - AC_REQUIRE([gl_CHECK_HEADER_]m4_quote(m4_translit(gl_HEADER_NAME, - [./-], [___]))) - ]) -]) -m4_define([gl_HEADERS_EXPANSION], [ - m4_divert_text([DEFAULTS], [gl_header_list=]) - AC_CHECK_HEADERS([$gl_header_list]) - m4_define([gl_HEADERS_EXPANSION], []) -]) - -# AC_CHECK_FUNCS_ONCE(FUNC1 FUNC2 ...) is a once-only variant of -# AC_CHECK_FUNCS(FUNC1 FUNC2 ...). -AC_DEFUN([AC_CHECK_FUNCS_ONCE], [ - : - m4_foreach_w([gl_FUNC_NAME], [$1], [ - AC_DEFUN([gl_CHECK_FUNC_]m4_defn([gl_FUNC_NAME]), [ - m4_divert_text([INIT_PREPARE], - [gl_func_list="$gl_func_list gl_FUNC_NAME"]) - gl_FUNCS_EXPANSION - AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_FUNC_NAME])), - [Define to 1 if you have the ']m4_defn([gl_FUNC_NAME])[' function.]) - ]) - AC_REQUIRE([gl_CHECK_FUNC_]m4_defn([gl_FUNC_NAME])) - ]) -]) -m4_define([gl_FUNCS_EXPANSION], [ - m4_divert_text([DEFAULTS], [gl_func_list=]) - AC_CHECK_FUNCS([$gl_func_list]) - m4_define([gl_FUNCS_EXPANSION], []) -]) - -# AC_CHECK_DECLS_ONCE(DECL1 DECL2 ...) is a once-only variant of -# AC_CHECK_DECLS(DECL1, DECL2, ...). -AC_DEFUN([AC_CHECK_DECLS_ONCE], [ - : - m4_foreach_w([gl_DECL_NAME], [$1], [ - AC_DEFUN([gl_CHECK_DECL_]m4_defn([gl_DECL_NAME]), [ - AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) - ]) - AC_REQUIRE([gl_CHECK_DECL_]m4_defn([gl_DECL_NAME])) - ]) -]) |