Guido van Rossum | c95f724 | 1994-05-17 09:28:58 +0000 | [diff] [blame^] | 1 | #! /bin/sh |
2 | case `uname -sr` in | ||||
3 | 'SunOS 4.'*) ;; | ||||
4 | *) echo Probably not on a SunOS 4 system 1>&2 | ||||
5 | exit 1;; | ||||
6 | esac | ||||
7 | set -v | ||||
8 | h2py </usr/include/sys/fcntlcom.h >FCNTL.py | ||||
9 | echo "O_ACCMODE = (O_RDONLY|O_WRONLY|O_RDWR)" >>FCNTL.py | ||||
10 | h2py /usr/include/sys/socket.h | ||||
11 | h2py -i '(u_long)' /usr/include/netinet/in.h |