aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-02-28 10:32:06 (GMT)
committerfluxgen <fluxgen>2004-02-28 10:32:06 (GMT)
commit454938dd941868615eeac34eccd4f750ffd7c454 (patch)
treed40910912e704a6fba6326198d2b40293cc81bea
parent0ac8ee064f39491d974f979a9e4025317979811f (diff)
downloadfluxbox-454938dd941868615eeac34eccd4f750ffd7c454.zip
fluxbox-454938dd941868615eeac34eccd4f750ffd7c454.tar.bz2
compiler and version
-rw-r--r--src/main.cc15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main.cc b/src/main.cc
index d1054f5..9f3d816 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: main.cc,v 1.28 2004/01/12 12:25:16 fluxgen Exp $ 23// $Id: main.cc,v 1.29 2004/02/28 10:32:06 fluxgen Exp $
24 24
25#include "fluxbox.hh" 25#include "fluxbox.hh"
26#include "I18n.hh" 26#include "I18n.hh"
@@ -49,14 +49,15 @@
49using namespace std; 49using namespace std;
50void showInfo(ostream &ostr) { 50void showInfo(ostream &ostr) {
51 ostr<<"Fluxbox version: "<<__fluxbox_version<<endl; 51 ostr<<"Fluxbox version: "<<__fluxbox_version<<endl;
52#if defined(__DATE__) && defined(__TIME__)
52 ostr<<"Compiled: "<<__DATE__<<" "<<__TIME__<<endl; 53 ostr<<"Compiled: "<<__DATE__<<" "<<__TIME__<<endl;
53 ostr<<"Compiler: ";
54#ifdef __GNUG__
55 ostr<<"GCC";
56#else
57 ostr<<"Unknown";
58#endif 54#endif
59 ostr<<endl<<"Compiler version: "<<__VERSION__<<endl; 55#ifdef __fluxbox_compiler
56 ostr<<"Compiler: "<<__fluxbox_compiler<<endl;
57#endif // __fluxbox_compiler
58#ifdef __fluxbox_compiler_version
59 ostr<<"Compiler version: "<<__fluxbox_compiler_version<<endl;
60#endif // __fluxbox_compiler_version
60 61
61 ostr<<endl<<"Defaults:"<<endl; 62 ostr<<endl<<"Defaults:"<<endl;
62 ostr<<" menu: "<<DEFAULTMENU<<endl; 63 ostr<<" menu: "<<DEFAULTMENU<<endl;