Permettre de tester l'existence d'une struct ou d'une union

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6192 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 2004-04-09 13:23:11 +00:00
parent bb4028ab61
commit b9ba49e310
1 changed files with 2 additions and 1 deletions

View File

@ -4,10 +4,11 @@ opts=""
libs="$cclibs"
args=$*
rm -f hasgot.c
var="x"
while : ; do
case "$1" in
-i) echo "#include <$2>" >> hasgot.c; shift;;
-t) echo "$2 the_$2;" >> hasgot.c; shift;;
-t) echo "$2 $var;" >> hasgot.c; var="x$var"; shift;;
-l*|-L*|-F*) libs="$libs $1";;
-framework) libs="$libs $1 $2"; shift;;
-*) opts="$opts $1";;