# HG changeset patch # User Thinker K.F. Li # Date 1291211209 -28800 # Node ID 8d70dbb70d38a78a44c457e3600c3f921d87ceb8 # Parent a7f16c967a0bb08a68dd5e237c3c871eb398d73f Fix bug of validation for configure options diff -r a7f16c967a0b -r 8d70dbb70d38 configure.ac --- 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 ]