On Wednesday, April 19, 2006, Noah Misch wrote:

> > On Wed, Apr 19, 2006 at 02:18:13PM -0700, David Byron wrote:
> >
> >
AC_CONFIG_COMMANDS([$1],$$1_config_cmd,$1_config_cmd='$$1_config_cmd')
> >
> > rm -f bar.h && ln -fs ../src/foo.h bar.h
> > 
> > Trouble is, when I execute this back on linux in bash
> > 2.05b.0(1)-release, everything seems to be treated as an
> > argument to rm and it blows away bar.h and ../src/foo.h,
> > while complaining that -s isn't a valid option.
> > 
> > This works when I execute it in the shell directly, but not
> > via config.status.
> 
> Try `AC_CONFIG_COMMANDS([$1], [eval $$1_config_cmd],...'.

And there was much rejoicing.

Thank you.

-DB


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

Reply via email to