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