From a46e4035e22c81cd3942b936cebe6f6037e17ec2 Mon Sep 17 00:00:00 2001 From: pbrook Date: Sat, 29 Apr 2006 23:05:22 +0000 Subject: Fix non-portable use of expr. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1868 c046a42c-6fe2-441c-8c8c-71466251a162 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 92632e2..695fdb6 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 ;; -- cgit v1.1