bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] new module lib-ignore; new section build_lib in MODULES


From: Ralf Wildenhues
Subject: Re: [bug-gnulib] new module lib-ignore; new section build_lib in MODULES.html
Date: Fri, 13 Jan 2006 11:39:32 +0100
User-agent: Mutt/1.5.11

Hi Bruno,

* Bruno Haible wrote on Thu, Jan 12, 2006 at 02:04:45PM CET:
> 
> To use the 'ldd' module is simple:
>   - add an AC_REQUIRE([gl_LDD]),
>   - use
>          $LDDPROG conftest$ac_exeext $LDDPOSTPROC

I assume you mean
  $(LDDPROG) program$(EXEEXT) $(LDDPOSTPROC)

for Makefiles?

Because redirection won't happen after parameter expansion.
And sticking an `eval' before above line won't work either:
you lose your nice spaces/tabs and such in $LDDPOSTPROC due
to missing quotation.

>     instead of
>          ($gl_ldd conftest$ac_exeext) 2>/dev/null

Maybe you can settle on something like this use instead?

  $LDDPROG 2>/dev/null | $LDDPOSTPROC
or even
  $LDDPROG 2>/dev/null | $SED $LDDPOSTPROC

It should be possible to merge all the multiple-sed-pipes in ldd.m4
using multiple `-e' options; barring sed bugs, which I haven't checked
now (but for that, using $SED could help).

Cheers,
Ralf




reply via email to

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