Commit 497e89e1 by Zack Weinberg Committed by Zack Weinberg

mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is defined (prevents link errors when...

	* mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
	defined (prevents link errors when gettext isn't in the system
	library).

From-SVN: r47189
parent 4f99294b
2001-11-19 Zack Weinberg <zack@codesourcery.com>
* mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
defined (prevents link errors when gettext isn't in the system
library).
2001-11-19 DJ Delorie <dj@redhat.com>
* read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment