Browse files

add AM_PROG_AR workaround for automake 1.12.

  • Loading branch information...
1 parent 2d1facc commit e92b57f38848c2364b753c02b8e40d0b13204acd @klali klali committed Nov 7, 2012
Showing with 5 additions and 4 deletions.
  1. +0 −4 README
  2. +5 −0 configure.ac
View
4 README
@@ -59,10 +59,6 @@ Generate the build system using:
$ autoreconf --install
------
-If you get "linking libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac'"
-you're probably using automake 1.12, use 1.11 or add -Wno-extra-portability in configure.ac. Adding
-this breaks compability with automake before 1.11.2.
-
Building
--------
View
5 configure.ac
@@ -32,6 +32,11 @@ AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.10 foreign -Wall -Werror])
AM_SILENT_RULES([yes])
AM_PROG_CC_C_O
+
+# needed for automake 1.12 and other workarounds break 1.11...
+m4_pattern_allow([AM_PROG_AR])
+AM_PROG_AR
+
AC_LIBTOOL_WIN32_DLL
AC_DISABLE_STATIC
AC_PROG_LIBTOOL

0 comments on commit e92b57f

Please sign in to comment.