[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: AC_CONFIG_LINKS and MSVC
From: |
David Byron |
Subject: |
RE: AC_CONFIG_LINKS and MSVC |
Date: |
Thu, 20 Apr 2006 09:21:48 -0700 |
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