>>>>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes:
Ralf> What about this fragment from acgeneral.m4 (~line 4407):
Ralf> [[/\\$]]* | ?:[[/\\]]*) INSTALL="$ac_given_INSTALL" ;;
Ralf> There, [[/\\$]]* is used instead of [[/\\]]*.
For variables which can contain ${prefix} and such.
| ~tig % cat /tmp/foo.sh
| #! /bin/sh
|
| case "/foo" in
| [$/\\]*) echo 1;;
| esac
|
| case "/foo" in
| [\\/]*) echo 2;;
| esac
|
| case "\foo" in
| [/\\$]*) echo 3;;
| esac
|
| case "\foo" in
| [\\/$]*) echo 4;;
| esac
~tig % bash /tmp/foo.sh
2
3
4
~tig % zsh /tmp/foo.sh
1
2
3
4
Seems like we should use `[\\/]' and `[\\/$]'.
Ralf> Seems like another workaround to this issue already crept into
Ralf> autoconf to me.
Parse error :) The `to me' matches `Seems, or `creep'?
Akim