diff -up autoconf-2.69/bin/autoscan.in.perl522 autoconf-2.69/bin/autoscan.in --- autoconf-2.69/bin/autoscan.in.perl522 2012-04-25 04:37:26.000000000 +0200 +++ autoconf-2.69/bin/autoscan.in 2015-09-03 15:40:45.165135791 +0200 @@ -358,7 +358,7 @@ sub scan_sh_file ($) { # Strip out comments and variable references. s/#.*//; - s/\${[^\}]*}//g; + s/\$\{[^\}]*}//g; s/@[^@]*@//g; # Tokens in the code.