gnome - Why does gettext Automake macros include deprecated AM_PROG_MKDIR_P macro? -
i'm trying build project of mine haven't revisited in while. uses gnu autotools in fashion typical gnome application. now, when running autogen.sh
(which, in turn uses gnome-autogen.sh
) following error:
automake: warnings treated errors configure.ac:47: warning: 'am_prog_mkdir_p' macro deprecated, , use discouraged. configure.ac:47: should use autoconf-provided 'ac_prog_mkdir_p' macro instead, configure.ac:47: , use '$(mkdir_p)' instead of '$(mkdir_p)'in makefile.am files. autoreconf: automake failed exit status: 1 [simon:~/git/toddlerfun] master(+2/-2) 1 ±
the problem seems originate gettext, running commands this bug report gives same results:
$ grep -ri am_prog_mkdir_p m4 m4/intl.m4: ac_require([am_prog_mkdir_p])dnl defined automake m4/po.m4: ac_require([am_prog_mkdir_p])dnl defined automake $ head -n1 m4/po.m4 m4/intl.m4 ==> m4/po.m4 <== # po.m4 serial 17 (gettext-0.18) ==> m4/intl.m4 <== # intl.m4 serial 17 (gettext-0.18)
however, reading further on that bug report, supposed fixed in gettext 0.18.2. , version on ubuntu 14.10 0.19:
$ gettext --version gettext (gnu gettext-runtime) 0.19.2
so why not correct, bug-fixed macro installed?
i solved while writing question. need make sure right version of macro included configure.ac
. had:
am_gnu_gettext_version([0.18])
upgrading to:
am_gnu_gettext_version([0.19])
made things work. posting answer others might have similar problems maybe help.
Comments
Post a Comment