| 1 |
# DO NOT EDIT! GENERATED AUTOMATICALLY! |
| 2 |
# Copyright (C) 2002-2013 Free Software Foundation, Inc. |
| 3 |
# |
| 4 |
# This file is free software; you can redistribute it and/or modify |
| 5 |
# it under the terms of the GNU General Public License as published by |
| 6 |
# the Free Software Foundation; either version 3 of the License, or |
| 7 |
# (at your option) any later version. |
| 8 |
# |
| 9 |
# This file is distributed in the hope that it will be useful, |
| 10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
# GNU General Public License for more details. |
| 13 |
# |
| 14 |
# You should have received a copy of the GNU General Public License |
| 15 |
# along with this file. If not, see <http://www.gnu.org/licenses/>. |
| 16 |
# |
| 17 |
# As a special exception to the GNU General Public License, |
| 18 |
# this file may be distributed as part of a program that |
| 19 |
# contains a configuration script generated by Autoconf, under |
| 20 |
# the same distribution terms as the rest of that program. |
| 21 |
# |
| 22 |
# Generated by gnulib-tool. |
| 23 |
# |
| 24 |
# This file represents the compiled summary of the specification in |
| 25 |
# gnulib-cache.m4. It lists the computed macro invocations that need |
| 26 |
# to be invoked from configure.ac. |
| 27 |
# In projects that use version control, this file can be treated like |
| 28 |
# other built files. |
| 29 |
|
| 30 |
|
| 31 |
# This macro should be invoked from ./configure.ac, in the section |
| 32 |
# "Checks for programs", right after AC_PROG_CC, and certainly before |
| 33 |
# any checks for libraries, header files, types and library functions. |
| 34 |
AC_DEFUN([gl_EARLY], |
| 35 |
[ |
| 36 |
m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace |
| 37 |
m4_pattern_allow([^gl_ES$])dnl a valid locale name |
| 38 |
m4_pattern_allow([^gl_LIBOBJS$])dnl a variable |
| 39 |
m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable |
| 40 |
AC_REQUIRE([gl_PROG_AR_RANLIB]) |
| 41 |
# Code from module announce-gen: |
| 42 |
# Code from module autobuild: |
| 43 |
AB_INIT |
| 44 |
# Code from module c-ctype: |
| 45 |
# Code from module c-strcase: |
| 46 |
# Code from module c-strcaseeq: |
| 47 |
# Code from module calloc: |
| 48 |
# Code from module calloc-gnu: |
| 49 |
# Code from module calloc-posix: |
| 50 |
# Code from module close-stream: |
| 51 |
# Code from module closeout: |
| 52 |
# Code from module config-h: |
| 53 |
# Code from module configmake: |
| 54 |
# Code from module do-release-commit-and-tag: |
| 55 |
# Code from module errno: |
| 56 |
# Code from module error: |
| 57 |
# Code from module exitfail: |
| 58 |
# Code from module extensions: |
| 59 |
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) |
| 60 |
# Code from module extern-inline: |
| 61 |
# Code from module fpending: |
| 62 |
# Code from module gendocs: |
| 63 |
# Code from module getopt-gnu: |
| 64 |
# Code from module getopt-posix: |
| 65 |
# Code from module gettext-h: |
| 66 |
# Code from module git-version-gen: |
| 67 |
# Code from module gitlog-to-changelog: |
| 68 |
# Code from module gnu-web-doc-update: |
| 69 |
# Code from module gnumakefile: |
| 70 |
# Code from module gnupload: |
| 71 |
# Code from module include_next: |
| 72 |
# Code from module intprops: |
| 73 |
# Code from module inttypes-incomplete: |
| 74 |
# Code from module lib-ignore: |
| 75 |
# Code from module localcharset: |
| 76 |
# Code from module maintainer-makefile: |
| 77 |
# Code from module malloc-gnu: |
| 78 |
# Code from module malloc-posix: |
| 79 |
# Code from module manywarnings: |
| 80 |
# Code from module mbrtowc: |
| 81 |
# Code from module mbsinit: |
| 82 |
# Code from module msvc-inval: |
| 83 |
# Code from module msvc-nothrow: |
| 84 |
# Code from module multiarch: |
| 85 |
# Code from module nocrash: |
| 86 |
# Code from module non-recursive-gnulib-prefix-hack: |
| 87 |
# Code from module obstack: |
| 88 |
# Code from module progname: |
| 89 |
# Code from module quote: |
| 90 |
# Code from module quotearg: |
| 91 |
# Code from module quotearg-simple: |
| 92 |
# Code from module readme-release: |
| 93 |
# Code from module realloc-gnu: |
| 94 |
# Code from module realloc-posix: |
| 95 |
# Code from module snippet/_Noreturn: |
| 96 |
# Code from module snippet/arg-nonnull: |
| 97 |
# Code from module snippet/c++defs: |
| 98 |
# Code from module snippet/warn-on-use: |
| 99 |
# Code from module ssize_t: |
| 100 |
# Code from module stat-macros: |
| 101 |
# Code from module stdarg: |
| 102 |
dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode |
| 103 |
dnl for the builtin va_copy to work. With Autoconf 2.60 or later, |
| 104 |
dnl gl_PROG_CC_C99 arranges for this. With older Autoconf gl_PROG_CC_C99 |
| 105 |
dnl shouldn't hurt, though installers are on their own to set c99 mode. |
| 106 |
gl_PROG_CC_C99 |
| 107 |
# Code from module stdbool: |
| 108 |
# Code from module stddef: |
| 109 |
# Code from module stdint: |
| 110 |
# Code from module stdlib: |
| 111 |
# Code from module stpcpy: |
| 112 |
# Code from module streq: |
| 113 |
# Code from module strerror: |
| 114 |
# Code from module strerror-override: |
| 115 |
# Code from module string: |
| 116 |
# Code from module sys_types: |
| 117 |
# Code from module time: |
| 118 |
# Code from module timespec: |
| 119 |
# Code from module unistd: |
| 120 |
# Code from module unlocked-io: |
| 121 |
# Code from module update-copyright: |
| 122 |
# Code from module useless-if-before-free: |
| 123 |
# Code from module vc-list-files: |
| 124 |
# Code from module verify: |
| 125 |
# Code from module version-etc: |
| 126 |
# Code from module version-etc-fsf: |
| 127 |
# Code from module warnings: |
| 128 |
# Code from module wchar: |
| 129 |
# Code from module wctype-h: |
| 130 |
# Code from module xalloc: |
| 131 |
# Code from module xalloc-die: |
| 132 |
# Code from module xalloc-oversized: |
| 133 |
# Code from module xstrtol: |
| 134 |
]) |
| 135 |
|
| 136 |
# This macro should be invoked from ./configure.ac, in the section |
| 137 |
# "Check for header files, types and library functions". |
| 138 |
AC_DEFUN([gl_INIT], |
| 139 |
[ |
| 140 |
AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) |
| 141 |
gl_cond_libtool=false |
| 142 |
gl_libdeps= |
| 143 |
gl_ltlibdeps= |
| 144 |
gl_m4_base='m4' |
| 145 |
m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) |
| 146 |
m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) |
| 147 |
m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) |
| 148 |
m4_pushdef([gl_LIBSOURCES_LIST], []) |
| 149 |
m4_pushdef([gl_LIBSOURCES_DIR], []) |
| 150 |
gl_COMMON |
| 151 |
gl_source_base='lib' |
| 152 |
gl_FUNC_CALLOC_GNU |
| 153 |
if test $REPLACE_CALLOC = 1; then |
| 154 |
AC_LIBOBJ([calloc]) |
| 155 |
fi |
| 156 |
gl_MODULE_INDICATOR([calloc-gnu]) |
| 157 |
gl_FUNC_CALLOC_POSIX |
| 158 |
if test $REPLACE_CALLOC = 1; then |
| 159 |
AC_LIBOBJ([calloc]) |
| 160 |
fi |
| 161 |
gl_STDLIB_MODULE_INDICATOR([calloc-posix]) |
| 162 |
gl_CLOSE_STREAM |
| 163 |
gl_MODULE_INDICATOR([close-stream]) |
| 164 |
gl_CLOSEOUT |
| 165 |
gl_CONFIG_H |
| 166 |
gl_CONFIGMAKE_PREP |
| 167 |
gl_HEADER_ERRNO_H |
| 168 |
gl_ERROR |
| 169 |
if test $ac_cv_lib_error_at_line = no; then |
| 170 |
AC_LIBOBJ([error]) |
| 171 |
gl_PREREQ_ERROR |
| 172 |
fi |
| 173 |
m4_ifdef([AM_XGETTEXT_OPTION], |
| 174 |
[AM_][XGETTEXT_OPTION([--flag=error:3:c-format]) |
| 175 |
AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) |
| 176 |
AC_REQUIRE([gl_EXTERN_INLINE]) |
| 177 |
gl_FUNC_FPENDING |
| 178 |
if test $ac_cv_func___fpending = no; then |
| 179 |
AC_LIBOBJ([fpending]) |
| 180 |
gl_PREREQ_FPENDING |
| 181 |
fi |
| 182 |
gl_FUNC_GETOPT_GNU |
| 183 |
if test $REPLACE_GETOPT = 1; then |
| 184 |
AC_LIBOBJ([getopt]) |
| 185 |
AC_LIBOBJ([getopt1]) |
| 186 |
gl_PREREQ_GETOPT |
| 187 |
dnl Arrange for unistd.h to include getopt.h. |
| 188 |
GNULIB_GL_UNISTD_H_GETOPT=1 |
| 189 |
fi |
| 190 |
AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT]) |
| 191 |
gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) |
| 192 |
gl_FUNC_GETOPT_POSIX |
| 193 |
if test $REPLACE_GETOPT = 1; then |
| 194 |
AC_LIBOBJ([getopt]) |
| 195 |
AC_LIBOBJ([getopt1]) |
| 196 |
gl_PREREQ_GETOPT |
| 197 |
dnl Arrange for unistd.h to include getopt.h. |
| 198 |
GNULIB_GL_UNISTD_H_GETOPT=1 |
| 199 |
fi |
| 200 |
AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT]) |
| 201 |
AC_SUBST([LIBINTL]) |
| 202 |
AC_SUBST([LTLIBINTL]) |
| 203 |
# Autoconf 2.61a.99 and earlier don't support linking a file only |
| 204 |
# in VPATH builds. But since GNUmakefile is for maintainer use |
| 205 |
# only, it does not matter if we skip the link with older autoconf. |
| 206 |
# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH |
| 207 |
# builds, so use a shell variable to bypass this. |
| 208 |
GNUmakefile=GNUmakefile |
| 209 |
m4_if(m4_version_compare([2.61a.100], |
| 210 |
m4_defn([m4_PACKAGE_VERSION])), [1], [], |
| 211 |
[AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], |
| 212 |
[GNUmakefile=$GNUmakefile])]) |
| 213 |
gl_INTTYPES_INCOMPLETE |
| 214 |
gl_IGNORE_UNUSED_LIBRARIES |
| 215 |
gl_LOCALCHARSET |
| 216 |
LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\"" |
| 217 |
AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) |
| 218 |
AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER], |
| 219 |
[AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])]) |
| 220 |
gl_FUNC_MALLOC_GNU |
| 221 |
if test $REPLACE_MALLOC = 1; then |
| 222 |
AC_LIBOBJ([malloc]) |
| 223 |
fi |
| 224 |
gl_MODULE_INDICATOR([malloc-gnu]) |
| 225 |
gl_FUNC_MALLOC_POSIX |
| 226 |
if test $REPLACE_MALLOC = 1; then |
| 227 |
AC_LIBOBJ([malloc]) |
| 228 |
fi |
| 229 |
gl_STDLIB_MODULE_INDICATOR([malloc-posix]) |
| 230 |
gl_FUNC_MBRTOWC |
| 231 |
if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then |
| 232 |
AC_LIBOBJ([mbrtowc]) |
| 233 |
gl_PREREQ_MBRTOWC |
| 234 |
fi |
| 235 |
gl_WCHAR_MODULE_INDICATOR([mbrtowc]) |
| 236 |
gl_FUNC_MBSINIT |
| 237 |
if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then |
| 238 |
AC_LIBOBJ([mbsinit]) |
| 239 |
gl_PREREQ_MBSINIT |
| 240 |
fi |
| 241 |
gl_WCHAR_MODULE_INDICATOR([mbsinit]) |
| 242 |
gl_MSVC_INVAL |
| 243 |
if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then |
| 244 |
AC_LIBOBJ([msvc-inval]) |
| 245 |
fi |
| 246 |
gl_MSVC_NOTHROW |
| 247 |
if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then |
| 248 |
AC_LIBOBJ([msvc-nothrow]) |
| 249 |
fi |
| 250 |
gl_MULTIARCH |
| 251 |
dnl Run our hack near the end, just before config.status creation. |
| 252 |
dnl It must happen late, i.e., after gl_LIBOBJS has been finalized. |
| 253 |
AC_CONFIG_COMMANDS_PRE([ |
| 254 |
gl_NON_RECURSIVE_GNULIB_PREFIX_HACK([lib]) |
| 255 |
]) |
| 256 |
AC_FUNC_OBSTACK |
| 257 |
dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]). |
| 258 |
AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>]) |
| 259 |
AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>]) |
| 260 |
gl_QUOTE |
| 261 |
gl_QUOTEARG |
| 262 |
gl_FUNC_REALLOC_GNU |
| 263 |
if test $REPLACE_REALLOC = 1; then |
| 264 |
AC_LIBOBJ([realloc]) |
| 265 |
fi |
| 266 |
gl_MODULE_INDICATOR([realloc-gnu]) |
| 267 |
gl_FUNC_REALLOC_POSIX |
| 268 |
if test $REPLACE_REALLOC = 1; then |
| 269 |
AC_LIBOBJ([realloc]) |
| 270 |
fi |
| 271 |
gl_STDLIB_MODULE_INDICATOR([realloc-posix]) |
| 272 |
gt_TYPE_SSIZE_T |
| 273 |
gl_STDARG_H |
| 274 |
AM_STDBOOL_H |
| 275 |
gl_STDDEF_H |
| 276 |
gl_STDINT_H |
| 277 |
gl_STDLIB_H |
| 278 |
gl_FUNC_STPCPY |
| 279 |
if test $HAVE_STPCPY = 0; then |
| 280 |
AC_LIBOBJ([stpcpy]) |
| 281 |
gl_PREREQ_STPCPY |
| 282 |
fi |
| 283 |
gl_STRING_MODULE_INDICATOR([stpcpy]) |
| 284 |
gl_FUNC_STRERROR |
| 285 |
if test $REPLACE_STRERROR = 1; then |
| 286 |
AC_LIBOBJ([strerror]) |
| 287 |
fi |
| 288 |
gl_MODULE_INDICATOR([strerror]) |
| 289 |
gl_STRING_MODULE_INDICATOR([strerror]) |
| 290 |
AC_REQUIRE([gl_HEADER_ERRNO_H]) |
| 291 |
AC_REQUIRE([gl_FUNC_STRERROR_0]) |
| 292 |
if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then |
| 293 |
AC_LIBOBJ([strerror-override]) |
| 294 |
gl_PREREQ_SYS_H_WINSOCK2 |
| 295 |
fi |
| 296 |
gl_HEADER_STRING_H |
| 297 |
gl_SYS_TYPES_H |
| 298 |
AC_PROG_MKDIR_P |
| 299 |
gl_HEADER_TIME_H |
| 300 |
gl_TIMESPEC |
| 301 |
gl_UNISTD_H |
| 302 |
gl_FUNC_GLIBC_UNLOCKED_IO |
| 303 |
gl_VERSION_ETC |
| 304 |
gl_WCHAR_H |
| 305 |
gl_WCTYPE_H |
| 306 |
gl_XALLOC |
| 307 |
gl_XSTRTOL |
| 308 |
# End of code from modules |
| 309 |
m4_ifval(gl_LIBSOURCES_LIST, [ |
| 310 |
m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || |
| 311 |
for gl_file in ]gl_LIBSOURCES_LIST[ ; do |
| 312 |
if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then |
| 313 |
echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 |
| 314 |
exit 1 |
| 315 |
fi |
| 316 |
done])dnl |
| 317 |
m4_if(m4_sysval, [0], [], |
| 318 |
[AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) |
| 319 |
]) |
| 320 |
m4_popdef([gl_LIBSOURCES_DIR]) |
| 321 |
m4_popdef([gl_LIBSOURCES_LIST]) |
| 322 |
m4_popdef([AC_LIBSOURCES]) |
| 323 |
m4_popdef([AC_REPLACE_FUNCS]) |
| 324 |
m4_popdef([AC_LIBOBJ]) |
| 325 |
AC_CONFIG_COMMANDS_PRE([ |
| 326 |
gl_libobjs= |
| 327 |
gl_ltlibobjs= |
| 328 |
if test -n "$gl_LIBOBJS"; then |
| 329 |
# Remove the extension. |
| 330 |
sed_drop_objext='s/\.o$//;s/\.obj$//' |
| 331 |
for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do |
| 332 |
gl_libobjs="$gl_libobjs $i.$ac_objext" |
| 333 |
gl_ltlibobjs="$gl_ltlibobjs $i.lo" |
| 334 |
done |
| 335 |
fi |
| 336 |
AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) |
| 337 |
AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) |
| 338 |
]) |
| 339 |
gltests_libdeps= |
| 340 |
gltests_ltlibdeps= |
| 341 |
m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) |
| 342 |
m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) |
| 343 |
m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) |
| 344 |
m4_pushdef([gltests_LIBSOURCES_LIST], []) |
| 345 |
m4_pushdef([gltests_LIBSOURCES_DIR], []) |
| 346 |
gl_COMMON |
| 347 |
gl_source_base='tests' |
| 348 |
changequote(,)dnl |
| 349 |
gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS |
| 350 |
changequote([, ])dnl |
| 351 |
AC_SUBST([gltests_WITNESS]) |
| 352 |
gl_module_indicator_condition=$gltests_WITNESS |
| 353 |
m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) |
| 354 |
m4_popdef([gl_MODULE_INDICATOR_CONDITION]) |
| 355 |
m4_ifval(gltests_LIBSOURCES_LIST, [ |
| 356 |
m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || |
| 357 |
for gl_file in ]gltests_LIBSOURCES_LIST[ ; do |
| 358 |
if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then |
| 359 |
echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 |
| 360 |
exit 1 |
| 361 |
fi |
| 362 |
done])dnl |
| 363 |
m4_if(m4_sysval, [0], [], |
| 364 |
[AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) |
| 365 |
]) |
| 366 |
m4_popdef([gltests_LIBSOURCES_DIR]) |
| 367 |
m4_popdef([gltests_LIBSOURCES_LIST]) |
| 368 |
m4_popdef([AC_LIBSOURCES]) |
| 369 |
m4_popdef([AC_REPLACE_FUNCS]) |
| 370 |
m4_popdef([AC_LIBOBJ]) |
| 371 |
AC_CONFIG_COMMANDS_PRE([ |
| 372 |
gltests_libobjs= |
| 373 |
gltests_ltlibobjs= |
| 374 |
if test -n "$gltests_LIBOBJS"; then |
| 375 |
# Remove the extension. |
| 376 |
sed_drop_objext='s/\.o$//;s/\.obj$//' |
| 377 |
for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do |
| 378 |
gltests_libobjs="$gltests_libobjs $i.$ac_objext" |
| 379 |
gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" |
| 380 |
done |
| 381 |
fi |
| 382 |
AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) |
| 383 |
AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) |
| 384 |
]) |
| 385 |
LIBCPPI_LIBDEPS="$gl_libdeps" |
| 386 |
AC_SUBST([LIBCPPI_LIBDEPS]) |
| 387 |
LIBCPPI_LTLIBDEPS="$gl_ltlibdeps" |
| 388 |
AC_SUBST([LIBCPPI_LTLIBDEPS]) |
| 389 |
]) |
| 390 |
|
| 391 |
# Like AC_LIBOBJ, except that the module name goes |
| 392 |
# into gl_LIBOBJS instead of into LIBOBJS. |
| 393 |
AC_DEFUN([gl_LIBOBJ], [ |
| 394 |
AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl |
| 395 |
gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" |
| 396 |
]) |
| 397 |
|
| 398 |
# Like AC_REPLACE_FUNCS, except that the module name goes |
| 399 |
# into gl_LIBOBJS instead of into LIBOBJS. |
| 400 |
AC_DEFUN([gl_REPLACE_FUNCS], [ |
| 401 |
m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl |
| 402 |
AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) |
| 403 |
]) |
| 404 |
|
| 405 |
# Like AC_LIBSOURCES, except the directory where the source file is |
| 406 |
# expected is derived from the gnulib-tool parameterization, |
| 407 |
# and alloca is special cased (for the alloca-opt module). |
| 408 |
# We could also entirely rely on EXTRA_lib..._SOURCES. |
| 409 |
AC_DEFUN([gl_LIBSOURCES], [ |
| 410 |
m4_foreach([_gl_NAME], [$1], [ |
| 411 |
m4_if(_gl_NAME, [alloca.c], [], [ |
| 412 |
m4_define([gl_LIBSOURCES_DIR], [lib]) |
| 413 |
m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) |
| 414 |
]) |
| 415 |
]) |
| 416 |
]) |
| 417 |
|
| 418 |
# Like AC_LIBOBJ, except that the module name goes |
| 419 |
# into gltests_LIBOBJS instead of into LIBOBJS. |
| 420 |
AC_DEFUN([gltests_LIBOBJ], [ |
| 421 |
AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl |
| 422 |
gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" |
| 423 |
]) |
| 424 |
|
| 425 |
# Like AC_REPLACE_FUNCS, except that the module name goes |
| 426 |
# into gltests_LIBOBJS instead of into LIBOBJS. |
| 427 |
AC_DEFUN([gltests_REPLACE_FUNCS], [ |
| 428 |
m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl |
| 429 |
AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) |
| 430 |
]) |
| 431 |
|
| 432 |
# Like AC_LIBSOURCES, except the directory where the source file is |
| 433 |
# expected is derived from the gnulib-tool parameterization, |
| 434 |
# and alloca is special cased (for the alloca-opt module). |
| 435 |
# We could also entirely rely on EXTRA_lib..._SOURCES. |
| 436 |
AC_DEFUN([gltests_LIBSOURCES], [ |
| 437 |
m4_foreach([_gl_NAME], [$1], [ |
| 438 |
m4_if(_gl_NAME, [alloca.c], [], [ |
| 439 |
m4_define([gltests_LIBSOURCES_DIR], [tests]) |
| 440 |
m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) |
| 441 |
]) |
| 442 |
]) |
| 443 |
]) |
| 444 |
|
| 445 |
# This macro records the list of files which have been installed by |
| 446 |
# gnulib-tool and may be removed by future gnulib-tool invocations. |
| 447 |
AC_DEFUN([gl_FILE_LIST], [ |
| 448 |
build-aux/announce-gen |
| 449 |
build-aux/do-release-commit-and-tag |
| 450 |
build-aux/gendocs.sh |
| 451 |
build-aux/git-version-gen |
| 452 |
build-aux/gitlog-to-changelog |
| 453 |
build-aux/gnu-web-doc-update |
| 454 |
build-aux/gnupload |
| 455 |
build-aux/prefix-gnulib-mk |
| 456 |
build-aux/snippet/_Noreturn.h |
| 457 |
build-aux/snippet/arg-nonnull.h |
| 458 |
build-aux/snippet/c++defs.h |
| 459 |
build-aux/snippet/warn-on-use.h |
| 460 |
build-aux/update-copyright |
| 461 |
build-aux/useless-if-before-free |
| 462 |
build-aux/vc-list-files |
| 463 |
doc/gendocs_template |
| 464 |
lib/c-ctype.c |
| 465 |
lib/c-ctype.h |
| 466 |
lib/c-strcase.h |
| 467 |
lib/c-strcasecmp.c |
| 468 |
lib/c-strcaseeq.h |
| 469 |
lib/c-strncasecmp.c |
| 470 |
lib/calloc.c |
| 471 |
lib/close-stream.c |
| 472 |
lib/close-stream.h |
| 473 |
lib/closeout.c |
| 474 |
lib/closeout.h |
| 475 |
lib/config.charset |
| 476 |
lib/errno.in.h |
| 477 |
lib/error.c |
| 478 |
lib/error.h |
| 479 |
lib/exitfail.c |
| 480 |
lib/exitfail.h |
| 481 |
lib/fpending.c |
| 482 |
lib/fpending.h |
| 483 |
lib/getopt.c |
| 484 |
lib/getopt.in.h |
| 485 |
lib/getopt1.c |
| 486 |
lib/getopt_int.h |
| 487 |
lib/gettext.h |
| 488 |
lib/intprops.h |
| 489 |
lib/inttypes.in.h |
| 490 |
lib/localcharset.c |
| 491 |
lib/localcharset.h |
| 492 |
lib/malloc.c |
| 493 |
lib/mbrtowc.c |
| 494 |
lib/mbsinit.c |
| 495 |
lib/msvc-inval.c |
| 496 |
lib/msvc-inval.h |
| 497 |
lib/msvc-nothrow.c |
| 498 |
lib/msvc-nothrow.h |
| 499 |
lib/obstack.c |
| 500 |
lib/obstack.h |
| 501 |
lib/progname.c |
| 502 |
lib/progname.h |
| 503 |
lib/quote.h |
| 504 |
lib/quotearg.c |
| 505 |
lib/quotearg.h |
| 506 |
lib/realloc.c |
| 507 |
lib/ref-add.sin |
| 508 |
lib/ref-del.sin |
| 509 |
lib/stat-macros.h |
| 510 |
lib/stdarg.in.h |
| 511 |
lib/stdbool.in.h |
| 512 |
lib/stddef.in.h |
| 513 |
lib/stdint.in.h |
| 514 |
lib/stdlib.in.h |
| 515 |
lib/stpcpy.c |
| 516 |
lib/streq.h |
| 517 |
lib/strerror-override.c |
| 518 |
lib/strerror-override.h |
| 519 |
lib/strerror.c |
| 520 |
lib/string.in.h |
| 521 |
lib/sys_types.in.h |
| 522 |
lib/time.in.h |
| 523 |
lib/timespec.c |
| 524 |
lib/timespec.h |
| 525 |
lib/unistd.c |
| 526 |
lib/unistd.in.h |
| 527 |
lib/unlocked-io.h |
| 528 |
lib/verify.h |
| 529 |
lib/version-etc-fsf.c |
| 530 |
lib/version-etc.c |
| 531 |
lib/version-etc.h |
| 532 |
lib/wchar.in.h |
| 533 |
lib/wctype-h.c |
| 534 |
lib/wctype.in.h |
| 535 |
lib/xalloc-die.c |
| 536 |
lib/xalloc-oversized.h |
| 537 |
lib/xalloc.h |
| 538 |
lib/xmalloc.c |
| 539 |
lib/xstrtol-error.c |
| 540 |
lib/xstrtol.c |
| 541 |
lib/xstrtol.h |
| 542 |
lib/xstrtoul.c |
| 543 |
m4/00gnulib.m4 |
| 544 |
m4/autobuild.m4 |
| 545 |
m4/calloc.m4 |
| 546 |
m4/close-stream.m4 |
| 547 |
m4/closeout.m4 |
| 548 |
m4/codeset.m4 |
| 549 |
m4/config-h.m4 |
| 550 |
m4/configmake.m4 |
| 551 |
m4/errno_h.m4 |
| 552 |
m4/error.m4 |
| 553 |
m4/extensions.m4 |
| 554 |
m4/extern-inline.m4 |
| 555 |
m4/fcntl-o.m4 |
| 556 |
m4/fpending.m4 |
| 557 |
m4/getopt.m4 |
| 558 |
m4/glibc21.m4 |
| 559 |
m4/gnulib-common.m4 |
| 560 |
m4/include_next.m4 |
| 561 |
m4/inttypes.m4 |
| 562 |
m4/lib-ignore.m4 |
| 563 |
m4/localcharset.m4 |
| 564 |
m4/locale-fr.m4 |
| 565 |
m4/locale-ja.m4 |
| 566 |
m4/locale-zh.m4 |
| 567 |
m4/longlong.m4 |
| 568 |
m4/malloc.m4 |
| 569 |
m4/manywarnings.m4 |
| 570 |
m4/mbrtowc.m4 |
| 571 |
m4/mbsinit.m4 |
| 572 |
m4/mbstate_t.m4 |
| 573 |
m4/msvc-inval.m4 |
| 574 |
m4/msvc-nothrow.m4 |
| 575 |
m4/multiarch.m4 |
| 576 |
m4/nocrash.m4 |
| 577 |
m4/non-recursive-gnulib-prefix-hack.m4 |
| 578 |
m4/off_t.m4 |
| 579 |
m4/quote.m4 |
| 580 |
m4/quotearg.m4 |
| 581 |
m4/realloc.m4 |
| 582 |
m4/ssize_t.m4 |
| 583 |
m4/stdarg.m4 |
| 584 |
m4/stdbool.m4 |
| 585 |
m4/stddef_h.m4 |
| 586 |
m4/stdint.m4 |
| 587 |
m4/stdlib_h.m4 |
| 588 |
m4/stpcpy.m4 |
| 589 |
m4/strerror.m4 |
| 590 |
m4/string_h.m4 |
| 591 |
m4/sys_socket_h.m4 |
| 592 |
m4/sys_types_h.m4 |
| 593 |
m4/time_h.m4 |
| 594 |
m4/timespec.m4 |
| 595 |
m4/unistd_h.m4 |
| 596 |
m4/unlocked-io.m4 |
| 597 |
m4/version-etc.m4 |
| 598 |
m4/warn-on-use.m4 |
| 599 |
m4/warnings.m4 |
| 600 |
m4/wchar_h.m4 |
| 601 |
m4/wchar_t.m4 |
| 602 |
m4/wctype_h.m4 |
| 603 |
m4/wint_t.m4 |
| 604 |
m4/xalloc.m4 |
| 605 |
m4/xstrtol.m4 |
| 606 |
top/GNUmakefile |
| 607 |
top/README-release |
| 608 |
top/maint.mk |
| 609 |
]) |