Ensure that nroff doesn't put anything but ASCII characters into the
authorDan Fandrich <dan@coneharvesters.com>
Wed, 19 Dec 2007 21:19:01 +0000 (21:19 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 19 Dec 2007 21:19:01 +0000 (21:19 +0000)
--manual text.

CHANGES
src/Makefile.am

diff --git a/CHANGES b/CHANGES
index 340a4b1..5ec5dd0 100644 (file)
--- 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,
index 13fad21..cf806ab 100644 (file)
@@ -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            \