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