-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Paul Eggert on 10/5/2007 2:53 PM: >> + case $ac_val in >> + / | // ) ;; >> + */ ) eval $ac_var='`echo "$ac_val" | sed "s|/*\$||"`' ;; >> + esac > > This mishandles ///, no?
For --prefix and --exec-prefix, no (the empty prefix is the kosher way to have all other directories installed in the root directory). But for - --bindir and friends, you are correct. > Also, 'expr' is more reliable in the > presence of weird characters, such as backslashes. I installed this: > > 2007-10-05 Paul Eggert <[EMAIL PROTECTED]> > > * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///" > correctly. Thanks. But should we be using $as_expr, with a sed fallback, as in AS_BASENAME? - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHBqmm84KuGfSFAYARAo/0AJ9UPWOS9Gc79Hhq/plfSIUiGzMJigCggWIh XevcAAvX2/M9knez5CvwCF4= =S9C4 -----END PGP SIGNATURE-----
