Retour en arriere sur le truc avec sys/types.h (ca me fait peur)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2888 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
0030ecb267
commit
e1143ee499
|
@ -4,15 +4,9 @@ opts=""
|
|||
libs="$cclibs"
|
||||
args=$*
|
||||
rm -f hasgot.c
|
||||
sys_types_included="no"
|
||||
while : ; do
|
||||
case "$1" in
|
||||
-i) if test "$HAS_SYS_TYPES_H" = "yes" && test "$sys_types_included" = "no"
|
||||
then
|
||||
echo "#include <sys/types.h>" >> hasgot.c;
|
||||
sys_types_included="yes";
|
||||
fi
|
||||
echo "#include <$2>" >> hasgot.c; shift;;
|
||||
-i) echo "#include <$2>" >> hasgot.c; shift;;
|
||||
-t) echo "$2 the_$2;" >> hasgot.c; shift;;
|
||||
-l*|-L*) libs="$libs $1";;
|
||||
-*) opts="$opts $1";;
|
||||
|
|
Loading…
Reference in New Issue