From baf6424aa71326456a2fb1c768a57d29478dfdcc Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 14 Mar 2016 13:59:02 +0100 Subject: [PATCH] Print dynamic Datadir/Mandir on --show-config Instead of printing the directories from the congigure process, we print those actually in force, so that the info is valid in the OSX App (which changes it) too. --- gtk/xboard.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/xboard.c b/gtk/xboard.c index 89d8058..783b440 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -913,8 +913,8 @@ main (int argc, char **argv) if(argc > 1 && !strcmp(argv[1], "--show-config")) { // [HGM] install: called to print config info typedef struct {char *name, *value; } Config; static Config configList[] = { - { "Datadir", DATADIR }, - { "Mandir", MANDIR }, + { "Datadir", dataDir }, + { "Mandir", manDir }, { "Sysconfdir", SYSCONFDIR }, { NULL } }; -- 1.7.0.4