]> git.ipfire.org Git - thirdparty/gettext.git/commit
Support compiling the examples on native Windows without -loldnames.
authorBruno Haible <bruno@clisp.org>
Fri, 16 Sep 2022 17:27:45 +0000 (19:27 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Sep 2022 19:53:45 +0000 (21:53 +0200)
commiteb0ded32dbcd7bf6ccffc038509983ccca52631b
tree8beac0a075747bbed793f42e47560d0485da4cc6
parent95ac95545141d1d72638dd3995c0171d8ad34f77
Support compiling the examples on native Windows without -loldnames.

* gettext-tools/examples/hello-c/configure.ac: Don't test for unistd.h.
* gettext-tools/examples/hello-c-gnome/configure.ac: Likewise.
* gettext-tools/examples/hello-c-gnome3/configure.ac: Likewise.
* gettext-tools/examples/hello-c++/configure.ac: Likewise.
* gettext-tools/examples/hello-c++-qt/configure.ac: Likewise.
* gettext-tools/examples/hello-c++-kde/configure.in.in: Likewise.
* gettext-tools/examples/hello-c++-gnome/configure.ac: Likewise.
* gettext-tools/examples/hello-c++-wxwidgets/configure.ac: Likewise.
* gettext-tools/examples/hello-objc/configure.ac: Likewise.
* gettext-tools/examples/hello-objc-gnome/configure.ac: Likewise.
* gettext-tools/examples/hello-c/hello.c: On native Windows, include <process.h>
and define getpid as an alias of _getpid. Otherwise, assume <unistd.h> exists.
* gettext-tools/examples/hello-c-gnome/hello.c: Likewise.
* gettext-tools/examples/hello-c-gnome3/hello.c: Likewise.
* gettext-tools/examples/hello-c++/hello.cc: Likewise.
* gettext-tools/examples/hello-c++-qt/hello.cc: Likewise.
* gettext-tools/examples/hello-c++-kde/hellowindow.cc: Likewise.
* gettext-tools/examples/hello-c++-gnome/hello.cc: Likewise.
* gettext-tools/examples/hello-c++-wxwidgets/hello.cc: Likewise.
* gettext-tools/examples/hello-objc/hello.m: Likewise.
* gettext-tools/examples/hello-objc-gnome/hello.m: Likewise.
20 files changed:
gettext-tools/examples/hello-c++-gnome/configure.ac
gettext-tools/examples/hello-c++-gnome/hello.cc
gettext-tools/examples/hello-c++-kde/configure.in.in
gettext-tools/examples/hello-c++-kde/hellowindow.cc
gettext-tools/examples/hello-c++-qt/configure.ac
gettext-tools/examples/hello-c++-qt/hello.cc
gettext-tools/examples/hello-c++-wxwidgets/configure.ac
gettext-tools/examples/hello-c++-wxwidgets/hello.cc
gettext-tools/examples/hello-c++/configure.ac
gettext-tools/examples/hello-c++/hello.cc
gettext-tools/examples/hello-c-gnome/configure.ac
gettext-tools/examples/hello-c-gnome/hello.c
gettext-tools/examples/hello-c-gnome3/configure.ac
gettext-tools/examples/hello-c-gnome3/hello.c
gettext-tools/examples/hello-c/configure.ac
gettext-tools/examples/hello-c/hello.c
gettext-tools/examples/hello-objc-gnome/configure.ac
gettext-tools/examples/hello-objc-gnome/hello.m
gettext-tools/examples/hello-objc/configure.ac
gettext-tools/examples/hello-objc/hello.m