fix build error with automake 1.11 and should work with automake 1.12

too
This commit is contained in:
Stefan Wahren
2013-04-04 21:20:37 +02:00
parent 29b85226e1
commit 450ac7b9f4

View File

@ -15,9 +15,8 @@ AC_CONFIG_AUX_DIR([libltdl/config])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AM_PROG_LIBTOOL
#fix for automake 1.12
m4_pattern_allow([AM_PROG_AR])
AM_PROG_AR
# fix for automake 1.11 & 1.12
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
LDFLAGS="$LDFLAGS -version-info 0:8:0"