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-0dff7051ff02master
parent
bb4028ab61
commit
b9ba49e310
|
@ -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";;
|
||||
|
|
Loading…
Reference in New Issue