be strict with build profile names.

SVN revision: 77772
This commit is contained in:
Gustavo Sverzut Barbieri 2012-10-10 18:46:27 +00:00
parent 0b19ba7bc2
commit 73c51439b9
1 changed files with 9 additions and 0 deletions

View File

@ -92,6 +92,15 @@ AC_ARG_WITH([profile],
[build_profile=${withval}],
[build_profile=dev])
case "$build_profile" in
dev|release)
;;
*)
AC_MSG_ERROR([Unknown build profile --with-profile=${build_profile}])
;;
esac
# TODO: move me to m4 file that setups module/so related variables
have_wince="no"
have_win32="no"