diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-19 23:12:41 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-19 23:12:41 +0000 |
commit | ed9410fbd9797ed6a7e0535972490532a0fa8644 (patch) | |
tree | 9603927e1a73c339d4b429a8234e24e1ff230c35 /gcc/mkconfig.sh | |
parent | ab385776365c84f9209142f7c7a51cd80b3d3f1b (diff) | |
download | gcc-ed9410fbd9797ed6a7e0535972490532a0fa8644.tar.gz |
* mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
defined (prevents link errors when gettext isn't in the system
library).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47189 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mkconfig.sh')
-rw-r--r-- | gcc/mkconfig.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh index 7de903cbc5f..fde254a86dd 100644 --- a/gcc/mkconfig.sh +++ b/gcc/mkconfig.sh @@ -67,6 +67,12 @@ case $output in ;; esac +# Prevent obstack.c from thinking it can do i18n of its error message +# when it's being linked against a build-side program. +echo '#ifdef GENERATOR_FILE' +echo '# undef ENABLE_NLS' +echo '#endif' + ) > $output.T # Avoid changing the actual file if possible. |