+Fri Jun 6 10:24:23 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com>
+
+ * m4macros/glib-gettext.m4: Test for Solaris native gettext
+ in libc, seeing if it supports GNU catalog format (#85217).
+
Thu Jun 5 23:40:31 2003 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c: When dispatching a source that is
+Fri Jun 6 10:24:23 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com>
+
+ * m4macros/glib-gettext.m4: Test for Solaris native gettext
+ in libc, seeing if it supports GNU catalog format (#85217).
+
Thu Jun 5 23:40:31 2003 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c: When dispatching a source that is
+Fri Jun 6 10:24:23 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com>
+
+ * m4macros/glib-gettext.m4: Test for Solaris native gettext
+ in libc, seeing if it supports GNU catalog format (#85217).
+
Thu Jun 5 23:40:31 2003 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c: When dispatching a source that is
+Fri Jun 6 10:24:23 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com>
+
+ * m4macros/glib-gettext.m4: Test for Solaris native gettext
+ in libc, seeing if it supports GNU catalog format (#85217).
+
Thu Jun 5 23:40:31 2003 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c: When dispatching a source that is
+Fri Jun 6 10:24:23 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com>
+
+ * m4macros/glib-gettext.m4: Test for Solaris native gettext
+ in libc, seeing if it supports GNU catalog format (#85217).
+
Thu Jun 5 23:40:31 2003 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c: When dispatching a source that is
+Fri Jun 6 10:24:23 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com>
+
+ * m4macros/glib-gettext.m4: Test for Solaris native gettext
+ in libc, seeing if it supports GNU catalog format (#85217).
+
Thu Jun 5 23:40:31 2003 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c: When dispatching a source that is
return _nl_msg_cat_cntr],
[CATOBJEXT=.gmo
DATADIRNAME=share],
- [CATOBJEXT=.mo
- DATADIRNAME=lib])
+ [case $host in
+ *-*-solaris*)
+ dnl On Solaris, if bind_textdomain_codeset is in libc,
+ dnl GNU format message catalog is always supported,
+ dnl since both are added to the libc all together.
+ dnl Hence, we'd like to go with DATADIRNAME=share and
+ dnl and CATOBJEXT=.gmo in this case.
+ AC_CHECK_FUNC(bind_textdomain_codeset,
+ [CATOBJEXT=.gmo
+ DATADIRNAME=share],
+ [CATOBJEXT=.mo
+ DATADIRNAME=lib])
+ ;;
+ *)
+ CATOBJEXT=.mo
+ DATADIRNAME=lib
+ ;;
+ esac])
INSTOBJEXT=.mo
else
gt_cv_have_gettext=no