changeset 1076:8d70dbb70d38 openvg

Fix bug of validation for configure options
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 01 Dec 2010 21:46:49 +0800
parents a7f16c967a0b
children e224f496e6b8
files configure.ac
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Dec 01 21:33:07 2010 +0800
+++ b/configure.ac	Wed Dec 01 21:46:49 2010 +0800
@@ -123,11 +123,10 @@
 
 # Validate options
 [case "${backend}-${graphic_engine}-${image_loader}" in
-    (X-cairo-*|X-openvg-imlib2)
-    (dfb-cairo-*)
-    (none-*-*)
-	;;
-    (*)] AC_MSG_ERROR([The combination of --with-backend=${backend}, --with-graphic-engine=${graphic_engine} and --with-image-loader=${image_loader} is invalid]) [;;
+    X-cairo-*|X-openvg-imlib2) ;;
+    dfb-cairo-*) ;;
+    none-*-*) ;;
+    *)] AC_MSG_ERROR([The combination of --with-backend=${backend}, --with-graphic-engine=${graphic_engine} and --with-image-loader=${image_loader} is invalid]) [;;
 esac]
 
 [if [ x"${graphic_engine}" = x"skia" ]; then ]