configure.ac: Fix RHEL 5 build
Avoid that building libiscsi on a RHEL 5 system fails as follows: configure.ac:7: error: possibly undefined macro: AM_SILENT_RULES Avoid that the following warning is printed when building on a RHEL 5 system: examples/Makefile.am:24: Libtool library used but `LIBTOOL' is undefined examples/Makefile.am:24: examples/Makefile.am:24: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' examples/Makefile.am:24: to `configure.ac' and run `aclocal' and `autoconf' again. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
committed by
Ronnie Sahlberg
parent
d13a85cd39
commit
cfac4c5d55
+2
-1
@@ -4,8 +4,9 @@ AC_CONFIG_SRCDIR([lib/init.c])
|
|||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects])
|
AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects])
|
||||||
AM_SILENT_RULES
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
|
||||||
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
||||||
|
AC_PROG_LIBTOOL
|
||||||
LT_INIT
|
LT_INIT
|
||||||
|
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
|
|||||||
Reference in New Issue
Block a user