blob: c32034eab453bb07306968d8da7602b5260fd4b9 [file] [log] [blame]
Simon Kelley3d8df262005-08-29 12:19:27 +01001#!/bin/sh
2
Simon Kelley1f15b812009-10-13 17:49:32 +01003search=$1
4shift
5
Simon Kelleyc72daea2012-01-05 21:33:27 +00006if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h 2>&1 >/dev/null || \
Simon Kelley1f15b812009-10-13 17:49:32 +01007 grep $search 2>&1 >/dev/null ; then
Simon Kelley3d8df262005-08-29 12:19:27 +01008 exec $*
9fi
10
11