summaryrefslogtreecommitdiff
path: root/buildlib/ostable
diff options
context:
space:
mode:
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