[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
suggested patch for gettext/m4/gettext.m4
From: |
Aharon Robbins |
Subject: |
suggested patch for gettext/m4/gettext.m4 |
Date: |
Tue, 05 Dec 2000 15:14:49 +0200 |
As part of alpha testing the next gawk release, I found that Solaris 2.3
has gettext in its C library but not dcgettext. This confuses things
no end, especially if you want to call dcgettext.
I suggest the following diff against the CVS version of m4/gettext.m4.
Thanks,
Arnold Robbins
--------------------------
Index: gettext.m4
===================================================================
RCS file: /cvs/gettext/gettext/m4/gettext.m4,v
retrieving revision 1.9
diff -c -r1.9 gettext.m4
*** gettext.m4 2000/09/14 17:54:44 1.9
--- gettext.m4 2000/12/05 13:15:27
***************
*** 150,156 ****
fi
])
! if test "$CATOBJEXT" = "NONE"; then
dnl Neither gettext nor catgets in included in the C library.
dnl Fall back on GNU gettext library.
nls_cv_use_gnu_gettext=yes
--- 150,161 ----
fi
])
! if (test "$gt_cv_func_gettext_libc" = "yes" \
! || test "$gt_cv_func_gettext_libintl" = "yes") \
! && test "$ac_cv_func_dcgettext" = no; then
! dnl gettext is there but dcgettext is not
! nls_cv_use_gnu_gettext=yes
! elif test "$CATOBJEXT" = "NONE"; then
dnl Neither gettext nor catgets in included in the C library.
dnl Fall back on GNU gettext library.
nls_cv_use_gnu_gettext=yes
--
Aharon (Arnold) Robbins --- Pioneer Consulting Ltd. address@hidden
P.O. Box 354 Home Phone: +972 8 979-0381 Fax: +1 603 761-6761
Nof Ayalon Cell Phone: +972 51 297-545 (See www.efax.com)
D.N. Shimshon 99785 Laundry increases exponentially in the
ISRAEL number of children. -- Miriam Robbins
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- suggested patch for gettext/m4/gettext.m4,
Aharon Robbins <=