about summary refs log tree commit diff stats
path: root/src/LYShowInfo.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-09-25 10:50:40 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-09-25 10:50:40 -0400
commit652c51a528c2cceab8a4ff02283ae854d0427678 (patch)
treee0e9b09748c5d361638f64cb5a7dd8815fb94277 /src/LYShowInfo.c
parent07e246c51644d9790f2eaf4001ff4ffd40e3274f (diff)
downloadlynx-snapshots-652c51a528c2cceab8a4ff02283ae854d0427678.tar.gz
snapshot of project "lynx", label v2-8-1pre_2
Diffstat (limited to 'src/LYShowInfo.c')
-rw-r--r--src/LYShowInfo.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/LYShowInfo.c b/src/LYShowInfo.c
index fa00ccc3..0783c393 100644
--- a/src/LYShowInfo.c
+++ b/src/LYShowInfo.c
@@ -52,11 +52,11 @@ PRIVATE char *lynx_compile_opts NOARGS
 	fprintf(fp0, "See also <a href=\"%s\">your lynx.cfg</a> for run-time options\n\n",
 		     lynx_cfg_infopage());
 
-	fprintf(fp0, "\n<em>config.cache</em>\n");
+	fprintf(fp0, "\n%s<br>\n<em>config.cache</em>\n", AUTOCONF_CONFIG_CACHE);
 	for (n = 0; n < TABLESIZE(config_cache); n++) {
 	    PutDefs(config_cache, n);
 	}
-	fprintf(fp0, "\n<em>lynx_cfg.h</em>\n");
+	fprintf(fp0, "\n%s<br>\n<em>lynx_cfg.h</em>\n", AUTOCONF_LYNXCFG_H);
 	for (n = 0; n < TABLESIZE(config_defines); n++) {
 	    PutDefs(config_defines, n);
 	}
@@ -131,13 +131,16 @@ PUBLIC int showinfo ARGS4(
 		 (LYNX_RELEASE ? LYNX_RELEASE_DATE : &LYNX_DATE[LYNX_DATE_OFF]),
 		 (LYNX_RELEASE ? LYNX_WWW_HOME     : LYNX_WWW_DIST),
 		 (LYNX_RELEASE ? "latest release"  : "development version") );
+
+    if (!LYRestricted) {
 #ifdef HAVE_CFG_DEFS_H
-    fprintf(fp0, " - <a href=\"%s\">compile time settings</a></h1>\n",
-		 lynx_compile_opts());
+	fprintf(fp0, " - <a href=\"%s\">compile time settings</a></h1>\n",
+		     lynx_compile_opts());
 #else
-    fprintf(fp0, " - <a href=\"%s\">your lynx.cfg</a></h1>\n",
-		 lynx_cfg_infopage());
+	fprintf(fp0, " - <a href=\"%s\">your lynx.cfg</a></h1>\n",
+		     lynx_cfg_infopage());
 #endif
+    }
 
 #ifdef DIRED_SUPPORT
     if (lynx_edit_mode && nlinks > 0) {