autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X.4.8 build problem -- new macro for Autoconf


From: Bruce Korb
Subject: Re: Mac OS X.4.8 build problem -- new macro for Autoconf
Date: Sun, 10 Dec 2006 10:21:10 -0800
User-agent: Thunderbird 1.5.0.8 (X11/20060911)

Hi Ralf,

This is far too putrid to expect people to spin off of the
top of their heads.  I think it is Darwin's fault that it
is so hard, but autoconf should include this macro so that
folks-other-than-gurus can successfully cope with wint_t.

Thanks - Bruce

AC_DEFUN([AC_WINT_T],[
  AC_CHECK_HEADERS([runetype.h wchar.h])
  AC_CHECK_TYPE(wint_t, [], [
    AC_DEFINE_UNQUOTED([wint_t], [unsigned int],
        [Define to `unsigned int' if not found])], [
    AC_INCLUDES_DEFAULT
    #if HAVE_RUNETYPE_H
    # include <runetype.h>
    #endif
    #if HAVE_WCHAR_H
    # include <wchar.h>
    #endif
    ])])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]