From f866b179988f686ae90c197f0270a922ddebf718 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Wed, 4 Jun 2008 20:56:20 +0100 Subject: [util] config-local.h to avoid accidental commits During development it is often handy to change the config.h options from their defaults, for example to enable debugging features. To prevent accidental commits of debugging config.h changes, mdc suggested having a config-local.h that is excluded from source control. This file acts as a temporary config.h and can override any of the defaults. This commit is an attempt to implement the config-local.h feature. The config.h file now has the following as its last line: /* @TRYSOURCE config-local.h */ The @TRYSOURCE directive causes config-local.h to be included at that point in the file. If config-local.h does not exist, no error will be printed and parsing will continue as normal. Therefore, mkconfig.pl is "trying" to "source" config-local.h. --- src/.gitignore | 1 + 1 file changed, 1 insertion(+) (limited to 'src/.gitignore') diff --git a/src/.gitignore b/src/.gitignore index cc8e33e2..413f8141 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -2,3 +2,4 @@ .echocheck TAGS* bin* +config-local.h -- cgit v1.2.3-55-g7522