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
This commit is contained in:
Emanuele Giaquinta 2007-08-07 14:55:14 +00:00 committed by exg
commit de4c2af324
7 changed files with 8 additions and 9 deletions

View file

@ -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);

View file

@ -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 */