diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3a3ea6e --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +*.o +*.lo +*.la +*.exe +*.pc +.auto +.libs +.deps +Makefile +Makefile.in +aclocal.m4 +autom4te.cache +config.h.in +config.h +config.log +config.status +configure +libtool +stamp-* +*-stamp diff --git a/configure.ac b/configure.ac index 8c98537..4e9e47b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,14 +1,11 @@ # $Id: configure.ac 98 2006-09-22 16:27:37Z sam $ AC_INIT(zzuf, 0.10) +AC_CONFIG_AUX_DIR(.auto) +AM_CONFIG_HEADER(config.h) +AM_INIT_AUTOMAKE([no-define tar-ustar]) AC_PREREQ(2.50) -AC_CONFIG_SRCDIR(src/zzuf.c) -AC_CONFIG_AUX_DIR(autotools) -AC_CANONICAL_SYSTEM - -AM_INIT_AUTOMAKE(zzuf, 0.10) -AM_CONFIG_HEADER(config.h) AM_PROG_CC_C_O AC_PROG_CPP diff --git a/src/zzuf.c b/src/zzuf.c index 72ca254..26a7155 100644 --- a/src/zzuf.c +++ b/src/zzuf.c @@ -1140,7 +1140,7 @@ static void *get_entry(char const *name) static void version(void) { - printf("zzuf %s\n", VERSION); + printf("zzuf %s\n", PACKAGE_VERSION); printf("Copyright (C) 2002, 2007 Sam Hocevar \n"); printf("This is free software. You may redistribute copies of it under the\n"); printf("terms of the Do What The Fuck You Want To Public License, Version 2\n");