m4_divert_text

2016-09-14 Thread Russell Shaw
Hi, In binutils/configure.ac there is: m4_divert_text([PARSE_ARGS], [case $srcdir in *" "*) m4_pushdef([AS_MESSAGE_LOG_FD], [])dnl AC_MSG_ERROR([path to source, $srcdir, contains spaces]) m4_popdef([AS_MESSAGE_LOG_FD])dnl ;; esac ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,

Re: m4_divert_text

2016-09-14 Thread Eric Blake
On 09/14/2016 07:26 AM, Russell Shaw wrote: > Hi, > > In binutils/configure.ac there is: > > m4_divert_text([PARSE_ARGS], > [case $srcdir in > *" "*) > m4_pushdef([AS_MESSAGE_LOG_FD], [])dnl > AC_MSG_ERROR([path to source, $srcdir, contains spaces]) > m4_popdef([AS_MESSAGE_LOG_FD])dnl >

[PATCH 2/2] sys_types: avoid glibc 2.25 warnings about major()

2016-09-14 Thread Eric Blake
Todo: tweak sys_types_h.m4 comment before pushing glibc 2.25 is deprecating the namespace pollution of injecting major(), minor(), and makedev() into the compilation environment, with a warning that insists that users include instead. However, because the expansion of AC_HEADER_MAJOR didn't bot

[gnulib PATCH 0/2] Work around glibc 2.25 deprecation warnings

2016-09-14 Thread Eric Blake
Fedora rawhide builds of libvirt.git at commit d53fa838^ failed due to the new glibc 2.25 deprecation warning for use of major() from just ; I also found that the same warning is provoked by gnulib's mountlist module. Libvirt commit d53fa838 was a temporary hack to work around the problem, and I w

[PATCH 1/2] mountlist: include sysmacros.h for glibc

2016-09-14 Thread Eric Blake
On Fedora rawhide (glibc 2.25), './gnulib-tool --test mountlist' reports: ../../gllib/mountlist.c: In function 'read_file_system_list': ../../gllib/mountlist.c:534:13: warning: '__makedev_from_sys_types' is deprecated: In the GNU C Library, `makedev' is defined by . For historical compatibilit