Bug#838060: po.m4: warning: AM_PROG_MKDIR_P: this macro is deprecated, and will soon be removed.

2016-09-18 Thread Santiago Vila
Thank you both :-)



Bug#838060: po.m4: warning: AM_PROG_MKDIR_P: this macro is deprecated, and will soon be removed.

2016-09-17 Thread Daiki Ueno
Paul Wise  writes:

> When I use AM_GNU_GETTEXT in my configure.ac, I get these warnings at
> autoreconf time. My po.m4 is auto-copied from gettext:
>
> configure.ac:43: warning: AM_PROG_MKDIR_P: this macro is deprecated,
> and will soon be removed.
> configure.ac:43: You should use the Autoconf-provided
> 'AC_PROG_MKDIR_P' macro instead,
> configure.ac:43: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your
> Makefile.am files.
> aclocal.m4:746: AM_PROG_MKDIR_P is expanded from...
> m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
> m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
> configure.ac:43: the top level

This was fixed long ago in upstream as:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=2cccb4c6

However, gettext distributes old macros for compatibility reasons and
they could be pulled if you specify AM_GNU_GETTEXT_VERSION() in your configure.ac.

Regards,
-- 
Daiki Ueno



Bug#838060: po.m4: warning: AM_PROG_MKDIR_P: this macro is deprecated, and will soon be removed.

2016-09-16 Thread Paul Wise
Package: gettext
Version: 0.19.8.1-1
Severity: minor
File: /usr/share/aclocal/po.m4

When I use AM_GNU_GETTEXT in my configure.ac, I get these warnings at
autoreconf time. My po.m4 is auto-copied from gettext:

configure.ac:43: warning: AM_PROG_MKDIR_P: this macro is deprecated, and will 
soon be removed.
configure.ac:43: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro 
instead,
configure.ac:43: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your 
Makefile.am files.
aclocal.m4:746: AM_PROG_MKDIR_P is expanded from...
m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:43: the top level

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gettext depends on:
ii  dpkg   1.18.10
ii  gettext-base   0.19.8.1-1
ii  install-info   6.1.0.dfsg.1-8
ii  libc6  2.24-2
ii  libcroco3  0.6.11-1
ii  libglib2.0-0   2.49.6-1
ii  libgomp1   6.1.1-11
ii  libncurses56.0+20160625-1
ii  libtinfo5  6.0+20160625-1
ii  libunistring0  0.9.6+really0.9.3-0.1
ii  libxml22.9.4+dfsg1-1+b1

Versions of packages gettext recommends:
ii  curl  7.50.1-1
ii  lynx-cur  2.8.9dev9-1
ii  wget  1.18-2+b1

Versions of packages gettext suggests:
ii  autopoint 0.19.8.1-1
pn  gettext-doc   
ii  libasprintf-dev   0.19.8.1-1
ii  libgettextpo-dev  0.19.8.1-1

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part