Commit a46e4035e22c81cd3942b936cebe6f6037e17ec2

Authored by pbrook
1 parent 4dbe19e1

Fix non-portable use of expr.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1868 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
configure
... ... @@ -167,7 +167,7 @@ else
167 167 fi
168 168  
169 169 for opt do
170   - optarg=`expr "$opt" : '[^=]*=\(.*\)'`
  170 + optarg=`expr "x$opt" : 'x[^=]*=\(.*\)'`
171 171 case "$opt" in
172 172 --help|-h) show_help=yes
173 173 ;;
... ...