summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5/regen
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-05-23 12:15:33 (GMT)
committerGuido van Rossum <guido@python.org>1994-05-23 12:15:33 (GMT)
commitf624666eb31f3e6aaf4da7a5aa0837cfd208608b (patch)
treea3ac7c7cef4f3157ef1da7377a6a9e2b41708d00 /Lib/plat-irix5/regen
parent7f61b3511c9320c1855ba3eddc8aae16512b74ef (diff)
downloadcpython-f624666eb31f3e6aaf4da7a5aa0837cfd208608b.zip
cpython-f624666eb31f3e6aaf4da7a5aa0837cfd208608b.tar.gz
cpython-f624666eb31f3e6aaf4da7a5aa0837cfd208608b.tar.bz2
Generate some files automatically from system files
Diffstat (limited to 'Lib/plat-irix5/regen')
-rwxr-xr-xLib/plat-irix5/regen10
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/plat-irix5/regen b/Lib/plat-irix5/regen
new file mode 100755
index 0000000..2f03cb4
--- /dev/null
+++ b/Lib/plat-irix5/regen
@@ -0,0 +1,10 @@
+#! /bin/sh
+case `uname -sr` in
+'IRIX '[45].*) ;;
+*) echo Probably not on a n IRIX 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