summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-10-24 18:08:22 (UTC)
committer ulf69 <ulf69>2004-10-24 18:08:22 (UTC)
commit7e28e9e5aa5b390653a640be508f0c40c73d9060 (patch) (unidiff)
treef3042d4c03996ee741cad9dd85a24ed63da532a9
parenta781c43bb0a3df699d76cdcbc42201c566a70925 (diff)
downloadkdepimpi-7e28e9e5aa5b390653a640be508f0c40c73d9060.zip
kdepimpi-7e28e9e5aa5b390653a640be508f0c40c73d9060.tar.gz
kdepimpi-7e28e9e5aa5b390653a640be508f0c40c73d9060.tar.bz2
added compiler used endian information
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/main.cpp b/pwmanager/pwmanager/main.cpp
index 81e257f..1ca7ba8 100644
--- a/pwmanager/pwmanager/main.cpp
+++ b/pwmanager/pwmanager/main.cpp
@@ -55,64 +55,70 @@ static const char *description = I18N_NOOP("PwManager\n"
55#ifndef PWM_EMBEDDED 55#ifndef PWM_EMBEDDED
56static KCmdLineOptions options[] = 56static KCmdLineOptions options[] =
57{ 57{
58 { "minimized", I18N_NOOP("Windows minimized"), 0 }, 58 { "minimized", I18N_NOOP("Windows minimized"), 0 },
59 { "mintray", I18N_NOOP("Windows minimized to tray"),0 }, 59 { "mintray", I18N_NOOP("Windows minimized to tray"),0 },
60 { "open-deeplocked", I18N_NOOP("Open all \"files\" deeplocked"),0 }, 60 { "open-deeplocked", I18N_NOOP("Open all \"files\" deeplocked"),0 },
61 { "skip-self-test", I18N_NOOP("Don't run a self-test on startup"),0 }, 61 { "skip-self-test", I18N_NOOP("Don't run a self-test on startup"),0 },
62 { "+[files...]", I18N_NOOP("Files to open on startup"), 0 }, 62 { "+[files...]", I18N_NOOP("Files to open on startup"), 0 },
63 { 0, 0, 0 } 63 { 0, 0, 0 }
64}; 64};
65#endif 65#endif
66 66
67#ifdef PWM_DEBUG 67#ifdef PWM_DEBUG
68static void printDebugConfigureInfo() 68static void printDebugConfigureInfo()
69{ 69{
70 cout << "================================" << endl; 70 cout << "================================" << endl;
71 cout << PROG_NAME " version " PACKAGE_VER << endl; 71 cout << PROG_NAME " version " PACKAGE_VER << endl;
72#ifdef CONFIG_KEYCARD 72#ifdef CONFIG_KEYCARD
73 cout << "CONFIG_KEYCARD: enabled" << endl; 73 cout << "CONFIG_KEYCARD: enabled" << endl;
74#else 74#else
75 cout << "CONFIG_KEYCARD: disabled" << endl; 75 cout << "CONFIG_KEYCARD: disabled" << endl;
76#endif 76#endif
77#ifdef CONFIG_KWALLETIF 77#ifdef CONFIG_KWALLETIF
78 cout << "CONFIG_KWALLETIF: enabled" << endl; 78 cout << "CONFIG_KWALLETIF: enabled" << endl;
79#else 79#else
80 cout << "CONFIG_KWALLETIF: disabled" << endl; 80 cout << "CONFIG_KWALLETIF: disabled" << endl;
81#endif 81#endif
82#ifdef BIG_ENDIAN_HOST 82#ifdef BIG_ENDIAN_HOST
83 cout << "Endianess: big-endian" << endl; 83 cout << "Endianess: big-endian" << endl;
84#else 84#else
85 cout << "Endianess: little-endian" << endl; 85 cout << "Endianess: little-endian" << endl;
86#endif 86#endif
87#ifdef WORDS_BIGENDIAN
88 cout << "Endianess 2: big-endian" << endl;
89#else
90 cout << "Endianess 2: little-endian" << endl;
91#endif
92
87 cout << "sizeof(long): " << sizeof(long) << endl; 93 cout << "sizeof(long): " << sizeof(long) << endl;
88 cout << "================================" << endl; 94 cout << "================================" << endl;
89} 95}
90#else // PWM_DEBUG 96#else // PWM_DEBUG
91static inline void printDebugConfigureInfo() { /* nothing */ } 97static inline void printDebugConfigureInfo() { /* nothing */ }
92#endif // PWM_DEBUG 98#endif // PWM_DEBUG
93 99
94#ifndef PWM_EMBEDDED 100#ifndef PWM_EMBEDDED
95static void addAuthors(KAboutData *aboutData) 101static void addAuthors(KAboutData *aboutData)
96{ 102{
97 aboutData->addAuthor("Michael Buesch", 103 aboutData->addAuthor("Michael Buesch",
98 I18N_NOOP( 104 I18N_NOOP(
99 "main programming and current maintainer"), 105 "main programming and current maintainer"),
100 "mbuesch@freenet.de"); 106 "mbuesch@freenet.de");
101 aboutData->addAuthor("Matt Scifo", 107 aboutData->addAuthor("Matt Scifo",
102 I18N_NOOP( 108 I18N_NOOP(
103 "original implementaion of \n" 109 "original implementaion of \n"
104 "\"categories\" and the password-tree \n" 110 "\"categories\" and the password-tree \n"
105 "in the system-tray. Original implementations of \n" 111 "in the system-tray. Original implementations of \n"
106 "numerous view-improvements."), 112 "numerous view-improvements."),
107 "mscifo@o1.com"); 113 "mscifo@o1.com");
108 aboutData->addCredit("Elias Probst", 114 aboutData->addCredit("Elias Probst",
109 I18N_NOOP( 115 I18N_NOOP(
110 "Gentoo ebuild maintainer."), 116 "Gentoo ebuild maintainer."),
111 "elias.probst@gmx.de"); 117 "elias.probst@gmx.de");
112 aboutData->addCredit("George Staikos", 118 aboutData->addCredit("George Staikos",
113 I18N_NOOP("KWallet"), 119 I18N_NOOP("KWallet"),
114 "staikos@kde.org"); 120 "staikos@kde.org");
115 aboutData->addCredit("Matthew Palmer", 121 aboutData->addCredit("Matthew Palmer",
116 I18N_NOOP("rc2 code"), 122 I18N_NOOP("rc2 code"),
117 "mjp16@uow.edu.au"); 123 "mjp16@uow.edu.au");
118 aboutData->addCredit("Olivier Sessink", 124 aboutData->addCredit("Olivier Sessink",