compiler and version

This commit is contained in:
fluxgen 2004-02-28 10:32:06 +00:00
parent 0ac8ee064f
commit 454938dd94

View file

@ -20,7 +20,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: main.cc,v 1.28 2004/01/12 12:25:16 fluxgen Exp $ // $Id: main.cc,v 1.29 2004/02/28 10:32:06 fluxgen Exp $
#include "fluxbox.hh" #include "fluxbox.hh"
#include "I18n.hh" #include "I18n.hh"
@ -49,14 +49,15 @@
using namespace std; using namespace std;
void showInfo(ostream &ostr) { void showInfo(ostream &ostr) {
ostr<<"Fluxbox version: "<<__fluxbox_version<<endl; ostr<<"Fluxbox version: "<<__fluxbox_version<<endl;
#if defined(__DATE__) && defined(__TIME__)
ostr<<"Compiled: "<<__DATE__<<" "<<__TIME__<<endl; ostr<<"Compiled: "<<__DATE__<<" "<<__TIME__<<endl;
ostr<<"Compiler: ";
#ifdef __GNUG__
ostr<<"GCC";
#else
ostr<<"Unknown";
#endif #endif
ostr<<endl<<"Compiler version: "<<__VERSION__<<endl; #ifdef __fluxbox_compiler
ostr<<"Compiler: "<<__fluxbox_compiler<<endl;
#endif // __fluxbox_compiler
#ifdef __fluxbox_compiler_version
ostr<<"Compiler version: "<<__fluxbox_compiler_version<<endl;
#endif // __fluxbox_compiler_version
ostr<<endl<<"Defaults:"<<endl; ostr<<endl<<"Defaults:"<<endl;
ostr<<" menu: "<<DEFAULTMENU<<endl; ostr<<" menu: "<<DEFAULTMENU<<endl;