diff options
author | James Booth <boothj5@gmail.com> | 2016-03-31 21:05:02 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-03-31 21:05:02 +0100 |
commit | 9b177a9e0156bae0a7a01cb15b3afc982dd2582e (patch) | |
tree | 45ade45ae92ef543d06c29ccafeb48dea834ba35 /src/main.c | |
parent | c91ce78a0419dc3e624eeffdc870b549e5cdc64f (diff) | |
download | profani-tty-9b177a9e0156bae0a7a01cb15b3afc982dd2582e.tar.gz |
Removed #AX_PREFIX_CONFIG_H
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/main.c b/src/main.c index 147d0b11..128aecda 100644 --- a/src/main.c +++ b/src/main.c @@ -32,12 +32,12 @@ * */ -#include "prof_config.h" +#include "config.h" #include <string.h> #include <glib.h> -#ifdef PROF_HAVE_GIT_VERSION +#ifdef HAVE_GIT_VERSION #include "gitversion.h" #endif @@ -52,7 +52,7 @@ static char *account_name = NULL; int main(int argc, char **argv) { - if (argc == 2 && g_strcmp0(argv[1], "docgen") == 0 && g_strcmp0(PROF_PACKAGE_STATUS, "development") == 0) { + if (argc == 2 && g_strcmp0(argv[1], "docgen") == 0 && g_strcmp0(PACKAGE_STATUS, "development") == 0) { command_docgen(); return 0; } @@ -80,17 +80,17 @@ main(int argc, char **argv) g_option_context_free(context); if (version == TRUE) { - if (strcmp(PROF_PACKAGE_STATUS, "development") == 0) { -#ifdef PROF_HAVE_GIT_VERSION - g_print("Profanity, version %sdev.%s.%s\n", PROF_PACKAGE_VERSION, PROF_GIT_BRANCH, PROF_GIT_REVISION); + if (strcmp(PACKAGE_STATUS, "development") == 0) { +#ifdef HAVE_GIT_VERSION + g_print("Profanity, version %sdev.%s.%s\n", PACKAGE_VERSION, PROF_GIT_BRANCH, PROF_GIT_REVISION); #else - g_print("Profanity, version %sdev\n", PROF_PACKAGE_VERSION); + g_print("Profanity, version %sdev\n", PACKAGE_VERSION); #endif } else { - g_print("Profanity, version %s\n", PROF_PACKAGE_VERSION); + g_print("Profanity, version %s\n", PACKAGE_VERSION); } - g_print("Copyright (C) 2012 - 2016 James Booth <%s>.\n", PROF_PACKAGE_BUGREPORT); + g_print("Copyright (C) 2012 - 2016 James Booth <%s>.\n", PACKAGE_BUGREPORT); g_print("License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"); g_print("\n"); g_print("This is free software; you are free to change and redistribute it.\n"); @@ -99,10 +99,10 @@ main(int argc, char **argv) g_print("Build information:\n"); -#ifdef PROF_HAVE_LIBMESODE +#ifdef HAVE_LIBMESODE g_print("XMPP library: libmesode\n"); #endif -#ifdef PROF_HAVE_LIBSTROPHE +#ifdef HAVE_LIBSTROPHE g_print("XMPP library: libstrophe\n"); #endif @@ -112,25 +112,25 @@ main(int argc, char **argv) g_print("Desktop notification support: Disabled\n"); } -#ifdef PROF_HAVE_LIBOTR +#ifdef HAVE_LIBOTR g_print("OTR support: Enabled\n"); #else g_print("OTR support: Disabled\n"); #endif -#ifdef PROF_HAVE_LIBGPGME +#ifdef HAVE_LIBGPGME g_print("PGP support: Enabled\n"); #else g_print("PGP support: Disabled\n"); #endif -#ifdef PROF_HAVE_C +#ifdef HAVE_C g_print("C plugins: Enabled\n"); #else g_print("C plugins: Disabled\n"); #endif -#ifdef PROF_HAVE_PYTHON +#ifdef HAVE_PYTHON g_print("Python plugins: Enabled\n"); #else g_print("Python plugins: Disabled\n"); |