10 -i) echo "#include <$2>" >> hasgot.c
; shift;;
11 -t) echo "$2 $var;" >> hasgot.c
; var
="x$var"; shift;;
12 -l*|
-L*|
-F*) libs
="$libs $1";;
13 -framework) libs
="$libs $1 $2"; shift;;
21 for f
in $
*; do echo " $f();"; done
24 if test "$verbose" = yes; then
25 echo "hasgot $args: $cc $opts -o tst hasgot.c $libs" >&2
26 exec $cc $opts -o tst hasgot.c
$libs > /dev
/null
28 exec $cc $opts -o tst hasgot.c
$libs > /dev
/null
2>/dev
/null