configure.ac: Suppress an autoconf warning

Avoid that autoconf prints the following warning if AM_PROG_AR
is not defined:

configure.ac:9: warning: macro `AM_PROG_AR' not found in library

See also commits 1deb4f8e4a, ace7f200fb, b9cf7e8cd2 and
6cdb47b9b4.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
Bart Van Assche
2015-04-16 14:45:05 +02:00
committed by Ronnie Sahlberg
parent d6858e08f4
commit d13a85cd39

View File

@@ -5,8 +5,7 @@ AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects])
AM_SILENT_RULES
m4_pattern_allow([AM_PROG_AR])
AM_PROG_AR
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
LT_INIT
AC_CANONICAL_HOST