From: Mark Wielaard Date: Thu, 12 Jan 2017 10:43:30 +0000 (+0100) Subject: Define PACKAGE_URL for older autoconf. X-Git-Tag: elfutils-0.169~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b037b83c218154efb2182ae4e1c7fa9b521ab9;p=thirdparty%2Felfutils.git Define PACKAGE_URL for older autoconf. autoconf < 2.64 doesn't define PACKAGE_URL through AC_INIT. Define it ourselves if needed. Signed-off-by: Mark Wielaard --- diff --git a/ChangeLog b/ChangeLog index bb2ec1012..a587b430c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-01-12 Mark Wielaard + + * configure.ac: Define PACKAGE_URL for older autoconf. + 2016-12-27 Mark Wielaard * configure.ac: Set version to 0.168. diff --git a/configure.ac b/configure.ac index 45499068b..07ad592f4 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,12 @@ dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see . AC_INIT([elfutils],[0.168],[https://sourceware.org/bugzilla],[elfutils],[http://elfutils.org/]) +dnl Workaround for older autoconf < 2.64 +m4_ifndef([AC_PACKAGE_URL], + [AC_DEFINE([PACKAGE_URL], ["http://elfutils.org/"], + [Define to home page for this package]) + AC_SUBST([PACKAGE_URL], ["http://elfutils.org/"])]) + # We want eu- as default program prefix if none was given by the user. # But if the user explicitly provided --program-prefix="" then pretend # it wasn't set at all (NONE). We want to test this really early before