home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / Languages / Python / python-14-src / Lib / sunos4 / regen < prev    next >
Encoding:
Text File  |  1997-01-17  |  321 b   |  13 lines

  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 /usr/include/sys/wait.h
  12. h2py -i '(u_long)' /usr/include/netinet/in.h
  13.