From de4c2af324e54c3b4ad545a89300dc4dc4676a98 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Tue, 7 Aug 2007 14:55:14 +0000 Subject: 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 --- src/core/args.c | 2 +- src/core/expandos.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') 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 */ -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0