Fix a build error with automake 1.12 or newer.
Since automake 1.12, the warnings in the category 'extra-portability' are now enabled by '-Wall'. Because of this change, linking libtool archives requires the new AM_PROG_AR macro.
This commit is contained in:
parent
6423edffc8
commit
2f4a9abf88
@ -20,6 +20,9 @@ AC_CONFIG_MACRO_DIR([m4])
|
||||
# Initialize automake.
|
||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
|
||||
|
||||
# Fix for automake >= 1.12
|
||||
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
||||
|
||||
# Initialize libtool.
|
||||
LT_PREREQ([2.2.0])
|
||||
LT_INIT([win32-dll])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user