[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generating file lists
From: |
Ralf Wildenhues |
Subject: |
Re: Generating file lists |
Date: |
Fri, 16 Oct 2009 19:22:45 +0200 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
Hello,
* NightStrike wrote on Fri, Oct 16, 2009 at 07:17:49PM CEST:
> I want to store a list of files determined at configure time into
> shell variable, which then gets substituted into a Makefile.in. So, I
> did this:
>
> SYSHEAD_LIST=$srcdir/include/sys/*.h
> AC_SUBST([SYSHEAD_LIST])
>
> That didn't work as expected, though. It just substituted the string literal.
>
> How do I get the desired effect?
Either
SYSHEAD_LIST=`echo $srcdir/include/sys/*.h`
or
set x $srcdir/include/sys/*.h
shift
SYSHEAD_LIST="$*"
This is purely a shell question.
Cheers,
Ralf