btrfs-progs: autoconf: define package url manually if not set
The PACKAGE_URL is set from optional parameter of AC_INIT starting in autoconf 2.64. There are enterprise distros with version 2.63, we can make the build work there easily as well. Fixes build failure: mkfs.c: In function ?main?: mkfs.c:1492: error: ?PACKAGE_URL? undeclared (first use in this function) Reported-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
c02b4adcb6
commit
fef4f9e50b
|
@ -3,6 +3,10 @@ AC_INIT([btrfs-progs],
|
|||
[linux-btrfs@vger.kernel.org],,
|
||||
[http://btrfs.wiki.kernel.org])
|
||||
|
||||
if test "x$PACKAGE_URL" = "x"; then
|
||||
AC_DEFINE([PACKAGE_URL], ["http://btrfs.wiki.kernel.org"], [URL])
|
||||
fi
|
||||
|
||||
dnl library version
|
||||
LIBBTRFS_MAJOR=0
|
||||
LIBBTRFS_MINOR=1
|
||||
|
|
Loading…
Reference in New Issue