[Patches] [ python-Patches-588564 ] _locale library patch

noreply@sourceforge.net noreply@sourceforge.net
Sun, 04 Aug 2002 01:37:00 -0700


Patches item #588564, was opened at 2002-07-30 15:58
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=588564&group_id=5470

Category: Distutils and setup.py
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Tishler (jlt63)
Assigned to: Martin v. Löwis (loewis)
Summary: _locale library patch

Initial Comment:
This patch enables setup.py to find gettext routines
when they are located in libintl instead of libc.
Although I developed this patch for Cygwin, I hope
that it can be easily updated to support other
platforms (if necessary). I tested this patch
under Cygwin and Red Hat Linux 7.1.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-08-04 10:37

Message:
Logged In: YES 
user_id=21627

I would really prefer if such problems where solved in an
autoconf-style approach: 
- is libintl.h present (you may ask pyconfig.h for that)
  - if so, is gettext provided by the C library
  - if not, is it provided by -lintl
     - if yes, add -lintl
     - if no, print an error message and continue

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=588564&group_id=5470