X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fmain.cc;h=c16fba2d809c02abf640aac08a8d4f754a37c8b1;hb=22e8615f6125cc117af9e01124b9bcc2b19c59ab;hp=c06543a1cd08004778d5a1fa2eed45eda8fef946;hpb=1775e867c408bbea2b7f197c0c40b26e586e9ef1;p=chaz%2Fopenbox diff --git a/src/main.cc b/src/main.cc index c06543a1..c16fba2d 100644 --- a/src/main.cc +++ b/src/main.cc @@ -69,7 +69,7 @@ static void showHelp(int exitval) { " -menu \t\tuse alternate menu file.\n" " -version\t\t\tdisplay version and exit.\n" " -help\t\t\t\tdisplay this help text and exit.\n\n"), - __openbox_version); + OPENBOX_VERSION); // some people have requested that we print out compile options // as well @@ -77,8 +77,8 @@ static void showHelp(int exitval) { "Compile time options:\n" " Debugging:\t\t\t%s\n" " Shape:\t\t\t%s\n" - " Slit:\t\t\t\t%s\n" - " Event Clobbering:\t\t%s\n" + " Xft:\t\t\t\t%s\n" + " Xinerama:\t\t\t%s\n" " 8bpp Ordered Dithering:\t%s\n\n"), #ifdef DEBUG i18n(CommonSet, CommonYes, "yes"), @@ -92,17 +92,17 @@ static void showHelp(int exitval) { i18n(CommonSet, CommonNo, "no"), #endif // SHAPE -#ifdef SLIT +#ifdef XFT i18n(CommonSet, CommonYes, "yes"), -#else // !SLIT +#else // !XFT i18n(CommonSet, CommonNo, "no"), -#endif // SLIT +#endif // XFT -#ifndef NOCLOBBER +#ifdef XINERAMA i18n(CommonSet, CommonYes, "yes"), -#else // !NOCLOBBER +#else // !XINERAMA i18n(CommonSet, CommonNo, "no"), -#endif // NOCLOBBER +#endif // XINERAMA #ifdef ORDEREDPSEUDO i18n(CommonSet, CommonYes, "yes") @@ -172,7 +172,7 @@ int main(int argc, char **argv) { printf("Openbox %s : (c) 2002 - 2002 Ben Jansens\n" " 2001 - 2002 Sean 'Shaleh' Perry\n" " 1997 - 2000, 2002 Brad Hughes\n\n", - __openbox_version); + OPENBOX_VERSION); ::exit(0); } else if (! strcmp(argv[i], "-help")) {