summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-29 23:05:22 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-29 23:05:22 +0000
commita46e4035e22c81cd3942b936cebe6f6037e17ec2 (patch)
tree9d71b86abe8d5eb7934770d5cc6915cbe19c8f92
parent4dbe19e18139a9e6f736630707e6e459696cbb5f (diff)
Fix non-portable use of expr.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1868 c046a42c-6fe2-441c-8c8c-71466251a162
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 92632e24d8..695fdb680d 100755
--- a/configure
+++ b/configure
@@ -167,7 +167,7 @@ else
fi
for opt do
- optarg=`expr "$opt" : '[^=]*=\(.*\)'`
+ optarg=`expr "x$opt" : 'x[^=]*=\(.*\)'`
case "$opt" in
--help|-h) show_help=yes
;;