summaryrefslogtreecommitdiff
path: root/buildlib/ostable
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:56:32 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:56:32 +0000
commitb2e465d6d32d2dc884f58b94acb7e35f671a87fe (patch)
tree5928383b9bde7b0ba9812e6526ad746466e558f7 /buildlib/ostable
parent00b47c98ca4a4349686a082eba6d77decbb03a4d (diff)
Join with aliencode
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
Diffstat (limited to 'buildlib/ostable')
-rw-r--r--buildlib/ostable19
1 files changed, 19 insertions, 0 deletions
diff --git a/buildlib/ostable b/buildlib/ostable
new file mode 100644
index 000000000..433efea37
--- /dev/null
+++ b/buildlib/ostable
@@ -0,0 +1,19 @@
+# This file contains a table of known vendor-os strings, with
+# things to map them to. `configure' will take the output of the
+# autoconf cannon macros and look in here. This only deals with
+# OS names. The right should be a common name like the arch table
+# generates
+# The final bit to build the Debian Architecture is done in init.cc
+# The left side is a regex for awk, and the first match is used.
+
+# These are used by Debian
+[^-]*-linux-.* linux
+[^-]*-gnu[^-]* hurd
+
+# These are samples.
+hp-hpux[^-]* hp-ux
+sun-solaris[^-]* solaris
+[^-]*-openbsd[^-]* openbsd
+
+# Catch all
+.* unknown