diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2007-08-07 14:55:14 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2007-08-07 14:55:14 +0000 |
commit | de4c2af324e54c3b4ad545a89300dc4dc4676a98 (patch) | |
tree | 9bde89b6bd671916d8569a3380a730f65de44cbf /src/core | |
parent | 918b8400f4be2992f3ba1c4fb979f9c6076305d8 (diff) | |
download | irssi-de4c2af324e54c3b4ad545a89300dc4dc4676a98.zip |
Use autoconf PACKAGE_TARNAME/PACKAGE_VERSION macros rather than automake
PACKAGE/VERSION ones.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4597 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/args.c | 2 | ||||
-rw-r--r-- | src/core/expandos.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/args.c b/src/core/args.c index db547bad..f7410911 100644 --- a/src/core/args.c +++ b/src/core/args.c @@ -45,7 +45,7 @@ void args_execute(int argc, char *argv[]) if (iopt_tables == NULL) return; - con = poptGetContext(PACKAGE, argc, argv, + con = poptGetContext(PACKAGE_TARNAME, argc, argv, (struct poptOption *) (iopt_tables->data), 0); poptReadDefaultConfig(con, TRUE); diff --git a/src/core/expandos.c b/src/core/expandos.c index 5849bfba..136e1634 100644 --- a/src/core/expandos.c +++ b/src/core/expandos.c @@ -319,7 +319,7 @@ static char *expando_last_invite(SERVER_REC *server, void *item, int *free_ret) /* client version text string */ static char *expando_version(SERVER_REC *server, void *item, int *free_ret) { - return IRSSI_VERSION; + return PACKAGE_VERSION; } /* current value of CMDCHARS */ |