summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-09-23 10:14:01 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:01 +0200
commitd14eb956874bfcd300955a4ece4ec395959b90fd (patch)
treed9c4f6ceeca8b29d95648f9d07f44053adf13cad /gettext-runtime/lib
parentb002633add2677beb86292bd0a6d02bf16c591c3 (diff)
downloadexternal_gettext-d14eb956874bfcd300955a4ece4ec395959b90fd.zip
external_gettext-d14eb956874bfcd300955a4ece4ec395959b90fd.tar.gz
external_gettext-d14eb956874bfcd300955a4ece4ec395959b90fd.tar.bz2
Portability to SunOS 4, which lacks strtoul() and atexit().
Diffstat (limited to 'gettext-runtime/lib')
-rw-r--r--gettext-runtime/lib/ChangeLog8
-rw-r--r--gettext-runtime/lib/Makefile.am2
-rw-r--r--gettext-runtime/lib/atexit.c1
3 files changed, 11 insertions, 0 deletions
diff --git a/gettext-runtime/lib/ChangeLog b/gettext-runtime/lib/ChangeLog
index ec1f087..e8649ed 100644
--- a/gettext-runtime/lib/ChangeLog
+++ b/gettext-runtime/lib/ChangeLog
@@ -1,3 +1,11 @@
+2003-09-16 Bruno Haible <bruno@clisp.org>
+
+ Portability to SunOS 4.
+ * atexit.c: New file, trivial link to ../../gettext-tools/lib.
+ * Makefile.am (libgrt_a_SOURCES):
+ Add ../../gettext-tools/lib/strtoul.c.
+ (LIBADD_SOURCE): Add atexit.c.
+
2003-09-14 Bruno Haible <bruno@clisp.org>
* Makefile.am (libgrt_a_SOURCES): Add fwriteerror.h, fwriteerror.c.
diff --git a/gettext-runtime/lib/Makefile.am b/gettext-runtime/lib/Makefile.am
index 4113aa7..0a09dcf 100644
--- a/gettext-runtime/lib/Makefile.am
+++ b/gettext-runtime/lib/Makefile.am
@@ -34,6 +34,7 @@ libgrt_a_SOURCES = \
../../gettext-tools/lib/getopt.h ../../gettext-tools/lib/getopt.c ../../gettext-tools/lib/getopt1.c \
../../gettext-tools/lib/pathmax.h \
../../gettext-tools/lib/progname.h ../../gettext-tools/lib/progname.c ../../gettext-tools/lib/progreloc.c \
+ ../../gettext-tools/lib/strtoul.c \
../../gettext-tools/lib/unlocked-io.h \
../../gettext-tools/lib/xmalloc.h ../../gettext-tools/lib/xmalloc.c ../../gettext-tools/lib/xstrdup.c \
../../gettext-tools/lib/xreadlink.h ../../gettext-tools/lib/xreadlink.c
@@ -42,6 +43,7 @@ libgrt_a_SOURCES = \
LIBADD_SOURCE = \
alloca.c \
+ atexit.c \
../../gettext-tools/lib/canonicalize.h canonicalize.c \
memmove.c \
readlink.c \
diff --git a/gettext-runtime/lib/atexit.c b/gettext-runtime/lib/atexit.c
new file mode 100644
index 0000000..b464b15
--- /dev/null
+++ b/gettext-runtime/lib/atexit.c
@@ -0,0 +1 @@
+#include "../../gettext-tools/lib/atexit.c"