Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE

2005-08-10 Thread Bruno Haible
Stepan Kasal wrote: > The macro gl_INCLUDED_REGEX contains this: > > m4_syscmd([test -f '$1']) > ifelse(m4_sysval, 0, > [ ... > gl_PREREQ_REGEX > ]) > ... > > Why is the above trick necessary? Why should the macro expansion > depend on the presence of the file? That

Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE

2005-08-10 Thread Stepan Kasal
Hello, On Sun, Aug 07, 2005 at 01:21:04PM -0400, Sam Steingold wrote: > > Maybe this trick is not working reliably; aclocal was not designed for > > this... Could you post the ad hoc created configure.in? so it seems the problem is in regex.m4, which comes from gnulib. Thus I cc this post to bug

Re: make AM_MISSING_PROG (more) portable

2005-08-10 Thread Stepan Kasal
Hi, On Wed, Aug 10, 2005 at 10:14:02AM +0200, Ralf Wildenhues wrote: > Have you started a list of issues for Autoconf 3 yet? :) no, I just remember that it will reimplement AC_REQUIRE, and even AC_DEFUN using shell functions. (The expansion of AC_DEFUNed macros without parameters will be just on

build check_PROGRAMS

2005-08-10 Thread Baurzhan Ismagulov
Hello, I'm using AUTOMAKE_OPTIONS = dejagnu with automake 1.7.9 and I want to build check_PROGRAMS without executing them. Is it possible? I've looked into the generated Makefile, the rule seems to be check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLA

Re: make AM_MISSING_PROG (more) portable

2005-08-10 Thread Ralf Wildenhues
Hi Stepan, * Stepan Kasal wrote on Wed, Aug 10, 2005 at 10:06:02AM CEST: > On Mon, Aug 08, 2005 at 09:38:32AM +0200, Ralf Wildenhues wrote: > > well, first you read in the autoconf manual: > > > | test "${var+set}" = set || var='${indirection}' > > (aren't there, by the way, superfluous quotes o

Re: make AM_MISSING_PROG (more) portable

2005-08-10 Thread Stepan Kasal
Hello, On Mon, Aug 08, 2005 at 09:38:32AM +0200, Ralf Wildenhues wrote: > AC_DEFUN([AM_MISSING_PROG], > [AC_REQUIRE([AM_MISSING_HAS_RUN]) > -$1=${$1-"${am_missing_run}$2"} > +test "${$1+set}" = set || $1="${am_missing_run}$2" > AC_SUBST($1)]) well, first you read in the autoconf manual: > | t

Fixing parallel install of libtool libs and its dependents

2005-08-10 Thread Ralf Wildenhues
A long-standing issue in Automake: Fixing the ordering issue of "make install" and maybe also parallel "make install" when shared (in the context of Automake: libtool-created) libraries are in use. First some history (please post more links if you find additional useful bits of information): Nice