bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] gnulib-tool vs autopoint


From: Gary V . Vaughan
Subject: [Bug-gnulib] gnulib-tool vs autopoint
Date: Mon, 20 Sep 2004 01:59:11 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I'm just in the process of changing the M4 bootstrap to use `gnulib-tool --import' instead of my ugly import script, but it keeps fighting with autopoint (0.14.1) over various m4 files, such that calling autoreconf --force after gnulib-tool --import leaves a bunch of jm_ macros around having overwritten the gl_ versions from identically named files in gnulib.

Running gnulib-tool potentially changes the content of aclocal.m4 and then configure, so it has to be run before autoreconf.

Currently my workaround is to add the following to the end of gnulib.m4 from my bootstrap script:

   cat >> acm4/gnulib.m4 <<EOF
AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [jm_AC_HEADER_INTTYPES_H])
AC_DEFUN([gl_AC_HEADER_STDINT_H], [jm_AC_HEADER_STDINT_H])
AC_DEFUN([gl_AC_TYPE_UINTMAX_T], [jm_AC_TYPE_UINTMAX_T])
EOF

Even if the next gettext changes the clashing macro definitions to match gnulib, there will always be a mismatch (strictly speaking) when using any release of gnulib with any release of gettext (except for a blessed pair here and there). My gnulib.m4 hack only works because the semantics of both sets of macros are the same... I might be missing out on bugfixes from the gettext flavour files that are not yet in gnulib though, for instance... What to do?

Any thoughts on how to make future revisions of gettext and gnulib cooperate?

Cheers,
        Gary.
- --
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFBTitiFRMICSmD1gYRAsihAKClg5wJzrJpQe5qccfLLC/owhozrgCfYn0G
Im65iG1rc873K3n+3OfYeDU=
=Z60c
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]