4928c0
#!/bin/sh
4928c0
#
4928c0
# Extract ABI versions from the .pc file.  Filter out xserver modules.
4928c0
#
4928c0
# Copyright 2009 Red Hat, Inc.
4928c0
# License: MIT
4928c0
4928c0
abis=`grep ^abi "$1" | tr '_=.' '-- '`
4928c0
echo $abis | while read major minor; do
4928c0
    echo "xserver($major) = $minor"
4928c0
done
4928c0
4928c0
shift
4928c0
4928c0
# exec "$@" | grep -v '\.so$'