1
Description: Fix configure.ac to cope with new autoconf.
2
Recent autoconfs generate a bad configure when AM_INIT_AUTOMAKE is
3
called as late as it was, ending up thinking that the am_aux_dir is pwd
4
at the start of the build. Move it up to under AC_INIT to fix that.
5
Author: William Grant <wgrant@ubuntu.com>
7
Index: resource-agents-3.9.3+git20121009/configure.ac
8
===================================================================
9
--- resource-agents-3.9.3+git20121009.orig/configure.ac 2012-10-06 05:27:22.000000000 +1000
10
+++ resource-agents-3.9.3+git20121009/configure.ac 2013-12-16 17:28:42.354909697 +1100
12
AC_INIT([resource-agents],
13
m4_esyscmd([make/git-version-gen .tarball-version]),
14
[to_be_defined@foobar.org])
18
+dnl AM_INIT_AUTOMAKE([1.11.1 foreign dist-bzip2 dist-xz])
21
+AM_INIT_AUTOMAKE([1.10.1 foreign dist-bzip2])
23
AC_USE_SYSTEM_EXTENSIONS
32
dnl Where #defines go (e.g. `AC_CHECK_HEADERS' below)
34
[ --with-pkg-name=name Override package name (if you're a packager needing to pretend) ],
35
[ PACKAGE_NAME="$withval" ])
38
-dnl AM_INIT_AUTOMAKE([1.11.1 foreign dist-bzip2 dist-xz])
41
-AM_INIT_AUTOMAKE([1.10.1 foreign dist-bzip2])
43
AC_DEFINE_UNQUOTED(AGENTS_VERSION, "$PACKAGE_VERSION", Current agents version)