]> granicus.if.org Git - xz/commitdiff
Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 27 Jan 2010 11:31:03 +0000 (13:31 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 27 Jan 2010 11:31:03 +0000 (13:31 +0200)
configure.ac
src/liblzma/liblzma.pc.in
src/lzmainfo/lzmainfo.c
src/xz/message.c
src/xzdec/xzdec.c

index 706ab5a8a0a0402c93c89c17b3bda2c5184e14df..41726b786ab4ccda38ad1d4a6ff2f4580a9a9400 100644 (file)
 # of malloc(), stat(), or lstat(), since we don't use those functions in
 # a way that would cause the problems the autoconf macros check.
 
-AC_PREREQ([2.61])
+AC_PREREQ([2.64])
 
 AC_INIT([XZ Utils], m4_esyscmd([/bin/sh version.sh]),
-       [lasse.collin@tukaani.org], [xz])
+       [lasse.collin@tukaani.org], [xz], [http://tukaani.org/xz/])
 AC_CONFIG_SRCDIR([src/liblzma/common/common.h])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADER([config.h])
 
-PACKAGE_HOMEPAGE=http://tukaani.org/xz/
-AC_DEFINE_UNQUOTED([PACKAGE_HOMEPAGE], ["$PACKAGE_HOMEPAGE"],
-       [Define to the URL of the home page of this package.])
-AC_SUBST([PACKAGE_HOMEPAGE])
-
 echo
 echo "$PACKAGE_STRING"
 
index eb3f6c75d38f54c7e6beb4a7792ac4fdf4b06a80..7f11f1a2009ef8b5f9f7c1bece97abddfcba4684 100644 (file)
@@ -12,7 +12,7 @@ includedir=@includedir@
 
 Name: liblzma
 Description: General purpose data compression library
-URL: @PACKAGE_HOMEPAGE@
+URL: @PACKAGE_URL@
 Version: @PACKAGE_VERSION@
 Cflags: -I${includedir}
 Libs: -L${libdir} -llzma
index caef7b50e29705ff61d6c78bf40655db759e7516..af8e66cc8f99997e9c93fe877d919f125f202fcb 100644 (file)
@@ -34,7 +34,7 @@ _("Usage: %s [--help] [--version] [FILE]...\n"
 
        printf(_("Report bugs to <%s> (in English or Finnish).\n"),
                        PACKAGE_BUGREPORT);
-       printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_HOMEPAGE);
+       printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL);
 
        tuklib_exit(EXIT_SUCCESS, EXIT_FAILURE, true);
 }
index 6c26d0b4e8e182aade29917feba19d5660a00dcc..865f7599de6c6347d3deff9eddfe53861215981a 100644 (file)
@@ -1165,7 +1165,7 @@ message_help(bool long_help)
        // address for translation bugs. Thanks.
        printf(_("Report bugs to <%s> (in English or Finnish).\n"),
                        PACKAGE_BUGREPORT);
-       printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_HOMEPAGE);
+       printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL);
 
        tuklib_exit(E_SUCCESS, E_ERROR, verbosity != V_SILENT);
 }
index 0abccebbc3b7ac621d957c927a2e778eecbf82da..2b166861f2c28c22513a7e32ca402d18c0a44242 100644 (file)
@@ -82,7 +82,7 @@ help(void)
 "%" PRIu64 " MiB RAM.\n"
 "\n"
 "Report bugs to <" PACKAGE_BUGREPORT "> (in English or Finnish).\n"
-PACKAGE_NAME " home page: <" PACKAGE_HOMEPAGE ">\n",
+PACKAGE_NAME " home page: <" PACKAGE_URL ">\n",
                progname, memlimit / (1024 * 1024));
        tuklib_exit(EXIT_SUCCESS, EXIT_FAILURE, display_errors);
 }