aboutsummaryrefslogtreecommitdiffstats
path: root/ports
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2014-04-24 17:25:50 -0500
committerPeter Seebach <peter.seebach@windriver.com>2014-04-24 17:25:50 -0500
commit6c6d0a3e4a4d382fd0b2e056a3ecffb015652767 (patch)
tree18e95f18622f8b4aee80f5285469c12956921729 /ports
parent9485ba46bd622e328fe3557f94c38b77109e54fa (diff)
downloadpseudo-6c6d0a3e4a4d382fd0b2e056a3ecffb015652767.tar.gz
pseudo-6c6d0a3e4a4d382fd0b2e056a3ecffb015652767.tar.bz2
pseudo-6c6d0a3e4a4d382fd0b2e056a3ecffb015652767.zip
Make configure handle xattr guessing (or specifying)
Clean-up: Allow specification of environment hints for subports scripts, such as whether xattr support is available. Also make configure guess at a bit width if none is specified. Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Diffstat (limited to 'ports')
-rwxr-xr-xports/linux/subports3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/linux/subports b/ports/linux/subports
index b68c25b..94d43e7 100755
--- a/ports/linux/subports
+++ b/ports/linux/subports
@@ -25,7 +25,8 @@ rm -f dummy.c dummy.o
if ! $found; then
echo >&2 "Can't tell, omitting clone(2) support."
fi
-if getfattr --help >/dev/null 2>&1; then
+
+if $port_xattr; then
echo "linux/xattr"
else
echo "linux/noxattr"