f34ecf
#!/bin/sh
f34ecf
#
f34ecf
# The X server provides capabilities of the form:
f34ecf
#
f34ecf
# Provides: xserver-abi(ansic-0) = 4
f34ecf
#
f34ecf
# for an ABI version of 0.4.  The major number is encoded into the name so
f34ecf
# that major number changes force upgrades.  If we didn't, then
f34ecf
#
f34ecf
# Requires: xserver-abi(ansic) >= 0.4
f34ecf
#
f34ecf
# would also match 1.0, which is wrong since major numbers mean an ABI break.
f34ecf
f34ecf
echo "xserver-abi($1-@MAJOR@) >= @MINOR@"