title: Why does gettext Automake macros include deprecated AM_PROG_MKDIR_P macro?
body: <p>I'm trying to build a project of mine I haven't revisited in a while. I uses the GNU autotools in the fashion typical for GNOME application.  Now, when running <code>autogen.sh</code> (which, in turn uses <code>gnome-autogen.sh</code>) I get the following error:</p>
  
  <pre><code>automake: warnings are treated as errors
  configure.ac:47: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
  configure.ac:47: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
  configure.ac:47: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
  autoreconf: automake failed with exit status: 1
  [simon:~/git/toddlerfun] master(+2/-2) 1 ± 
  </code></pre>
  
  <p>The problem seems to originate from gettext, running the commands from <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709740]" rel="nofollow">this bug report</a> gives the same results: </p>
  
  <pre><code>$ grep -ri AM_PROG_MKDIR_P m4
  m4/intl.m4:  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
  m4/po.m4:  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
  $ head -n1 m4/po.m4 m4/intl.m4
  ==&gt; m4/po.m4 &lt;==
  # po.m4 serial 17 (gettext-0.18)
  
  ==&gt; m4/intl.m4 &lt;==
  # intl.m4 serial 17 (gettext-0.18)
  </code></pre>
  
  <p>However, reading further on <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709740" rel="nofollow">that bug report</a>, this is supposed to be fixed in gettext 0.18.2.  And the version on my Ubuntu 14.10 is 0.19:</p>
  
  <pre><code>$ gettext --version
  gettext (GNU gettext-runtime) 0.19.2
  </code></pre>
  
  <p>So why is not the correct, bug-fixed macro installed?</p>