summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2017-01-12 11:43:30 +0100
committerMark Wielaard <mark@klomp.org>2017-01-12 11:43:30 +0100
commit34b037b83c218154efb2182ae4e1c7fa9b521ab9 (patch)
tree6e4ea89d7b395111139a968f9fa3bd718b9c0623
parent925f67e86d127c8917f92bde1cf5abd5b07d0768 (diff)
downloadelfutils-34b037b83c218154efb2182ae4e1c7fa9b521ab9.tar.gz
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 <mark@klomp.org>
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bb2ec101..a587b430 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-12 Mark Wielaard <mark@klomp.org>
+
+ * configure.ac: Define PACKAGE_URL for older autoconf.
+
2016-12-27 Mark Wielaard <mark@klomp.org>
* configure.ac: Set version to 0.168.
diff --git a/configure.ac b/configure.ac
index 45499068..07ad592f 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 <http://www.gnu.org/licenses/>.
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