gnupg (ChangeLog README configure.ac)

cvs user wk cvs at cvs.gnupg.org
Tue Oct 26 14:40:30 CEST 2004


    Date: Tuesday, October 26, 2004 @ 14:44:21
  Author: wk
    Path: /cvs/gnupg/gnupg

Modified: ChangeLog README configure.ac

* configure.ac: New option --disable-gnupg-iconv, define
USE_GNUPG_ICONV.


--------------+
 ChangeLog    |    5 +++++
 README       |   11 +++++++++++
 configure.ac |   18 +++++++++++++++++-
 3 files changed, 33 insertions(+), 1 deletion(-)


Index: gnupg/ChangeLog
diff -u gnupg/ChangeLog:1.215 gnupg/ChangeLog:1.216
--- gnupg/ChangeLog:1.215	Thu Oct 21 21:15:07 2004
+++ gnupg/ChangeLog	Tue Oct 26 14:44:21 2004
@@ -1,3 +1,8 @@
+2004-10-26  Werner Koch  <wk at g10code.com>
+
+	* configure.ac: New option --disable-gnupg-iconv, define
+	USE_GNUPG_ICONV.
+	
 2004-10-21  David Shaw  <dshaw at jabberwocky.com>
 
 	* acinclude.m4: aclocal 1.9 wants quoting on AC_DEFUN arguments.
Index: gnupg/README
diff -u gnupg/README:1.86 gnupg/README:1.87
--- gnupg/README:1.86	Fri Oct 15 15:16:58 2004
+++ gnupg/README	Tue Oct 26 14:44:21 2004
@@ -605,6 +605,17 @@
                     This prevents access to certain files and won't
                     allow import or export of secret keys.
 
+     --disable-gnupg-iconv
+                    If iconv is available it is used to convert
+                    between utf-8 and the system character set.  This
+                    is in general the preferable solution.  However
+                    the code is new and under some cirumstances it may
+                    give different output than with the limited old
+                    support.  This option allows to explicity disable
+                    the use of iconv.  Note, that iconv is also
+                    disabled if getext has been disabled.
+                    
+
 
     Installation Problems
     ---------------------
Index: gnupg/configure.ac
diff -u gnupg/configure.ac:1.106 gnupg/configure.ac:1.107
--- gnupg/configure.ac:1.106	Thu Oct 21 18:56:22 2004
+++ gnupg/configure.ac	Tue Oct 26 14:44:21 2004
@@ -19,7 +19,7 @@
 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 dnl
 dnl (Process this file with autoconf to produce a configure script.)
-dnlAC_REVISION($Revision: 1.106 $)dnl
+dnlAC_REVISION($Revision: 1.107 $)dnl
 
 AC_PREREQ(2.59)
 min_automake_version="1.7.9"
@@ -124,6 +124,13 @@
 case "$readline_support" in yes);; no);; *)readline_support=yes;; esac
 AC_MSG_RESULT($readline_support)
 
+AC_MSG_CHECKING([whether the new iconv based code is requested])
+AC_ARG_ENABLE(gnupg-iconv,
+              AC_HELP_STRING([--disable-gnupg-iconv],
+                             [disable the new iconv code]),
+              gnupg_use_iconv=$enableval, gnupg_use_iconv=yes)
+AC_MSG_RESULT($gnupg_use_iconv)
+
 
 dnl See if we are disabling any algorithms or features for a smaller
 dnl binary
@@ -732,12 +739,21 @@
   AC_DEFINE(ENABLE_SELINUX_HACKS,1,[Define to enable SELinux support])
 fi
 
+if test "$gnupg_use_iconv" = yes ; then
+  AC_DEFINE(USE_GNUPG_ICONV,1,[Define to use the new iconv based code])
+fi
+
+
 AM_CONDITIONAL(ENABLE_CARD_SUPPORT, test "$card_support" = yes)
 
 dnl Checks for header files.
 AC_HEADER_STDC
 AC_CHECK_HEADERS(unistd.h langinfo.h termio.h locale.h getopt.h)
 
+# Note that we do not check for iconv here because this is done anyway
+# by the gettext checks and thus it allows us to disable the use of
+# iconv by using --disable-nls.
+
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST




More information about the Gnupg-commits mailing list