Mercurial > MadButterfly
diff configure.ac @ 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 | ed9ca123d8db |
children | 1b3e295f3acb |
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 ]