From 73c51439b98ec614a9b39ac057bf7406dfdbc245 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Wed, 10 Oct 2012 18:46:27 +0000 Subject: [PATCH] be strict with build profile names. SVN revision: 77772 --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) 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], [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"