infra/pkg-autotools: cleanup the gettextize step
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 18 Jul 2014 21:02:31 +0000 (23:02 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 19 Jul 2014 09:35:22 +0000 (11:35 +0200)
commitbea8f267d550290c994d9616b98bb9c1cd9e03ba
tree81321b7a2a4e1674fcd29d90326501a54c27e0b6
parent4638e2b97f783346c2c9e18f233a35755e49e7dc
infra/pkg-autotools: cleanup the gettextize step

Align the way we call gettextize to the way we call autoreconf:
  - provide the $(GETTEXTIZE) variable
  - pass $(HOST_CONFIGURE_OPTS) in the environment
  - pass the fully-qualified path to autom4te
  - use of -f even if the package provides its own options

Some eye-candy in the output of gettextize.

Thanks to Gustavo for pointing out the discrepancy between the way we
call gettextize and the way we call autoreconf, and to Thomas for the
live debug session. ;-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gettext/gettext.mk
package/pkg-autotools.mk