zsh-workers
 help / color / mirror / code / Atom feed
From: Andrey Borzenkov <arvidjaar@newmail.ru>
To: zsh-workers@sunsite.dk, acs@alumni.princeton.edu
Subject: Re: SunOS build failures for the last 2 days
Date: Wed, 17 Aug 2005 20:51:53 +0400	[thread overview]
Message-ID: <200508172051.55839.arvidjaar@newmail.ru> (raw)
In-Reply-To: <20a80721050817080831aad306@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

On Wednesday 17 August 2005 19:08, Vin Shelton wrote:
> "./utils.epro", line 14: warning: undefined or missing type for: c
[...]
> extern mod_import_function wchar_t*wcs_nicechar _((wint_t c));
>
> Here are the configure options I'm using:
>
> "'--prefix=/u/sheltonv/software/SunOS-5.8/zsh-2005-08-17'
> '--datadir=/u/sheltonv/software/SunOS-5.8/share' '--enable-zsh-mem'
> '--enable-etcdir=/u/sheltonv/software/SunOS-5.8/etc'
> '--enable-dynamic' '--with-tcsetpgrp' '--disable-nls'
> '--disable-locale' 'CC=cc' 'CFLAGS=-fast -xarch=v8plusa -xchip=ultra2i
> -xcache=16/32/1:512/64/1'"
>

Now zsh defaults to UNICODE support if available; does not Solaris 8 have it?

Anyway this patch plays it safe; does it help? (Offhand - configure.ac is 
using obsolete AC_CHECK_TYPE invocation)

Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.38
diff -u -p -r1.38 configure.ac
--- configure.ac        16 Aug 2005 23:16:27 -0000      1.38
+++ configure.ac        17 Aug 2005 16:50:32 -0000
@@ -847,6 +847,7 @@ AC_CHECK_TYPE(ino_t, unsigned long)
 AC_TYPE_MODE_T
 AC_TYPE_UID_T
 AC_TYPE_SIZE_T
+AC_CHECK_TYPES([wint_t])

 dnl ------------------------------------------------
 dnl Check size of long and try to find a 64-bit type
@@ -2079,6 +2080,7 @@ AC_ARG_ENABLE(multibyte,
 int main() {
 #if defined(HAVE_WCHAR_H) && defined(HAVE_WCTOMB) \
  && defined(HAVE_MBRTOWC) && defined(HAVE_WCRTOMB) \
+ && defined(HAVE_WINT_T) \
  && defined (__STDC_ISO_10646__)
     return 0;
 #else


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-08-17 16:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 15:08 Vin Shelton
2005-08-17 16:51 ` Andrey Borzenkov [this message]
2005-08-17 17:15 ` Wayne Davison
2005-08-17 17:35   ` Andrey Borzenkov
2005-08-17 17:50     ` Wayne Davison
2005-08-17 18:15       ` Wayne Davison
2005-08-17 18:52   ` Vin Shelton
2005-08-17 19:16     ` Wayne Davison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200508172051.55839.arvidjaar@newmail.ru \
    --to=arvidjaar@newmail.ru \
    --cc=acs@alumni.princeton.edu \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).