]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Generate some files automatically from system files
authorGuido van Rossum <guido@python.org>
Mon, 23 May 1994 12:15:33 +0000 (12:15 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 23 May 1994 12:15:33 +0000 (12:15 +0000)
Lib/irix5/regen [new file with mode: 0755]
Lib/plat-irix5/regen [new file with mode: 0755]

diff --git a/Lib/irix5/regen b/Lib/irix5/regen
new file mode 100755 (executable)
index 0000000..2f03cb4
--- /dev/null
@@ -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
diff --git a/Lib/plat-irix5/regen b/Lib/plat-irix5/regen
new file mode 100755 (executable)
index 0000000..2f03cb4
--- /dev/null
@@ -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