From: Rafał Długołęcki Date: Wed, 7 Aug 2013 06:22:24 +0000 (+0200) Subject: vlp-15 Set version to 3.1. Replaced hardcoded strings with generated ones. X-Git-Tag: 3.1~1 X-Git-Url: https://git.dlugolecki.net.pl/?p=vlp.git;a=commitdiff_plain;h=be7bf40bdbcbfc6329abc4e5465cfa2b382e2ce7 vlp-15 Set version to 3.1. Replaced hardcoded strings with generated ones. --- diff --git a/configure.ac b/configure.ac index 65e94cf..db2329c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([Virtual Loglan Processor], [2.6], [bugz@dlugolecki.net.pl], [vlp], [http://dlugolecki.net.pl/software/vlp/]) +AC_INIT([Virtual Loglan Processor], [3.1], [bugz@dlugolecki.net.pl], [vlp], [http://dlugolecki.net.pl/software/vlp/]) AC_PREREQ([2.59]) AM_INIT_AUTOMAKE([1.10 no-define]) AC_CONFIG_HEADERS([config.h]) diff --git a/src/kernel/kernel.cpp b/src/kernel/kernel.cpp index 333a555..16bda4f 100644 --- a/src/kernel/kernel.cpp +++ b/src/kernel/kernel.cpp @@ -73,6 +73,9 @@ #include +/* File resides in top directory (where are Makefiles)*/ +#include "../../config.h" + #define GPATH "loggr" #define IPATH "logi" #define NPATH "logn" @@ -244,7 +247,7 @@ QKernel::QKernel() info_messages = TRUE; wait_for_info = FALSE; - setCaption("Virtual LOGLAN Processor"); + setCaption(PACKAGE_NAME); setBackgroundColor(white); bar = new QMenuBar(this); @@ -1231,7 +1234,7 @@ void QKernel::UnlockConsole() */ void QKernel::InitMessage() { - WriteMessage("\n Virtual LOGLAN Processor - ver 1.9: READY \n"); + WriteMessage("\n " PACKAGE_STRING ": READY \n"); } /**