]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: check scanf %ms modifier
authorKarel Zak <kzak@redhat.com>
Sat, 1 Oct 2011 13:33:53 +0000 (15:33 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Oct 2011 12:22:27 +0000 (14:22 +0200)
commit2c73bb01ff6dc637d38224e8688ad8a2ccc0e4bc
tree7ed275cc30527daf8b0f3c3de56399cfd78fb167
parentadf2bef3c77ce6b66eb89f00d830c2b44e618fa4
build-sys: check scanf %ms modifier

Without the check libmount builds on systems that has older than 2.7
glibc are silently unsuccessful.  The missing %ms modifier will, at
least, result on such system missing output of findmnt and lsblk
commands.  If either %ms or %as modifiers are present the libmount
build is disabled.

Based on patch from: Sami Kerola <kerolasa@iki.fi>

Signed-off-by: Karel Zak <kzak@redhat.com>
Conflicts:

include/c.h
configure.ac
include/c.h
libmount/src/tab_parse.c