Module: xenomai-forge
Branch: master
Commit: 569f715d2dce7f179ee5c41ef7224b89b7f30f88
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=569f715d2dce7f179ee5c41ef7224b89b7f30f88

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Nov 28 12:31:53 2011 +0100

configure: accept --enable-debug=partial

---

 configure    |    2 +-
 configure.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 84424c9..2a939fe 100755
--- a/configure
+++ b/configure
@@ -11811,7 +11811,7 @@ $as_echo_n "checking whether to enable debug mode... " 
>&6; }
 # Check whether --enable-debug was given.
 if test "${enable_debug+set}" = set; then :
   enableval=$enable_debug; case "$enableval" in
-       y | yes) debug_mode=partial ;;
+       y | yes | partial) debug_mode=partial ;;
        full)    debug_mode=full ;;
        *) unset debug_mode ;;
        esac
diff --git a/configure.in b/configure.in
index 006b9b2..b50aa76 100644
--- a/configure.in
+++ b/configure.in
@@ -155,7 +155,7 @@ AC_MSG_CHECKING(whether to enable debug mode)
 AC_ARG_ENABLE(debug,
        AS_HELP_STRING([--enable-debug], [Enable debug mode in programs]),
        [case "$enableval" in
-       y | yes) debug_mode=partial ;;
+       y | yes | partial) debug_mode=partial ;;
        full)    debug_mode=full ;;
        *) unset debug_mode ;;
        esac])


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to