1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00

Fixed issue #5: warnings while running auto-reconf --install

Automake >= 1.12 seems to require AM_PROG_AR to be happy with our
configure.ac. However, this macro is not defined on < 1.12, thus
the ifdef.
Confirmed that the project bootstraps without warnings on both
Fedora 14 and Ubuntu 13.10.
This commit is contained in:
Veselin Georgiev 2014-08-18 18:17:24 +03:00
parent 9b949d1dff
commit cc1cce5ec8

View file

@ -30,6 +30,7 @@ AC_SUBST([LIBCPUID_VERSION_INFO])
AC_PROG_CC AC_PROG_CC
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_C_CONST AC_C_CONST
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
AM_CPPFLAGS="$CPPFLAGS" AM_CPPFLAGS="$CPPFLAGS"