commit | 97ca0277b3380ec4e30220fbfa32a9f4d3aa6961 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Mon Aug 11 02:52:08 2014 -0400 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Mon Aug 11 17:30:01 2014 +0000 |
tree | a2e880c3c379e616dd3f2bd705ed8a94f71069bd | |
parent | b267aef27f17ec0162bdf76fd8ad2b07782b8eab [diff] |
tests: fix uio building w/out preadv/pwritev The preadv/pwritev symbols weren't added to glibc until the 2.10 release, so trying to build the uio test leads to link failures. Add configure tests and update uio.test to handle this. * configure.ac (AC_CHECK_FUNCS): Add preadv/pwritev. * tests/uio.c: Include config.h. (main): Check for HAVE_PREADV and HAVE_PWRITEV. * tests/uio.test: Check exit status of uio helper.