Simon Kelley | 3d8df26 | 2005-08-29 12:19:27 +0100 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
Simon Kelley | 1f15b81 | 2009-10-13 17:49:32 +0100 | [diff] [blame] | 3 | search=$1 |
4 | shift | ||||
5 | |||||
Simon Kelley | 9bbc887 | 2012-02-09 21:33:09 +0000 | [diff] [blame] | 6 | if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h >/dev/null 2>&1 || \ |
7 | grep $search >/dev/null 2>&1; then | ||||
Simon Kelley | 3d8df26 | 2005-08-29 12:19:27 +0100 | [diff] [blame] | 8 | exec $* |
9 | fi | ||||
10 | |||||
11 |