summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 18:46:27 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 18:46:27 +0000
commit73c51439b98ec614a9b39ac057bf7406dfdbc245 (patch)
tree8d24735bbaf20d0c0c057ce3887537fcdb39128f
parent0b19ba7bc23ce175537a29c2816b3ef12e95ed2d (diff)
be strict with build profile names.
SVN revision: 77772
-rw-r--r--configure.ac9
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
95case "$build_profile" in
96 dev|release)
97 ;;
98 *)
99 AC_MSG_ERROR([Unknown build profile --with-profile=${build_profile}])
100 ;;
101esac
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
96have_wince="no" 105have_wince="no"
97have_win32="no" 106have_win32="no"