mirror of https://github.com/xiph/flac
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. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
parent
04ca6fd9e1
commit
63c874f0fd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue