Cristian RodrÃguez
2012-Jun-02 21:00 UTC
[flac-dev] [PATCH 3/3] Fix build with automake 1.12
recent autotools require calling AM_PROG_AR before LT_INIT this macro needs to be conditionally defined as it is not present in old versions. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 754c458..ff7bf11 100644 --- a/configure.ac +++ b/configure.ac @@ -25,10 +25,10 @@ AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign -Wall tar-pax no-dist-gzip dist-xz subdir-objects]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) - #Prefer whatever the current ISO standard is. AC_PROG_CC_STDC AC_USE_SYSTEM_EXTENSIONS +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) LT_INIT([win32-dll disable-static pic-only]) AM_PROG_AS AC_PROG_CXX -- 1.7.10.3
Erik de Castro Lopo
2012-Jun-08 10:14 UTC
[flac-dev] [PATCH 3/3] Fix build with automake 1.12
Cristian Rodr?guez wrote:> recent autotools require calling AM_PROG_AR before LT_INIT > this macro needs to be conditionally defined as it is not > present in old versions.Applied, thanks. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/