diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-18 12:52:08 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-18 12:52:08 +0000 |
commit | 24e2e224b8171094a2dd8b9232da439ae1ecf711 (patch) | |
tree | 8404511a25e6e8e6736d0c09bc96393e441c5b3a /build_tools/menuselect.h | |
parent | 198718ea0a36b43039278a6ea0ffc9ce40f6150f (diff) |
commit russell's menuselect/buildoptions work with some changes:
reverted per-directory .cleancount support
added ability for 'remove_on_change' to support multiple filenames
add 'remove_on_change' support to members, not just categories
only do 'remove_on_change' removals if the config is actually saved
add a 'remove_on_change' entry for each module found by prep_moduledeps so that if it gets turned off any existing .o/.so files will disappear
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34577 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools/menuselect.h')
-rw-r--r-- | build_tools/menuselect.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/build_tools/menuselect.h b/build_tools/menuselect.h index 9dae77ac6..455f60076 100644 --- a/build_tools/menuselect.h +++ b/build_tools/menuselect.h @@ -52,8 +52,12 @@ struct member { const char *displayname; /*! Default setting */ const char *defaultenabled; + /*! Delete these file(s) if this member changes */ + const char *remove_on_change; /*! This module is currently selected */ unsigned int enabled:1; + /*! This module was enabled when the config was loaded */ + unsigned int was_enabled:1; /*! This module has failed dependencies */ unsigned int depsfailed:1; /*! This module has failed conflicts */ @@ -71,10 +75,10 @@ struct category { const char *name; /*! the name displayed in the menu */ const char *displayname; - /*! Display what is selected, as opposed to not selected */ + /*! Delete these file(s) if anything in this category changes */ + const char *remove_on_change; + /*! Output what is selected, as opposed to not selected */ unsigned int positive_output:1; - /*! Force a clean of the source tree if anything in this category changes */ - unsigned int force_clean_on_change:1; /*! the list of possible values to be set in this variable */ AST_LIST_HEAD_NOLOCK(, member) members; /*! for linking */ |