summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKO Myung-Hun <komh78@gmail.com>2015-11-08 14:57:59 +0900
committerDaiki Ueno <ueno@gnu.org>2015-12-10 12:44:52 +0900
commit6f2223058e136a9396b9b53eb094897a398b7fa6 (patch)
tree55d0ec1ab356e293e8d4a67ce54e1df92b582800
parent8f36b7429538be7bef50e93ec623308c7e079417 (diff)
downloadexternal_gettext-6f2223058e136a9396b9b53eb094897a398b7fa6.zip
external_gettext-6f2223058e136a9396b9b53eb094897a398b7fa6.tar.gz
external_gettext-6f2223058e136a9396b9b53eb094897a398b7fa6.tar.bz2
build: Do not include os2compat.[ch]
kLIBC does not need os2compat.[ch] * gettext-runtime/configure.ac (AH_BOTTOM): Do not include intl/os2compat.h on kLIBC. * gettext-runtime/intl/osdep.c: Do not include os2compat.c on kLIBC. * gettext-tools/configure.ac (AH_BOTTOM): Do not include intl/os2compat.h on kLIBC. Copyright-paperwork-exempt: yes
-rw-r--r--gettext-runtime/configure.ac2
-rw-r--r--gettext-runtime/intl/osdep.c2
-rw-r--r--gettext-tools/configure.ac2
3 files changed, 3 insertions, 3 deletions
diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac
index e9299b6..77e954b 100644
--- a/gettext-runtime/configure.ac
+++ b/gettext-runtime/configure.ac
@@ -102,7 +102,7 @@ AH_BOTTOM([
#endif
/* Extra OS/2 (emx+gcc) defines. */
-#ifdef __EMX__
+#if defined __EMX__ && !defined __KLIBC__
# include "intl/os2compat.h"
#endif
])
diff --git a/gettext-runtime/intl/osdep.c b/gettext-runtime/intl/osdep.c
index 25f8dfa..eda9d28 100644
--- a/gettext-runtime/intl/osdep.c
+++ b/gettext-runtime/intl/osdep.c
@@ -16,7 +16,7 @@
#if defined __CYGWIN__ || defined __MINGW32__
# include "intl-exports.c"
-#elif defined __EMX__
+#elif defined __EMX__ && !defined __KLIBC__
# include "os2compat.c"
#else
/* Avoid AIX compiler warning. */
diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac
index dba0775..d5e612a 100644
--- a/gettext-tools/configure.ac
+++ b/gettext-tools/configure.ac
@@ -286,7 +286,7 @@ AH_BOTTOM([
#endif
/* Extra OS/2 (emx+gcc) defines. */
-#ifdef __EMX__
+#if defined __EMX__ && !defined __KLIBC__
# include "intl/os2compat.h"
#endif
])