view modules/non-recursive-gnulib-prefix-hack @ 40140:81f075eaa990

ptsname_r: Work around bug on Android 4.3. * m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): Define HAVE_ESSENTIALLY_WORKING_PTSNAME_R. Test whether the return value is correct. * lib/ptsname_r.c (__ptsname_r): If HAVE_ESSENTIALLY_WORKING_PTSNAME_R is defined, just fix the return value. * doc/glibc-functions/ptsname_r.texi: Mention the Android bug. Reword: The behaviour of musl libc is nothing to be "fixed", since it is compliant with the next POSIX standard.
author Bruno Haible <bruno@clisp.org>
date Sat, 26 Jan 2019 15:23:19 +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