* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"

correctly.
This commit is contained in:
Paul Eggert 2007-10-05 13:52:01 -07:00
parent aa043a7b4e
commit c8765d53a0
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-10-05 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
correctly.
2007-10-05 Jim Meyering <meyering@redhat.com>
Avoid makeinfo warnings.

View File

@ -904,8 +904,9 @@ do
eval ac_val=\$$ac_var
# Remove trailing slashes.
case $ac_val in
/ | // ) ;;
*/ ) eval $ac_var='`echo "$ac_val" | sed "s|/*\$||"`' ;;
*/ )
ac_val=`expr "X$ac_val" : 'X\(.*[[^/]]\)' \| "X$ac_val" : 'X\(.*\)'`
eval $ac_var=\$ac_val;;
esac
# Be sure to have absolute directory names.
case $ac_val in