On Fri, Oct 16, 2009 at 1:22 PM, Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> wrote: > 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="$*" Which is more autoconfy-correct? > This is purely a shell question. Well, doing it my way worked fine on the command line, both in bash and sh, so I was confused. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf