diff options
author | Detlef Riekenberg <wine.dev@web.de> | 2012-10-07 22:09:29 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-10-08 17:32:14 +0200 |
commit | 4ed3e08dfeb12a0228d893455a1f60deb87d35f2 (patch) | |
tree | e9b1526d71d4c6d78174c0ba6bb9293cb138d944 /configure.ac | |
parent | f92a445957aa71f8a74c1692cdbaa57f609b570c (diff) |
build: handle AM_PROG_AR not present in autoconf 1.11
AM_PROG_AR is a new feature since autoconf 1.12.
autogen.sh failed on Ubuntu 11.10 without this patch with:
configure.ac:30: error: possibly undefined macro: AM_PROG_AR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
AM_PROG_AR is required only for autoconf-1.12 so we can just skip it if
using an autoconf version that does not include it.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 19780be..969e171 100644 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ AC_USE_SYSTEM_EXTENSIONS AC_PROG_CC AC_PROG_CC_C99 AM_PROG_CC_C_O -AM_PROG_AR +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) LT_PREREQ(2.2) LT_INIT |