Re: [gettext] changequote considered harmful

2005-08-03 Thread Gary V. Vaughan
Hi Bruno, Stepan, Bruno Haible wrote: The desirable way to mix C or sh syntax and a macro language - for me as someone who has to maintain some of these macros - is so that 1) A valid C or sh snippet without specific macro invocations is valid inside the macro, and does not change its

Re: [gettext] changequote considered harmful

2005-08-03 Thread Bruce Korb
Gary V. Vaughan wrote: The style that fulfills goals 1 and 2 here is like this: [... # Found it, now check the version. ]AC_MSG_CHECKING([version of bison])[ ... ]AC_MSG_RESULT([$ac_prog_version])[ ...] I.e. put braces around everything, but unbrace the macro invocations

building xcb without check

2005-08-03 Thread Trevor Woerner
I've been doing some investigation with the CHECK unit test suite [http://check.sourceforge.net/] that is used in xcb [http://xcb.freedesktop.org/wiki/]. That's a great tool, something for which I had been looking for a long time! I especially like the way it integrates with the autofoo framework.

Re: building xcb without check

2005-08-03 Thread Andreas Schwab
Trevor Woerner [EMAIL PROTECTED] writes: Unfortunately the autoreconf tool (which our autogen.sh script uses) doesn't provide a means to pass this option onto the aclocal program. It does. $ autoreconf --help [...] The environment variables AUTOCONF, AUTOHEADER, AUTOMAKE, ACLOCAL, AUTOPOINT,

Re: [gettext] changequote considered harmful

2005-08-03 Thread Stepan Kasal
Hello, On Tue, Aug 02, 2005 at 12:58:32PM +0200, Bruno Haible wrote: The style that fulfills goals 1 and 2 here is like this: [... # Found it, now check the version. ]AC_MSG_CHECKING([version of bison])[ ac_prog_version=`$INTLBISON --version 21 | sed -n 's/^.*GNU Bison.*

Re: building xcb without check

2005-08-03 Thread Trevor Woerner
On 8/3/05, Andreas Schwab [EMAIL PROTECTED] wrote: Trevor Woerner [EMAIL PROTECTED] writes: It does. $ autoreconf --help [...] The environment variables AUTOCONF, AUTOHEADER, AUTOMAKE, ACLOCAL, AUTOPOINT, LIBTOOLIZE are honored. Thanks Andreas, I hadn't noticed before that autoreconf (and

Re: [Xcb] building xcb without check

2005-08-03 Thread Trevor Woerner
On 8/3/05, Jamey Sharp [EMAIL PROTECTED] wrote: With automake 1.7 and 1.8 (and I assume earlier versions) this patch doesn't help any. It has the desired effect with automake 1.9, though: without the patch, things die, and with the patch, they work. Sweet! Great! How old is Automake-1.9?

Re: [Xcb] building xcb without check

2005-08-03 Thread Stepan Kasal
Hello, On Wed, Aug 03, 2005 at 02:06:03PM -0400, Trevor Woerner wrote: How old is Automake-1.9? One year plus one week. Couldn't we just make it a requirement (as in the attached patch)? I guess it'll be easier than maintaining workarounds. Stepan

Re: [Xcb] building xcb without check

2005-08-03 Thread Jamey Sharp
Thanks for looking into this, Trevor! I've just tested without check installed, using automake 1.7, 1.8, and 1.9, and both with and without your patch. With automake 1.7 and 1.8 (and I assume earlier versions) this patch doesn't help any. It has the desired effect with automake 1.9, though:

Re: building xcb without check

2005-08-03 Thread Noah Misch
On Wed, Aug 03, 2005 at 11:12:25AM -0400, Trevor Woerner wrote: Personally, things that I ./configure and compile on my own I like to install into /usr/local/packages/pacakge-version and then use stow [http://directory.fsf.org/stow.html] to symlink those things into /usr/local/ For this