summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1349181)
raw | patch | inline | side by side (parent: 1349181)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 27 Feb 2015 16:49:14 +0000 (17:49 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 27 Feb 2015 16:49:14 +0000 (17:49 +0100) |
autoconf < 2.64 don't support PACKAGE_URL.
Thanks to @faxm0dem for reporting the resulting build error on RHEL6 in #1
Thanks to @faxm0dem for reporting the resulting build error on RHEL6 in #1
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 31ec8de9e5a17546fd93eaddccbafb51af04e26f..f54868c29dd7baa71b69d8541d8cc96a066f34d4 100644 (file)
--- a/configure.ac
+++ b/configure.ac
PACKAGE_MAINTAINER="Sebastian 'tokkee' Harl <tokkee@sysdb.io>"
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])