Re: Generating file lists

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

 



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
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux