diff options
author | Guido van Rossum <guido@python.org> | 1996-07-22 21:50:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-07-22 21:50:43 (GMT) |
commit | 77c29a17342c66dc603660230dd47f6fd07a44c9 (patch) | |
tree | dd7d9e247e1fcac0c36fe54f72267e41c1c3fe1f /Lib/plat-linux2/regen | |
parent | 56b6fa98b6202e94b8965ea5bcc4c78c0aab8683 (diff) | |
download | cpython-77c29a17342c66dc603660230dd47f6fd07a44c9.zip cpython-77c29a17342c66dc603660230dd47f6fd07a44c9.tar.gz cpython-77c29a17342c66dc603660230dd47f6fd07a44c9.tar.bz2 |
This is needed for users of Linux 2.x
Diffstat (limited to 'Lib/plat-linux2/regen')
-rwxr-xr-x | Lib/plat-linux2/regen | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/plat-linux2/regen b/Lib/plat-linux2/regen new file mode 100755 index 0000000..d8dbc04 --- /dev/null +++ b/Lib/plat-linux2/regen @@ -0,0 +1,11 @@ +#! /bin/sh +case `uname` in +Linux*) ;; +*) echo Probably not on a Linux system 1>&2 + exit 1;; +esac +set -v +h2py /usr/include/sys/fcntl.h +h2py /usr/include/sys/socket.h +h2py -i '(u_long)' /usr/include/netinet/in.h +h2py /usr/include/termios.h |