Giving a shell variable to AC_CONFIG_LINKS like this doesn't work in
recent CVS versions of Autoconf:

        foo="link:file"
        AC_CONFIG_LINKS($foo)

I assume it's because `config_links' is set in config.status by
configure doing

        cat >$CONFIG_STATUS <<\EOF
        [...]
        config_links="\
           $foo"
        [...]
        EOF

Where the backslash in "\EOF" prevents `foo' from being ``expanded''.

Is this on purpose?  If so, any ideas on how to work around it?  We
build a list of "link:file" pairs in quite an elaborate fashion and
depend on it heavily.

--linus

Reply via email to