From bf736ee1b59b5bb0cfed79f0711394d8674d37d5 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 27 Feb 2015 17:49:14 +0100 Subject: [PATCH] configure: Make sure that PACKAGE_URL is defined. autoconf < 2.64 don't support PACKAGE_URL. Thanks to @faxm0dem for reporting the resulting build error on RHEL6 in #1 --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 31ec8de..f54868c 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,12 @@ AC_INIT([System DataBase],[m4_esyscmd(./version-gen.sh)], PACKAGE_MAINTAINER="Sebastian 'tokkee' Harl " AC_DEFINE_UNQUOTED([PACKAGE_MAINTAINER], ["$PACKAGE_MAINTAINER"], [Define to the name of the maintainer of this package.]) +if test "x$PACKAGE_URL" = "x"; then + PACKAGE_URL="https://sysdb.io/" + AC_DEFINE_UNQUOTED([PACKAGE_URL], ["$PACKAGE_URL"], + [Define to the home page for this package.]) +fi + AC_CONFIG_SRCDIR([src/sysdb.c]) AC_CONFIG_HEADERS([src/config.h]) AC_PREFIX_DEFAULT([/opt/sysdb]) -- 2.30.2