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-0dff7051ff02
master
Xavier Leroy 2000-02-29 16:14:33 +00:00
parent 0030ecb267
commit e1143ee499
1 changed files with 1 additions and 7 deletions

View File

@ -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";;