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


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to