summaryrefslogtreecommitdiffstats
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:47:33 +0100
commit8581fde6f7401a5db1e9a4757d748c5ad7bd2142 (patch)
tree0b471e35bc3eb80248e20dc6f807d9c0a9203f5c
parent1376b3517d548f74c12bfcfb74f9412e5df39ebf (diff)
Define PACKAGE_URL for older autoconf.dts-0.168
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