Jeffrey Armstrong added the comment:

I would suggest a more straightforward patch.  My understanding is that the 
standard library on the m68k-atari-mint platform does not include the necessary 
gettext functionality.  This functionality is present in glibc, however.  A 
more direct test might be to see if gettext is available in the standard 
library.  If so, proceed.  If not, attempt to link in libintl and its 
dependency:

--- a/configure.ac      Sat Feb 23 18:52:51 2013 +0100
+++ b/configure.ac      Sun Feb 24 17:59:41 2013 -0500
@@ -2180,6 +2180,14 @@
        [Define to 1 if libintl is needed for locale functions.])
         LIBS="-lintl $LIBS"])
 
+# search for gettext in either libc or libintl
+AC_CHECK_FUNC(gettext, [],
+       [AC_CHECK_LIB(intl, gettext, 
+                  [LIBS="$LIBS -lintl -liconv"],
+                  [AC_MSG_ERROR([unable to find the gettext() function])],
+                  [-liconv])
+    ])
+

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17226>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to