summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/apti18n.h.in2
-rw-r--r--buildlib/archtable4
-rw-r--r--buildlib/environment.mak.in2
-rw-r--r--buildlib/sizetable1
-rw-r--r--buildlib/systemtable11
5 files changed, 20 insertions, 0 deletions
diff --git a/buildlib/apti18n.h.in b/buildlib/apti18n.h.in
index 812457643..a5b91b1ee 100644
--- a/buildlib/apti18n.h.in
+++ b/buildlib/apti18n.h.in
@@ -14,8 +14,10 @@
# else
# define _(x) gettext(x)
# endif
+# define N_(x) x
#else
// apt will not use any gettext
# define setlocale(a, b)
# define _(x) x
+# define N_(x) x
#endif
diff --git a/buildlib/archtable b/buildlib/archtable
index 197529202..eacc9889f 100644
--- a/buildlib/archtable
+++ b/buildlib/archtable
@@ -22,8 +22,12 @@ mips mips
sheb sheb
shel sh
sh sh
+sh3 sh3
+sh4 sh4
+m32r m32r
hppa.* hppa
ia64 ia64
s390 s390
s390x s390x
x86_64 amd64
+# lipa has gnulp-linux-i.86 (see dpkg archtable and ostable)
diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in
index f5ee539ac..2d28e1c67 100644
--- a/buildlib/environment.mak.in
+++ b/buildlib/environment.mak.in
@@ -28,6 +28,8 @@ INLINEDEPFLAG = -MD
DEBIANDOC_HTML = @DEBIANDOC_HTML@
DEBIANDOC_TEXT = @DEBIANDOC_TEXT@
+DOXYGEN = @DOXYGEN@
+
# SGML for the man pages
DOCBOOK2MAN := @DOCBOOK2MAN@
diff --git a/buildlib/sizetable b/buildlib/sizetable
index 8b18528cf..b5782360c 100644
--- a/buildlib/sizetable
+++ b/buildlib/sizetable
@@ -21,3 +21,4 @@ m68k big 1 4 2 4
powerpc big 1 4 2 4
mips big 1 4 2 4
hppa big 1 4 2 4
+m32r big 1 4 2 4 \ No newline at end of file
diff --git a/buildlib/systemtable b/buildlib/systemtable
new file mode 100644
index 000000000..64c176b50
--- /dev/null
+++ b/buildlib/systemtable
@@ -0,0 +1,11 @@
+# This file contains a table of known canonical system strings, with
+# things to map them to. `configure' will take the output of the
+# autoconf cannon macros and look in here. It will check for
+# the full canonical system name (required for e.g. lpia) and if that
+# fails it will configure.in will fallback to just checking for the CPU
+# in buildlib/archtable
+
+# The left side is a regex for awk against the canonical system name
+
+# config.guess reports lpia as i386-unknown-linux-gnulp
+i.86-.*-linux-gnulp lpia