view modules/non-recursive-gnulib-prefix-hack @ 40216:02ed6264c100

strfmon_l: Fix -fsanitize=address finding. * lib/strfmon_l.c: Include <errno.h>, <stdbool.h>, <stdlib.h>, <string.h>. (MAX_ARGS): Renamed from MAX_ARG_WORDS. (directive_t, directives_t): New types. (fmon_parse): New function. (rpl_strfmon_l): Don't call va_arg more often than needed for the format string. Consume 'long double' arguments in places where the format string indicates so. * modules/strfmon_l (Depends-on): Add 'stdbool'.
author Bruno Haible <bruno@clisp.org>
date Sat, 09 Mar 2019 23:30:40 +0100
parents 3e01382fdb5b
children
line wrap: on
line source

Description:
Adjust a gnulib-generated gnulib.mk file and configure script so
that they are usable in a non-recursive make framework.

Files:
build-aux/prefix-gnulib-mk
m4/non-recursive-gnulib-prefix-hack.m4

Depends-on:

configure.ac:
dnl Run our hack near the end, just before config.status creation.
dnl It must happen late, i.e., after gl_LIBOBJS has been finalized.
AC_CONFIG_COMMANDS_PRE([
  dnl Note we can't currently pass $gl_source_base instead of 'lib',
  dnl because $gl_source_base is unset or the wrong value in the references
  dnl generated in m4/non-recursive-gnulib-prefix-hack.m4
  gl_NON_RECURSIVE_GNULIB_PREFIX_HACK([lib])
  ])

Makefile.am:

Include:

License:
unlimited

Maintainer:
Jim Meyering