aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-12-19 21:19:01 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-12-19 21:19:01 +0000
commitc3a02f54074c59ec043bc9c6fd31785d61e6d426 (patch)
tree15a50ec6913406fa8614d3f36c201200c244c775
parent674845f23997c61f8e88a7d425517c4d8f496265 (diff)
Ensure that nroff doesn't put anything but ASCII characters into the
--manual text.
-rw-r--r--CHANGES3
-rw-r--r--src/Makefile.am4
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 340a4b1f5..5ec5dd0ec 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,9 @@
Changelog
+Daniel Fandrich (19 Dec 2007)
+- Ensure that nroff doesn't put anything but ASCII characters into the
+ --manual text.
Yang Tse (18 Dec 2007)
- MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP,
diff --git a/src/Makefile.am b/src/Makefile.am
index 13fad213e..cf806abe1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -41,7 +41,9 @@ curl_LDADD = ../lib/libcurl.la @CURL_LIBS@
curl_DEPENDENCIES = ../lib/libcurl.la
BUILT_SOURCES = hugehelp.c
CLEANFILES = hugehelp.c
-NROFF=@NROFF@ @MANOPT@ # figured out by the configure script
+# Use the C locale to ensure that only ASCII characters appear in the
+# embedded text.
+NROFF=env LC_ALL=C @NROFF@ @MANOPT@ # figured out by the configure script
EXTRA_DIST = mkhelp.pl makefile.dj Makefile.vc6 Makefile.b32 Makefile.m32 \
Makefile.riscos config.h.in macos/curl.mcp.xml.sit.hqx \