view modules/non-recursive-gnulib-prefix-hack @ 40212:8da9577294da

unistr/*, uniconv/*: Fix undefined behaviour. Reported by Jeffrey Walton <noloader@gmail.com>. * lib/unistr/u-cpy.h (FUNC): Don't invoke memcpy with a zero size. * lib/unistr/u-cpy-alloc.h (FUNC): Likewise. * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Likewise. * lib/uniconv/u8-conv-to-enc.c (u8_conv_to_encoding): Likewise.
author Bruno Haible <bruno@clisp.org>
date Sat, 09 Mar 2019 00:01:47 +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