1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-02-17 21:54:15 +01:00

add AM_PROG_AR workaround for automake 1.12.

This commit is contained in:
Klas Lindfors 2012-11-07 08:26:24 +01:00
parent 2d1facc83c
commit e92b57f388
2 changed files with 5 additions and 4 deletions

4
README
View File

@ -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 File

@ -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