mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
synced 2024-11-27 11:43:36 +08:00
configure.ac: Enable the automake -Wall option
This patch fixes the following automake warnings: /usr/share/automake-1.16/am/ltlibrary.am: warning: 'libf2fs.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' lib/Makefile.am:3: while processing Libtool library 'libf2fs.la' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'libf2fs_format.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' mkfs/Makefile.am:11: while processing Libtool library 'libf2fs_format.la' Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
ae65a15763
commit
91ba5e5daf
@ -33,7 +33,7 @@ AC_CONFIG_SRCDIR([config.h.in])
|
|||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
AC_CONFIG_AUX_DIR([build-aux])
|
AC_CONFIG_AUX_DIR([build-aux])
|
||||||
AM_INIT_AUTOMAKE([foreign tar-pax dist-xz])
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign tar-pax dist-xz])
|
||||||
|
|
||||||
# Test configure options.
|
# Test configure options.
|
||||||
AC_ARG_WITH([selinux],
|
AC_ARG_WITH([selinux],
|
||||||
@ -46,6 +46,7 @@ AC_ARG_WITH([blkid],
|
|||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
AM_PROG_AR
|
||||||
LT_INIT
|
LT_INIT
|
||||||
AC_PATH_PROG([LDCONFIG], [ldconfig],
|
AC_PATH_PROG([LDCONFIG], [ldconfig],
|
||||||
[AC_MSG_ERROR([ldconfig not found])],
|
[AC_MSG_ERROR([ldconfig not found])],
|
||||||
|
Loading…
Reference in New Issue
Block a user