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