diff options
author | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-10-10 18:46:27 +0000 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-10-10 18:46:27 +0000 |
commit | 73c51439b98ec614a9b39ac057bf7406dfdbc245 (patch) | |
tree | 8d24735bbaf20d0c0c057ce3887537fcdb39128f /configure.ac | |
parent | 0b19ba7bc23ce175537a29c2816b3ef12e95ed2d (diff) |
be strict with build profile names.
SVN revision: 77772
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f0edd7f056..543e7f8b95 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -92,6 +92,15 @@ AC_ARG_WITH([profile], | |||
92 | [build_profile=${withval}], | 92 | [build_profile=${withval}], |
93 | [build_profile=dev]) | 93 | [build_profile=dev]) |
94 | 94 | ||
95 | case "$build_profile" in | ||
96 | dev|release) | ||
97 | ;; | ||
98 | *) | ||
99 | AC_MSG_ERROR([Unknown build profile --with-profile=${build_profile}]) | ||
100 | ;; | ||
101 | esac | ||
102 | |||
103 | |||
95 | # TODO: move me to m4 file that setups module/so related variables | 104 | # TODO: move me to m4 file that setups module/so related variables |
96 | have_wince="no" | 105 | have_wince="no" |
97 | have_win32="no" | 106 | have_win32="no" |