summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2006-08-09 08:29:54 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2006-08-09 08:29:54 (GMT)
commitcdd729544999bf6ff5ce3efb5a64957058f040f3 (patch)
treea09074ed1c9a5c1efb292f69db4f9bbb3a97cb19 /src/config.l
parent243272688a4a3bc7921b7d05dda927f4adf3036c (diff)
downloadDoxygen-cdd729544999bf6ff5ce3efb5a64957058f040f3.zip
Doxygen-cdd729544999bf6ff5ce3efb5a64957058f040f3.tar.gz
Doxygen-cdd729544999bf6ff5ce3efb5a64957058f040f3.tar.bz2
Release-1.4.7-20060809
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l
index 40ce84b..59f42f3 100644
--- a/src/config.l
+++ b/src/config.l
@@ -1196,6 +1196,27 @@ void Config::check()
annotationFromBrief.append("an");
annotationFromBrief.append("the");
}
+
+ if (Config_getBool("CALL_GRAPH") &&
+ (!Config_getBool("SOURCE_BROWSER") || !Config_getBool("REFERENCES_RELATION"))
+ )
+ {
+ config_err("Warning: turning on CALL_GRAPH requires turning "
+ "SOURCE_BROWSER and\nREFERENCES_RELATION on as well!\n"
+ "Assuming SOURCE_BROWSER=YES and REFERENCES_RELATION=YES\n");
+ Config_getBool("SOURCE_BROWSER")=TRUE;
+ Config_getBool("REFERENCES_RELATION")=TRUE;
+ }
+ if (Config_getBool("CALLER_GRAPH") &&
+ (!Config_getBool("SOURCE_BROWSER") || !Config_getBool("REFERENCED_BY_RELATION"))
+ )
+ {
+ config_err("Warning: turning on CALLER_GRAPH requires turning "
+ "SOURCE_BROWSER and\nREFERENCEDBY_RELATION on as well!\n"
+ "Assuming SOURCE_BROWSER=YES and REFERENCED_BY_RELATION=YES\n");
+ Config_getBool("SOURCE_BROWSER")=TRUE;
+ Config_getBool("REFERENCED_BY_RELATION")=TRUE;
+ }
}
void Config::init()