Peter Eisentraut wrote:
>Andrew Dunstan wrote:
>
>
>>The patch as applied is totally broken - the tests have to be run by
>>config.status after it has actually tried to make the links, which is
>>why I used AC_CONFIG_COMMANDS.
>>
>>
>
>Additional note: Instead of listing the files explicitly, just use
>$CONFIG_LINKS, which contains the list of files.
>
>
>
>
Well, yes, except that each entry there is in the form
linkname:targetname - we'd have to have extra code to split them up.
Something like:
for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
linktry=`echo "$ac_file" | sed 's,:.*,,'`
test ......
done
cheers
andrew