bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* can't compile `stdlib.h` on mxe
@ 2021-05-22 10:03 Werner LEMBERG
  2021-05-22 12:25 ` Bruno Haible
  0 siblings, 1 reply; 7+ messages in thread
From: Werner LEMBERG @ 2021-05-22 10:03 UTC (permalink / raw)
  To: bug-gnulib

[-- Attachment #1: Type: Text/Plain, Size: 886 bytes --]


[9c4b4b083f87]

While compiling my `ttfautohint` package with a slightly tailored mxe
build, I get the following compilation error:

  CXX      ttfautohintGUI-ddlineedit.moc.o
In file included from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/cwchar:44:0,
                 from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/bits/postypes.h:40,
                 from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/iosfwd:40,
                 from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/memory:72,
                 from ddlineedit.moc.cpp:9:
../gnulib/src/stdlib.h:1904:1: error: expected ',' or '...' before 'string'
 _GL_FUNCDECL_RPL (strtoull, unsigned long long,
 ^

Attached is the built `stdlib.h` file, together with the used
`bootstrap.conf`.  Please advise.


    Werner

[-- Attachment #2: stdlib.h --]
[-- Type: Text/Plain, Size: 73441 bytes --]

/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* A GNU-like <stdlib.h>.

   Copyright (C) 1995, 2001-2004, 2006-2021 Free Software Foundation, Inc.

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU Lesser General Public License as published by
   the Free Software Foundation; either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public License
   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */

#if __GNUC__ >= 3
#pragma GCC system_header
#endif


#if defined __need_system_stdlib_h || defined __need_malloc_and_calloc
/* Special invocation conventions inside some gnulib header files,
   and inside some glibc header files, respectively.  */

#include_next <stdlib.h>

#else
/* Normal invocation convention.  */

#ifndef _GL_STDLIB_H

/* The include_next requires a split double-inclusion guard.  */
#include_next <stdlib.h>

#ifndef _GL_STDLIB_H
#define _GL_STDLIB_H

/* NetBSD 5.0 mis-defines NULL.  */
#include <stddef.h>

/* MirBSD 10 defines WEXITSTATUS in <sys/wait.h>, not in <stdlib.h>.  */
#if 0 && !defined WEXITSTATUS
# include <sys/wait.h>
#endif

/* Solaris declares getloadavg() in <sys/loadavg.h>.  */
#if (0 || defined GNULIB_POSIXCHECK) && 0
/* OpenIndiana has a bug: <sys/time.h> must be included before
   <sys/loadavg.h>.  */
# include <sys/time.h>
# include <sys/loadavg.h>
#endif

/* Native Windows platforms declare _mktemp() in <io.h>.  */
#if defined _WIN32 && !defined __CYGWIN__
# include <io.h>
#endif

#if 0

/* OSF/1 5.1 declares 'struct random_data' in <random.h>, which is included
   from <stdlib.h> if _REENTRANT is defined.  Include it whenever we need
   'struct random_data'.  */
# if 1
#  include <random.h>
# endif

# if !1 || 0 || !1
#  include <stdint.h>
# endif

# if !1
/* Define 'struct random_data'.
   But allow multiple gnulib generated <stdlib.h> replacements to coexist.  */
#  if !GNULIB_defined_struct_random_data
struct random_data
{
  int32_t *fptr;                /* Front pointer.  */
  int32_t *rptr;                /* Rear pointer.  */
  int32_t *state;               /* Array of state values.  */
  int rand_type;                /* Type of random number generator.  */
  int rand_deg;                 /* Degree of random number generator.  */
  int rand_sep;                 /* Distance between front and rear.  */
  int32_t *end_ptr;             /* Pointer behind state table.  */
};
#   define GNULIB_defined_struct_random_data 1
#  endif
# endif
#endif

#if (0 || 0 || 0 || 0 || 0 || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ && !(defined _WIN32 && ! defined __CYGWIN__)
/* On Mac OS X 10.3, only <unistd.h> declares mkstemp.  */
/* On Mac OS X 10.5, only <unistd.h> declares mkstemps.  */
/* On Mac OS X 10.13, only <unistd.h> declares mkostemp and mkostemps.  */
/* On Cygwin 1.7.1, only <unistd.h> declares getsubopt.  */
/* But avoid namespace pollution on glibc systems and native Windows.  */
# include <unistd.h>
#endif

/* The __attribute__ feature is available in gcc versions 2.5 and later.
   The attribute __pure__ was added in gcc 2.96.  */
#ifndef _GL_ATTRIBUTE_PURE
# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || defined __clang__
#  define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
# else
#  define _GL_ATTRIBUTE_PURE /* empty */
# endif
#endif

/* The definition of _Noreturn is copied here.  */
/* A C macro for declaring that a function does not return.
   Copyright (C) 2011-2021 Free Software Foundation, Inc.

   This program is free software: you can redistribute it and/or modify it
   under the terms of the GNU Lesser General Public License as published
   by the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public License
   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */

#ifndef _Noreturn
# if (defined __cplusplus \
      && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
          || (defined _MSC_VER && 1900 <= _MSC_VER)) \
      && 0)
    /* [[noreturn]] is not practically usable, because with it the syntax
         extern _Noreturn void func (...);
       would not be valid; such a declaration would only be valid with 'extern'
       and '_Noreturn' swapped, or without the 'extern' keyword.  However, some
       AIX system header files and several gnulib header files use precisely
       this syntax with 'extern'.  */
#  define _Noreturn [[noreturn]]
# elif ((!defined __cplusplus || defined __clang__) \
        && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
            || (!defined __STRICT_ANSI__ \
                && (__4 < __GNUC__ + (7 <= __GNUC_MINOR__) \
                    || (defined __apple_build_version__ \
                        ? 6000000 <= __apple_build_version__ \
                        : 3 < __clang_major__ + (5 <= __clang_minor__))))))
   /* _Noreturn works as-is.  */
# elif (2 < __GNUC__ + (8 <= __GNUC_MINOR__) || defined __clang__ \
        || 0x5110 <= __SUNPRO_C)
#  define _Noreturn __attribute__ ((__noreturn__))
# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
#  define _Noreturn __declspec (noreturn)
# else
#  define _Noreturn
# endif
#endif

/* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
/* C++ compatible function declaration macros.
   Copyright (C) 2010-2021 Free Software Foundation, Inc.

   This program is free software: you can redistribute it and/or modify it
   under the terms of the GNU Lesser General Public License as published
   by the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public License
   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */

#ifndef _GL_CXXDEFS_H
#define _GL_CXXDEFS_H

/* Begin/end the GNULIB_NAMESPACE namespace.  */
#if defined __cplusplus && defined GNULIB_NAMESPACE
# define _GL_BEGIN_NAMESPACE namespace GNULIB_NAMESPACE {
# define _GL_END_NAMESPACE }
#else
# define _GL_BEGIN_NAMESPACE
# define _GL_END_NAMESPACE
#endif

/* The three most frequent use cases of these macros are:

   * For providing a substitute for a function that is missing on some
     platforms, but is declared and works fine on the platforms on which
     it exists:

       #if @GNULIB_FOO@
       # if !@HAVE_FOO@
       _GL_FUNCDECL_SYS (foo, ...);
       # endif
       _GL_CXXALIAS_SYS (foo, ...);
       _GL_CXXALIASWARN (foo);
       #elif defined GNULIB_POSIXCHECK
       ...
       #endif

   * For providing a replacement for a function that exists on all platforms,
     but is broken/insufficient and needs to be replaced on some platforms:

       #if @GNULIB_FOO@
       # if @REPLACE_FOO@
       #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
       #   undef foo
       #   define foo rpl_foo
       #  endif
       _GL_FUNCDECL_RPL (foo, ...);
       _GL_CXXALIAS_RPL (foo, ...);
       # else
       _GL_CXXALIAS_SYS (foo, ...);
       # endif
       _GL_CXXALIASWARN (foo);
       #elif defined GNULIB_POSIXCHECK
       ...
       #endif

   * For providing a replacement for a function that exists on some platforms
     but is broken/insufficient and needs to be replaced on some of them and
     is additionally either missing or undeclared on some other platforms:

       #if @GNULIB_FOO@
       # if @REPLACE_FOO@
       #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
       #   undef foo
       #   define foo rpl_foo
       #  endif
       _GL_FUNCDECL_RPL (foo, ...);
       _GL_CXXALIAS_RPL (foo, ...);
       # else
       #  if !@HAVE_FOO@   or   if !@HAVE_DECL_FOO@
       _GL_FUNCDECL_SYS (foo, ...);
       #  endif
       _GL_CXXALIAS_SYS (foo, ...);
       # endif
       _GL_CXXALIASWARN (foo);
       #elif defined GNULIB_POSIXCHECK
       ...
       #endif
*/

/* _GL_EXTERN_C declaration;
   performs the declaration with C linkage.  */
#if defined __cplusplus
# define _GL_EXTERN_C extern "C"
#else
# define _GL_EXTERN_C extern
#endif

/* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes);
   declares a replacement function, named rpl_func, with the given prototype,
   consisting of return type, parameters, and attributes.
   Example:
     _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
                                  _GL_ARG_NONNULL ((1)));
 */
#define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \
  _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes)
#define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \
  _GL_EXTERN_C rettype rpl_func parameters_and_attributes

/* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes);
   declares the system function, named func, with the given prototype,
   consisting of return type, parameters, and attributes.
   Example:
     _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...)
                                  _GL_ARG_NONNULL ((1)));
 */
#define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \
  _GL_EXTERN_C rettype func parameters_and_attributes

/* _GL_CXXALIAS_RPL (func, rettype, parameters);
   declares a C++ alias called GNULIB_NAMESPACE::func
   that redirects to rpl_func, if GNULIB_NAMESPACE is defined.
   Example:
     _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));

   Wrapping rpl_func in an object with an inline conversion operator
   avoids a reference to rpl_func unless GNULIB_NAMESPACE::func is
   actually used in the program.  */
#define _GL_CXXALIAS_RPL(func,rettype,parameters) \
  _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters)
#if defined __cplusplus && defined GNULIB_NAMESPACE
# define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \
    namespace GNULIB_NAMESPACE                                \
    {                                                         \
      static const struct _gl_ ## func ## _wrapper            \
      {                                                       \
        typedef rettype (*type) parameters;                   \
                                                              \
        inline operator type () const                         \
        {                                                     \
          return ::rpl_func;                                  \
        }                                                     \
      } func = {};                                            \
    }                                                         \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#else
# define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#endif

/* _GL_CXXALIAS_MDA (func, rettype, parameters);
   is to be used when func is a Microsoft deprecated alias, on native Windows.
   It declares a C++ alias called GNULIB_NAMESPACE::func
   that redirects to _func, if GNULIB_NAMESPACE is defined.
   Example:
     _GL_CXXALIAS_MDA (open, int, (const char *filename, int flags, ...));
 */
#define _GL_CXXALIAS_MDA(func,rettype,parameters) \
  _GL_CXXALIAS_RPL_1 (func, _##func, rettype, parameters)

/* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters);
   is like  _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters);
   except that the C function rpl_func may have a slightly different
   declaration.  A cast is used to silence the "invalid conversion" error
   that would otherwise occur.  */
#if defined __cplusplus && defined GNULIB_NAMESPACE
# define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \
    namespace GNULIB_NAMESPACE                                     \
    {                                                              \
      static const struct _gl_ ## func ## _wrapper                 \
      {                                                            \
        typedef rettype (*type) parameters;                        \
                                                                   \
        inline operator type () const                              \
        {                                                          \
          return reinterpret_cast<type>(::rpl_func);               \
        }                                                          \
      } func = {};                                                 \
    }                                                              \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#else
# define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#endif

/* _GL_CXXALIAS_MDA_CAST (func, rettype, parameters);
   is like  _GL_CXXALIAS_MDA (func, rettype, parameters);
   except that the C function func may have a slightly different declaration.
   A cast is used to silence the "invalid conversion" error that would
   otherwise occur.  */
#define _GL_CXXALIAS_MDA_CAST(func,rettype,parameters) \
  _GL_CXXALIAS_RPL_CAST_1 (func, _##func, rettype, parameters)

/* _GL_CXXALIAS_SYS (func, rettype, parameters);
   declares a C++ alias called GNULIB_NAMESPACE::func
   that redirects to the system provided function func, if GNULIB_NAMESPACE
   is defined.
   Example:
     _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));

   Wrapping func in an object with an inline conversion operator
   avoids a reference to func unless GNULIB_NAMESPACE::func is
   actually used in the program.  */
#if defined __cplusplus && defined GNULIB_NAMESPACE
# define _GL_CXXALIAS_SYS(func,rettype,parameters)            \
    namespace GNULIB_NAMESPACE                                \
    {                                                         \
      static const struct _gl_ ## func ## _wrapper            \
      {                                                       \
        typedef rettype (*type) parameters;                   \
                                                              \
        inline operator type () const                         \
        {                                                     \
          return ::func;                                      \
        }                                                     \
      } func = {};                                            \
    }                                                         \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#else
# define _GL_CXXALIAS_SYS(func,rettype,parameters) \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#endif

/* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters);
   is like  _GL_CXXALIAS_SYS (func, rettype, parameters);
   except that the C function func may have a slightly different declaration.
   A cast is used to silence the "invalid conversion" error that would
   otherwise occur.  */
#if defined __cplusplus && defined GNULIB_NAMESPACE
# define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \
    namespace GNULIB_NAMESPACE                          \
    {                                                   \
      static const struct _gl_ ## func ## _wrapper      \
      {                                                 \
        typedef rettype (*type) parameters;             \
                                                        \
        inline operator type () const                   \
        {                                               \
          return reinterpret_cast<type>(::func);        \
        }                                               \
      } func = {};                                      \
    }                                                   \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#else
# define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#endif

/* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2);
   is like  _GL_CXXALIAS_SYS (func, rettype, parameters);
   except that the C function is picked among a set of overloaded functions,
   namely the one with rettype2 and parameters2.  Two consecutive casts
   are used to silence the "cannot find a match" and "invalid conversion"
   errors that would otherwise occur.  */
#if defined __cplusplus && defined GNULIB_NAMESPACE
  /* The outer cast must be a reinterpret_cast.
     The inner cast: When the function is defined as a set of overloaded
     functions, it works as a static_cast<>, choosing the designated variant.
     When the function is defined as a single variant, it works as a
     reinterpret_cast<>. The parenthesized cast syntax works both ways.  */
# define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \
    namespace GNULIB_NAMESPACE                                                \
    {                                                                         \
      static const struct _gl_ ## func ## _wrapper                            \
      {                                                                       \
        typedef rettype (*type) parameters;                                   \
                                                                              \
        inline operator type () const                                         \
        {                                                                     \
          return reinterpret_cast<type>((rettype2 (*) parameters2)(::func));  \
        }                                                                     \
      } func = {};                                                            \
    }                                                                         \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#else
# define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#endif

/* _GL_CXXALIASWARN (func);
   causes a warning to be emitted when ::func is used but not when
   GNULIB_NAMESPACE::func is used.  func must be defined without overloaded
   variants.  */
#if defined __cplusplus && defined GNULIB_NAMESPACE
# define _GL_CXXALIASWARN(func) \
   _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE)
# define _GL_CXXALIASWARN_1(func,namespace) \
   _GL_CXXALIASWARN_2 (func, namespace)
/* To work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881>,
   we enable the warning only when not optimizing.  */
# if !(defined __GNUC__ && !defined __clang__ && __OPTIMIZE__)
#  define _GL_CXXALIASWARN_2(func,namespace) \
    _GL_WARN_ON_USE (func, \
                     "The symbol ::" #func " refers to the system function. " \
                     "Use " #namespace "::" #func " instead.")
# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
#  define _GL_CXXALIASWARN_2(func,namespace) \
     extern __typeof__ (func) func
# else
#  define _GL_CXXALIASWARN_2(func,namespace) \
     _GL_EXTERN_C int _gl_cxxalias_dummy
# endif
#else
# define _GL_CXXALIASWARN(func) \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#endif

/* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes);
   causes a warning to be emitted when the given overloaded variant of ::func
   is used but not when GNULIB_NAMESPACE::func is used.  */
#if defined __cplusplus && defined GNULIB_NAMESPACE
# define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \
   _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \
                        GNULIB_NAMESPACE)
# define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \
   _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace)
/* To work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881>,
   we enable the warning only when not optimizing.  */
# if !(defined __GNUC__ && !defined __clang__ && __OPTIMIZE__)
#  define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
    _GL_WARN_ON_USE_CXX (func, rettype, rettype, parameters_and_attributes, \
                         "The symbol ::" #func " refers to the system function. " \
                         "Use " #namespace "::" #func " instead.")
# else
#  define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
     _GL_EXTERN_C int _gl_cxxalias_dummy
# endif
#else
# define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \
    _GL_EXTERN_C int _gl_cxxalias_dummy
#endif

#endif /* _GL_CXXDEFS_H */

/* The definition of _GL_ARG_NONNULL is copied here.  */
/* A C macro for declaring that specific arguments must not be NULL.
   Copyright (C) 2009-2021 Free Software Foundation, Inc.

   This program is free software: you can redistribute it and/or modify it
   under the terms of the GNU Lesser General Public License as published
   by the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public License
   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */

/* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools
   that the values passed as arguments n, ..., m must be non-NULL pointers.
   n = 1 stands for the first argument, n = 2 for the second argument etc.  */
#ifndef _GL_ARG_NONNULL
# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || defined __clang__
#  define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params))
# else
#  define _GL_ARG_NONNULL(params)
# endif
#endif

/* The definition of _GL_WARN_ON_USE is copied here.  */
/* A C macro for emitting warnings if a function is used.
   Copyright (C) 2010-2021 Free Software Foundation, Inc.

   This program is free software: you can redistribute it and/or modify it
   under the terms of the GNU Lesser General Public License as published
   by the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public License
   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */

/* _GL_WARN_ON_USE (function, "literal string") issues a declaration
   for FUNCTION which will then trigger a compiler warning containing
   the text of "literal string" anywhere that function is called, if
   supported by the compiler.  If the compiler does not support this
   feature, the macro expands to an unused extern declaration.

   _GL_WARN_ON_USE_ATTRIBUTE ("literal string") expands to the
   attribute used in _GL_WARN_ON_USE.  If the compiler does not support
   this feature, it expands to empty.

   These macros are useful for marking a function as a potential
   portability trap, with the intent that "literal string" include
   instructions on the replacement function that should be used
   instead.
   _GL_WARN_ON_USE is for functions with 'extern' linkage.
   _GL_WARN_ON_USE_ATTRIBUTE is for functions with 'static' or 'inline'
   linkage.

   However, one of the reasons that a function is a portability trap is
   if it has the wrong signature.  Declaring FUNCTION with a different
   signature in C is a compilation error, so this macro must use the
   same type as any existing declaration so that programs that avoid
   the problematic FUNCTION do not fail to compile merely because they
   included a header that poisoned the function.  But this implies that
   _GL_WARN_ON_USE is only safe to use if FUNCTION is known to already
   have a declaration.  Use of this macro implies that there must not
   be any other macro hiding the declaration of FUNCTION; but
   undefining FUNCTION first is part of the poisoning process anyway
   (although for symbols that are provided only via a macro, the result
   is a compilation error rather than a warning containing
   "literal string").  Also note that in C++, it is only safe to use if
   FUNCTION has no overloads.

   For an example, it is possible to poison 'getline' by:
   - adding a call to gl_WARN_ON_USE_PREPARE([[#include <stdio.h>]],
     [getline]) in configure.ac, which potentially defines
     HAVE_RAW_DECL_GETLINE
   - adding this code to a header that wraps the system <stdio.h>:
     #undef getline
     #if HAVE_RAW_DECL_GETLINE
     _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but"
       "not universally present; use the gnulib module getline");
     #endif

   It is not possible to directly poison global variables.  But it is
   possible to write a wrapper accessor function, and poison that
   (less common usage, like &environ, will cause a compilation error
   rather than issue the nice warning, but the end result of informing
   the developer about their portability problem is still achieved):
     #if HAVE_RAW_DECL_ENVIRON
     static char ***
     rpl_environ (void) { return &environ; }
     _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared");
     # undef environ
     # define environ (*rpl_environ ())
     #endif
   or better (avoiding contradictory use of 'static' and 'extern'):
     #if HAVE_RAW_DECL_ENVIRON
     static char ***
     _GL_WARN_ON_USE_ATTRIBUTE ("environ is not always properly declared")
     rpl_environ (void) { return &environ; }
     # undef environ
     # define environ (*rpl_environ ())
     #endif
   */
#ifndef _GL_WARN_ON_USE

# if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)
/* A compiler attribute is available in gcc versions 4.3.0 and later.  */
#  define _GL_WARN_ON_USE(function, message) \
extern __typeof__ (function) function __attribute__ ((__warning__ (message)))
#  define _GL_WARN_ON_USE_ATTRIBUTE(message) \
  __attribute__ ((__warning__ (message)))
# elif __clang_major__ >= 4
/* Another compiler attribute is available in clang.  */
#  define _GL_WARN_ON_USE(function, message) \
extern __typeof__ (function) function \
  __attribute__ ((__diagnose_if__ (1, message, "warning")))
#  define _GL_WARN_ON_USE_ATTRIBUTE(message) \
  __attribute__ ((__diagnose_if__ (1, message, "warning")))
# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
/* Verify the existence of the function.  */
#  define _GL_WARN_ON_USE(function, message) \
extern __typeof__ (function) function
#  define _GL_WARN_ON_USE_ATTRIBUTE(message)
# else /* Unsupported.  */
#  define _GL_WARN_ON_USE(function, message) \
_GL_WARN_EXTERN_C int _gl_warn_on_use
#  define _GL_WARN_ON_USE_ATTRIBUTE(message)
# endif
#endif

/* _GL_WARN_ON_USE_CXX (function, rettype_gcc, rettype_clang, parameters_and_attributes, "message")
   is like _GL_WARN_ON_USE (function, "message"), except that in C++ mode the
   function is declared with the given prototype, consisting of return type,
   parameters, and attributes.
   This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does
   not work in this case.  */
#ifndef _GL_WARN_ON_USE_CXX
# if !defined __cplusplus
#  define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \
     _GL_WARN_ON_USE (function, msg)
# else
#  if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)
/* A compiler attribute is available in gcc versions 4.3.0 and later.  */
#   define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \
extern rettype_gcc function parameters_and_attributes \
  __attribute__ ((__warning__ (msg)))
#  elif __clang_major__ >= 4
/* Another compiler attribute is available in clang.  */
#   define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \
extern rettype_clang function parameters_and_attributes \
  __attribute__ ((__diagnose_if__ (1, msg, "warning")))
#  elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
/* Verify the existence of the function.  */
#   define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \
extern rettype_gcc function parameters_and_attributes
#  else /* Unsupported.  */
#   define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \
_GL_WARN_EXTERN_C int _gl_warn_on_use
#  endif
# endif
#endif

/* _GL_WARN_EXTERN_C declaration;
   performs the declaration with C linkage.  */
#ifndef _GL_WARN_EXTERN_C
# if defined __cplusplus
#  define _GL_WARN_EXTERN_C extern "C"
# else
#  define _GL_WARN_EXTERN_C extern
# endif
#endif


/* Some systems do not define EXIT_*, despite otherwise supporting C89.  */
#ifndef EXIT_SUCCESS
# define EXIT_SUCCESS 0
#endif
/* Tandem/NSK and other platforms that define EXIT_FAILURE as -1 interfere
   with proper operation of xargs.  */
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
#elif EXIT_FAILURE != 1
# undef EXIT_FAILURE
# define EXIT_FAILURE 1
#endif


#if 0
/* Terminate the current process with the given return code, without running
   the 'atexit' handlers.  */
# if !1
_GL_FUNCDECL_SYS (_Exit, _Noreturn void, (int status));
# endif
_GL_CXXALIAS_SYS (_Exit, void, (int status));
_GL_CXXALIASWARN (_Exit);
#elif defined GNULIB_POSIXCHECK
# undef _Exit
# if HAVE_RAW_DECL__EXIT
_GL_WARN_ON_USE (_Exit, "_Exit is unportable - "
                 "use gnulib module _Exit for portability");
# endif
#endif


/* Allocate memory with indefinite extent and specified alignment.  */
#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef aligned_alloc
#   define aligned_alloc rpl_aligned_alloc
#  endif
_GL_FUNCDECL_RPL (aligned_alloc, void *, (size_t alignment, size_t size));
_GL_CXXALIAS_RPL (aligned_alloc, void *, (size_t alignment, size_t size));
# else
#  if 1
_GL_CXXALIAS_SYS (aligned_alloc, void *, (size_t alignment, size_t size));
#  endif
# endif
# if 1
_GL_CXXALIASWARN (aligned_alloc);
# endif
#elif defined GNULIB_POSIXCHECK
# undef aligned_alloc
# if HAVE_RAW_DECL_ALIGNED_ALLOC
_GL_WARN_ON_USE (aligned_alloc, "aligned_alloc is not portable - "
                 "use gnulib module aligned_alloc for portability");
# endif
#endif

#if 0
/* Parse a signed decimal integer.
   Returns the value of the integer.  Errors are not detected.  */
# if !1
_GL_FUNCDECL_SYS (atoll, long long, (const char *string)
                                    _GL_ATTRIBUTE_PURE
                                    _GL_ARG_NONNULL ((1)));
# endif
_GL_CXXALIAS_SYS (atoll, long long, (const char *string));
_GL_CXXALIASWARN (atoll);
#elif defined GNULIB_POSIXCHECK
# undef atoll
# if HAVE_RAW_DECL_ATOLL
_GL_WARN_ON_USE (atoll, "atoll is unportable - "
                 "use gnulib module atoll for portability");
# endif
#endif

#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef calloc
#   define calloc rpl_calloc
#  endif
_GL_FUNCDECL_RPL (calloc, void *, (size_t nmemb, size_t size));
_GL_CXXALIAS_RPL (calloc, void *, (size_t nmemb, size_t size));
# else
_GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size));
# endif
# if __GLIBC__ >= 2
_GL_CXXALIASWARN (calloc);
# endif
#elif defined GNULIB_POSIXCHECK
# undef calloc
/* Assume calloc is always declared.  */
_GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - "
                 "use gnulib module calloc-posix for portability");
#endif

#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   define canonicalize_file_name rpl_canonicalize_file_name
#  endif
_GL_FUNCDECL_RPL (canonicalize_file_name, char *, (const char *name)
                                                  _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (canonicalize_file_name, char *, (const char *name));
# else
#  if !1
_GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name)
                                                  _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name));
# endif
# ifndef GNULIB_defined_canonicalize_file_name
#  define GNULIB_defined_canonicalize_file_name \
     (!1 || 0)
# endif
_GL_CXXALIASWARN (canonicalize_file_name);
#elif defined GNULIB_POSIXCHECK
# undef canonicalize_file_name
# if HAVE_RAW_DECL_CANONICALIZE_FILE_NAME
_GL_WARN_ON_USE (canonicalize_file_name,
                 "canonicalize_file_name is unportable - "
                 "use gnulib module canonicalize-lgpl for portability");
# endif
#endif

#if 1
/* On native Windows, map 'ecvt' to '_ecvt', so that -loldnames is not
   required.  In C++ with GNULIB_NAMESPACE, avoid differences between
   platforms by defining GNULIB_NAMESPACE::ecvt on all platforms that have
   it.  */
# if defined _WIN32 && !defined __CYGWIN__
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef ecvt
#   define ecvt _ecvt
#  endif
_GL_CXXALIAS_MDA (ecvt, char *,
                  (double number, int ndigits, int *decptp, int *signp));
# else
#  if 1
_GL_CXXALIAS_SYS (ecvt, char *,
                  (double number, int ndigits, int *decptp, int *signp));
#  endif
# endif
# if (defined _WIN32 && !defined __CYGWIN__) || 1
_GL_CXXALIASWARN (ecvt);
# endif
#endif

#if 1
/* On native Windows, map 'fcvt' to '_fcvt', so that -loldnames is not
   required.  In C++ with GNULIB_NAMESPACE, avoid differences between
   platforms by defining GNULIB_NAMESPACE::fcvt on all platforms that have
   it.  */
# if defined _WIN32 && !defined __CYGWIN__
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef fcvt
#   define fcvt _fcvt
#  endif
_GL_CXXALIAS_MDA (fcvt, char *,
                  (double number, int ndigits, int *decptp, int *signp));
# else
#  if 1
_GL_CXXALIAS_SYS (fcvt, char *,
                  (double number, int ndigits, int *decptp, int *signp));
#  endif
# endif
# if (defined _WIN32 && !defined __CYGWIN__) || 1
_GL_CXXALIASWARN (fcvt);
# endif
#endif

#if 1
# if 1
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef free
#   define free rpl_free
#  endif
_GL_FUNCDECL_RPL (free, void, (void *ptr));
_GL_CXXALIAS_RPL (free, void, (void *ptr));
# else
_GL_CXXALIAS_SYS (free, void, (void *ptr));
# endif
# if __GLIBC__ >= 2
_GL_CXXALIASWARN (free);
# endif
#elif defined GNULIB_POSIXCHECK
# undef free
/* Assume free is always declared.  */
_GL_WARN_ON_USE (free, "free is not future POSIX compliant everywhere - "
                 "use gnulib module free for portability");
#endif

#if 1
/* On native Windows, map 'gcvt' to '_gcvt', so that -loldnames is not
   required.  In C++ with GNULIB_NAMESPACE, avoid differences between
   platforms by defining GNULIB_NAMESPACE::gcvt on all platforms that have
   it.  */
# if defined _WIN32 && !defined __CYGWIN__
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef gcvt
#   define gcvt _gcvt
#  endif
_GL_CXXALIAS_MDA (gcvt, char *, (double number, int ndigits, char *buf));
# else
#  if 1
_GL_CXXALIAS_SYS (gcvt, char *, (double number, int ndigits, char *buf));
#  endif
# endif
# if (defined _WIN32 && !defined __CYGWIN__) || 1
_GL_CXXALIASWARN (gcvt);
# endif
#endif

#if 0
/* Store max(NELEM,3) load average numbers in LOADAVG[].
   The three numbers are the load average of the last 1 minute, the last 5
   minutes, and the last 15 minutes, respectively.
   LOADAVG is an array of NELEM numbers.  */
# if !1
_GL_FUNCDECL_SYS (getloadavg, int, (double loadavg[], int nelem)
                                   _GL_ARG_NONNULL ((1)));
# endif
_GL_CXXALIAS_SYS (getloadavg, int, (double loadavg[], int nelem));
_GL_CXXALIASWARN (getloadavg);
#elif defined GNULIB_POSIXCHECK
# undef getloadavg
# if HAVE_RAW_DECL_GETLOADAVG
_GL_WARN_ON_USE (getloadavg, "getloadavg is not portable - "
                 "use gnulib module getloadavg for portability");
# endif
#endif

#if 0
/* Assuming *OPTIONP is a comma separated list of elements of the form
   "token" or "token=value", getsubopt parses the first of these elements.
   If the first element refers to a "token" that is member of the given
   NULL-terminated array of tokens:
     - It replaces the comma with a NUL byte, updates *OPTIONP to point past
       the first option and the comma, sets *VALUEP to the value of the
       element (or NULL if it doesn't contain an "=" sign),
     - It returns the index of the "token" in the given array of tokens.
   Otherwise it returns -1, and *OPTIONP and *VALUEP are undefined.
   For more details see the POSIX specification.
   https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsubopt.html */
# if !1
_GL_FUNCDECL_SYS (getsubopt, int,
                  (char **optionp, char *const *tokens, char **valuep)
                  _GL_ARG_NONNULL ((1, 2, 3)));
# endif
_GL_CXXALIAS_SYS (getsubopt, int,
                  (char **optionp, char *const *tokens, char **valuep));
_GL_CXXALIASWARN (getsubopt);
#elif defined GNULIB_POSIXCHECK
# undef getsubopt
# if HAVE_RAW_DECL_GETSUBOPT
_GL_WARN_ON_USE (getsubopt, "getsubopt is unportable - "
                 "use gnulib module getsubopt for portability");
# endif
#endif

#if 0
/* Change the ownership and access permission of the slave side of the
   pseudo-terminal whose master side is specified by FD.  */
# if !1
_GL_FUNCDECL_SYS (grantpt, int, (int fd));
# endif
_GL_CXXALIAS_SYS (grantpt, int, (int fd));
_GL_CXXALIASWARN (grantpt);
#elif defined GNULIB_POSIXCHECK
# undef grantpt
# if HAVE_RAW_DECL_GRANTPT
_GL_WARN_ON_USE (grantpt, "grantpt is not portable - "
                 "use gnulib module grantpt for portability");
# endif
#endif

/* If _GL_USE_STDLIB_ALLOC is nonzero, the including module does not
   rely on GNU or POSIX semantics for malloc and realloc (for example,
   by never specifying a zero size), so it does not need malloc or
   realloc to be redefined.  */
#if 1
# if 1
#  if !((defined __cplusplus && defined GNULIB_NAMESPACE) \
        || _GL_USE_STDLIB_ALLOC)
#   undef malloc
#   define malloc rpl_malloc
#  endif
_GL_FUNCDECL_RPL (malloc, void *, (size_t size));
_GL_CXXALIAS_RPL (malloc, void *, (size_t size));
# else
_GL_CXXALIAS_SYS (malloc, void *, (size_t size));
# endif
# if __GLIBC__ >= 2
_GL_CXXALIASWARN (malloc);
# endif
#elif defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC
# undef malloc
/* Assume malloc is always declared.  */
_GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - "
                 "use gnulib module malloc-posix for portability");
#endif

/* Convert a multibyte character to a wide character.  */
#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef mbtowc
#   define mbtowc rpl_mbtowc
#  endif
_GL_FUNCDECL_RPL (mbtowc, int,
                  (wchar_t *restrict pwc, const char *restrict s, size_t n));
_GL_CXXALIAS_RPL (mbtowc, int,
                  (wchar_t *restrict pwc, const char *restrict s, size_t n));
# else
#  if !1
_GL_FUNCDECL_SYS (mbtowc, int,
                  (wchar_t *restrict pwc, const char *restrict s, size_t n));
#  endif
_GL_CXXALIAS_SYS (mbtowc, int,
                  (wchar_t *restrict pwc, const char *restrict s, size_t n));
# endif
# if __GLIBC__ >= 2
_GL_CXXALIASWARN (mbtowc);
# endif
#elif defined GNULIB_POSIXCHECK
# undef mbtowc
# if HAVE_RAW_DECL_MBTOWC
_GL_WARN_ON_USE (mbtowc, "mbtowc is not portable - "
                 "use gnulib module mbtowc for portability");
# endif
#endif

#if 0
/* Create a unique temporary directory from TEMPLATE.
   The last six characters of TEMPLATE must be "XXXXXX";
   they are replaced with a string that makes the directory name unique.
   Returns TEMPLATE, or a null pointer if it cannot get a unique name.
   The directory is created mode 700.  */
# if !1
_GL_FUNCDECL_SYS (mkdtemp, char *, (char * /*template*/) _GL_ARG_NONNULL ((1)));
# endif
_GL_CXXALIAS_SYS (mkdtemp, char *, (char * /*template*/));
_GL_CXXALIASWARN (mkdtemp);
#elif defined GNULIB_POSIXCHECK
# undef mkdtemp
# if HAVE_RAW_DECL_MKDTEMP
_GL_WARN_ON_USE (mkdtemp, "mkdtemp is unportable - "
                 "use gnulib module mkdtemp for portability");
# endif
#endif

#if 0
/* Create a unique temporary file from TEMPLATE.
   The last six characters of TEMPLATE must be "XXXXXX";
   they are replaced with a string that makes the file name unique.
   The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
   and O_TEXT, O_BINARY (defined in "binary-io.h").
   The file is then created, with the specified flags, ensuring it didn't exist
   before.
   The file is created read-write (mask at least 0600 & ~umask), but it may be
   world-readable and world-writable (mask 0666 & ~umask), depending on the
   implementation.
   Returns the open file descriptor if successful, otherwise -1 and errno
   set.  */
# if !1
_GL_FUNCDECL_SYS (mkostemp, int, (char * /*template*/, int /*flags*/)
                                 _GL_ARG_NONNULL ((1)));
# endif
_GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int /*flags*/));
_GL_CXXALIASWARN (mkostemp);
#elif defined GNULIB_POSIXCHECK
# undef mkostemp
# if HAVE_RAW_DECL_MKOSTEMP
_GL_WARN_ON_USE (mkostemp, "mkostemp is unportable - "
                 "use gnulib module mkostemp for portability");
# endif
#endif

#if 0
/* Create a unique temporary file from TEMPLATE.
   The last six characters of TEMPLATE before a suffix of length
   SUFFIXLEN must be "XXXXXX";
   they are replaced with a string that makes the file name unique.
   The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
   and O_TEXT, O_BINARY (defined in "binary-io.h").
   The file is then created, with the specified flags, ensuring it didn't exist
   before.
   The file is created read-write (mask at least 0600 & ~umask), but it may be
   world-readable and world-writable (mask 0666 & ~umask), depending on the
   implementation.
   Returns the open file descriptor if successful, otherwise -1 and errno
   set.  */
# if !1
_GL_FUNCDECL_SYS (mkostemps, int,
                  (char * /*template*/, int /*suffixlen*/, int /*flags*/)
                  _GL_ARG_NONNULL ((1)));
# endif
_GL_CXXALIAS_SYS (mkostemps, int,
                  (char * /*template*/, int /*suffixlen*/, int /*flags*/));
_GL_CXXALIASWARN (mkostemps);
#elif defined GNULIB_POSIXCHECK
# undef mkostemps
# if HAVE_RAW_DECL_MKOSTEMPS
_GL_WARN_ON_USE (mkostemps, "mkostemps is unportable - "
                 "use gnulib module mkostemps for portability");
# endif
#endif

#if 0
/* Create a unique temporary file from TEMPLATE.
   The last six characters of TEMPLATE must be "XXXXXX";
   they are replaced with a string that makes the file name unique.
   The file is then created, ensuring it didn't exist before.
   The file is created read-write (mask at least 0600 & ~umask), but it may be
   world-readable and world-writable (mask 0666 & ~umask), depending on the
   implementation.
   Returns the open file descriptor if successful, otherwise -1 and errno
   set.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   define mkstemp rpl_mkstemp
#  endif
_GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/));
# else
#  if ! 1
_GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/));
# endif
_GL_CXXALIASWARN (mkstemp);
#elif defined GNULIB_POSIXCHECK
# undef mkstemp
# if HAVE_RAW_DECL_MKSTEMP
_GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - "
                 "use gnulib module mkstemp for portability");
# endif
#endif

#if 0
/* Create a unique temporary file from TEMPLATE.
   The last six characters of TEMPLATE prior to a suffix of length
   SUFFIXLEN must be "XXXXXX";
   they are replaced with a string that makes the file name unique.
   The file is then created, ensuring it didn't exist before.
   The file is created read-write (mask at least 0600 & ~umask), but it may be
   world-readable and world-writable (mask 0666 & ~umask), depending on the
   implementation.
   Returns the open file descriptor if successful, otherwise -1 and errno
   set.  */
# if !1
_GL_FUNCDECL_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/)
                                 _GL_ARG_NONNULL ((1)));
# endif
_GL_CXXALIAS_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/));
_GL_CXXALIASWARN (mkstemps);
#elif defined GNULIB_POSIXCHECK
# undef mkstemps
# if HAVE_RAW_DECL_MKSTEMPS
_GL_WARN_ON_USE (mkstemps, "mkstemps is unportable - "
                 "use gnulib module mkstemps for portability");
# endif
#endif

#if 1
/* On native Windows, map 'mktemp' to '_mktemp', so that -loldnames is not
   required.  In C++ with GNULIB_NAMESPACE, avoid differences between
   platforms by defining GNULIB_NAMESPACE::mktemp always.  */
# if defined _WIN32 && !defined __CYGWIN__
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef mktemp
#   define mktemp _mktemp
#  endif
_GL_CXXALIAS_MDA (mktemp, char *, (char * /*template*/));
# else
_GL_CXXALIAS_SYS (mktemp, char *, (char * /*template*/));
# endif
_GL_CXXALIASWARN (mktemp);
#endif

/* Allocate memory with indefinite extent and specified alignment.  */
#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef posix_memalign
#   define posix_memalign rpl_posix_memalign
#  endif
_GL_FUNCDECL_RPL (posix_memalign, int,
                  (void **memptr, size_t alignment, size_t size)
                  _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (posix_memalign, int,
                  (void **memptr, size_t alignment, size_t size));
# else
#  if 1
_GL_CXXALIAS_SYS (posix_memalign, int,
                  (void **memptr, size_t alignment, size_t size));
#  endif
# endif
# if 1
_GL_CXXALIASWARN (posix_memalign);
# endif
#elif defined GNULIB_POSIXCHECK
# undef posix_memalign
# if HAVE_RAW_DECL_POSIX_MEMALIGN
_GL_WARN_ON_USE (posix_memalign, "posix_memalign is not portable - "
                 "use gnulib module posix_memalign for portability");
# endif
#endif

#if 0
/* Return an FD open to the master side of a pseudo-terminal.  Flags should
   include O_RDWR, and may also include O_NOCTTY.  */
# if !1
_GL_FUNCDECL_SYS (posix_openpt, int, (int flags));
# endif
_GL_CXXALIAS_SYS (posix_openpt, int, (int flags));
_GL_CXXALIASWARN (posix_openpt);
#elif defined GNULIB_POSIXCHECK
# undef posix_openpt
# if HAVE_RAW_DECL_POSIX_OPENPT
_GL_WARN_ON_USE (posix_openpt, "posix_openpt is not portable - "
                 "use gnulib module posix_openpt for portability");
# endif
#endif

#if 0
/* Return the pathname of the pseudo-terminal slave associated with
   the master FD is open on, or NULL on errors.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef ptsname
#   define ptsname rpl_ptsname
#  endif
_GL_FUNCDECL_RPL (ptsname, char *, (int fd));
_GL_CXXALIAS_RPL (ptsname, char *, (int fd));
# else
#  if !1
_GL_FUNCDECL_SYS (ptsname, char *, (int fd));
#  endif
_GL_CXXALIAS_SYS (ptsname, char *, (int fd));
# endif
_GL_CXXALIASWARN (ptsname);
#elif defined GNULIB_POSIXCHECK
# undef ptsname
# if HAVE_RAW_DECL_PTSNAME
_GL_WARN_ON_USE (ptsname, "ptsname is not portable - "
                 "use gnulib module ptsname for portability");
# endif
#endif

#if 0
/* Set the pathname of the pseudo-terminal slave associated with
   the master FD is open on and return 0, or set errno and return
   non-zero on errors.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef ptsname_r
#   define ptsname_r rpl_ptsname_r
#  endif
_GL_FUNCDECL_RPL (ptsname_r, int, (int fd, char *buf, size_t len));
_GL_CXXALIAS_RPL (ptsname_r, int, (int fd, char *buf, size_t len));
# else
#  if !1
_GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len));
#  endif
_GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len));
# endif
# ifndef GNULIB_defined_ptsname_r
#  define GNULIB_defined_ptsname_r (!1 || 0)
# endif
_GL_CXXALIASWARN (ptsname_r);
#elif defined GNULIB_POSIXCHECK
# undef ptsname_r
# if HAVE_RAW_DECL_PTSNAME_R
_GL_WARN_ON_USE (ptsname_r, "ptsname_r is not portable - "
                 "use gnulib module ptsname_r for portability");
# endif
#endif

#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef putenv
#   define putenv rpl_putenv
#  endif
_GL_FUNCDECL_RPL (putenv, int, (char *string) _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (putenv, int, (char *string));
# elif defined _WIN32 && !defined __CYGWIN__
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef putenv
#   define putenv _putenv
#  endif
_GL_CXXALIAS_MDA (putenv, int, (char *string));
# else
_GL_CXXALIAS_SYS (putenv, int, (char *string));
# endif
_GL_CXXALIASWARN (putenv);
#elif 1
/* On native Windows, map 'putenv' to '_putenv', so that -loldnames is not
   required.  In C++ with GNULIB_NAMESPACE, avoid differences between
   platforms by defining GNULIB_NAMESPACE::putenv always.  */
# if defined _WIN32 && !defined __CYGWIN__
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef putenv
#   define putenv _putenv
#  endif
/* Need to cast, because on mingw, the parameter is either
   'const char *string' or 'char *string'.  */
_GL_CXXALIAS_MDA_CAST (putenv, int, (char *string));
# else
_GL_CXXALIAS_SYS (putenv, int, (char *string));
# endif
_GL_CXXALIASWARN (putenv);
#endif

#if 0
/* Sort an array of NMEMB elements, starting at address BASE, each element
   occupying SIZE bytes, in ascending order according to the comparison
   function COMPARE.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef qsort_r
#   define qsort_r rpl_qsort_r
#  endif
_GL_FUNCDECL_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size,
                                  int (*compare) (void const *, void const *,
                                                  void *),
                                  void *arg) _GL_ARG_NONNULL ((1, 4)));
_GL_CXXALIAS_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size,
                                  int (*compare) (void const *, void const *,
                                                  void *),
                                  void *arg));
# else
#  if !1
_GL_FUNCDECL_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size,
                                  int (*compare) (void const *, void const *,
                                                  void *),
                                  void *arg) _GL_ARG_NONNULL ((1, 4)));
#  endif
_GL_CXXALIAS_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size,
                                  int (*compare) (void const *, void const *,
                                                  void *),
                                  void *arg));
# endif
_GL_CXXALIASWARN (qsort_r);
#elif defined GNULIB_POSIXCHECK
# undef qsort_r
# if HAVE_RAW_DECL_QSORT_R
_GL_WARN_ON_USE (qsort_r, "qsort_r is not portable - "
                 "use gnulib module qsort_r for portability");
# endif
#endif


#if 0
# if !1
#  ifndef RAND_MAX
#   define RAND_MAX 2147483647
#  endif
# endif
#endif


#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef random
#   define random rpl_random
#  endif
_GL_FUNCDECL_RPL (random, long, (void));
_GL_CXXALIAS_RPL (random, long, (void));
# else
#  if !1
_GL_FUNCDECL_SYS (random, long, (void));
#  endif
/* Need to cast, because on Haiku, the return type is
                               int.  */
_GL_CXXALIAS_SYS_CAST (random, long, (void));
# endif
_GL_CXXALIASWARN (random);
#elif defined GNULIB_POSIXCHECK
# undef random
# if HAVE_RAW_DECL_RANDOM
_GL_WARN_ON_USE (random, "random is unportable - "
                 "use gnulib module random for portability");
# endif
#endif

#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef srandom
#   define srandom rpl_srandom
#  endif
_GL_FUNCDECL_RPL (srandom, void, (unsigned int seed));
_GL_CXXALIAS_RPL (srandom, void, (unsigned int seed));
# else
#  if !1
_GL_FUNCDECL_SYS (srandom, void, (unsigned int seed));
#  endif
/* Need to cast, because on FreeBSD, the first parameter is
                                       unsigned long seed.  */
_GL_CXXALIAS_SYS_CAST (srandom, void, (unsigned int seed));
# endif
_GL_CXXALIASWARN (srandom);
#elif defined GNULIB_POSIXCHECK
# undef srandom
# if HAVE_RAW_DECL_SRANDOM
_GL_WARN_ON_USE (srandom, "srandom is unportable - "
                 "use gnulib module random for portability");
# endif
#endif

#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef initstate
#   define initstate rpl_initstate
#  endif
_GL_FUNCDECL_RPL (initstate, char *,
                  (unsigned int seed, char *buf, size_t buf_size)
                  _GL_ARG_NONNULL ((2)));
_GL_CXXALIAS_RPL (initstate, char *,
                  (unsigned int seed, char *buf, size_t buf_size));
# else
#  if !1 || !1
_GL_FUNCDECL_SYS (initstate, char *,
                  (unsigned int seed, char *buf, size_t buf_size)
                  _GL_ARG_NONNULL ((2)));
#  endif
/* Need to cast, because on FreeBSD, the first parameter is
                        unsigned long seed.  */
_GL_CXXALIAS_SYS_CAST (initstate, char *,
                       (unsigned int seed, char *buf, size_t buf_size));
# endif
_GL_CXXALIASWARN (initstate);
#elif defined GNULIB_POSIXCHECK
# undef initstate
# if HAVE_RAW_DECL_INITSTATE
_GL_WARN_ON_USE (initstate, "initstate is unportable - "
                 "use gnulib module random for portability");
# endif
#endif

#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef setstate
#   define setstate rpl_setstate
#  endif
_GL_FUNCDECL_RPL (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (setstate, char *, (char *arg_state));
# else
#  if !1 || !1
_GL_FUNCDECL_SYS (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1)));
#  endif
/* Need to cast, because on Mac OS X 10.13, HP-UX, Solaris the first parameter
   is                                     const char *arg_state.  */
_GL_CXXALIAS_SYS_CAST (setstate, char *, (char *arg_state));
# endif
_GL_CXXALIASWARN (setstate);
#elif defined GNULIB_POSIXCHECK
# undef setstate
# if HAVE_RAW_DECL_SETSTATE
_GL_WARN_ON_USE (setstate, "setstate is unportable - "
                 "use gnulib module random for portability");
# endif
#endif


#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef random_r
#   define random_r rpl_random_r
#  endif
_GL_FUNCDECL_RPL (random_r, int, (struct random_data *buf, int32_t *result)
                                 _GL_ARG_NONNULL ((1, 2)));
_GL_CXXALIAS_RPL (random_r, int, (struct random_data *buf, int32_t *result));
# else
#  if !1
_GL_FUNCDECL_SYS (random_r, int, (struct random_data *buf, int32_t *result)
                                 _GL_ARG_NONNULL ((1, 2)));
#  endif
_GL_CXXALIAS_SYS (random_r, int, (struct random_data *buf, int32_t *result));
# endif
_GL_CXXALIASWARN (random_r);
#elif defined GNULIB_POSIXCHECK
# undef random_r
# if HAVE_RAW_DECL_RANDOM_R
_GL_WARN_ON_USE (random_r, "random_r is unportable - "
                 "use gnulib module random_r for portability");
# endif
#endif

#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef srandom_r
#   define srandom_r rpl_srandom_r
#  endif
_GL_FUNCDECL_RPL (srandom_r, int,
                  (unsigned int seed, struct random_data *rand_state)
                  _GL_ARG_NONNULL ((2)));
_GL_CXXALIAS_RPL (srandom_r, int,
                  (unsigned int seed, struct random_data *rand_state));
# else
#  if !1
_GL_FUNCDECL_SYS (srandom_r, int,
                  (unsigned int seed, struct random_data *rand_state)
                  _GL_ARG_NONNULL ((2)));
#  endif
_GL_CXXALIAS_SYS (srandom_r, int,
                  (unsigned int seed, struct random_data *rand_state));
# endif
_GL_CXXALIASWARN (srandom_r);
#elif defined GNULIB_POSIXCHECK
# undef srandom_r
# if HAVE_RAW_DECL_SRANDOM_R
_GL_WARN_ON_USE (srandom_r, "srandom_r is unportable - "
                 "use gnulib module random_r for portability");
# endif
#endif

#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef initstate_r
#   define initstate_r rpl_initstate_r
#  endif
_GL_FUNCDECL_RPL (initstate_r, int,
                  (unsigned int seed, char *buf, size_t buf_size,
                   struct random_data *rand_state)
                  _GL_ARG_NONNULL ((2, 4)));
_GL_CXXALIAS_RPL (initstate_r, int,
                  (unsigned int seed, char *buf, size_t buf_size,
                   struct random_data *rand_state));
# else
#  if !1
_GL_FUNCDECL_SYS (initstate_r, int,
                  (unsigned int seed, char *buf, size_t buf_size,
                   struct random_data *rand_state)
                  _GL_ARG_NONNULL ((2, 4)));
#  endif
/* Need to cast, because on Haiku, the third parameter is
                                                     unsigned long buf_size.  */
_GL_CXXALIAS_SYS_CAST (initstate_r, int,
                       (unsigned int seed, char *buf, size_t buf_size,
                        struct random_data *rand_state));
# endif
_GL_CXXALIASWARN (initstate_r);
#elif defined GNULIB_POSIXCHECK
# undef initstate_r
# if HAVE_RAW_DECL_INITSTATE_R
_GL_WARN_ON_USE (initstate_r, "initstate_r is unportable - "
                 "use gnulib module random_r for portability");
# endif
#endif

#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef setstate_r
#   define setstate_r rpl_setstate_r
#  endif
_GL_FUNCDECL_RPL (setstate_r, int,
                  (char *arg_state, struct random_data *rand_state)
                  _GL_ARG_NONNULL ((1, 2)));
_GL_CXXALIAS_RPL (setstate_r, int,
                  (char *arg_state, struct random_data *rand_state));
# else
#  if !1
_GL_FUNCDECL_SYS (setstate_r, int,
                  (char *arg_state, struct random_data *rand_state)
                  _GL_ARG_NONNULL ((1, 2)));
#  endif
/* Need to cast, because on Haiku, the first parameter is
                        void *arg_state.  */
_GL_CXXALIAS_SYS_CAST (setstate_r, int,
                       (char *arg_state, struct random_data *rand_state));
# endif
_GL_CXXALIASWARN (setstate_r);
#elif defined GNULIB_POSIXCHECK
# undef setstate_r
# if HAVE_RAW_DECL_SETSTATE_R
_GL_WARN_ON_USE (setstate_r, "setstate_r is unportable - "
                 "use gnulib module random_r for portability");
# endif
#endif


#if 0
# if 0
#  if !((defined __cplusplus && defined GNULIB_NAMESPACE) \
        || _GL_USE_STDLIB_ALLOC)
#   undef realloc
#   define realloc rpl_realloc
#  endif
_GL_FUNCDECL_RPL (realloc, void *, (void *ptr, size_t size));
_GL_CXXALIAS_RPL (realloc, void *, (void *ptr, size_t size));
# else
_GL_CXXALIAS_SYS (realloc, void *, (void *ptr, size_t size));
# endif
# if __GLIBC__ >= 2
_GL_CXXALIASWARN (realloc);
# endif
#elif defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC
# undef realloc
/* Assume realloc is always declared.  */
_GL_WARN_ON_USE (realloc, "realloc is not POSIX compliant everywhere - "
                 "use gnulib module realloc-posix for portability");
#endif


#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef reallocarray
#   define reallocarray rpl_reallocarray
#  endif
_GL_FUNCDECL_RPL (reallocarray, void *,
                  (void *ptr, size_t nmemb, size_t size));
_GL_CXXALIAS_RPL (reallocarray, void *,
                  (void *ptr, size_t nmemb, size_t size));
# else
#  if ! 1
_GL_FUNCDECL_SYS (reallocarray, void *,
                  (void *ptr, size_t nmemb, size_t size));
#  endif
_GL_CXXALIAS_SYS (reallocarray, void *,
                  (void *ptr, size_t nmemb, size_t size));
# endif
_GL_CXXALIASWARN (reallocarray);
#elif defined GNULIB_POSIXCHECK
# undef reallocarray
# if HAVE_RAW_DECL_REALLOCARRAY
_GL_WARN_ON_USE (reallocarray, "reallocarray is not portable - "
                 "use gnulib module reallocarray for portability");
# endif
#endif

#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   define realpath rpl_realpath
#  endif
_GL_FUNCDECL_RPL (realpath, char *,
                  (const char *restrict name, char *restrict resolved)
                  _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (realpath, char *,
                  (const char *restrict name, char *restrict resolved));
# else
#  if !1
_GL_FUNCDECL_SYS (realpath, char *,
                  (const char *restrict name, char *restrict resolved)
                  _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (realpath, char *,
                  (const char *restrict name, char *restrict resolved));
# endif
_GL_CXXALIASWARN (realpath);
#elif defined GNULIB_POSIXCHECK
# undef realpath
# if HAVE_RAW_DECL_REALPATH
_GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module "
                 "canonicalize or canonicalize-lgpl for portability");
# endif
#endif

#if 0
/* Test a user response to a question.
   Return 1 if it is affirmative, 0 if it is negative, or -1 if not clear.  */
# if !1
_GL_FUNCDECL_SYS (rpmatch, int, (const char *response) _GL_ARG_NONNULL ((1)));
# endif
_GL_CXXALIAS_SYS (rpmatch, int, (const char *response));
_GL_CXXALIASWARN (rpmatch);
#elif defined GNULIB_POSIXCHECK
# undef rpmatch
# if HAVE_RAW_DECL_RPMATCH
_GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - "
                 "use gnulib module rpmatch for portability");
# endif
#endif

#if 0
/* Look up NAME in the environment, returning 0 in insecure situations.  */
# if !1
_GL_FUNCDECL_SYS (secure_getenv, char *,
                  (char const *name) _GL_ARG_NONNULL ((1)));
# endif
_GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name));
_GL_CXXALIASWARN (secure_getenv);
#elif defined GNULIB_POSIXCHECK
# undef secure_getenv
# if HAVE_RAW_DECL_SECURE_GETENV
_GL_WARN_ON_USE (secure_getenv, "secure_getenv is unportable - "
                 "use gnulib module secure_getenv for portability");
# endif
#endif

#if 0
/* Set NAME to VALUE in the environment.
   If REPLACE is nonzero, overwrite an existing value.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef setenv
#   define setenv rpl_setenv
#  endif
_GL_FUNCDECL_RPL (setenv, int,
                  (const char *name, const char *value, int replace)
                  _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (setenv, int,
                  (const char *name, const char *value, int replace));
# else
#  if !1
_GL_FUNCDECL_SYS (setenv, int,
                  (const char *name, const char *value, int replace)
                  _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (setenv, int,
                  (const char *name, const char *value, int replace));
# endif
# if !(0 && !1)
_GL_CXXALIASWARN (setenv);
# endif
#elif defined GNULIB_POSIXCHECK
# undef setenv
# if HAVE_RAW_DECL_SETENV
_GL_WARN_ON_USE (setenv, "setenv is unportable - "
                 "use gnulib module setenv for portability");
# endif
#endif

#if 0
 /* Parse a double from STRING, updating ENDP if appropriate.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   define strtod rpl_strtod
#  endif
#  define GNULIB_defined_strtod_function 1
_GL_FUNCDECL_RPL (strtod, double,
                  (const char *restrict str, char **restrict endp)
                  _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (strtod, double,
                  (const char *restrict str, char **restrict endp));
# else
#  if !1
_GL_FUNCDECL_SYS (strtod, double,
                  (const char *restrict str, char **restrict endp)
                  _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (strtod, double,
                  (const char *restrict str, char **restrict endp));
# endif
# if __GLIBC__ >= 2
_GL_CXXALIASWARN (strtod);
# endif
#elif defined GNULIB_POSIXCHECK
# undef strtod
# if HAVE_RAW_DECL_STRTOD
_GL_WARN_ON_USE (strtod, "strtod is unportable - "
                 "use gnulib module strtod for portability");
# endif
#endif

#if 0
 /* Parse a 'long double' from STRING, updating ENDP if appropriate.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   define strtold rpl_strtold
#  endif
#  define GNULIB_defined_strtold_function 1
_GL_FUNCDECL_RPL (strtold, long double,
                  (const char *restrict str, char **restrict endp)
                  _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (strtold, long double,
                  (const char *restrict str, char **restrict endp));
# else
#  if !1
_GL_FUNCDECL_SYS (strtold, long double,
                  (const char *restrict str, char **restrict endp)
                  _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (strtold, long double,
                  (const char *restrict str, char **restrict endp));
# endif
_GL_CXXALIASWARN (strtold);
#elif defined GNULIB_POSIXCHECK
# undef strtold
# if HAVE_RAW_DECL_STRTOLD
_GL_WARN_ON_USE (strtold, "strtold is unportable - "
                 "use gnulib module strtold for portability");
# endif
#endif

#if 0
/* Parse a signed integer whose textual representation starts at STRING.
   The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0,
   it may be decimal or octal (with prefix "0") or hexadecimal (with prefix
   "0x").
   If ENDPTR is not NULL, the address of the first byte after the integer is
   stored in *ENDPTR.
   Upon overflow, the return value is LONG_MAX or LONG_MIN, and errno is set
   to ERANGE.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   define strtol rpl_strtol
#  endif
#  define GNULIB_defined_strtol_function 1
_GL_FUNCDECL_RPL (strtol, long,
                  (const char *restrict string, char **restrict endptr,
                   int base)
                  _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (strtol, long,
                  (const char *restrict string, char **restrict endptr,
                   int base));
# else
#  if !1
_GL_FUNCDECL_SYS (strtol, long,
                  (const char *restrict string, char **restrict endptr,
                   int base)
                  _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (strtol, long,
                  (const char *restrict string, char **restrict endptr,
                   int base));
# endif
_GL_CXXALIASWARN (strtol);
#elif defined GNULIB_POSIXCHECK
# undef strtol
# if HAVE_RAW_DECL_STRTOL
_GL_WARN_ON_USE (strtol, "strtol is unportable - "
                 "use gnulib module strtol for portability");
# endif
#endif

#if 0
/* Parse a signed integer whose textual representation starts at STRING.
   The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0,
   it may be decimal or octal (with prefix "0") or hexadecimal (with prefix
   "0x").
   If ENDPTR is not NULL, the address of the first byte after the integer is
   stored in *ENDPTR.
   Upon overflow, the return value is LLONG_MAX or LLONG_MIN, and errno is set
   to ERANGE.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   define strtoll rpl_strtoll
#  endif
#  define GNULIB_defined_strtoll_function 1
_GL_FUNCDECL_RPL (strtoll, long long,
                  (const char *restrict string, char **restrict endptr,
                   int base)
                  _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (strtoll, long long,
                  (const char *restrict string, char **restrict endptr,
                   int base));
# else
#  if !1
_GL_FUNCDECL_SYS (strtoll, long long,
                  (const char *restrict string, char **restrict endptr,
                   int base)
                  _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (strtoll, long long,
                  (const char *restrict string, char **restrict endptr,
                   int base));
# endif
_GL_CXXALIASWARN (strtoll);
#elif defined GNULIB_POSIXCHECK
# undef strtoll
# if HAVE_RAW_DECL_STRTOLL
_GL_WARN_ON_USE (strtoll, "strtoll is unportable - "
                 "use gnulib module strtoll for portability");
# endif
#endif

#if 0
/* Parse an unsigned integer whose textual representation starts at STRING.
   The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0,
   it may be decimal or octal (with prefix "0") or hexadecimal (with prefix
   "0x").
   If ENDPTR is not NULL, the address of the first byte after the integer is
   stored in *ENDPTR.
   Upon overflow, the return value is ULONG_MAX, and errno is set to ERANGE.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   define strtoul rpl_strtoul
#  endif
#  define GNULIB_defined_strtoul_function 1
_GL_FUNCDECL_RPL (strtoul, unsigned long,
                  (const char *restrict string, char **restrict endptr,
                   int base)
                  _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (strtoul, unsigned long,
                  (const char *restrict string, char **restrict endptr,
                   int base));
# else
#  if !1
_GL_FUNCDECL_SYS (strtoul, unsigned long,
                  (const char *restrict string, char **restrict endptr,
                   int base)
                  _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (strtoul, unsigned long,
                  (const char *restrict string, char **restrict endptr,
                   int base));
# endif
_GL_CXXALIASWARN (strtoul);
#elif defined GNULIB_POSIXCHECK
# undef strtoul
# if HAVE_RAW_DECL_STRTOUL
_GL_WARN_ON_USE (strtoul, "strtoul is unportable - "
                 "use gnulib module strtoul for portability");
# endif
#endif

#if 1
/* Parse an unsigned integer whose textual representation starts at STRING.
   The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0,
   it may be decimal or octal (with prefix "0") or hexadecimal (with prefix
   "0x").
   If ENDPTR is not NULL, the address of the first byte after the integer is
   stored in *ENDPTR.
   Upon overflow, the return value is ULLONG_MAX, and errno is set to
   ERANGE.  */
# if 1
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   define strtoull rpl_strtoull
#  endif
#  define GNULIB_defined_strtoull_function 1
_GL_FUNCDECL_RPL (strtoull, unsigned long long,
                  (const char *restrict string, char **restrict endptr,
                   int base)
                  _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (strtoull, unsigned long long,
                  (const char *restrict string, char **restrict endptr,
                   int base));
# else
#  if !1
_GL_FUNCDECL_SYS (strtoull, unsigned long long,
                  (const char *restrict string, char **restrict endptr,
                   int base)
                  _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (strtoull, unsigned long long,
                  (const char *restrict string, char **restrict endptr,
                   int base));
# endif
_GL_CXXALIASWARN (strtoull);
#elif defined GNULIB_POSIXCHECK
# undef strtoull
# if HAVE_RAW_DECL_STRTOULL
_GL_WARN_ON_USE (strtoull, "strtoull is unportable - "
                 "use gnulib module strtoull for portability");
# endif
#endif

#if 0
/* Unlock the slave side of the pseudo-terminal whose master side is specified
   by FD, so that it can be opened.  */
# if !1
_GL_FUNCDECL_SYS (unlockpt, int, (int fd));
# endif
_GL_CXXALIAS_SYS (unlockpt, int, (int fd));
_GL_CXXALIASWARN (unlockpt);
#elif defined GNULIB_POSIXCHECK
# undef unlockpt
# if HAVE_RAW_DECL_UNLOCKPT
_GL_WARN_ON_USE (unlockpt, "unlockpt is not portable - "
                 "use gnulib module unlockpt for portability");
# endif
#endif

#if 0
/* Remove the variable NAME from the environment.  */
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef unsetenv
#   define unsetenv rpl_unsetenv
#  endif
_GL_FUNCDECL_RPL (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (unsetenv, int, (const char *name));
# else
#  if !1
_GL_FUNCDECL_SYS (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1)));
#  endif
_GL_CXXALIAS_SYS (unsetenv, int, (const char *name));
# endif
# if !(0 && !1)
_GL_CXXALIASWARN (unsetenv);
# endif
#elif defined GNULIB_POSIXCHECK
# undef unsetenv
# if HAVE_RAW_DECL_UNSETENV
_GL_WARN_ON_USE (unsetenv, "unsetenv is unportable - "
                 "use gnulib module unsetenv for portability");
# endif
#endif

/* Convert a wide character to a multibyte character.  */
#if 0
# if 0
#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
#   undef wctomb
#   define wctomb rpl_wctomb
#  endif
_GL_FUNCDECL_RPL (wctomb, int, (char *s, wchar_t wc));
_GL_CXXALIAS_RPL (wctomb, int, (char *s, wchar_t wc));
# else
_GL_CXXALIAS_SYS (wctomb, int, (char *s, wchar_t wc));
# endif
# if __GLIBC__ >= 2
_GL_CXXALIASWARN (wctomb);
# endif
#endif


#endif /* _GL_STDLIB_H */
#endif /* _GL_STDLIB_H */
#endif

[-- Attachment #3: bootstrap.conf --]
[-- Type: Text/Plain, Size: 2545 bytes --]

# Bootstrap configuration.

# Copyright (C) 2006-2014 Free Software Foundation, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.


# gnulib structure in ttfautohint bundle
m4_base=gnulib/m4
source_base=gnulib/src
build_aux=gnulib
gnulib_name=libgnu

checkout_only_file=INSTALL.git


# gnulib modules used by this package.
gnulib_modules="
  dirname-lgpl
  fcntl-h
  getopt-gnu
  git-version-gen
  isatty
  memmem-simple
  stdarg
  stdbool
  stdint
  std-gnu11
  strerror_r-posix
  strndup
  strtok_r
  strtoull
  vasprintf
"

gnulib_tool_option_extras="--lgpl"


# Additional xgettext options to use.  Use "\\\newline" to break lines.
XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
 --from-code=UTF-8\\\
 --flag=asprintf:2:c-format --flag=vasprintf:2:c-format\\\
 --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\\\
 --flag=wrapf:1:c-format\\\
'

# If "AM_GNU_GETTEXT(external" or "AM_GNU_GETTEXT([external]"
# appears in configure.ac, exclude some unnecessary files.
# Without grep's -E option (not portable enough, pre-configure),
# the following test is ugly.  Also, this depends on the existence
# of configure.ac, not the obsolescent-named configure.in.  But if
# you're using this infrastructure, you should care about such things.

gettext_external=0
grep '^[	 ]*AM_GNU_GETTEXT(external\>' configure.ac > /dev/null &&
  gettext_external=1
grep '^[	 ]*AM_GNU_GETTEXT(\[external\]' configure.ac > /dev/null &&
  gettext_external=1

if test $gettext_external = 1; then
  # Gettext supplies these files, but we don't need them since
  # we don't have an intl subdirectory.
  excluded_files='
      m4/glibc2.m4
      m4/intdiv0.m4
      m4/lcmessage.m4
      m4/lock.m4
      m4/printf-posix.m4
      m4/size_max.m4
      m4/uintmax_t.m4
      m4/ulonglong.m4
      m4/visibility.m4
      m4/xsize.m4
  '
fi

# Build prerequisites
buildreq="\
autoconf   2.65
automake   1.13
bison      2.5
flex       -
git        1.5.5
libtool    2.2.2
tar        -
"

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: can't compile `stdlib.h` on mxe
  2021-05-22 10:03 can't compile `stdlib.h` on mxe Werner LEMBERG
@ 2021-05-22 12:25 ` Bruno Haible
  2021-05-22 12:45   ` Werner LEMBERG
  0 siblings, 1 reply; 7+ messages in thread
From: Bruno Haible @ 2021-05-22 12:25 UTC (permalink / raw)
  To: bug-gnulib; +Cc: Werner LEMBERG

Hi Werner,

> While compiling my `ttfautohint` package with a slightly tailored mxe
> build, I get the following compilation error:
> 
>   CXX      ttfautohintGUI-ddlineedit.moc.o
> In file included from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/cwchar:44:0,
>                  from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/bits/postypes.h:40,
>                  from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/iosfwd:40,
>                  from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/memory:72,
>                  from ddlineedit.moc.cpp:9:
> ../gnulib/src/stdlib.h:1904:1: error: expected ',' or '...' before 'string'
>  _GL_FUNCDECL_RPL (strtoull, unsigned long long,
>  ^
> 
> Attached is the built `stdlib.h` file, together with the used
> `bootstrap.conf`.  Please advise.

The error message "expected ',' or '...' before 'string'" points to a problem
with the 'restrict' keyword.

An appropriate definition of 'restrict' should be available in the gnulib-
generated config.h file.

* Can you verify that ddlineedit.moc.cpp starts with a '#include <config.h>'
  statement? [1]

* Can you show the block of preprocessor statements in <config.h> that
  defines 'restrict'?

* Can you show the command that is being executed (make V=1)? A symbolic
  placeholder like 'CXX' is useless for debugging a compilation failure.

* What are the C compiler and C++ compiler versions that you use in this
  build?

Bruno

[1] https://www.gnu.org/software/gnulib/manual/html_node/Source-changes.html



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: can't compile `stdlib.h` on mxe
  2021-05-22 12:25 ` Bruno Haible
@ 2021-05-22 12:45   ` Werner LEMBERG
  2021-05-22 14:32     ` Bruno Haible
  0 siblings, 1 reply; 7+ messages in thread
From: Werner LEMBERG @ 2021-05-22 12:45 UTC (permalink / raw)
  To: bruno; +Cc: bug-gnulib

[-- Attachment #1: Type: Text/Plain, Size: 3278 bytes --]


Hello Bruno,


thanks for your help.

> The error message "expected ',' or '...' before 'string'" points to
> a problem with the 'restrict' keyword.
> 
> An appropriate definition of 'restrict' should be available in the
> gnulib- generated config.h file.

OK.  Note that this is a new error; it didn't happen in July 2019 (the
last time I've tried to build ttfautohint with mxe and Qt5).

> * Can you verify that ddlineedit.moc.cpp starts with a '#include
>   <config.h>' statement? [1]

It doesn't – it is an auto-generated Qt file.  However, the file starts
with

```
#include <memory>
#include "ddlineedit.h"
...
```

and `ddlineedit.h`'s first code lines are

```
#ifndef DDLINEEDIT_H_
#define DDLINEEDIT_H_

#include <config.h>
```

> * Can you show the block of preprocessor statements in <config.h> that
>   defines 'restrict'?

```
/* Define to the equivalent of the C99 'restrict' keyword, or to
   nothing if this is not supported.  Do not define if restrict is
   supported only directly.  */
#define restrict __restrict__
/* Work around a bug in older versions of Sun C++, which did not
   #define __restrict__ or support _Restrict or __restrict__
   even though the corresponding Sun C compiler ended up with
   "#define restrict _Restrict" or "#define restrict __restrict__"
   in the previous line.  This workaround can be removed once
   we assume Oracle Developer Studio 12.5 (2016) or later.  */
#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
# define _Restrict
# define __restrict__
#endif
```

> * Can you show the command that is being executed (make V=1)?  A
>   symbolic placeholder like 'CXX' is useless for debugging a
>   compilation failure.

```
i686-w64-mingw32.static-g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I.. \
  -I../lib -I../gnulib/src \
  -I../gnulib/src
  -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/freetype2 \
  -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG \
  -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. \
  -I. -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include \
  -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets \
  -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui \
  -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore \
  -Irelease \
  -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++ \
  -DBUILD_GUI \
  -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/freetype2 \
  -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra \
  -Wextra -ffunction-sections -fdata-sections -fexceptions -mthreads \
  -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG \
  -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -g -O2 \
  -MT ttfautohintGUI-ddlineedit.moc.o -MD -MP -MF \
  .deps/ttfautohintGUI-ddlineedit.moc.Tpo -c \
   -o ttfautohintGUI-ddlineedit.moc.o `test -f 'ddlineedit.moc.cpp' \
   || echo './'`ddlineedit.moc.cpp
```

> * What are the C compiler and C++ compiler versions that you use in
>   this build?

gcc & g++ 5.5.0, which are the default compilers of mxe – I've
attached the `config.log` file for completeness.


    Werner

[-- Attachment #2: config.log --]
[-- Type: Text/Plain, Size: 225741 bytes --]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ttfautohint configure 1.8.3.40-01ed, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --host=i686-w64-mingw32.static --with-qt=/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin --disable-shared --without-doc --prefix=/home/wl/git/ttfautohint.mxe/out

## --------- ##
## Platform. ##
## --------- ##

hostname = linux
uname -m = x86_64
uname -r = 5.3.18-lp152.75-default
uname -s = Linux
uname -v = #1 SMP Wed May 5 09:22:56 UTC 2021 (16c42c8)

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/wl/git/mxe/usr/bin
PATH: /home/wl/.cargo/bin
PATH: /home/wl/bin
PATH: /home/wl/.local/bin
PATH: /opt/bin
PATH: /usr/local/texlive/2020/bin/x86_64-linux
PATH: /home/wl/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3470: loading site script /usr/share/site/x86_64-unknown-linux-gnu
| #!/bin/sh
| # Site script for configure. It is resourced via $CONFIG_SITE environment varaible.
| 
| # If user did not specify libdir, guess the correct target:
| # Use lib64 for 64 bit bi-arch targets, keep the default for the rest.
| if test "$libdir" = '${exec_prefix}/lib' ; then
| 
| 	ac_config_site_64bit_host=NONE
| 
| 	case "$host" in
| 	"" )
| 		# User did not specify host target.
| 		# The native platform x86_64 is a bi-arch platform.
| 		# Try to detect cross-compilation to inferior architecture.
| 
| 		# We are trying to guess 32-bit target compilation. It's not as easy as
| 		# it sounds, as there is possible several intermediate combinations.
| 		ac_config_site_cross_to_32bit_host=NONE
| 
| 		# User defined -m32 in CFLAGS or CXXFLAGS or CC or CXX:
| 		# (It's sufficient for 32-bit, but alone may cause mis-behavior of some checks.)
| 		case "$CFLAGS $CXXFLAGS $CC $CXX" in
| 		*-m32*)
| 			ac_config_site_cross_to_32bit_host=YES
| 			;;
| 		esac
| 
| 		# Running with linux32:
| 		# (Changes detected platform, but not the toolchain target.)
| 		case "`/bin/uname -i`" in
| 		x86_64 | ppc64 | s390x | aarch64 )
| 			;;
| 		* )
| 			ac_config_site_cross_to_32bit_host=YES
| 			;;
| 		esac
| 
| 		if test "x$ac_config_site_cross_to_32bit_host" = xNONE; then
| 			ac_config_site_64bit_host=YES
| 		fi
| 
| 		;;
| 	*x86_64* | *ppc64* | *s390x* | *aarch64* )
| 		ac_config_site_64bit_host=YES
| 		;;
| 	esac
| 
| 	if test "x$ac_config_site_64bit_host" = xYES; then
| 		libdir='${exec_prefix}/lib64'
| 	fi
| fi
| 
| # If user did not specify libexecdir, set the correct target:
| # Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib.
| 
| if test "$libexecdir" = '${exec_prefix}/libexec' ; then
| 	libexecdir='${exec_prefix}/lib'
| fi
| 
| # Continue with the standard behavior of configure defined in AC_SITE_LOAD:
| if test "x$prefix" != xNONE; then
| 	ac_site_file1=$prefix/share/config.site
| 	ac_site_file2=$prefix/etc/config.site
| else
| 	ac_site_file1=$ac_default_prefix/share/config.site
| 	ac_site_file2=$ac_default_prefix/etc/config.site
| fi
| for ac_site_file in "$ac_site_file1" "$ac_site_file2"
| do
| 	test "x$ac_site_file" = xNONE && continue
| 	if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
| 		{ $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
| $as_echo "/usr/share/site/x86_64-unknown-linux-gnu: loading site script $ac_site_file" >&6;}
| 		sed 's/^/| /' "$ac_site_file" >&5
| 		. "$ac_site_file" \
| 			|| { { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
| $as_echo "/usr/share/site/x86_64-unknown-linux-gnu: error: in \`$ac_pwd':" >&2;}
| as_fn_error $? "failed to load site script $ac_site_file
| See \`config.log' for more details" "$LINENO" 5; }
| 	fi
| done
configure:3637: checking for a BSD-compatible install
configure:3705: result: /usr/bin/install -c
configure:3716: checking whether build environment is sane
configure:3771: result: yes
configure:3825: checking for i686-w64-mingw32.static-strip
configure:3841: found /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-strip
configure:3852: result: i686-w64-mingw32.static-strip
configure:3917: checking for a thread-safe mkdir -p
configure:3956: result: /usr/bin/mkdir -p
configure:3963: checking for gawk
configure:3979: found /usr/bin/gawk
configure:3990: result: gawk
configure:4001: checking whether make sets $(MAKE)
configure:4023: result: yes
configure:4052: checking whether make supports nested variables
configure:4069: result: yes
configure:4158: checking whether UID '1000' is supported by ustar format
configure:4161: result: yes
configure:4168: checking whether GID '100' is supported by ustar format
configure:4171: result: yes
configure:4179: checking how to create a ustar tar archive
configure:4190: tar --version
tar (GNU tar) 1.30
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:4193: $? = 0
configure:4233: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:4236: $? = 0
configure:4240: tar -xf - <conftest.tar
configure:4243: $? = 0
configure:4245: cat conftest.dir/file
GrepMe
configure:4248: $? = 0
configure:4261: result: gnutar
configure:4325: checking whether make supports nested variables
configure:4342: result: yes
configure:4367: WARNING: Revision number of version tuplet set to 3.
configure:4383: checking whether make supports the include directive
configure:4398: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:4401: $? = 0
configure:4420: result: yes (GNU style)
configure:4450: checking for i686-w64-mingw32.static-gcc
configure:4466: found /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-gcc
configure:4477: result: i686-w64-mingw32.static-gcc
configure:4840: checking for C compiler version
configure:4849: i686-w64-mingw32.static-gcc --version >&5
i686-w64-mingw32.static-gcc (GCC) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4860: $? = 0
configure:4849: i686-w64-mingw32.static-gcc -v >&5
Reading specs from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/specs
COLLECT_GCC=i686-w64-mingw32.static-gcc
COLLECT_LTO_WRAPPER=/home/wl/git/mxe/usr/libexec/gcc/i686-w64-mingw32.static/5.5.0/lto-wrapper
Target: i686-w64-mingw32.static
Configured with: /home/wl/git/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.5.0/configure ac_cv_prog_HAVE_DOXYGEN=false --enable-doc=no --enable-gtk-doc=no --enable-gtk-doc-html=no --enable-gtk-doc-pdf=no --docdir=/home/wl/git/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.5.0.build_.sink --infodir=/home/wl/git/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.5.0.build_.sink --mandir=/home/wl/git/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.5.0.build_.sink --with-html-dir=/home/wl/git/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.5.0.build_.sink --disable-doxygen --target=i686-w64-mingw32.static --build=x86_64-pc-linux-gnu --prefix=/home/wl/git/mxe/usr --libdir=/home/wl/git/mxe/usr/lib --with-sysroot=/home/wl/git/mxe/usr/i686-w64-mingw32.static --enable-languages=c,c++,objc,fortran --enable-version-specific-runtime-libs --with-gcc --with-gnu-ld --with-gnu-as --disable-nls --disable-shared --disable-multilib --without-x --disable-win32-registry --enable-threads=posix --enable-sjlj-exceptions --enable-default-ssp --enable-libgomp --with-gmp=/home/wl/git/mxe/usr/x86_64-pc-linux-gnu --with-isl=/home/wl/git/mxe/usr/x86_64-pc-linux-gnu --with-mpc=/home/wl/git/mxe/usr/x86_64-pc-linux-gnu --with-mpfr=/home/wl/git/mxe/usr/x86_64-pc-linux-gnu --with-as=/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-as --with-ld=/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld --with-nm=/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-nm
Thread model: posix
gcc version 5.5.0 (GCC) 
configure:4860: $? = 0
configure:4849: i686-w64-mingw32.static-gcc -V >&5
i686-w64-mingw32.static-gcc: error: unrecognized command line option '-V'
i686-w64-mingw32.static-gcc: fatal error: no input files
compilation terminated.
configure:4860: $? = 1
configure:4849: i686-w64-mingw32.static-gcc -qversion >&5
i686-w64-mingw32.static-gcc: error: unrecognized command line option '-qversion'
i686-w64-mingw32.static-gcc: fatal error: no input files
compilation terminated.
configure:4860: $? = 1
configure:4849: i686-w64-mingw32.static-gcc -version >&5
i686-w64-mingw32.static-gcc: error: unrecognized command line option '-version'
i686-w64-mingw32.static-gcc: fatal error: no input files
compilation terminated.
configure:4860: $? = 1
configure:4880: checking whether the C compiler works
configure:4902: i686-w64-mingw32.static-gcc    conftest.c  >&5
configure:4906: $? = 0
configure:4954: result: yes
configure:4957: checking for C compiler default output file name
configure:4959: result: a.exe
configure:4965: checking for suffix of executables
configure:4972: i686-w64-mingw32.static-gcc -o conftest.exe    conftest.c  >&5
configure:4976: $? = 0
configure:4998: result: .exe
configure:5020: checking whether we are cross compiling
configure:5028: i686-w64-mingw32.static-gcc -o conftest.exe    conftest.c  >&5
configure:5032: $? = 0
configure:5039: ./conftest.exe
./configure: line 5041: ./conftest.exe: cannot execute binary file: Exec format error
configure:5043: $? = 126
configure:5058: result: yes
configure:5063: checking for suffix of object files
configure:5085: i686-w64-mingw32.static-gcc -c   conftest.c >&5
configure:5089: $? = 0
configure:5110: result: o
configure:5114: checking whether we are using the GNU C compiler
configure:5133: i686-w64-mingw32.static-gcc -c   conftest.c >&5
configure:5133: $? = 0
configure:5142: result: yes
configure:5151: checking whether i686-w64-mingw32.static-gcc accepts -g
configure:5171: i686-w64-mingw32.static-gcc -c -g  conftest.c >&5
configure:5171: $? = 0
configure:5212: result: yes
configure:5229: checking for i686-w64-mingw32.static-gcc option to enable C11 features
configure:5432: i686-w64-mingw32.static-gcc  -c -g -O2  conftest.c >&5
configure:5432: $? = 0
configure:5446: result: none needed
configure:5748: checking whether the compiler is clang
configure:5769: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:5769: $? = 0
configure:5777: result: no
configure:5781: checking for compiler option needed when checking for declarations
configure:5812: result: none
configure:5823: checking dependency style of i686-w64-mingw32.static-gcc
configure:5934: result: gcc3
configure:5955: checking how to run the C preprocessor
configure:5986: i686-w64-mingw32.static-gcc -E  conftest.c
configure:5986: $? = 0
configure:6000: i686-w64-mingw32.static-gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6000: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6025: result: i686-w64-mingw32.static-gcc -E
configure:6045: i686-w64-mingw32.static-gcc -E  conftest.c
configure:6045: $? = 0
configure:6059: i686-w64-mingw32.static-gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6059: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6088: checking for grep that handles long lines and -e
configure:6146: result: /usr/bin/grep
configure:6151: checking for egrep
configure:6213: result: /usr/bin/grep -E
configure:6218: checking for ANSI C header files
configure:6238: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6238: $? = 0
configure:6322: result: yes
configure:6335: checking for sys/types.h
configure:6335: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6335: $? = 0
configure:6335: result: yes
configure:6335: checking for sys/stat.h
configure:6335: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6335: $? = 0
configure:6335: result: yes
configure:6335: checking for stdlib.h
configure:6335: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6335: $? = 0
configure:6335: result: yes
configure:6335: checking for string.h
configure:6335: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6335: $? = 0
configure:6335: result: yes
configure:6335: checking for memory.h
configure:6335: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6335: $? = 0
configure:6335: result: yes
configure:6335: checking for strings.h
configure:6335: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6335: $? = 0
configure:6335: result: yes
configure:6335: checking for inttypes.h
configure:6335: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6335: $? = 0
configure:6335: result: yes
configure:6335: checking for stdint.h
configure:6335: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6335: $? = 0
configure:6335: result: yes
configure:6335: checking for unistd.h
configure:6335: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6335: $? = 0
configure:6335: result: yes
configure:6353: checking for wchar.h
configure:6353: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6353: $? = 0
configure:6353: result: yes
configure:6353: checking for minix/config.h
configure:6353: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:56:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:6353: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| 
| #include <minix/config.h>
configure:6353: result: no
configure:6353: checking for unistd.h
configure:6353: result: yes
configure:6353: checking for getopt.h
configure:6353: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6353: $? = 0
configure:6353: result: yes
configure:6353: checking for sys/cdefs.h
configure:6353: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6353: $? = 0
configure:6353: result: yes
configure:6353: checking for limits.h
configure:6353: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6353: $? = 0
configure:6353: result: yes
configure:6353: checking for inttypes.h
configure:6353: result: yes
configure:6353: checking for sys/types.h
configure:6353: result: yes
configure:6353: checking for stdint.h
configure:6353: result: yes
configure:6353: checking for threads.h
configure:6353: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:63:21: fatal error: threads.h: No such file or directory
compilation terminated.
configure:6353: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| 
| #include <threads.h>
configure:6353: result: no
configure:6353: checking for sys/mman.h
configure:6353: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:63:22: fatal error: sys/mman.h: No such file or directory
compilation terminated.
configure:6353: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| 
| #include <sys/mman.h>
configure:6353: result: no
configure:6353: checking for sys/socket.h
configure:6353: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:63:24: fatal error: sys/socket.h: No such file or directory
compilation terminated.
configure:6353: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| 
| #include <sys/socket.h>
configure:6353: result: no
configure:6353: checking for features.h
configure:6353: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:63:22: fatal error: features.h: No such file or directory
compilation terminated.
configure:6353: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| 
| #include <features.h>
configure:6353: result: no
configure:6353: checking for crtdefs.h
configure:6353: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6353: $? = 0
configure:6353: result: yes
configure:6372: checking whether it is safe to define __EXTENSIONS__
configure:6390: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6390: $? = 0
configure:6397: result: yes
configure:6400: checking whether _XOPEN_SOURCE should be defined
configure:6420: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:6420: $? = 0
configure:6445: result: no
configure:6499: checking whether ln -s works
configure:6503: result: yes
configure:6516: checking how to run the C preprocessor
configure:6586: result: i686-w64-mingw32.static-gcc -E
configure:6606: i686-w64-mingw32.static-gcc -E  conftest.c
configure:6606: $? = 0
configure:6620: i686-w64-mingw32.static-gcc -E  conftest.c
conftest.c:46:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6620: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6663: checking for i686-w64-mingw32.static-g++
configure:6679: found /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-g++
configure:6690: result: i686-w64-mingw32.static-g++
configure:6761: checking for C++ compiler version
configure:6770: i686-w64-mingw32.static-g++ --version >&5
i686-w64-mingw32.static-g++ (GCC) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:6781: $? = 0
configure:6770: i686-w64-mingw32.static-g++ -v >&5
Reading specs from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/specs
COLLECT_GCC=i686-w64-mingw32.static-g++
COLLECT_LTO_WRAPPER=/home/wl/git/mxe/usr/libexec/gcc/i686-w64-mingw32.static/5.5.0/lto-wrapper
Target: i686-w64-mingw32.static
Configured with: /home/wl/git/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.5.0/configure ac_cv_prog_HAVE_DOXYGEN=false --enable-doc=no --enable-gtk-doc=no --enable-gtk-doc-html=no --enable-gtk-doc-pdf=no --docdir=/home/wl/git/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.5.0.build_.sink --infodir=/home/wl/git/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.5.0.build_.sink --mandir=/home/wl/git/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.5.0.build_.sink --with-html-dir=/home/wl/git/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.5.0.build_.sink --disable-doxygen --target=i686-w64-mingw32.static --build=x86_64-pc-linux-gnu --prefix=/home/wl/git/mxe/usr --libdir=/home/wl/git/mxe/usr/lib --with-sysroot=/home/wl/git/mxe/usr/i686-w64-mingw32.static --enable-languages=c,c++,objc,fortran --enable-version-specific-runtime-libs --with-gcc --with-gnu-ld --with-gnu-as --disable-nls --disable-shared --disable-multilib --without-x --disable-win32-registry --enable-threads=posix --enable-sjlj-exceptions --enable-default-ssp --enable-libgomp --with-gmp=/home/wl/git/mxe/usr/x86_64-pc-linux-gnu --with-isl=/home/wl/git/mxe/usr/x86_64-pc-linux-gnu --with-mpc=/home/wl/git/mxe/usr/x86_64-pc-linux-gnu --with-mpfr=/home/wl/git/mxe/usr/x86_64-pc-linux-gnu --with-as=/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-as --with-ld=/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld --with-nm=/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-nm
Thread model: posix
gcc version 5.5.0 (GCC) 
configure:6781: $? = 0
configure:6770: i686-w64-mingw32.static-g++ -V >&5
i686-w64-mingw32.static-g++: error: unrecognized command line option '-V'
i686-w64-mingw32.static-g++: fatal error: no input files
compilation terminated.
configure:6781: $? = 1
configure:6770: i686-w64-mingw32.static-g++ -qversion >&5
i686-w64-mingw32.static-g++: error: unrecognized command line option '-qversion'
i686-w64-mingw32.static-g++: fatal error: no input files
compilation terminated.
configure:6781: $? = 1
configure:6785: checking whether we are using the GNU C++ compiler
configure:6804: i686-w64-mingw32.static-g++ -c   conftest.cpp >&5
configure:6804: $? = 0
configure:6813: result: yes
configure:6822: checking whether i686-w64-mingw32.static-g++ accepts -g
configure:6842: i686-w64-mingw32.static-g++ -c -g  conftest.cpp >&5
configure:6842: $? = 0
configure:6883: result: yes
configure:6900: checking for i686-w64-mingw32.static-g++ option to enable C++11 features
configure:7136: i686-w64-mingw32.static-g++  -c -g -O2  conftest.cpp >&5
In file included from /home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/tuple:35:0,
                 from conftest.cpp:50:
/home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
conftest.cpp:57:16: error: 'shared_ptr' in namespace 'std' does not name a template type
   typedef std::shared_ptr<std::string> sptr;
                ^
conftest.cpp:58:16: error: 'weak_ptr' in namespace 'std' does not name a template type
   typedef std::weak_ptr<std::string> wptr;
                ^
conftest.cpp:60:16: error: 'tuple' in namespace 'std' does not name a template type
   typedef std::tuple<std::string,int,double> tp;
                ^
conftest.cpp:61:16: error: 'array' in namespace 'std' does not name a template type
   typedef std::array<int, 20> int_array;
                ^
conftest.cpp:63:3: error: 'constexpr' does not name a type
   constexpr int get_val() { return 20; }
   ^
conftest.cpp:63:3: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11
conftest.cpp: In constructor 'cxx11test::delegate::delegate()':
conftest.cpp:74:30: warning: delegating constructors only available with -std=c++11 or -std=gnu++11
     delegate(): delegate(2354) {}
                              ^
conftest.cpp: At global scope:
conftest.cpp:84:24: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
     virtual int getval() override final { return this->n * 2; }
                        ^
conftest.cpp:84:26: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
     virtual int getval() override final { return this->n * 2; }
                          ^
conftest.cpp:90:16: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
     nocopy() = default;
                ^
conftest.cpp:91:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
     nocopy(const nocopy&) = delete;
                             ^
conftest.cpp:92:41: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
     nocopy & operator=(const nocopy&) = delete;
                                         ^
conftest.cpp: In function 'int main()':
conftest.cpp:141:13: error: 'i' does not name a type
   for (auto i = d.begin(); i != d.end(); ++i) { total += *i; }
             ^
conftest.cpp:141:28: error: expected ';' before 'i'
   for (auto i = d.begin(); i != d.end(); ++i) { total += *i; }
                            ^
conftest.cpp:141:28: error: 'i' was not declared in this scope
conftest.cpp:143:8: error: 'a1' does not name a type
   auto a1 = 6538;
        ^
conftest.cpp:144:8: error: 'a2' does not name a type
   auto a2 = 48573953.4;
        ^
conftest.cpp:145:8: error: 'a3' does not name a type
   auto a3 = "String literal";
        ^
conftest.cpp:147:12: error: 'a2' was not declared in this scope
   decltype(a2) a4 = 34895.034;
            ^
conftest.cpp:147:14: error: 'decltype' was not declared in this scope
   decltype(a2) a4 = 34895.034;
              ^
conftest.cpp:151:12: error: 'get_val' is not a member of 'cxx11test'
   short sa[cxx11test::get_val()] = { 0 };
            ^
conftest.cpp:159:3: error: 'int_array' is not a member of 'cxx11test'
   cxx11test::int_array array = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
   ^
conftest.cpp:160:17: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11
   for (int &x : array) { x += 23; }
                 ^
conftest.cpp:160:17: error: 'array' was not declared in this scope
conftest.cpp:161:74: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
   std::for_each(array.begin(), array.end(), [](int v1){ std::cout << v1; });
                                                                          ^
conftest.cpp:164:20: error: 'cxx11test::sptr' has not been declared
   using cxx11test::sptr;
                    ^
conftest.cpp:165:20: error: 'cxx11test::wptr' has not been declared
   using cxx11test::wptr;
                    ^
conftest.cpp:167:3: error: 'sptr' was not declared in this scope
   sptr sp(new std::string("ASCII string"));
   ^
conftest.cpp:168:3: error: 'wptr' was not declared in this scope
   wptr wp(sp);
   ^
conftest.cpp:169:8: error: expected ';' before 'sp2'
   sptr sp2(wp);
        ^
conftest.cpp:172:3: error: 'tp' is not a member of 'cxx11test'
   cxx11test::tp tuple("test", 54, 45.53434);
   ^
conftest.cpp:173:14: error: 'get' is not a member of 'std'
   double d = std::get<2>(tuple);
              ^
conftest.cpp:173:26: error: 'tuple' was not declared in this scope
   double d = std::get<2>(tuple);
                          ^
conftest.cpp:176:3: error: 'tie' is not a member of 'std'
   std::tie(s,i,d) = tuple;
   ^
conftest.cpp:179:15: error: 'regex' in namespace 'std' does not name a type
   static std::regex filename_regex("^_?([a-z0-9_.]+-)+[a-z0-9]+$");
               ^
conftest.cpp:181:16: error: 'regex_search' is not a member of 'std'
   bool match = std::regex_search(testmatch, filename_regex);
                ^
conftest.cpp:181:45: error: 'filename_regex' was not declared in this scope
   bool match = std::regex_search(testmatch, filename_regex);
                                             ^
conftest.cpp:184:3: error: 'int_array' is not a member of 'cxx11test'
   cxx11test::int_array array = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
   ^
conftest.cpp:185:14: error: 'cxx11test::int_array' has not been declared
   cxx11test::int_array::size_type size = array.size();
              ^
conftest.cpp:199:13: error: 'nullptr' was not declared in this scope
   char *c = nullptr;
             ^
conftest.cpp:203:34: error: '>>' should be '> >' within a nested template argument list
   std::vector<std::pair<int,char*>> v1;
                                  ^
conftest.cpp:207:22: error: 'u8' was not declared in this scope
   char const *utf8 = u8"UTF-8 string \u2500";
                      ^
conftest.cpp:208:3: error: 'char16_t' was not declared in this scope
   char16_t const *utf16 = u"UTF-8 string \u2500";
   ^
conftest.cpp:209:3: error: 'char32_t' was not declared in this scope
   char32_t const *utf32 = U"UTF-32 string \u2500";
   ^
configure:7136: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| /* end confdefs.h.  */
| 
| #include <deque>
| #include <functional>
| #include <memory>
| #include <tuple>
| #include <array>
| #include <regex>
| #include <iostream>
| 
| namespace cxx11test
| {
|   typedef std::shared_ptr<std::string> sptr;
|   typedef std::weak_ptr<std::string> wptr;
| 
|   typedef std::tuple<std::string,int,double> tp;
|   typedef std::array<int, 20> int_array;
| 
|   constexpr int get_val() { return 20; }
| 
|   struct testinit
|   {
|     int i;
|     double d;
|   };
| 
|   class delegate  {
|   public:
|     delegate(int n) : n(n) {}
|     delegate(): delegate(2354) {}
| 
|     virtual int getval() { return this->n; };
|   protected:
|     int n;
|   };
| 
|   class overridden : public delegate {
|   public:
|     overridden(int n): delegate(n) {}
|     virtual int getval() override final { return this->n * 2; }
|   };
| 
|   class nocopy {
|   public:
|     nocopy(int i): i(i) {}
|     nocopy() = default;
|     nocopy(const nocopy&) = delete;
|     nocopy & operator=(const nocopy&) = delete;
|   private:
|     int i;
|   };
| }
| 
| 
| #include <algorithm>
| #include <cstdlib>
| #include <fstream>
| #include <iomanip>
| #include <iostream>
| #include <list>
| #include <map>
| #include <set>
| #include <sstream>
| #include <stdexcept>
| #include <string>
| #include <utility>
| #include <vector>
| 
| namespace test {
|   typedef std::vector<std::string> string_vec;
|   typedef std::pair<int,bool> map_value;
|   typedef std::map<std::string,map_value> map_type;
|   typedef std::set<int> set_type;
| 
|   template<typename T>
|   class printer {
|   public:
|     printer(std::ostringstream& os): os(os) {}
|     void operator() (T elem) { os << elem << std::endl; }
|   private:
|     std::ostringstream& os;
|   };
| }
| 
| int
| main ()
| {
| 
| {
|   // Test auto and decltype
|   std::deque<int> d;
|   d.push_front(43);
|   d.push_front(484);
|   d.push_front(3);
|   d.push_front(844);
|   int total = 0;
|   for (auto i = d.begin(); i != d.end(); ++i) { total += *i; }
| 
|   auto a1 = 6538;
|   auto a2 = 48573953.4;
|   auto a3 = "String literal";
| 
|   decltype(a2) a4 = 34895.034;
| }
| {
|   // Test constexpr
|   short sa[cxx11test::get_val()] = { 0 };
| }
| {
|   // Test initializer lists
|   cxx11test::testinit il = { 4323, 435234.23544 };
| }
| {
|   // Test range-based for and lambda
|   cxx11test::int_array array = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
|   for (int &x : array) { x += 23; }
|   std::for_each(array.begin(), array.end(), [](int v1){ std::cout << v1; });
| }
| {
|   using cxx11test::sptr;
|   using cxx11test::wptr;
| 
|   sptr sp(new std::string("ASCII string"));
|   wptr wp(sp);
|   sptr sp2(wp);
| }
| {
|   cxx11test::tp tuple("test", 54, 45.53434);
|   double d = std::get<2>(tuple);
|   std::string s;
|   int i;
|   std::tie(s,i,d) = tuple;
| }
| {
|   static std::regex filename_regex("^_?([a-z0-9_.]+-)+[a-z0-9]+$");
|   std::string testmatch("Test if this string matches");
|   bool match = std::regex_search(testmatch, filename_regex);
| }
| {
|   cxx11test::int_array array = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
|   cxx11test::int_array::size_type size = array.size();
| }
| {
|   // Test constructor delegation
|   cxx11test::delegate d1;
|   cxx11test::delegate d2();
|   cxx11test::delegate d3(45);
| }
| {
|   // Test override and final
|   cxx11test::overridden o1(55464);
| }
| {
|   // Test nullptr
|   char *c = nullptr;
| }
| {
|   // Test template brackets
|   std::vector<std::pair<int,char*>> v1;
| }
| {
|   // Unicode literals
|   char const *utf8 = u8"UTF-8 string \u2500";
|   char16_t const *utf16 = u"UTF-8 string \u2500";
|   char32_t const *utf32 = U"UTF-32 string \u2500";
| }
| 
| 
| 
| try {
|   // Basic string.
|   std::string teststr("ASCII text");
|   teststr += " string";
| 
|   // Simple vector.
|   test::string_vec testvec;
|   testvec.push_back(teststr);
|   testvec.push_back("foo");
|   testvec.push_back("bar");
|   if (testvec.size() != 3) {
|     throw std::runtime_error("vector size is not 1");
|   }
| 
|   // Dump vector into stringstream and obtain string.
|   std::ostringstream os;
|   for (test::string_vec::const_iterator i = testvec.begin();
|        i != testvec.end(); ++i) {
|     if (i + 1 != testvec.end()) {
|       os << teststr << '\n';
|     }
|   }
|   // Check algorithms work.
|   std::for_each(testvec.begin(), testvec.end(), test::printer<std::string>(os));
|   std::string os_out = os.str();
| 
|   // Test pair and map.
|   test::map_type testmap;
|   testmap.insert(std::make_pair(std::string("key"),
|                                 std::make_pair(53,false)));
| 
|   // Test set.
|   int values[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
|   test::set_type testset(values, values + sizeof(values)/sizeof(values[0]));
|   std::list<int> testlist(testset.begin(), testset.end());
|   std::copy(testset.begin(), testset.end(), std::back_inserter(testlist));
| } catch (const std::exception& e) {
|   std::cerr << "Caught exception: " << e.what() << std::endl;
| 
|   // Test fstream
|   std::ofstream of("test.txt");
|   of << "Test ASCII text\n" << std::flush;
|   of << "N= " << std::hex << std::setw(8) << std::left << 534 << std::endl;
|   of.close();
| }
| std::exit(0);
| 
|   ;
|   return 0;
| }
configure:7136: i686-w64-mingw32.static-g++ -std=gnu++11 -c -g -O2  conftest.cpp >&5
configure:7136: $? = 0
configure:7158: result: -std=gnu++11
configure:7323: checking dependency style of i686-w64-mingw32.static-g++ -std=gnu++11
configure:7434: result: gcc3
configure:7449: checking for inline
configure:7465: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:7465: $? = 0
configure:7473: result: inline
configure:7496: checking build system type
configure:7510: result: x86_64-pc-linux-gnu
configure:7530: checking host system type
configure:7543: result: i686-w64-mingw32.static
configure:7578: checking for Minix Amsterdam compiler
configure:7602: result: no
configure:7618: checking for i686-w64-mingw32.static-ar
configure:7634: found /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ar
configure:7645: result: i686-w64-mingw32.static-ar
configure:7715: checking the archiver (i686-w64-mingw32.static-ar) interface
configure:7731: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:7731: $? = 0
configure:7733: i686-w64-mingw32.static-ar cru libconftest.a conftest.o >&5
i686-w64-mingw32.static-ar: `u' modifier ignored since `D' is the default (see `U')
configure:7736: $? = 0
configure:7764: result: ar
configure:7789: checking for i686-w64-mingw32.static-ar
configure:7816: result: i686-w64-mingw32.static-ar
configure:7891: checking for i686-w64-mingw32.static-ranlib
configure:7907: found /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ranlib
configure:7918: result: i686-w64-mingw32.static-ranlib
configure:8141: checking for i686-w64-mingw32.static-pkg-config
configure:8159: found /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-pkg-config
configure:8171: result: /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-pkg-config
configure:8239: checking pkg-config is at least version 0.24
configure:8242: result: yes
configure:8258: checking for i686-w64-mingw32.static-ar
configure:8285: result: i686-w64-mingw32.static-ar
configure:8355: checking the archiver (i686-w64-mingw32.static-ar) interface
configure:8404: result: ar
configure:8427: checking for bison
configure:8445: found /usr/local/bin/bison
configure:8457: result: /usr/local/bin/bison
configure:8467: checking for flex
configure:8485: found /usr/local/bin/flex
configure:8497: result: /usr/local/bin/flex
configure:8537: checking for size_t
configure:8537: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:8537: $? = 0
configure:8537: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:82:21: error: expected expression before ')' token
 if (sizeof ((size_t)))
                     ^
configure:8537: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:8537: result: yes
configure:8550: checking for working alloca.h
configure:8567: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
conftest.c:46:20: fatal error: alloca.h: No such file or directory
compilation terminated.
configure:8567: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| /* end confdefs.h.  */
| #include <alloca.h>
| int
| main ()
| {
| char *p = (char *) alloca (2 * sizeof (int));
| 			  if (p) return 0;
|   ;
|   return 0;
| }
configure:8575: result: no
configure:8583: checking for alloca
configure:8620: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:8620: $? = 0
configure:8628: result: yes
configure:8699: checking whether the preprocessor supports include_next
configure:8737: i686-w64-mingw32.static-gcc -c -g -O2  -Iconftestd1b -Iconftestd2 conftest.c >&5
configure:8737: $? = 0
configure:8758: result: yes
configure:8780: checking whether source code line length is unlimited
configure:8803: result: yes
configure:8814: checking for complete errno.h
configure:8887: result: no
configure:8976: checking for EMULTIHOP value
configure:9031: result: no
configure:9047: checking for ENOLINK value
configure:9102: result: yes
configure:9118: checking for EOVERFLOW value
configure:9173: result: yes
configure:9207: checking for symlink
configure:9207: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
/tmp/ccLyFZsX.o: In function `main':
/home/wl/git/ttfautohint.mxe/conftest.c:81: undefined reference to `symlink'
collect2: error: ld returned 1 exit status
configure:9207: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| /* end confdefs.h.  */
| /* Define symlink to an innocuous variant, in case <limits.h> declares symlink.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define symlink innocuous_symlink
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char symlink (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef symlink
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char symlink ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_symlink || defined __stub___symlink
| choke me
| #endif
| 
| int
| main ()
| {
| return symlink ();
|   ;
|   return 0;
| }
configure:9207: result: no
configure:9207: checking for mprotect
configure:9207: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:9207: $? = 0
configure:9207: result: yes
configure:9207: checking for _set_invalid_parameter_handler
configure:9207: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:9207: $? = 0
configure:9207: result: yes
configure:9207: checking for strerror_r
configure:9207: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
/tmp/ccnD3Xe4.o: In function `main':
/home/wl/git/ttfautohint.mxe/conftest.c:83: undefined reference to `strerror_r'
collect2: error: ld returned 1 exit status
configure:9207: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| /* end confdefs.h.  */
| /* Define strerror_r to an innocuous variant, in case <limits.h> declares strerror_r.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define strerror_r innocuous_strerror_r
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char strerror_r (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef strerror_r
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strerror_r ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_strerror_r || defined __stub___strerror_r
| choke me
| #endif
| 
| int
| main ()
| {
| return strerror_r ();
|   ;
|   return 0;
| }
configure:9207: result: no
configure:9207: checking for __xpg_strerror_r
configure:9207: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
/tmp/cc95YwQ6.o: In function `main':
/home/wl/git/ttfautohint.mxe/conftest.c:83: undefined reference to `__xpg_strerror_r'
collect2: error: ld returned 1 exit status
configure:9207: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| /* end confdefs.h.  */
| /* Define __xpg_strerror_r to an innocuous variant, in case <limits.h> declares __xpg_strerror_r.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define __xpg_strerror_r innocuous___xpg_strerror_r
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char __xpg_strerror_r (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef __xpg_strerror_r
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char __xpg_strerror_r ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub___xpg_strerror_r || defined __stub_____xpg_strerror_r
| choke me
| #endif
| 
| int
| main ()
| {
| return __xpg_strerror_r ();
|   ;
|   return 0;
| }
configure:9207: result: no
configure:9207: checking for catgets
configure:9207: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
/tmp/ccD8uyt9.o: In function `main':
/home/wl/git/ttfautohint.mxe/conftest.c:83: undefined reference to `catgets'
collect2: error: ld returned 1 exit status
configure:9207: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| /* end confdefs.h.  */
| /* Define catgets to an innocuous variant, in case <limits.h> declares catgets.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define catgets innocuous_catgets
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char catgets (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef catgets
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char catgets ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_catgets || defined __stub___catgets
| choke me
| #endif
| 
| int
| main ()
| {
| return catgets ();
|   ;
|   return 0;
| }
configure:9207: result: no
configure:9207: checking for snprintf
configure:9207: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
conftest.c:72:6: warning: conflicting types for built-in function 'snprintf'
 char snprintf ();
      ^
configure:9207: $? = 0
configure:9207: result: yes
configure:9207: checking for strndup
configure:9207: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
conftest.c:73:6: warning: conflicting types for built-in function 'strndup'
 char strndup ();
      ^
/tmp/cc3IlFIe.o: In function `main':
/home/wl/git/ttfautohint.mxe/conftest.c:84: undefined reference to `strndup'
collect2: error: ld returned 1 exit status
configure:9207: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| /* end confdefs.h.  */
| /* Define strndup to an innocuous variant, in case <limits.h> declares strndup.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define strndup innocuous_strndup
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char strndup (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef strndup
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strndup ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_strndup || defined __stub___strndup
| choke me
| #endif
| 
| int
| main ()
| {
| return strndup ();
|   ;
|   return 0;
| }
configure:9207: result: no
configure:9207: checking for vasnprintf
configure:9207: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
/tmp/ccdwfv6g.o: In function `main':
/home/wl/git/ttfautohint.mxe/conftest.c:84: undefined reference to `vasnprintf'
collect2: error: ld returned 1 exit status
configure:9207: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| /* end confdefs.h.  */
| /* Define vasnprintf to an innocuous variant, in case <limits.h> declares vasnprintf.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define vasnprintf innocuous_vasnprintf
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char vasnprintf (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef vasnprintf
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char vasnprintf ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_vasnprintf || defined __stub___vasnprintf
| choke me
| #endif
| 
| int
| main ()
| {
| return vasnprintf ();
|   ;
|   return 0;
| }
configure:9207: result: no
configure:9278: checking for working fcntl.h
configure:9406: result: no
configure:9430: checking for pid_t
configure:9430: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:9430: $? = 0
configure:9430: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:89:20: error: expected expression before ')' token
 if (sizeof ((pid_t)))
                    ^
configure:9430: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| 
| int
| main ()
| {
| if (sizeof ((pid_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9430: result: yes
configure:9466: checking for mode_t
configure:9466: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:9466: $? = 0
configure:9466: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:88:21: error: expected expression before ')' token
 if (sizeof ((mode_t)))
                     ^
configure:9466: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((mode_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9466: result: yes
configure:10038: checking for getopt.h
configure:10038: result: yes
configure:10055: checking for getopt_long_only
configure:10055: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:10055: $? = 0
configure:10055: result: yes
configure:10069: checking whether getopt is POSIX compatible
configure:10230: result: guessing no
configure:10960: checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.
configure:10983: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:59:22: error: 'WORD_BIT' undeclared here (not in a function)
             int wb = WORD_BIT;
                      ^
conftest.c:60:24: error: 'ULLONG_WIDTH' undeclared here (not in a function)
             int ullw = ULLONG_WIDTH;
                        ^
configure:10983: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| /* end confdefs.h.  */
| #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
|              #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
|             #endif
|             #include <limits.h>
|             long long llm = LLONG_MAX;
|             int wb = WORD_BIT;
|             int ullw = ULLONG_WIDTH;
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:10990: result: no
configure:11008: checking for wint_t
configure:11025: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:11025: $? = 0
configure:11032: result: yes
configure:11039: checking whether wint_t is large enough
configure:11057: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:56:19: error: size of array 'verify' is negative
               int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1];
                   ^
configure:11057: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| /* end confdefs.h.  */
| #include <wchar.h>
|               int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1];
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:11064: result: no
configure:11083: checking whether the compiler produces multi-arch binaries
configure:11097: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:56:13: error: unknown type name 'not'
             not a universal capable compiler
             ^
conftest.c:56:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
             not a universal capable compiler
                   ^
conftest.c:56:19: error: unknown type name 'universal'
configure:11097: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
|             not a universal capable compiler
|            #endif
|            typedef int dummy;
| 
configure:11124: result: no
configure:11255: checking whether stdint.h conforms to C99
configure:11431: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:11431: $? = 0
configure:11526: result: guessing yes
configure:11537: checking whether stdint.h works without ISO C predefines
configure:11569: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:11569: $? = 0
configure:11575: result: yes
configure:11586: checking whether stdint.h has UINTMAX_WIDTH etc.
configure:11618: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:71:24: error: 'UINTMAX_WIDTH' undeclared here (not in a function)
               int iw = UINTMAX_WIDTH;
                        ^
configure:11618: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| /* end confdefs.h.  */
| 
|               /* Work if build is not clean.  */
|               #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1
|               #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
|                #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
|               #endif
|               #include <stdint.h>
| 
|   #include <stddef.h>
|   #include <signal.h>
|   #if HAVE_WCHAR_H
|   # include <wchar.h>
|   #endif
| 
|               int iw = UINTMAX_WIDTH;
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:11623: result: no
configure:11971: checking for C/C++ restrict keyword
configure:12000: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:12000: $? = 0
configure:12008: result: __restrict__
configure:12143: checking whether imported symbols can be declared weak
configure:12161: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:12161: $? = 0
configure:12231: result: guessing no
configure:12260: checking pthread.h usability
configure:12260: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:12260: $? = 0
configure:12260: result: yes
configure:12260: checking pthread.h presence
configure:12260: i686-w64-mingw32.static-gcc -E  conftest.c
configure:12260: $? = 0
configure:12260: result: yes
configure:12260: checking for pthread.h
configure:12260: result: yes
configure:12297: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c   >&5
configure:12297: $? = 0
configure:12313: checking for pthread_kill in -lpthread
configure:12338: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c -lpthread   >&5
configure:12338: $? = 0
configure:12347: result: yes
configure:12457: checking whether POSIX threads API is available
configure:12459: result: yes
configure:12480: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:12480: $? = 0
configure:13045: checking for multithread API to use
configure:13047: result: posix
configure:13059: checking whether malloc is ptrdiff_t safe
configure:13095: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:81:16: error: #error "malloc might not be ptrdiff_t safe"
               #error "malloc might not be ptrdiff_t safe"
                ^
conftest.c:82:15: error: unknown type name 'syntax'
               syntax error
               ^
configure:13095: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| /* end confdefs.h.  */
| #include <stdint.h>
| 
| int
| main ()
| {
| /* 64-bit ptrdiff_t is so wide that no practical platform
|                can exceed it.  */
|             #define WIDE_PTRDIFF (PTRDIFF_MAX >> 31 >> 31 != 0)
| 
|             /* On rare machines where size_t fits in ptrdiff_t there
|                is no problem.  */
|             #define NARROW_SIZE (SIZE_MAX <= PTRDIFF_MAX)
| 
|             /* glibc 2.30 and later malloc refuses to exceed ptrdiff_t
|                bounds even on 32-bit platforms.  We don't know which
|                non-glibc systems are safe.  */
|             #define KNOWN_SAFE (2 < __GLIBC__ + (30 <= __GLIBC_MINOR__))
| 
|             #if WIDE_PTRDIFF || NARROW_SIZE || KNOWN_SAFE
|               return 0;
|             #else
|               #error "malloc might not be ptrdiff_t safe"
|               syntax error
|             #endif
| 
|   ;
|   return 0;
| }
configure:13103: result: no
configure:13113: checking whether malloc, realloc, calloc set errno on failure
configure:13130: result: no
configure:13151: checking for mmap
configure:13151: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
/tmp/cch9PzhQ.o: In function `main':
/home/wl/git/ttfautohint.mxe/conftest.c:94: undefined reference to `mmap'
collect2: error: ld returned 1 exit status
configure:13151: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| /* end confdefs.h.  */
| /* Define mmap to an innocuous variant, in case <limits.h> declares mmap.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define mmap innocuous_mmap
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char mmap (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef mmap
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char mmap ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_mmap || defined __stub___mmap
| choke me
| #endif
| 
| int
| main ()
| {
| return mmap ();
|   ;
|   return 0;
| }
configure:13151: result: no
configure:13271: checking whether memchr works
configure:13366: result: guessing yes
configure:13547: checking whether memmem is declared
configure:13547: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:100:10: error: 'memmem' undeclared (first use in this function)
   (void) memmem;
          ^
conftest.c:100:10: note: each undeclared identifier is reported only once for each function it appears in
configure:13547: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| #ifndef memmem
| #ifdef __cplusplus
|   (void) memmem;
| #else
|   (void) memmem;
| #endif
| #endif
| 
|   ;
|   return 0;
| }
configure:13547: result: no
configure:13575: checking for stdbool.h that conforms to C99
configure:13650: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:13650: $? = 0
configure:13657: result: yes
configure:13659: checking for _Bool
configure:13659: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:13659: $? = 0
configure:13659: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:98:20: error: expected expression before ')' token
 if (sizeof ((_Bool)))
                    ^
configure:13659: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((_Bool)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:13659: result: yes
configure:13676: checking for wchar_t
configure:13693: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:13693: $? = 0
configure:13700: result: yes
configure:13716: checking for good max_align_t
configure:13745: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:13745: $? = 0
configure:13753: result: yes
configure:13765: checking whether NULL can be used in arbitrary expressions
configure:13783: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:13783: $? = 0
configure:13790: result: yes
configure:13933: checking whether fcloseall is declared
configure:13933: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:13933: $? = 0
configure:13933: result: yes
configure:14021: checking which flavor of printf attribute matches inttypes macros
configure:14048: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:74:20: error: size of array 'PRIdMAX_probe' is negative
        extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1];
                    ^
configure:14048: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| /* end confdefs.h.  */
| 
|        #define __STDC_FORMAT_MACROS 1
|        #include <stdio.h>
|        #include <inttypes.h>
|        /* For non-mingw systems, compilation will trivially succeed.
|           For mingw, compilation will succeed for older mingw (system
|           printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */
|        #if (defined _WIN32 && ! defined __CYGWIN__) &&          (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
|        extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1];
|        #endif
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:14055: result: gnu
configure:14317: checking whether ecvt is declared
configure:14317: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:14317: $? = 0
configure:14317: result: yes
configure:14328: checking whether fcvt is declared
configure:14328: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:14328: $? = 0
configure:14328: result: yes
configure:14339: checking whether gcvt is declared
configure:14339: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:14339: $? = 0
configure:14339: result: yes
configure:14445: checking whether strerror(0) succeeds
configure:14495: result: guessing yes
configure:14678: checking whether strerror_r is declared
configure:14678: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:110:10: error: 'strerror_r' undeclared (first use in this function)
   (void) strerror_r;
          ^
conftest.c:110:10: note: each undeclared identifier is reported only once for each function it appears in
configure:14678: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| #ifndef strerror_r
| #ifdef __cplusplus
|   (void) strerror_r;
| #else
|   (void) strerror_r;
| #endif
| #endif
| 
|   ;
|   return 0;
| }
configure:14678: result: no
configure:14773: checking whether strndup is declared
configure:14773: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:111:10: error: 'strndup' undeclared (first use in this function)
   (void) strndup;
          ^
conftest.c:111:10: note: each undeclared identifier is reported only once for each function it appears in
configure:14773: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRERROR_R 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| #ifndef strndup
| #ifdef __cplusplus
|   (void) strndup;
| #else
|   (void) strndup;
| #endif
| #endif
| 
|   ;
|   return 0;
| }
configure:14773: result: no
configure:14786: checking whether strnlen is declared
configure:14786: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:14786: $? = 0
configure:14786: result: yes
configure:14797: checking whether strtok_r is declared
configure:14797: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:14797: $? = 0
configure:14797: result: yes
configure:14908: checking whether execvpe is declared
configure:14908: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:14908: $? = 0
configure:14908: result: yes
configure:15036: checking for inttypes.h
configure:15055: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:15055: $? = 0
configure:15062: result: yes
configure:15073: checking for stdint.h
configure:15090: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:15090: $? = 0
configure:15097: result: yes
configure:15110: checking for intmax_t
configure:15135: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:15135: $? = 0
configure:15142: result: yes
configure:15157: checking where to find the exponent in a 'double'
configure:15192: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:80:9: error: unknown type name 'not'
         not a universal capable compiler
         ^
conftest.c:80:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
         not a universal capable compiler
               ^
conftest.c:80:15: error: unknown type name 'universal'
configure:15192: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_DECL_STRNDUP 0
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_STRTOK_R 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
| 	       not a universal capable compiler
| 	     #endif
| 	     typedef int dummy;
| 
configure:15237: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:15237: $? = 0
configure:15255: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:86:4: error: unknown type name 'not'
    not big endian
    ^
conftest.c:86:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
    not big endian
            ^
configure:15255: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_DECL_STRNDUP 0
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_STRTOK_R 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| 		#include <sys/param.h>
| 
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| 		 not big endian
| 		#endif
| 
|   ;
|   return 0;
| }
configure:15483: result: word 1 bit 20
configure:15508: checking whether snprintf returns a byte count as in C99
configure:15611: result: guessing no
configure:15617: checking whether snprintf truncates the result as in C99
configure:15711: result: guessing no
configure:15721: checking for snprintf
configure:15721: result: yes
configure:15721: checking for strnlen
configure:15721: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:15721: $? = 0
configure:15721: result: yes
configure:15721: checking for wcslen
configure:15721: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:15721: $? = 0
configure:15721: result: yes
configure:15721: checking for wcsnlen
configure:15721: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:15721: $? = 0
configure:15721: result: yes
configure:15721: checking for mbrtowc
configure:15721: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:15721: $? = 0
configure:15721: result: yes
configure:15721: checking for wcrtomb
configure:15721: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:15721: $? = 0
configure:15721: result: yes
configure:15730: checking whether _snprintf is declared
configure:15730: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:15730: $? = 0
configure:15730: result: yes
configure:15821: checking whether <wchar.h> uses 'inline' correctly
configure:15876: result: yes
configure:16007: checking whether wcsdup is declared
configure:16007: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:16007: $? = 0
configure:16007: result: yes
configure:16282: checking for __builtin_expect
configure:16297: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:16297: $? = 0
configure:16322: result: yes
configure:16335: checking whether // is distinct from /
configure:16364: result: unknown, assuming no
configure:16432: checking whether conversion from 'int' to 'long double' works
configure:16487: result: guessing yes
configure:16607: checking whether free is known to preserve errno
configure:16630: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:99:16: error: #error "'free' is not known to preserve errno"
               #error "'free' is not known to preserve errno"
                ^
configure:16630: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_DECL_STRNDUP 0
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_STRTOK_R 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define DBL_EXPBIT0_WORD 1
| #define DBL_EXPBIT0_BIT 20
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNLEN 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSNLEN 1
| #define HAVE_MBRTOWC 1
| #define HAVE_WCRTOMB 1
| #define HAVE_DECL__SNPRINTF 1
| #define HAVE_DECL_WCSDUP 1
| #define HAVE___BUILTIN_EXPECT 1
| /* end confdefs.h.  */
| #include <stdlib.h>
| 
| int
| main ()
| {
| #if 2 < __GLIBC__ + (33 <= __GLIBC_MINOR__)
|             #elif defined __OpenBSD__
|             #elif defined __sun
|             #else
|               #error "'free' is not known to preserve errno"
|             #endif
| 
|   ;
|   return 0;
| }
configure:16638: result: no
configure:16812: checking for pthread_rwlock_t
configure:16812: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:16812: $? = 0
configure:16812: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:99:31: error: expected expression before ')' token
 if (sizeof ((pthread_rwlock_t)))
                               ^
configure:16812: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_DECL_STRNDUP 0
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_STRTOK_R 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define DBL_EXPBIT0_WORD 1
| #define DBL_EXPBIT0_BIT 20
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNLEN 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSNLEN 1
| #define HAVE_MBRTOWC 1
| #define HAVE_WCRTOMB 1
| #define HAVE_DECL__SNPRINTF 1
| #define HAVE_DECL_WCSDUP 1
| #define HAVE___BUILTIN_EXPECT 1
| #define GNULIB_TEST_FREE_POSIX 1
| #define __GETOPT_PREFIX rpl_
| #define GNULIB_TEST_GETOPT_POSIX 1
| #define GNULIB_TEST_ISATTY 1
| /* end confdefs.h.  */
| #include <pthread.h>
| 
| int
| main ()
| {
| if (sizeof ((pthread_rwlock_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:16812: result: yes
configure:16824: checking whether pthread_rwlock_rdlock prefers a writer to a reader
configure:16979: result: guessing yes
configure:17013: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:17013: $? = 0
configure:17113: checking for memmem
configure:17113: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
/tmp/ccQFqdkL.o: In function `main':
/home/wl/git/ttfautohint.mxe/conftest.c:134: undefined reference to `memmem'
collect2: error: ld returned 1 exit status
configure:17113: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_DECL_STRNDUP 0
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_STRTOK_R 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define DBL_EXPBIT0_WORD 1
| #define DBL_EXPBIT0_BIT 20
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNLEN 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSNLEN 1
| #define HAVE_MBRTOWC 1
| #define HAVE_WCRTOMB 1
| #define HAVE_DECL__SNPRINTF 1
| #define HAVE_DECL_WCSDUP 1
| #define HAVE___BUILTIN_EXPECT 1
| #define GNULIB_TEST_FREE_POSIX 1
| #define __GETOPT_PREFIX rpl_
| #define GNULIB_TEST_GETOPT_POSIX 1
| #define GNULIB_TEST_ISATTY 1
| #define HAVE_PTHREAD_RWLOCK 1
| #define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1
| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
| #define GNULIB_LOCK 1
| #define GNULIB_TEST_MALLOC_POSIX 1
| #define GNULIB_TEST_MEMCHR 1
| /* end confdefs.h.  */
| /* Define memmem to an innocuous variant, in case <limits.h> declares memmem.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define memmem innocuous_memmem
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char memmem (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef memmem
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char memmem ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_memmem || defined __stub___memmem
| choke me
| #endif
| 
| int
| main ()
| {
| return memmem ();
|   ;
|   return 0;
| }
configure:17113: result: no
configure:17285: checking for stdint.h
configure:17285: result: yes
configure:17295: checking for SIZE_MAX
configure:17366: result: yes
configure:17378: checking for ssize_t
configure:17395: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:17395: $? = 0
configure:17402: result: yes
configure:17413: checking for va_copy
configure:17433: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:17433: $? = 0
configure:17441: result: yes
configure:18008: checking winsock2.h usability
configure:18008: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:18008: $? = 0
configure:18008: result: yes
configure:18008: checking winsock2.h presence
configure:18008: i686-w64-mingw32.static-gcc -E  conftest.c
configure:18008: $? = 0
configure:18008: result: yes
configure:18008: checking for winsock2.h
configure:18008: result: yes
configure:18217: checking for working strnlen
configure:18265: result: yes
configure:18313: checking for strtok_r
configure:18313: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:18313: $? = 0
configure:18313: result: yes
configure:18324: checking whether strtok_r works
configure:18376: result: guessing yes
configure:18430: checking for strtoull
configure:18430: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:18430: $? = 0
configure:18430: result: yes
configure:18440: checking whether strtoull works
configure:18486: result: guessing no
configure:18604: checking for ptrdiff_t
configure:18604: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:18604: $? = 0
configure:18604: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:167:24: error: expected expression before ')' token
 if (sizeof ((ptrdiff_t)))
                        ^
configure:18604: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_DECL_STRNDUP 0
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_STRTOK_R 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define DBL_EXPBIT0_WORD 1
| #define DBL_EXPBIT0_BIT 20
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNLEN 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSNLEN 1
| #define HAVE_MBRTOWC 1
| #define HAVE_WCRTOMB 1
| #define HAVE_DECL__SNPRINTF 1
| #define HAVE_DECL_WCSDUP 1
| #define HAVE___BUILTIN_EXPECT 1
| #define GNULIB_TEST_FREE_POSIX 1
| #define __GETOPT_PREFIX rpl_
| #define GNULIB_TEST_GETOPT_POSIX 1
| #define GNULIB_TEST_ISATTY 1
| #define HAVE_PTHREAD_RWLOCK 1
| #define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1
| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
| #define GNULIB_LOCK 1
| #define GNULIB_TEST_MALLOC_POSIX 1
| #define GNULIB_TEST_MEMCHR 1
| #define GNULIB_TEST_MEMMEM 1
| #define GNULIB_MSVC_NOTHROW 1
| #define HAVE_STDINT_H 1
| #define GNULIB_TEST_FSCANF 1
| #define GNULIB_FSCANF 1
| #define GNULIB_TEST_SCANF 1
| #define GNULIB_SCANF 1
| #define GNULIB_TEST_FGETC 1
| #define GNULIB_TEST_GETC 1
| #define GNULIB_TEST_GETCHAR 1
| #define GNULIB_TEST_FGETS 1
| #define GNULIB_TEST_FREAD 1
| #define GNULIB_TEST_FPRINTF 1
| #define GNULIB_TEST_PRINTF 1
| #define GNULIB_TEST_VFPRINTF 1
| #define GNULIB_TEST_VPRINTF 1
| #define GNULIB_TEST_FPUTC 1
| #define GNULIB_TEST_PUTC 1
| #define GNULIB_TEST_PUTCHAR 1
| #define GNULIB_TEST_FPUTS 1
| #define GNULIB_TEST_PUTS 1
| #define GNULIB_TEST_FWRITE 1
| #define HAVE_WINSOCK2_H 1
| #define GNULIB_TEST_STRERROR_R 1
| #define GNULIB_STRERROR_R_POSIX 1
| #define GNULIB_TEST_STRNDUP 1
| #define GNULIB_TEST_STRNLEN 1
| #define HAVE_STRTOK_R 1
| #define GNULIB_TEST_STRTOK_R 1
| #define HAVE_STRTOULL 1
| #define GNULIB_TEST_STRTOULL 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((ptrdiff_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:18604: result: yes
configure:18625: checking for vasprintf
configure:18625: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c  >&5
configure:18625: $? = 0
configure:18625: result: yes
configure:18762: checking for stdint.h
configure:18762: result: yes
configure:18818: checking for harfbuzz >= 2.4.0
configure:18825: $PKG_CONFIG --exists --print-errors "harfbuzz >= 2.4.0"
configure:18828: $? = 0
configure:18842: $PKG_CONFIG --exists --print-errors "harfbuzz >= 2.4.0"
configure:18845: $? = 0
configure:18903: result: yes
configure: this is autotroll.m4 serial 16
configure:18948: checking for i686-w64-mingw32.static-qmake
configure:18982: result: no
configure:18992: checking for qmake
configure:19011: found /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/qmake
configure:19023: result: /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/qmake
configure:19035: WARNING: using cross tools not prefixed with host triplet
configure:19060: checking for i686-w64-mingw32.static-moc
configure:19094: result: no
configure:19104: checking for moc
configure:19123: found /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/moc
configure:19135: result: /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/moc
configure:19172: checking for i686-w64-mingw32.static-uic
configure:19206: result: no
configure:19216: checking for uic
configure:19235: found /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/uic
configure:19247: result: /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/uic
configure:19284: checking for i686-w64-mingw32.static-rcc
configure:19318: result: no
configure:19328: checking for rcc
configure:19347: found /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/rcc
configure:19359: result: /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/rcc
configure:19390: checking whether host operating system is Darwin
configure:19399: result: no
configure:19402: checking whether QMAKESPEC environment variable is set
configure:19410: result: no
configure:19523: Invoking /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/qmake on conftest.dir.pro
| ######################################################################
| # Automatically generated by qmake (3.1) Sat May 22 14:37:15 2021
| ######################################################################
| 
| TEMPLATE = app
| TARGET = conftest.dir
| INCLUDEPATH += .
| 
| # You can make your code fail to compile if you use deprecated APIs.
| # In order to do so, uncomment the following line.
| # Please consult the documentation of the deprecated API in order to know
| # how to port your code away from it.
| # You can also select to disable deprecated APIs only up to a certain version of Qt.
| #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
| 
| # Input
| HEADERS += conftest.h
| SOURCES += conftest.cpp
| QT += widgets
| QTPLUGIN.imageformats = -
configure:19544: fixing the Makefiles: Makefile Makefile.Debug Makefile.Release
Makefile: updated 445 relative paths and 0 backslash-style paths
Makefile.Debug: updated 337 relative paths and 0 backslash-style paths
Makefile.Release: updated 337 relative paths and 0 backslash-style paths
configure:19633: checking whether we can build a simple Qt application
make -f Makefile.Release
make[1]: Entering directory '/home/wl/git/ttfautohint.mxe/conftest.dir'
i686-w64-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -Wextra -ffunction-sections -fdata-sections -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I. -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Irelease -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++  -o release/conftest.o conftest.cpp
i686-w64-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -Wextra -ffunction-sections -fdata-sections -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I. -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Irelease -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++  -o release/conftest.dir_plugin_import.o /home/wl/git/ttfautohint.mxe/conftest.dir/conftest.dir_plugin_import.cpp
i686-w64-mingw32.static-g++ -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -Wextra -ffunction-sections -fdata-sections -dM -E -o release/moc_predefs.h /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/features/data/dummy.cpp
/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/moc -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN --include /home/wl/git/ttfautohint.mxe/conftest.dir/release/moc_predefs.h -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++ -I/home/wl/git/ttfautohint.mxe/conftest.dir -I/home/wl/git/ttfautohint.mxe/conftest.dir -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -I/home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++ -I/home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/i686-w64-mingw32.static -I/home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/backward -I/home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include -I/home/wl/git/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include-fixed -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include conftest.h -o release/moc_conftest.cpp
i686-w64-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -Wextra -ffunction-sections -fdata-sections -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I. -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Irelease -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++  -o release/moc_conftest.o release/moc_conftest.cpp
i686-w64-mingw32.static-g++ -Wl,-s -Wl,--gc-sections -Wl,-subsystem,windows -mthreads -o release/conftest.dir.exe release/conftest.o release/conftest.dir_plugin_import.o release/moc_conftest.o  /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/plugins/styles/libqwindowsvistastyle.a -L/home/wl/git/mxe/usr/i686-w64-mingw32.static/lib /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/plugins/platforms/libqwindows.a -lwinspool -lwtsapi32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5EventDispatcherSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5FontDatabaseSupport.a -ldwrite -ld2d1 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5ThemeSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5AccessibilitySupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5WindowsUIAutomationSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Widgets.a -luxtheme -ldwmapi /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Gui.a -ld3d11 -ldxgi -ldxguid -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lfreetype -lm -lusp10 -lmsimg32 -lpixman-1 -lffi -lexpat -lbz2 -lpng16 -lharfbuzz_too -lfreetype_too -lglib-2.0 -lshlwapi -lpcre -lintl -liconv -lgdi32 -lcomdlg32 -loleaut32 -limm32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Core.a -lmpr -luserenv -lversion -lz -lpcre2-16 -lzstd -lnetapi32 -lws2_32 -ladvapi32 -lkernel32 -lole32 -lshell32 -luuid -luser32 -lwinmm  -lmingw32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libqtmain.a -lshell32 
make[1]: Leaving directory '/home/wl/git/ttfautohint.mxe/conftest.dir'
configure:19699: result: ok, looks like Qt 4 or Qt 5
configure:19747: checking for the DEFINES to use with Qt
configure:19755: result: -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN
configure:19761: checking for the CFLAGS to use with Qt
configure:19769: result: -pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra -Wextra -ffunction-sections -fdata-sections $(QT_DEFINES)
configure:19775: checking for the CXXFLAGS to use with Qt
configure:19783: result: -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -Wextra -ffunction-sections -fdata-sections -fexceptions -mthreads $(QT_DEFINES)
configure:19789: checking for the INCPATH to use with Qt
configure:19797: result: -I. -I. -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Irelease -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++ 
configure:19806: checking for the LDFLAGS to use with Qt
configure:19814: result: -Wl,-s -Wl,--gc-sections -Wl,-subsystem,windows -mthreads
configure:19822: checking for the LIBS to use with Qt
configure:19839: result: /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/plugins/styles/libqwindowsvistastyle.a -L/home/wl/git/mxe/usr/i686-w64-mingw32.static/lib /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/plugins/platforms/libqwindows.a -lwinspool -lwtsapi32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5EventDispatcherSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5FontDatabaseSupport.a -ldwrite -ld2d1 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5ThemeSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5AccessibilitySupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5WindowsUIAutomationSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Widgets.a -luxtheme -ldwmapi /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Gui.a -ld3d11 -ldxgi -ldxguid -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lfreetype -lm -lusp10 -lmsimg32 -lpixman-1 -lffi -lexpat -lbz2 -lpng16 -lharfbuzz_too -lfreetype_too -lglib-2.0 -lshlwapi -lpcre -lintl -liconv -lgdi32 -lcomdlg32 -loleaut32 -limm32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Core.a -lmpr -luserenv -lversion -lz -lpcre2-16 -lzstd -lnetapi32 -lws2_32 -ladvapi32 -lkernel32 -lole32 -lshell32 -luuid -luser32 -lwinmm  -lmingw32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libqtmain.a -lshell32 
configure:19845: checking for necessary static plugin code
configure:19858: result: // This file is autogenerated by qmake. It imports static plugin classes for
// static plugins specified using QTPLUGIN and QT_PLUGIN_CLASS.<plugin> variables.
#include <QtPlugin>
Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin)
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
configure:19882: checking for Qt's version
configure:19887: Running /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/qmake --version:
QMake version 3.1
Using Qt version 5.15.2 in /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib
configure:19894: result: 5.15.2
configure:19924: checking for QLocale::quoteString
configure:19937: result: yes
configure:20002: checking how to print strings
configure:20029: result: printf
configure:20050: checking for a sed that does not truncate output
configure:20114: result: /usr/bin/sed
configure:20132: checking for fgrep
configure:20194: result: /usr/bin/grep -F
configure:20229: checking for ld used by i686-w64-mingw32.static-gcc
configure:20296: result: /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld
configure:20303: checking if the linker (/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld) is GNU ld
configure:20318: result: yes
configure:20330: checking for BSD- or MS-compatible name lister (nm)
configure:20384: result: /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-nm -B
configure:20514: checking the name lister (/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-nm -B) interface
configure:20521: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:20524: /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-nm -B "conftest.o"
configure:20527: output
00000000 b .bss
00000000 d .data
00000000 N .debug_abbrev
00000000 N .debug_aranges
00000000 N .debug_info
00000000 N .debug_line
00000000 r .rdata$zzz
00000000 t .text
00000000 B _some_variable
configure:20534: result: BSD nm
configure:20538: checking the maximum length of command line arguments
configure:20669: result: 1572864
configure:20717: checking how to convert x86_64-pc-linux-gnu file names to i686-w64-mingw32.static format
configure:20757: result: func_convert_file_nix_to_w32
configure:20764: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:20784: result: func_convert_file_noop
configure:20791: checking for /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld option to reload object files
configure:20798: result: -r
configure:20832: checking for i686-w64-mingw32.static-objdump
configure:20848: found /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-objdump
configure:20859: result: i686-w64-mingw32.static-objdump
configure:20931: checking how to recognize dependent libraries
configure:21131: result: file_magic ^x86 archive import|^x86 DLL
configure:21176: checking for i686-w64-mingw32.static-dlltool
configure:21192: found /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-dlltool
configure:21203: result: i686-w64-mingw32.static-dlltool
configure:21276: checking how to associate runtime and link libraries
configure:21303: result: func_cygming_dll_for_implib
configure:21319: checking for i686-w64-mingw32.static-ar
configure:21346: result: i686-w64-mingw32.static-ar
configure:21427: checking for archiver @FILE support
configure:21444: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:21444: $? = 0
configure:21447: i686-w64-mingw32.static-ar cru libconftest.a @conftest.lst >&5
i686-w64-mingw32.static-ar: `u' modifier ignored since `D' is the default (see `U')
configure:21450: $? = 0
configure:21455: i686-w64-mingw32.static-ar cru libconftest.a @conftest.lst >&5
i686-w64-mingw32.static-ar: `u' modifier ignored since `D' is the default (see `U')
i686-w64-mingw32.static-ar: conftest.o: No such file or directory
configure:21458: $? = 1
configure:21470: result: @
configure:21488: checking for i686-w64-mingw32.static-strip
configure:21515: result: i686-w64-mingw32.static-strip
configure:21587: checking for i686-w64-mingw32.static-ranlib
configure:21614: result: i686-w64-mingw32.static-ranlib
configure:21756: checking command to parse /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-nm -B output from i686-w64-mingw32.static-gcc object
configure:21909: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:21912: $? = 0
configure:21916: /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:21919: $? = 0
cannot find nm_test_var in conftest.nm
configure:21909: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
configure:21912: $? = 0
configure:21916: /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:21919: $? = 0
configure:21985: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c conftstm.o >&5
configure:21988: $? = 0
configure:22026: result: ok
configure:22073: checking for sysroot
configure:22103: result: no
configure:22110: checking for a working dd
configure:22148: result: /usr/bin/dd
configure:22152: checking how to truncate binary pipes
configure:22167: result: /usr/bin/dd bs=4096 count=1
configure:22456: checking for i686-w64-mingw32.static-mt
configure:22486: result: no
configure:22496: checking for mt
configure:22512: found /usr/bin/mt
configure:22523: result: mt
configure:22546: checking if mt is a manifest tool
configure:22552: mt '-?'
configure:22560: result: no
configure:23234: checking for dlfcn.h
configure:23234: i686-w64-mingw32.static-gcc -c -g -O2  conftest.c >&5
conftest.c:170:19: fatal error: dlfcn.h: No such file or directory
compilation terminated.
configure:23234: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_DECL_STRNDUP 0
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_STRTOK_R 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define DBL_EXPBIT0_WORD 1
| #define DBL_EXPBIT0_BIT 20
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNLEN 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSNLEN 1
| #define HAVE_MBRTOWC 1
| #define HAVE_WCRTOMB 1
| #define HAVE_DECL__SNPRINTF 1
| #define HAVE_DECL_WCSDUP 1
| #define HAVE___BUILTIN_EXPECT 1
| #define GNULIB_TEST_FREE_POSIX 1
| #define __GETOPT_PREFIX rpl_
| #define GNULIB_TEST_GETOPT_POSIX 1
| #define GNULIB_TEST_ISATTY 1
| #define HAVE_PTHREAD_RWLOCK 1
| #define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1
| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
| #define GNULIB_LOCK 1
| #define GNULIB_TEST_MALLOC_POSIX 1
| #define GNULIB_TEST_MEMCHR 1
| #define GNULIB_TEST_MEMMEM 1
| #define GNULIB_MSVC_NOTHROW 1
| #define HAVE_STDINT_H 1
| #define GNULIB_TEST_FSCANF 1
| #define GNULIB_FSCANF 1
| #define GNULIB_TEST_SCANF 1
| #define GNULIB_SCANF 1
| #define GNULIB_TEST_FGETC 1
| #define GNULIB_TEST_GETC 1
| #define GNULIB_TEST_GETCHAR 1
| #define GNULIB_TEST_FGETS 1
| #define GNULIB_TEST_FREAD 1
| #define GNULIB_TEST_FPRINTF 1
| #define GNULIB_TEST_PRINTF 1
| #define GNULIB_TEST_VFPRINTF 1
| #define GNULIB_TEST_VPRINTF 1
| #define GNULIB_TEST_FPUTC 1
| #define GNULIB_TEST_PUTC 1
| #define GNULIB_TEST_PUTCHAR 1
| #define GNULIB_TEST_FPUTS 1
| #define GNULIB_TEST_PUTS 1
| #define GNULIB_TEST_FWRITE 1
| #define HAVE_WINSOCK2_H 1
| #define GNULIB_TEST_STRERROR_R 1
| #define GNULIB_STRERROR_R_POSIX 1
| #define GNULIB_TEST_STRNDUP 1
| #define GNULIB_TEST_STRNLEN 1
| #define HAVE_STRTOK_R 1
| #define GNULIB_TEST_STRTOK_R 1
| #define HAVE_STRTOULL 1
| #define GNULIB_TEST_STRTOULL 1
| #define HAVE_VASPRINTF 1
| #define GNULIB_TEST_VASPRINTF 1
| #define HAVE_STDINT_H 1
| #define HAVE_QT 1
| #define HAVE_QT_QUOTESTRING 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| 
| #include <dlfcn.h>
configure:23234: result: no
configure:23501: checking for objdir
configure:23516: result: .libs
configure:23780: checking if i686-w64-mingw32.static-gcc supports -fno-rtti -fno-exceptions
configure:23798: i686-w64-mingw32.static-gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:23802: $? = 0
configure:23815: result: no
configure:24173: checking for i686-w64-mingw32.static-gcc option to produce PIC
configure:24180: result: -DDLL_EXPORT -DPIC
configure:24188: checking if i686-w64-mingw32.static-gcc PIC flag -DDLL_EXPORT -DPIC works
configure:24206: i686-w64-mingw32.static-gcc -c -g -O2  -DDLL_EXPORT -DPIC -DPIC conftest.c >&5
configure:24210: $? = 0
configure:24223: result: yes
configure:24252: checking if i686-w64-mingw32.static-gcc static flag -static works
configure:24280: result: yes
configure:24295: checking if i686-w64-mingw32.static-gcc supports -c -o file.o
configure:24316: i686-w64-mingw32.static-gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:24320: $? = 0
configure:24342: result: yes
configure:24350: checking if i686-w64-mingw32.static-gcc supports -c -o file.o
configure:24397: result: yes
configure:24430: checking whether the i686-w64-mingw32.static-gcc linker (/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld) supports shared libraries
configure:25689: result: yes
configure:25929: checking dynamic linker characteristics
configure:26747: result: Win32 ld.exe
configure:26869: checking how to hardcode library paths into programs
configure:26894: result: immediate
configure:27442: checking whether stripping libraries is possible
configure:27447: result: yes
configure:27482: checking if libtool supports shared libraries
configure:27484: result: yes
configure:27487: checking whether to build shared libraries
configure:27512: result: no
configure:27515: checking whether to build static libraries
configure:27519: result: yes
configure:27542: checking how to run the C++ preprocessor
configure:27569: i686-w64-mingw32.static-g++ -std=gnu++11 -E  conftest.cpp
configure:27569: $? = 0
configure:27583: i686-w64-mingw32.static-g++ -std=gnu++11 -E  conftest.cpp
conftest.cpp:137:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:27583: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_DECL_STRNDUP 0
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_STRTOK_R 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define DBL_EXPBIT0_WORD 1
| #define DBL_EXPBIT0_BIT 20
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNLEN 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSNLEN 1
| #define HAVE_MBRTOWC 1
| #define HAVE_WCRTOMB 1
| #define HAVE_DECL__SNPRINTF 1
| #define HAVE_DECL_WCSDUP 1
| #define HAVE___BUILTIN_EXPECT 1
| #define GNULIB_TEST_FREE_POSIX 1
| #define __GETOPT_PREFIX rpl_
| #define GNULIB_TEST_GETOPT_POSIX 1
| #define GNULIB_TEST_ISATTY 1
| #define HAVE_PTHREAD_RWLOCK 1
| #define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1
| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
| #define GNULIB_LOCK 1
| #define GNULIB_TEST_MALLOC_POSIX 1
| #define GNULIB_TEST_MEMCHR 1
| #define GNULIB_TEST_MEMMEM 1
| #define GNULIB_MSVC_NOTHROW 1
| #define HAVE_STDINT_H 1
| #define GNULIB_TEST_FSCANF 1
| #define GNULIB_FSCANF 1
| #define GNULIB_TEST_SCANF 1
| #define GNULIB_SCANF 1
| #define GNULIB_TEST_FGETC 1
| #define GNULIB_TEST_GETC 1
| #define GNULIB_TEST_GETCHAR 1
| #define GNULIB_TEST_FGETS 1
| #define GNULIB_TEST_FREAD 1
| #define GNULIB_TEST_FPRINTF 1
| #define GNULIB_TEST_PRINTF 1
| #define GNULIB_TEST_VFPRINTF 1
| #define GNULIB_TEST_VPRINTF 1
| #define GNULIB_TEST_FPUTC 1
| #define GNULIB_TEST_PUTC 1
| #define GNULIB_TEST_PUTCHAR 1
| #define GNULIB_TEST_FPUTS 1
| #define GNULIB_TEST_PUTS 1
| #define GNULIB_TEST_FWRITE 1
| #define HAVE_WINSOCK2_H 1
| #define GNULIB_TEST_STRERROR_R 1
| #define GNULIB_STRERROR_R_POSIX 1
| #define GNULIB_TEST_STRNDUP 1
| #define GNULIB_TEST_STRNLEN 1
| #define HAVE_STRTOK_R 1
| #define GNULIB_TEST_STRTOK_R 1
| #define HAVE_STRTOULL 1
| #define GNULIB_TEST_STRTOULL 1
| #define HAVE_VASPRINTF 1
| #define GNULIB_TEST_VASPRINTF 1
| #define HAVE_STDINT_H 1
| #define HAVE_QT 1
| #define HAVE_QT_QUOTESTRING 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:27608: result: i686-w64-mingw32.static-g++ -std=gnu++11 -E
configure:27628: i686-w64-mingw32.static-g++ -std=gnu++11 -E  conftest.cpp
configure:27628: $? = 0
configure:27642: i686-w64-mingw32.static-g++ -std=gnu++11 -E  conftest.cpp
conftest.cpp:137:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:27642: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ttfautohint"
| #define PACKAGE_TARNAME "ttfautohint"
| #define PACKAGE_VERSION "1.8.3.40-01ed"
| #define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
| #define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "ttfautohint"
| #define VERSION "1.8.3.40-01ed"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_CRTDEFS_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_ALLOCA 1
| #define HAVE_MPROTECT 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define restrict __restrict__
| #define HAVE_PTHREAD_API 1
| #define USE_POSIX_THREADS 1
| #define HAVE_DECL_MEMMEM 0
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_DECL_STRNDUP 0
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_STRTOK_R 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define DBL_EXPBIT0_WORD 1
| #define DBL_EXPBIT0_BIT 20
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNLEN 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSNLEN 1
| #define HAVE_MBRTOWC 1
| #define HAVE_WCRTOMB 1
| #define HAVE_DECL__SNPRINTF 1
| #define HAVE_DECL_WCSDUP 1
| #define HAVE___BUILTIN_EXPECT 1
| #define GNULIB_TEST_FREE_POSIX 1
| #define __GETOPT_PREFIX rpl_
| #define GNULIB_TEST_GETOPT_POSIX 1
| #define GNULIB_TEST_ISATTY 1
| #define HAVE_PTHREAD_RWLOCK 1
| #define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1
| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
| #define GNULIB_LOCK 1
| #define GNULIB_TEST_MALLOC_POSIX 1
| #define GNULIB_TEST_MEMCHR 1
| #define GNULIB_TEST_MEMMEM 1
| #define GNULIB_MSVC_NOTHROW 1
| #define HAVE_STDINT_H 1
| #define GNULIB_TEST_FSCANF 1
| #define GNULIB_FSCANF 1
| #define GNULIB_TEST_SCANF 1
| #define GNULIB_SCANF 1
| #define GNULIB_TEST_FGETC 1
| #define GNULIB_TEST_GETC 1
| #define GNULIB_TEST_GETCHAR 1
| #define GNULIB_TEST_FGETS 1
| #define GNULIB_TEST_FREAD 1
| #define GNULIB_TEST_FPRINTF 1
| #define GNULIB_TEST_PRINTF 1
| #define GNULIB_TEST_VFPRINTF 1
| #define GNULIB_TEST_VPRINTF 1
| #define GNULIB_TEST_FPUTC 1
| #define GNULIB_TEST_PUTC 1
| #define GNULIB_TEST_PUTCHAR 1
| #define GNULIB_TEST_FPUTS 1
| #define GNULIB_TEST_PUTS 1
| #define GNULIB_TEST_FWRITE 1
| #define HAVE_WINSOCK2_H 1
| #define GNULIB_TEST_STRERROR_R 1
| #define GNULIB_STRERROR_R_POSIX 1
| #define GNULIB_TEST_STRNDUP 1
| #define GNULIB_TEST_STRNLEN 1
| #define HAVE_STRTOK_R 1
| #define GNULIB_TEST_STRTOK_R 1
| #define HAVE_STRTOULL 1
| #define GNULIB_TEST_STRTOULL 1
| #define HAVE_VASPRINTF 1
| #define GNULIB_TEST_VASPRINTF 1
| #define HAVE_STDINT_H 1
| #define HAVE_QT 1
| #define HAVE_QT_QUOTESTRING 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:27804: checking for ld used by i686-w64-mingw32.static-g++ -std=gnu++11
configure:27871: result: /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld
configure:27878: checking if the linker (/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld) is GNU ld
configure:27893: result: yes
configure:27948: checking whether the i686-w64-mingw32.static-g++ -std=gnu++11 linker (/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld) supports shared libraries
configure:29021: result: yes
configure:29057: i686-w64-mingw32.static-g++ -std=gnu++11 -c -g -O2  conftest.cpp >&5
configure:29060: $? = 0
configure:29541: checking for i686-w64-mingw32.static-g++ -std=gnu++11 option to produce PIC
configure:29548: result: -DDLL_EXPORT -DPIC
configure:29556: checking if i686-w64-mingw32.static-g++ -std=gnu++11 PIC flag -DDLL_EXPORT -DPIC works
configure:29574: i686-w64-mingw32.static-g++ -std=gnu++11 -c -g -O2  -DDLL_EXPORT -DPIC -DPIC conftest.cpp >&5
configure:29578: $? = 0
configure:29591: result: yes
configure:29614: checking if i686-w64-mingw32.static-g++ -std=gnu++11 static flag -static works
configure:29642: result: yes
configure:29654: checking if i686-w64-mingw32.static-g++ -std=gnu++11 supports -c -o file.o
configure:29675: i686-w64-mingw32.static-g++ -std=gnu++11 -c -g -O2  -o out/conftest2.o conftest.cpp >&5
configure:29679: $? = 0
configure:29701: result: yes
configure:29706: checking if i686-w64-mingw32.static-g++ -std=gnu++11 supports -c -o file.o
configure:29753: result: yes
configure:29783: checking whether the i686-w64-mingw32.static-g++ -std=gnu++11 linker (/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld) supports shared libraries
configure:29823: result: yes
configure:29964: checking dynamic linker characteristics
configure:30709: result: Win32 ld.exe
configure:30774: checking how to hardcode library paths into programs
configure:30799: result: immediate
configure:30861: creating ./config.lt

## ------------------ ##
## Running config.lt. ##
## ------------------ ##
config.lt:702: creating libtool
configure:32520: checking for cos in -lm
configure:32545: i686-w64-mingw32.static-gcc -o conftest.exe -g -O2   conftest.c -lm   >&5
conftest.c:144:6: warning: conflicting types for built-in function 'cos'
 char cos ();
      ^
configure:32545: $? = 0
configure:32554: result: yes
configure:32589: checking for i686-w64-mingw32.static-freetype-config
configure:32607: found /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-freetype-config
configure:32619: result: /home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-freetype-config
configure:32799: checking whether FreeType header files are version 2.4.5 or higher
configure:32815: i686-w64-mingw32.static-gcc -E -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/freetype2 conftest.c
configure:32815: $? = 0
configure:32816: result: yes
configure:32825: checking whether FreeType library is version 2.4.5 or higher
configure:32839: result: skipped due to cross-compilation
configure:33351: checking that generated files are newer than configure
configure:33357: result: done
configure:33465: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by ttfautohint config.status 1.8.3.40-01ed, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on linux

config.status:2087: creating Makefile
config.status:2087: creating gnulib/src/Makefile
config.status:2087: creating lib/Makefile
config.status:2087: creating frontend/Makefile
config.status:2087: creating frontend/static-plugins.cpp
config.status:2087: creating doc/Makefile
config.status:2087: creating config.h
config.status:2316: executing depfiles commands
config.status:2393: cd gnulib/src       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:2398: $? = 0
config.status:2393: cd lib       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:2398: $? = 0
config.status:2393: cd frontend       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:2398: $? = 0
config.status:2316: executing libtool commands
config.status:2316: executing doc/img/create-links commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_restrict=__restrict__
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_FREETYPE_CFLAGS_set=
ac_cv_env_FREETYPE_CFLAGS_value=
ac_cv_env_FREETYPE_LIBS_set=
ac_cv_env_FREETYPE_LIBS_value=
ac_cv_env_HARFBUZZ_CFLAGS_set=
ac_cv_env_HARFBUZZ_CFLAGS_value=
ac_cv_env_HARFBUZZ_LIBS_set=
ac_cv_env_HARFBUZZ_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_MOC_set=
ac_cv_env_MOC_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_QMAKE_set=
ac_cv_env_QMAKE_value=
ac_cv_env_QT_PATH_set=
ac_cv_env_QT_PATH_value=
ac_cv_env_RCC_set=
ac_cv_env_RCC_value=
ac_cv_env_UIC_set=
ac_cv_env_UIC_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-w64-mingw32.static
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=.exe
ac_cv_func___xpg_strerror_r=no
ac_cv_func__set_invalid_parameter_handler=yes
ac_cv_func_alloca_works=yes
ac_cv_func_catgets=no
ac_cv_func_getopt_long_only=yes
ac_cv_func_mbrtowc=yes
ac_cv_func_memmem=no
ac_cv_func_mmap=no
ac_cv_func_mprotect=yes
ac_cv_func_snprintf=yes
ac_cv_func_strerror_r=no
ac_cv_func_strndup=no
ac_cv_func_strnlen=yes
ac_cv_func_strnlen_working=yes
ac_cv_func_strtok_r=yes
ac_cv_func_strtoull=yes
ac_cv_func_symlink=no
ac_cv_func_vasnprintf=no
ac_cv_func_vasprintf=yes
ac_cv_func_wcrtomb=yes
ac_cv_func_wcslen=yes
ac_cv_func_wcsnlen=yes
ac_cv_have_decl__snprintf=yes
ac_cv_have_decl_ecvt=yes
ac_cv_have_decl_execvpe=yes
ac_cv_have_decl_fcloseall=yes
ac_cv_have_decl_fcvt=yes
ac_cv_have_decl_gcvt=yes
ac_cv_have_decl_memmem=no
ac_cv_have_decl_strerror_r=no
ac_cv_have_decl_strndup=no
ac_cv_have_decl_strnlen=yes
ac_cv_have_decl_strtok_r=yes
ac_cv_have_decl_wcsdup=yes
ac_cv_header_crtdefs_h=yes
ac_cv_header_dlfcn_h=no
ac_cv_header_features_h=no
ac_cv_header_getopt_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_pthread_h=yes
ac_cv_header_stdbool_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_cdefs_h=yes
ac_cv_header_sys_mman_h=no
ac_cv_header_sys_socket_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_threads_h=no
ac_cv_header_unistd_h=yes
ac_cv_header_wchar_h=yes
ac_cv_header_winsock2_h=yes
ac_cv_host=i686-w64-mingw32.static
ac_cv_lib_m_cos=yes
ac_cv_lib_pthread_pthread_kill=yes
ac_cv_objext=o
ac_cv_path_BISON=/usr/local/bin/bison
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_FLEX=/usr/local/bin/flex
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_PKG_CONFIG=/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-pkg-config
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ac_pt_MOC=/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/moc
ac_cv_path_ac_pt_QMAKE=/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/qmake
ac_cv_path_ac_pt_RCC=/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/rcc
ac_cv_path_ac_pt_UIC=/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/uic
ac_cv_path_ft_config=/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-freetype-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/usr/bin/dd
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AR=i686-w64-mingw32.static-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=i686-w64-mingw32.static-gcc
ac_cv_prog_CPP='i686-w64-mingw32.static-gcc -E'
ac_cv_prog_CXX=i686-w64-mingw32.static-g++
ac_cv_prog_CXXCPP='i686-w64-mingw32.static-g++ -std=gnu++11 -E'
ac_cv_prog_DLLTOOL=i686-w64-mingw32.static-dlltool
ac_cv_prog_OBJDUMP=i686-w64-mingw32.static-objdump
ac_cv_prog_RANLIB=i686-w64-mingw32.static-ranlib
ac_cv_prog_STRIP=i686-w64-mingw32.static-strip
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_cxx11=-std=gnu++11
ac_cv_prog_cxx_cxx98=-std=gnu++11
ac_cv_prog_cxx_g=yes
ac_cv_prog_cxx_stdcxx=-std=gnu++11
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_should_define__xopen_source=no
ac_cv_type__Bool=yes
ac_cv_type_mode_t=yes
ac_cv_type_pid_t=yes
ac_cv_type_pthread_rwlock_t=yes
ac_cv_type_ptrdiff_t=yes
ac_cv_type_size_t=yes
ac_cv_working_alloca_h=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar
at_cv_QT_VERSION=5.15.2
at_cv_env_QT_CFLAGS='-pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra -Wextra -ffunction-sections -fdata-sections $(QT_DEFINES)'
at_cv_env_QT_CXXFLAGS='-pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -Wextra -ffunction-sections -fdata-sections -fexceptions -mthreads $(QT_DEFINES)'
at_cv_env_QT_DEFINES='-DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN'
at_cv_env_QT_INCPATH='-I. -I. -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Irelease -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++ '
at_cv_env_QT_LDFLAGS='-Wl,-s -Wl,--gc-sections -Wl,-subsystem,windows -mthreads'
at_cv_env_QT_LIBS='/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/plugins/styles/libqwindowsvistastyle.a -L/home/wl/git/mxe/usr/i686-w64-mingw32.static/lib /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/plugins/platforms/libqwindows.a -lwinspool -lwtsapi32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5EventDispatcherSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5FontDatabaseSupport.a -ldwrite -ld2d1 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5ThemeSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5AccessibilitySupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5WindowsUIAutomationSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Widgets.a -luxtheme -ldwmapi /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Gui.a -ld3d11 -ldxgi -ldxguid -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lfreetype -lm -lusp10 -lmsimg32 -lpixman-1 -lffi -lexpat -lbz2 -lpng16 -lharfbuzz_too -lfreetype_too -lglib-2.0 -lshlwapi -lpcre -lintl -liconv -lgdi32 -lcomdlg32 -loleaut32 -limm32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Core.a -lmpr -luserenv -lversion -lz -lpcre2-16 -lzstd -lnetapi32 -lws2_32 -ladvapi32 -lkernel32 -lole32 -lshell32 -luuid -luser32 -lwinmm  -lmingw32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libqtmain.a -lshell32 '
at_cv_qt_build='ok, looks like Qt 4 or Qt 5'
gl_cv___builtin_expect=yes
gl_cv_c_amsterdam_compiler=no
gl_cv_c_multiarch=no
gl_cv_cc_double_expbit0='word 1 bit 20'
gl_cv_compiler_check_decl_option=none
gl_cv_compiler_clang=no
gl_cv_decl_null_works=yes
gl_cv_double_slash_root='unknown, assuming no'
gl_cv_func_free_preserves_errno=no
gl_cv_func_getopt_posix='guessing no'
gl_cv_func_itold_works='guessing yes'
gl_cv_func_malloc_posix=no
gl_cv_func_memchr_works='guessing yes'
gl_cv_func_printf_attribute_flavor=gnu
gl_cv_func_snprintf_retval_c99='guessing no'
gl_cv_func_snprintf_truncation_c99='guessing no'
gl_cv_func_strerror_0_works='guessing yes'
gl_cv_func_strtok_r_works='guessing yes'
gl_cv_func_strtoull_works='guessing no'
gl_cv_func_va_copy=yes
gl_cv_have_include_next=yes
gl_cv_have_weak='guessing no'
gl_cv_header_errno_h_EMULTIHOP=no
gl_cv_header_errno_h_ENOLINK=yes
gl_cv_header_errno_h_EOVERFLOW=yes
gl_cv_header_errno_h_complete=no
gl_cv_header_inttypes_h=yes
gl_cv_header_limits_width=no
gl_cv_header_stdint_h=yes
gl_cv_header_stdint_width=no
gl_cv_header_stdint_without_STDC_macros=yes
gl_cv_header_wchar_h_correct_inline=yes
gl_cv_header_working_fcntl_h=no
gl_cv_header_working_stdint_h='guessing yes'
gl_cv_malloc_ptrdiff=no
gl_cv_next_errno_h='<errno.h>'
gl_cv_next_fcntl_h='<fcntl.h>'
gl_cv_next_getopt_h='<getopt.h>'
gl_cv_next_inttypes_h='<inttypes.h>'
gl_cv_next_limits_h='<limits.h>'
gl_cv_next_stdint_h='<stdint.h>'
gl_cv_next_stdio_h='<stdio.h>'
gl_cv_next_stdlib_h='<stdlib.h>'
gl_cv_next_string_h='<string.h>'
gl_cv_next_sys_types_h='<sys/types.h>'
gl_cv_next_unistd_h='<unistd.h>'
gl_cv_next_wchar_h='<wchar.h>'
gl_cv_pthread_rwlock_rdlock_prefer_writer='guessing yes'
gl_cv_size_max=yes
gl_cv_source_line_length_unlimited=yes
gl_cv_type_max_align_t=yes
gl_cv_type_wint_t_large_enough=no
gt_cv_c_intmax_t=yes
gt_cv_c_wchar_t=yes
gt_cv_c_wint_t=yes
gt_cv_ssize_t=yes
lt_cv_ar_at_file=@
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd=func_win32_libid
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld
lt_cv_path_LDCXX=/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld
lt_cv_path_NM='/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-DDLL_EXPORT -DPIC'
lt_cv_prog_compiler_pic_CXX='-DDLL_EXPORT -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'
pkg_cv_HARFBUZZ_CFLAGS='-I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/harfbuzz -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/cairo -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/pixman-1  -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/libpng16 -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/glib-2.0 -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/lib/glib-2.0/include -mms-bitfields -DPCRE_STATIC -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/freetype2  '
pkg_cv_HARFBUZZ_LIBS=' -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lfreetype -lm -lusp10 -lmsimg32 -lgdi32 -lpixman-1 -L/home/wl/git/mxe/usr/i686-w64-mingw32.static/lib/../lib -lffi -lexpat -lbz2 -lpng16 -lz -lharfbuzz_too -lfreetype_too -lglib-2.0 -lws2_32 -lole32 -lwinmm -lshlwapi -lpcre -lintl -liconv  '

## ----------------- ##
## Output variables. ##
## ----------------- ##

#include <QtPlugin>
// static plugins specified using QTPLUGIN and QT_PLUGIN_CLASS.<plugin> variables.
ACLOCAL='${SHELL} '\''/home/wl/git/ttfautohint.mxe/gnulib/missing'\'' aclocal-1.16'
ALLOCA=''
ALLOCA_H='alloca.h'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
APPLE_UNIVERSAL_BUILD='0'
AR='i686-w64-mingw32.static-ar'
ARFLAGS='cr'
AUTOCONF='${SHELL} '\''/home/wl/git/ttfautohint.mxe/gnulib/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/wl/git/ttfautohint.mxe/gnulib/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/wl/git/ttfautohint.mxe/gnulib/missing'\'' automake-1.16'
AWK='gawk'
BISON='/usr/local/bin/bison'
BITSIZEOF_PTRDIFF_T=''
BITSIZEOF_SIG_ATOMIC_T=''
BITSIZEOF_SIZE_T=''
BITSIZEOF_WCHAR_T=''
BITSIZEOF_WINT_T=''
CC='i686-w64-mingw32.static-gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='i686-w64-mingw32.static-gcc -E'
CPPFLAGS='-I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/freetype2'
CXX='i686-w64-mingw32.static-g++ -std=gnu++11'
CXXCPP='i686-w64-mingw32.static-g++ -std=gnu++11 -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='i686-w64-mingw32.static-dlltool'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EMULTIHOP_HIDDEN='0'
EMULTIHOP_VALUE=''
ENOLINK_HIDDEN='0'
ENOLINK_VALUE=''
EOVERFLOW_HIDDEN='0'
EOVERFLOW_VALUE=''
ERRNO_H='errno.h'
EXEEXT='.exe'
FGREP='/usr/bin/grep -F'
FLEX='/usr/local/bin/flex'
FLOAT_H=''
FREETYPE_CFLAGS=''
FREETYPE_CPPFLAGS='-I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/freetype2'
FREETYPE_LIBS='/home/wl/git/mxe/usr/i686-w64-mingw32.static/lib/libfreetype.la'
GETOPT_CDEFS_H='getopt-cdefs.h'
GETOPT_H='getopt.h'
GL_COND_LIBTOOL_FALSE='#'
GL_COND_LIBTOOL_TRUE=''
GL_GENERATE_ALLOCA_H_FALSE='#'
GL_GENERATE_ALLOCA_H_TRUE=''
GL_GENERATE_ERRNO_H_FALSE='#'
GL_GENERATE_ERRNO_H_TRUE=''
GL_GENERATE_FLOAT_H_FALSE=''
GL_GENERATE_FLOAT_H_TRUE='#'
GL_GENERATE_LIMITS_H_FALSE='#'
GL_GENERATE_LIMITS_H_TRUE=''
GL_GENERATE_STDARG_H_FALSE=''
GL_GENERATE_STDARG_H_TRUE='#'
GL_GENERATE_STDBOOL_H_FALSE=''
GL_GENERATE_STDBOOL_H_TRUE='#'
GL_GENERATE_STDDEF_H_FALSE=''
GL_GENERATE_STDDEF_H_TRUE='#'
GL_GENERATE_STDINT_H_FALSE='#'
GL_GENERATE_STDINT_H_TRUE=''
GL_GNULIB_ACCESS='0'
GL_GNULIB_ALIGNED_ALLOC='0'
GL_GNULIB_ATOLL='0'
GL_GNULIB_BTOWC='0'
GL_GNULIB_CALLOC_POSIX='0'
GL_GNULIB_CANONICALIZE_FILE_NAME='0'
GL_GNULIB_CHDIR='0'
GL_GNULIB_CHOWN='0'
GL_GNULIB_CLOSE='0'
GL_GNULIB_COPY_FILE_RANGE='0'
GL_GNULIB_CREAT='0'
GL_GNULIB_DPRINTF='0'
GL_GNULIB_DUP2='0'
GL_GNULIB_DUP3='0'
GL_GNULIB_DUP='0'
GL_GNULIB_ENVIRON='0'
GL_GNULIB_EUIDACCESS='0'
GL_GNULIB_EXECL='0'
GL_GNULIB_EXECLE='0'
GL_GNULIB_EXECLP='0'
GL_GNULIB_EXECV='0'
GL_GNULIB_EXECVE='0'
GL_GNULIB_EXECVP='0'
GL_GNULIB_EXECVPE='0'
GL_GNULIB_EXPLICIT_BZERO='0'
GL_GNULIB_FACCESSAT='0'
GL_GNULIB_FCHDIR='0'
GL_GNULIB_FCHOWNAT='0'
GL_GNULIB_FCLOSE='0'
GL_GNULIB_FCNTL='0'
GL_GNULIB_FDATASYNC='0'
GL_GNULIB_FDOPEN='0'
GL_GNULIB_FFLUSH='0'
GL_GNULIB_FFSL='0'
GL_GNULIB_FFSLL='0'
GL_GNULIB_FGETC='1'
GL_GNULIB_FGETS='1'
GL_GNULIB_FOPEN='0'
GL_GNULIB_FPRINTF='1'
GL_GNULIB_FPRINTF_POSIX='0'
GL_GNULIB_FPURGE='0'
GL_GNULIB_FPUTC='1'
GL_GNULIB_FPUTS='1'
GL_GNULIB_FREAD='1'
GL_GNULIB_FREE_POSIX='1'
GL_GNULIB_FREOPEN='0'
GL_GNULIB_FSCANF='1'
GL_GNULIB_FSEEK='0'
GL_GNULIB_FSEEKO='0'
GL_GNULIB_FSYNC='0'
GL_GNULIB_FTELL='0'
GL_GNULIB_FTELLO='0'
GL_GNULIB_FTRUNCATE='0'
GL_GNULIB_FWRITE='1'
GL_GNULIB_GETC='1'
GL_GNULIB_GETCHAR='1'
GL_GNULIB_GETCWD='0'
GL_GNULIB_GETDELIM='0'
GL_GNULIB_GETDOMAINNAME='0'
GL_GNULIB_GETDTABLESIZE='0'
GL_GNULIB_GETENTROPY='0'
GL_GNULIB_GETGROUPS='0'
GL_GNULIB_GETHOSTNAME='0'
GL_GNULIB_GETLINE='0'
GL_GNULIB_GETLOADAVG='0'
GL_GNULIB_GETLOGIN='0'
GL_GNULIB_GETLOGIN_R='0'
GL_GNULIB_GETOPT_POSIX='1'
GL_GNULIB_GETPAGESIZE='0'
GL_GNULIB_GETPASS='0'
GL_GNULIB_GETSUBOPT='0'
GL_GNULIB_GETUSERSHELL='0'
GL_GNULIB_GRANTPT='0'
GL_GNULIB_GROUP_MEMBER='0'
GL_GNULIB_IMAXABS='0'
GL_GNULIB_IMAXDIV='0'
GL_GNULIB_ISATTY='1'
GL_GNULIB_LCHOWN='0'
GL_GNULIB_LINK='0'
GL_GNULIB_LINKAT='0'
GL_GNULIB_LSEEK='0'
GL_GNULIB_MALLOC_POSIX='1'
GL_GNULIB_MBRLEN='0'
GL_GNULIB_MBRTOWC='0'
GL_GNULIB_MBSCASECMP='0'
GL_GNULIB_MBSCASESTR='0'
GL_GNULIB_MBSCHR='0'
GL_GNULIB_MBSCSPN='0'
GL_GNULIB_MBSINIT='0'
GL_GNULIB_MBSLEN='0'
GL_GNULIB_MBSNCASECMP='0'
GL_GNULIB_MBSNLEN='0'
GL_GNULIB_MBSNRTOWCS='0'
GL_GNULIB_MBSPBRK='0'
GL_GNULIB_MBSPCASECMP='0'
GL_GNULIB_MBSRCHR='0'
GL_GNULIB_MBSRTOWCS='0'
GL_GNULIB_MBSSEP='0'
GL_GNULIB_MBSSPN='0'
GL_GNULIB_MBSSTR='0'
GL_GNULIB_MBSTOK_R='0'
GL_GNULIB_MBTOWC='0'
GL_GNULIB_MDA_ACCESS='1'
GL_GNULIB_MDA_CHDIR='1'
GL_GNULIB_MDA_CLOSE='1'
GL_GNULIB_MDA_CREAT='1'
GL_GNULIB_MDA_DUP2='1'
GL_GNULIB_MDA_DUP='1'
GL_GNULIB_MDA_ECVT='1'
GL_GNULIB_MDA_EXECL='1'
GL_GNULIB_MDA_EXECLE='1'
GL_GNULIB_MDA_EXECLP='1'
GL_GNULIB_MDA_EXECV='1'
GL_GNULIB_MDA_EXECVE='1'
GL_GNULIB_MDA_EXECVP='1'
GL_GNULIB_MDA_EXECVPE='1'
GL_GNULIB_MDA_FCLOSEALL='1'
GL_GNULIB_MDA_FCVT='1'
GL_GNULIB_MDA_FDOPEN='1'
GL_GNULIB_MDA_FILENO='1'
GL_GNULIB_MDA_GCVT='1'
GL_GNULIB_MDA_GETCWD='1'
GL_GNULIB_MDA_GETPID='1'
GL_GNULIB_MDA_GETW='1'
GL_GNULIB_MDA_ISATTY='1'
GL_GNULIB_MDA_LSEEK='1'
GL_GNULIB_MDA_MEMCCPY='1'
GL_GNULIB_MDA_MKTEMP='1'
GL_GNULIB_MDA_OPEN='1'
GL_GNULIB_MDA_PUTENV='1'
GL_GNULIB_MDA_PUTW='1'
GL_GNULIB_MDA_READ='1'
GL_GNULIB_MDA_RMDIR='1'
GL_GNULIB_MDA_STRDUP='1'
GL_GNULIB_MDA_SWAB='1'
GL_GNULIB_MDA_TEMPNAM='1'
GL_GNULIB_MDA_UNLINK='1'
GL_GNULIB_MDA_WCSDUP='1'
GL_GNULIB_MDA_WRITE='1'
GL_GNULIB_MEMCHR='1'
GL_GNULIB_MEMMEM='1'
GL_GNULIB_MEMPCPY='0'
GL_GNULIB_MEMRCHR='0'
GL_GNULIB_MKDTEMP='0'
GL_GNULIB_MKOSTEMP='0'
GL_GNULIB_MKOSTEMPS='0'
GL_GNULIB_MKSTEMP='0'
GL_GNULIB_MKSTEMPS='0'
GL_GNULIB_NONBLOCKING='0'
GL_GNULIB_OBSTACK_PRINTF='0'
GL_GNULIB_OBSTACK_PRINTF_POSIX='0'
GL_GNULIB_OPEN='0'
GL_GNULIB_OPENAT='0'
GL_GNULIB_PCLOSE='0'
GL_GNULIB_PERROR='0'
GL_GNULIB_PIPE2='0'
GL_GNULIB_PIPE='0'
GL_GNULIB_POPEN='0'
GL_GNULIB_POSIX_MEMALIGN='0'
GL_GNULIB_POSIX_OPENPT='0'
GL_GNULIB_PREAD='0'
GL_GNULIB_PRINTF='1'
GL_GNULIB_PRINTF_POSIX='0'
GL_GNULIB_PTSNAME='0'
GL_GNULIB_PTSNAME_R='0'
GL_GNULIB_PUTC='1'
GL_GNULIB_PUTCHAR='1'
GL_GNULIB_PUTENV='0'
GL_GNULIB_PUTS='1'
GL_GNULIB_PWRITE='0'
GL_GNULIB_QSORT_R='0'
GL_GNULIB_RANDOM='0'
GL_GNULIB_RANDOM_R='0'
GL_GNULIB_RAWMEMCHR='0'
GL_GNULIB_READ='0'
GL_GNULIB_READLINK='0'
GL_GNULIB_READLINKAT='0'
GL_GNULIB_REALLOCARRAY='0'
GL_GNULIB_REALLOC_POSIX='0'
GL_GNULIB_REALPATH='0'
GL_GNULIB_REMOVE='0'
GL_GNULIB_RENAME='0'
GL_GNULIB_RENAMEAT='0'
GL_GNULIB_RMDIR='0'
GL_GNULIB_RPMATCH='0'
GL_GNULIB_SCANF='1'
GL_GNULIB_SECURE_GETENV='0'
GL_GNULIB_SETENV='0'
GL_GNULIB_SETHOSTNAME='0'
GL_GNULIB_SIGABBREV_NP='0'
GL_GNULIB_SIGDESCR_NP='0'
GL_GNULIB_SLEEP='0'
GL_GNULIB_SNPRINTF='0'
GL_GNULIB_SPRINTF_POSIX='0'
GL_GNULIB_STDIO_H_NONBLOCKING='0'
GL_GNULIB_STDIO_H_SIGPIPE='0'
GL_GNULIB_STPCPY='0'
GL_GNULIB_STPNCPY='0'
GL_GNULIB_STRCASESTR='0'
GL_GNULIB_STRCHRNUL='0'
GL_GNULIB_STRDUP='0'
GL_GNULIB_STRERROR='0'
GL_GNULIB_STRERRORNAME_NP='0'
GL_GNULIB_STRERROR_R='1'
GL_GNULIB_STRNCAT='0'
GL_GNULIB_STRNDUP='1'
GL_GNULIB_STRNLEN='1'
GL_GNULIB_STRPBRK='0'
GL_GNULIB_STRSEP='0'
GL_GNULIB_STRSIGNAL='0'
GL_GNULIB_STRSTR='0'
GL_GNULIB_STRTOD='0'
GL_GNULIB_STRTOIMAX='0'
GL_GNULIB_STRTOK_R='1'
GL_GNULIB_STRTOL='0'
GL_GNULIB_STRTOLD='0'
GL_GNULIB_STRTOLL='0'
GL_GNULIB_STRTOUL='0'
GL_GNULIB_STRTOULL='1'
GL_GNULIB_STRTOUMAX='0'
GL_GNULIB_STRVERSCMP='0'
GL_GNULIB_SYMLINK='0'
GL_GNULIB_SYMLINKAT='0'
GL_GNULIB_SYSTEM_POSIX='0'
GL_GNULIB_TMPFILE='0'
GL_GNULIB_TRUNCATE='0'
GL_GNULIB_TTYNAME_R='0'
GL_GNULIB_UNISTD_H_NONBLOCKING='0'
GL_GNULIB_UNISTD_H_SIGPIPE='0'
GL_GNULIB_UNLINK='0'
GL_GNULIB_UNLINKAT='0'
GL_GNULIB_UNLOCKPT='0'
GL_GNULIB_UNSETENV='0'
GL_GNULIB_USLEEP='0'
GL_GNULIB_VASPRINTF='1'
GL_GNULIB_VDPRINTF='0'
GL_GNULIB_VFPRINTF='1'
GL_GNULIB_VFPRINTF_POSIX='0'
GL_GNULIB_VFSCANF='0'
GL_GNULIB_VPRINTF='1'
GL_GNULIB_VPRINTF_POSIX='0'
GL_GNULIB_VSCANF='0'
GL_GNULIB_VSNPRINTF='0'
GL_GNULIB_VSPRINTF_POSIX='0'
GL_GNULIB_WCPCPY='0'
GL_GNULIB_WCPNCPY='0'
GL_GNULIB_WCRTOMB='0'
GL_GNULIB_WCSCASECMP='0'
GL_GNULIB_WCSCAT='0'
GL_GNULIB_WCSCHR='0'
GL_GNULIB_WCSCMP='0'
GL_GNULIB_WCSCOLL='0'
GL_GNULIB_WCSCPY='0'
GL_GNULIB_WCSCSPN='0'
GL_GNULIB_WCSDUP='0'
GL_GNULIB_WCSFTIME='0'
GL_GNULIB_WCSLEN='0'
GL_GNULIB_WCSNCASECMP='0'
GL_GNULIB_WCSNCAT='0'
GL_GNULIB_WCSNCMP='0'
GL_GNULIB_WCSNCPY='0'
GL_GNULIB_WCSNLEN='0'
GL_GNULIB_WCSNRTOMBS='0'
GL_GNULIB_WCSPBRK='0'
GL_GNULIB_WCSRCHR='0'
GL_GNULIB_WCSRTOMBS='0'
GL_GNULIB_WCSSPN='0'
GL_GNULIB_WCSSTR='0'
GL_GNULIB_WCSTOK='0'
GL_GNULIB_WCSWIDTH='0'
GL_GNULIB_WCSXFRM='0'
GL_GNULIB_WCTOB='0'
GL_GNULIB_WCTOMB='0'
GL_GNULIB_WCWIDTH='0'
GL_GNULIB_WMEMCHR='0'
GL_GNULIB_WMEMCMP='0'
GL_GNULIB_WMEMCPY='0'
GL_GNULIB_WMEMMOVE='0'
GL_GNULIB_WMEMPCPY='0'
GL_GNULIB_WMEMSET='0'
GL_GNULIB_WRITE='0'
GL_GNULIB__EXIT='0'
GNULIBHEADERS_OVERRIDE_WINT_T='1'
GNULIB_GL_UNISTD_H_GETOPT='1'
GREP='/usr/bin/grep'
HARFBUZZ_CFLAGS='-I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/harfbuzz -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/cairo -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/pixman-1  -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/libpng16 -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/glib-2.0 -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/lib/glib-2.0/include -mms-bitfields -DPCRE_STATIC -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/freetype2  '
HARFBUZZ_LIBS=' -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lfreetype -lm -lusp10 -lmsimg32 -lgdi32 -lpixman-1 -L/home/wl/git/mxe/usr/i686-w64-mingw32.static/lib/../lib -lffi -lexpat -lbz2 -lpng16 -lz -lharfbuzz_too -lfreetype_too -lglib-2.0 -lws2_32 -lole32 -lwinmm -lshlwapi -lpcre -lintl -liconv  '
HAVE_ALIGNED_ALLOC='1'
HAVE_ALLOCA_H='0'
HAVE_ATOLL='1'
HAVE_BTOWC='1'
HAVE_C99_STDINT_H='1'
HAVE_CANONICALIZE_FILE_NAME='1'
HAVE_CHOWN='1'
HAVE_COPY_FILE_RANGE='1'
HAVE_CRTDEFS_H='1'
HAVE_DECL_ECVT='1'
HAVE_DECL_ENVIRON='1'
HAVE_DECL_EXECVPE='1'
HAVE_DECL_FCHDIR='1'
HAVE_DECL_FCLOSEALL='1'
HAVE_DECL_FCVT='1'
HAVE_DECL_FDATASYNC='1'
HAVE_DECL_FPURGE='1'
HAVE_DECL_FSEEKO='1'
HAVE_DECL_FTELLO='1'
HAVE_DECL_GCVT='1'
HAVE_DECL_GETDELIM='1'
HAVE_DECL_GETDOMAINNAME='1'
HAVE_DECL_GETLINE='1'
HAVE_DECL_GETLOADAVG='1'
HAVE_DECL_GETLOGIN='1'
HAVE_DECL_GETLOGIN_R='1'
HAVE_DECL_GETPAGESIZE='1'
HAVE_DECL_GETUSERSHELL='1'
HAVE_DECL_IMAXABS='1'
HAVE_DECL_IMAXDIV='1'
HAVE_DECL_INITSTATE='1'
HAVE_DECL_MEMMEM='0'
HAVE_DECL_MEMRCHR='1'
HAVE_DECL_OBSTACK_PRINTF='1'
HAVE_DECL_SETENV='1'
HAVE_DECL_SETHOSTNAME='1'
HAVE_DECL_SETSTATE='1'
HAVE_DECL_SNPRINTF='1'
HAVE_DECL_STRDUP='1'
HAVE_DECL_STRERROR_R='0'
HAVE_DECL_STRNDUP='0'
HAVE_DECL_STRNLEN='1'
HAVE_DECL_STRSIGNAL='1'
HAVE_DECL_STRTOIMAX='1'
HAVE_DECL_STRTOK_R='1'
HAVE_DECL_STRTOUMAX='1'
HAVE_DECL_TRUNCATE='1'
HAVE_DECL_TTYNAME_R='1'
HAVE_DECL_UNSETENV='1'
HAVE_DECL_VSNPRINTF='1'
HAVE_DECL_WCSDUP='1'
HAVE_DECL_WCTOB='1'
HAVE_DECL_WCWIDTH='1'
HAVE_DPRINTF='1'
HAVE_DUP3='1'
HAVE_EUIDACCESS='1'
HAVE_EXECVPE='1'
HAVE_EXPLICIT_BZERO='1'
HAVE_FACCESSAT='1'
HAVE_FCHDIR='1'
HAVE_FCHOWNAT='1'
HAVE_FCNTL='1'
HAVE_FDATASYNC='1'
HAVE_FEATURES_H='0'
HAVE_FFSL='1'
HAVE_FFSLL='1'
HAVE_FSEEKO='1'
HAVE_FSYNC='1'
HAVE_FTELLO='1'
HAVE_FTRUNCATE='1'
HAVE_GETDTABLESIZE='1'
HAVE_GETENTROPY='1'
HAVE_GETGROUPS='1'
HAVE_GETHOSTNAME='1'
HAVE_GETLOGIN='1'
HAVE_GETOPT_H='1'
HAVE_GETPAGESIZE='1'
HAVE_GETPASS='1'
HAVE_GETSUBOPT='1'
HAVE_GRANTPT='1'
HAVE_GROUP_MEMBER='1'
HAVE_IMAXDIV_T='1'
HAVE_INITSTATE='1'
HAVE_INTTYPES_H='1'
HAVE_LCHOWN='1'
HAVE_LINK='1'
HAVE_LINKAT='1'
HAVE_MAX_ALIGN_T='1'
HAVE_MBRLEN='1'
HAVE_MBRTOWC='1'
HAVE_MBSINIT='1'
HAVE_MBSLEN='0'
HAVE_MBSNRTOWCS='1'
HAVE_MBSRTOWCS='1'
HAVE_MBTOWC='1'
HAVE_MEMPCPY='1'
HAVE_MKDTEMP='1'
HAVE_MKOSTEMP='1'
HAVE_MKOSTEMPS='1'
HAVE_MKSTEMP='1'
HAVE_MKSTEMPS='1'
HAVE_MSVC_INVALID_PARAMETER_HANDLER='1'
HAVE_OPENAT='1'
HAVE_OS_H='0'
HAVE_PCLOSE='1'
HAVE_PIPE2='1'
HAVE_PIPE='1'
HAVE_POPEN='1'
HAVE_POSIX_MEMALIGN='1'
HAVE_POSIX_OPENPT='1'
HAVE_PREAD='1'
HAVE_PTSNAME='1'
HAVE_PTSNAME_R='1'
HAVE_PWRITE='1'
HAVE_QSORT_R='1'
HAVE_RANDOM='1'
HAVE_RANDOM_H='1'
HAVE_RANDOM_R='1'
HAVE_RAWMEMCHR='1'
HAVE_READLINK='1'
HAVE_READLINKAT='1'
HAVE_REALLOCARRAY='1'
HAVE_REALPATH='1'
HAVE_RENAMEAT='1'
HAVE_RPMATCH='1'
HAVE_SECURE_GETENV='1'
HAVE_SETENV='1'
HAVE_SETHOSTNAME='1'
HAVE_SETSTATE='1'
HAVE_SIGABBREV_NP='1'
HAVE_SIGDESCR_NP='1'
HAVE_SIGNED_SIG_ATOMIC_T=''
HAVE_SIGNED_WCHAR_T=''
HAVE_SIGNED_WINT_T=''
HAVE_SLEEP='1'
HAVE_STDINT_H='1'
HAVE_STPCPY='1'
HAVE_STPNCPY='1'
HAVE_STRCASESTR='1'
HAVE_STRCHRNUL='1'
HAVE_STRERRORNAME_NP='1'
HAVE_STRPBRK='1'
HAVE_STRSEP='1'
HAVE_STRTOD='1'
HAVE_STRTOL='1'
HAVE_STRTOLD='1'
HAVE_STRTOLL='1'
HAVE_STRTOUL='1'
HAVE_STRTOULL='1'
HAVE_STRUCT_RANDOM_DATA='1'
HAVE_STRVERSCMP='1'
HAVE_SYMLINK='1'
HAVE_SYMLINKAT='1'
HAVE_SYS_BITYPES_H='0'
HAVE_SYS_CDEFS_H='1'
HAVE_SYS_INTTYPES_H='0'
HAVE_SYS_LOADAVG_H='0'
HAVE_SYS_PARAM_H='0'
HAVE_SYS_TYPES_H='1'
HAVE_UNISTD_H='1'
HAVE_UNLINKAT='1'
HAVE_UNLOCKPT='1'
HAVE_USLEEP='1'
HAVE_VASPRINTF='1'
HAVE_VDPRINTF='1'
HAVE_WCHAR_H='1'
HAVE_WCHAR_T='1'
HAVE_WCPCPY='1'
HAVE_WCPNCPY='1'
HAVE_WCRTOMB='1'
HAVE_WCSCASECMP='1'
HAVE_WCSCAT='1'
HAVE_WCSCHR='1'
HAVE_WCSCMP='1'
HAVE_WCSCOLL='1'
HAVE_WCSCPY='1'
HAVE_WCSCSPN='1'
HAVE_WCSDUP='1'
HAVE_WCSFTIME='1'
HAVE_WCSLEN='1'
HAVE_WCSNCASECMP='1'
HAVE_WCSNCAT='1'
HAVE_WCSNCMP='1'
HAVE_WCSNCPY='1'
HAVE_WCSNLEN='1'
HAVE_WCSNRTOMBS='1'
HAVE_WCSPBRK='1'
HAVE_WCSRCHR='1'
HAVE_WCSRTOMBS='1'
HAVE_WCSSPN='1'
HAVE_WCSSTR='1'
HAVE_WCSTOK='1'
HAVE_WCSWIDTH='1'
HAVE_WCSXFRM='1'
HAVE_WINSOCK2_H='1'
HAVE_WINT_T='1'
HAVE_WMEMCHR='1'
HAVE_WMEMCMP='1'
HAVE_WMEMCPY='1'
HAVE_WMEMMOVE='1'
HAVE_WMEMPCPY='1'
HAVE_WMEMSET='1'
HAVE__BOOL='1'
HAVE__EXIT='1'
HELP2MAN=':'
IMPORT=''
INCLUDE_NEXT='include_next'
INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
INKSCAPE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INT32_MAX_LT_INTMAX_MAX='1'
INT64_MAX_EQ_LONG_MAX='defined _LP64'
KPSEWHICH=''
LATEX=''
LD='/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-ld'
LDFLAGS=''
LIBINTL=''
LIBM='-lm'
LIBMULTITHREAD='-lpthread'
LIBOBJS=''
LIBPMULTITHREAD='-lpthread'
LIBPTHREAD=''
LIBS='/home/wl/git/mxe/usr/i686-w64-mingw32.static/lib/libfreetype.la'
LIBSTDTHREAD=''
LIBTHREAD=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIB_SCHED_YIELD=''
LIMITS_H='limits.h'
LIPO=''
LN_S='ln -s'
LTLIBINTL=''
LTLIBMULTITHREAD='-lpthread'
LTLIBOBJS=''
LTLIBTHREAD=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} '\''/home/wl/git/ttfautohint.mxe/gnulib/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/bin/mkdir -p'
MOC='/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/moc'
NEXT_AS_FIRST_DIRECTIVE_ERRNO_H='<errno.h>'
NEXT_AS_FIRST_DIRECTIVE_FCNTL_H='<fcntl.h>'
NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=''
NEXT_AS_FIRST_DIRECTIVE_GETOPT_H='<getopt.h>'
NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H='<inttypes.h>'
NEXT_AS_FIRST_DIRECTIVE_LIMITS_H='<limits.h>'
NEXT_AS_FIRST_DIRECTIVE_STDARG_H=''
NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=''
NEXT_AS_FIRST_DIRECTIVE_STDINT_H='<stdint.h>'
NEXT_AS_FIRST_DIRECTIVE_STDIO_H='<stdio.h>'
NEXT_AS_FIRST_DIRECTIVE_STDLIB_H='<stdlib.h>'
NEXT_AS_FIRST_DIRECTIVE_STRING_H='<string.h>'
NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H='<sys/types.h>'
NEXT_AS_FIRST_DIRECTIVE_UNISTD_H='<unistd.h>'
NEXT_AS_FIRST_DIRECTIVE_WCHAR_H='<wchar.h>'
NEXT_ERRNO_H='<errno.h>'
NEXT_FCNTL_H='<fcntl.h>'
NEXT_FLOAT_H=''
NEXT_GETOPT_H='<getopt.h>'
NEXT_INTTYPES_H='<inttypes.h>'
NEXT_LIMITS_H='<limits.h>'
NEXT_STDARG_H='<stdarg.h>'
NEXT_STDDEF_H=''
NEXT_STDINT_H='<stdint.h>'
NEXT_STDIO_H='<stdio.h>'
NEXT_STDLIB_H='<stdlib.h>'
NEXT_STRING_H='<string.h>'
NEXT_SYS_TYPES_H='<sys/types.h>'
NEXT_UNISTD_H='<unistd.h>'
NEXT_WCHAR_H='<wchar.h>'
NM='/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-nm -B'
NMEDIT=''
OBJDUMP='i686-w64-mingw32.static-objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='ttfautohint'
PACKAGE_BUGREPORT='freetype-devel@nongnu.org'
PACKAGE_NAME='ttfautohint'
PACKAGE_STRING='ttfautohint 1.8.3.40-01ed'
PACKAGE_TARNAME='ttfautohint'
PACKAGE_URL=''
PACKAGE_VERSION='1.8.3.40-01ed'
PANDOC=''
PATH_SEPARATOR=':'
PKG_CONFIG='/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PRAGMA_COLUMNS=''
PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
PRIPTR_PREFIX='__PRIPTR_PREFIX'
PTRDIFF_T_SUFFIX=''
QMAKE='/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/qmake'
QT_CFLAGS='-pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra -Wextra -ffunction-sections -fdata-sections $(QT_DEFINES)'
QT_CPPFLAGS='-DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I. -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Irelease -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++ '
QT_CXXFLAGS='-pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -Wextra -ffunction-sections -fdata-sections -fexceptions -mthreads $(QT_DEFINES)'
QT_DEFINES='-DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN'
QT_INCPATH='-I. -I. -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Irelease -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++ '
QT_LDFLAGS='-Wl,-s -Wl,--gc-sections -Wl,-subsystem,windows -mthreads'
QT_LFLAGS='-Wl,-s -Wl,--gc-sections -Wl,-subsystem,windows -mthreads'
QT_LIBS='/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/plugins/styles/libqwindowsvistastyle.a -L/home/wl/git/mxe/usr/i686-w64-mingw32.static/lib /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/plugins/platforms/libqwindows.a -lwinspool -lwtsapi32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5EventDispatcherSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5FontDatabaseSupport.a -ldwrite -ld2d1 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5ThemeSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5AccessibilitySupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5WindowsUIAutomationSupport.a /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Widgets.a -luxtheme -ldwmapi /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Gui.a -ld3d11 -ldxgi -ldxguid -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lfreetype -lm -lusp10 -lmsimg32 -lpixman-1 -lffi -lexpat -lbz2 -lpng16 -lharfbuzz_too -lfreetype_too -lglib-2.0 -lshlwapi -lpcre -lintl -liconv -lgdi32 -lcomdlg32 -loleaut32 -limm32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Core.a -lmpr -luserenv -lversion -lz -lpcre2-16 -lzstd -lnetapi32 -lws2_32 -ladvapi32 -lkernel32 -lole32 -lshell32 -luuid -luser32 -lwinmm  -lmingw32 /home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/lib/libqtmain.a -lshell32 '
QT_PATH='/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin'
QT_STATIC_PLUGINS='// This file is autogenerated by qmake. It imports static plugin classes for
QT_VERSION='5.15.2'
QT_VERSION_MAJOR='45'
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)'
Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin)
RANLIB='i686-w64-mingw32.static-ranlib'
RCC='/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/rcc'
REPLACE_ACCESS='0'
REPLACE_ALIGNED_ALLOC='0'
REPLACE_BTOWC='0'
REPLACE_CALLOC='0'
REPLACE_CANONICALIZE_FILE_NAME='0'
REPLACE_CHOWN='0'
REPLACE_CLOSE='0'
REPLACE_CREAT='0'
REPLACE_DPRINTF='0'
REPLACE_DUP2='0'
REPLACE_DUP='0'
REPLACE_EXECL='0'
REPLACE_EXECLE='0'
REPLACE_EXECLP='0'
REPLACE_EXECV='0'
REPLACE_EXECVE='0'
REPLACE_EXECVP='0'
REPLACE_EXECVPE='0'
REPLACE_FACCESSAT='0'
REPLACE_FCHOWNAT='0'
REPLACE_FCLOSE='0'
REPLACE_FCNTL='0'
REPLACE_FDOPEN='0'
REPLACE_FFLUSH='0'
REPLACE_FFSLL='0'
REPLACE_FOPEN='0'
REPLACE_FPRINTF='0'
REPLACE_FPURGE='0'
REPLACE_FREE='1'
REPLACE_FREOPEN='0'
REPLACE_FSEEK='0'
REPLACE_FSEEKO='0'
REPLACE_FTELL='0'
REPLACE_FTELLO='0'
REPLACE_FTRUNCATE='0'
REPLACE_GETCWD='0'
REPLACE_GETDELIM='0'
REPLACE_GETDOMAINNAME='0'
REPLACE_GETDTABLESIZE='0'
REPLACE_GETGROUPS='0'
REPLACE_GETLINE='0'
REPLACE_GETLOGIN_R='0'
REPLACE_GETPAGESIZE='0'
REPLACE_GETPASS='0'
REPLACE_INITSTATE='0'
REPLACE_ISATTY='1'
REPLACE_ITOLD='0'
REPLACE_LCHOWN='0'
REPLACE_LINK='0'
REPLACE_LINKAT='0'
REPLACE_LSEEK='0'
REPLACE_MALLOC='1'
REPLACE_MBRLEN='0'
REPLACE_MBRTOWC='0'
REPLACE_MBSINIT='0'
REPLACE_MBSNRTOWCS='0'
REPLACE_MBSRTOWCS='0'
REPLACE_MBSTATE_T='0'
REPLACE_MBTOWC='0'
REPLACE_MEMCHR='0'
REPLACE_MEMMEM='0'
REPLACE_MKSTEMP='0'
REPLACE_NULL='0'
REPLACE_OBSTACK_PRINTF='0'
REPLACE_OPEN='0'
REPLACE_OPENAT='0'
REPLACE_PERROR='0'
REPLACE_POPEN='0'
REPLACE_POSIX_MEMALIGN='0'
REPLACE_PREAD='0'
REPLACE_PRINTF='0'
REPLACE_PTSNAME='0'
REPLACE_PTSNAME_R='0'
REPLACE_PUTENV='0'
REPLACE_PWRITE='0'
REPLACE_QSORT_R='0'
REPLACE_RANDOM='0'
REPLACE_RANDOM_R='0'
REPLACE_READ='0'
REPLACE_READLINK='0'
REPLACE_READLINKAT='0'
REPLACE_REALLOC='0'
REPLACE_REALLOCARRAY='0'
REPLACE_REALPATH='0'
REPLACE_REMOVE='0'
REPLACE_RENAME='0'
REPLACE_RENAMEAT='0'
REPLACE_RMDIR='0'
REPLACE_SETENV='0'
REPLACE_SETSTATE='0'
REPLACE_SLEEP='0'
REPLACE_SNPRINTF='0'
REPLACE_SPRINTF='0'
REPLACE_STDIO_READ_FUNCS='0'
REPLACE_STDIO_WRITE_FUNCS='0'
REPLACE_STPNCPY='0'
REPLACE_STRCASESTR='0'
REPLACE_STRCHRNUL='0'
REPLACE_STRDUP='0'
REPLACE_STRERROR='0'
REPLACE_STRERRORNAME_NP='0'
REPLACE_STRERROR_R='0'
REPLACE_STRNCAT='0'
REPLACE_STRNDUP='0'
REPLACE_STRNLEN='0'
REPLACE_STRSIGNAL='0'
REPLACE_STRSTR='0'
REPLACE_STRTOD='0'
REPLACE_STRTOIMAX='0'
REPLACE_STRTOK_R='0'
REPLACE_STRTOL='0'
REPLACE_STRTOLD='0'
REPLACE_STRTOLL='0'
REPLACE_STRTOUL='0'
REPLACE_STRTOULL='1'
REPLACE_STRTOUMAX='0'
REPLACE_SYMLINK='0'
REPLACE_SYMLINKAT='0'
REPLACE_TMPFILE='0'
REPLACE_TRUNCATE='0'
REPLACE_TTYNAME_R='0'
REPLACE_UNLINK='0'
REPLACE_UNLINKAT='0'
REPLACE_UNSETENV='0'
REPLACE_USLEEP='0'
REPLACE_VASPRINTF='0'
REPLACE_VDPRINTF='0'
REPLACE_VFPRINTF='0'
REPLACE_VPRINTF='0'
REPLACE_VSNPRINTF='0'
REPLACE_VSPRINTF='0'
REPLACE_WCRTOMB='0'
REPLACE_WCSFTIME='0'
REPLACE_WCSNRTOMBS='0'
REPLACE_WCSRTOMBS='0'
REPLACE_WCSTOK='0'
REPLACE_WCSWIDTH='0'
REPLACE_WCTOB='0'
REPLACE_WCTOMB='0'
REPLACE_WCWIDTH='0'
REPLACE_WRITE='0'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
SIG_ATOMIC_T_SUFFIX=''
SIZE_T_SUFFIX=''
STDARG_H=''
STDBOOL_H=''
STDDEF_H=''
STDINT_H='stdint.h'
STRIP='i686-w64-mingw32.static-strip'
UIC='/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/bin/uic'
UINT32_MAX_LT_UINTMAX_MAX='1'
UINT64_MAX_EQ_ULONG_MAX='defined _LP64'
UNDEFINE_STRTOK_R='0'
UNISTD_H_HAVE_SYS_RANDOM_H='0'
UNISTD_H_HAVE_WINSOCK2_H='1'
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS='0'
USE_QT_FALSE='#'
USE_QT_TRUE=''
VERSION='1.8.3.40-01ed'
WCHAR_T_SUFFIX=''
WINDOWS_64_BIT_OFF_T='0'
WINDOWS_STAT_INODES='0'
WINT_T_SUFFIX=''
WITH_DOC_FALSE=''
WITH_DOC_TRUE='#'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE='#'
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
ft_config='/home/wl/git/mxe/usr/bin/i686-w64-mingw32.static-freetype-config'
gl_LIBOBJS=' asnprintf.o free.o getopt.o getopt1.o isatty.o malloc.o memmem.o msvc-inval.o msvc-nothrow.o printf-args.o printf-parse.o strerror-override.o strerror_r.o strndup.o strtoull.o vasnprintf.o windows-mutex.o windows-once.o windows-recmutex.o windows-rwlock.o'
gl_LTLIBOBJS=' asnprintf.lo free.lo getopt.lo getopt1.lo isatty.lo malloc.lo memmem.lo msvc-inval.lo msvc-nothrow.lo printf-args.lo printf-parse.lo strerror-override.lo strerror_r.lo strndup.lo strtoull.lo vasnprintf.lo windows-mutex.lo windows-once.lo windows-recmutex.lo windows-rwlock.lo'
gltests_LIBOBJS=''
gltests_LTLIBOBJS=''
gltests_WITNESS='IN_TTFAUTOHINT_GNULIB_TESTS'
host='i686-w64-mingw32.static'
host_alias='i686-w64-mingw32.static'
host_cpu='i686'
host_os='mingw32.static'
host_vendor='w64'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/wl/git/ttfautohint.mxe/gnulib/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/wl/git/ttfautohint.mxe/out'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
ttfautohint_major='1'
ttfautohint_minor='8'
ttfautohint_revision='3'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "ttfautohint"
#define PACKAGE_TARNAME "ttfautohint"
#define PACKAGE_VERSION "1.8.3.40-01ed"
#define PACKAGE_STRING "ttfautohint 1.8.3.40-01ed"
#define PACKAGE_BUGREPORT "freetype-devel@nongnu.org"
#define PACKAGE_URL ""
#define PACKAGE "ttfautohint"
#define VERSION "1.8.3.40-01ed"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_WCHAR_H 1
#define HAVE_UNISTD_H 1
#define HAVE_GETOPT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_LIMITS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_CRTDEFS_H 1
#define _ALL_SOURCE 1
#define _DARWIN_C_SOURCE 1
#define _GNU_SOURCE 1
#define _HPUX_ALT_XOPEN_SOCKET_API 1
#define _NETBSD_SOURCE 1
#define _OPENBSD_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
#define __STDC_WANT_IEC_60559_DFP_EXT__ 1
#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
#define __STDC_WANT_LIB_EXT2__ 1
#define __STDC_WANT_MATH_SPEC_FUNCS__ 1
#define _TANDEM_SOURCE 1
#define __EXTENSIONS__ 1
#define HAVE_ALLOCA 1
#define HAVE_MPROTECT 1
#define HAVE__SET_INVALID_PARAMETER_HANDLER 1
#define HAVE_SNPRINTF 1
#define HAVE_WORKING_O_NOATIME 0
#define HAVE_WORKING_O_NOFOLLOW 0
#define HAVE_GETOPT_H 1
#define HAVE_GETOPT_LONG_ONLY 1
#define HAVE_WINT_T 1
#define HAVE_LONG_LONG_INT 1
#define HAVE_UNSIGNED_LONG_LONG_INT 1
#define restrict __restrict__
#define HAVE_PTHREAD_API 1
#define USE_POSIX_THREADS 1
#define HAVE_DECL_MEMMEM 0
#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
#define HAVE__BOOL 1
#define HAVE_WCHAR_T 1
#define HAVE_DECL_FCLOSEALL 1
#define __USE_MINGW_ANSI_STDIO 1
#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
#define HAVE_DECL_ECVT 1
#define HAVE_DECL_FCVT 1
#define HAVE_DECL_GCVT 1
#define HAVE_DECL_STRERROR_R 0
#define HAVE_DECL_STRNDUP 0
#define HAVE_DECL_STRNLEN 1
#define HAVE_DECL_STRTOK_R 1
#define _USE_STD_STAT 1
#define HAVE_DECL_EXECVPE 1
#define HAVE_INTTYPES_H_WITH_UINTMAX 1
#define HAVE_STDINT_H_WITH_UINTMAX 1
#define HAVE_INTMAX_T 1
#define DBL_EXPBIT0_WORD 1
#define DBL_EXPBIT0_BIT 20
#define HAVE_SNPRINTF 1
#define HAVE_STRNLEN 1
#define HAVE_WCSLEN 1
#define HAVE_WCSNLEN 1
#define HAVE_MBRTOWC 1
#define HAVE_WCRTOMB 1
#define HAVE_DECL__SNPRINTF 1
#define HAVE_DECL_WCSDUP 1
#define HAVE___BUILTIN_EXPECT 1
#define GNULIB_TEST_FREE_POSIX 1
#define __GETOPT_PREFIX rpl_
#define GNULIB_TEST_GETOPT_POSIX 1
#define GNULIB_TEST_ISATTY 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define GNULIB_LOCK 1
#define GNULIB_TEST_MALLOC_POSIX 1
#define GNULIB_TEST_MEMCHR 1
#define GNULIB_TEST_MEMMEM 1
#define GNULIB_MSVC_NOTHROW 1
#define HAVE_STDINT_H 1
#define GNULIB_TEST_FSCANF 1
#define GNULIB_FSCANF 1
#define GNULIB_TEST_SCANF 1
#define GNULIB_SCANF 1
#define GNULIB_TEST_FGETC 1
#define GNULIB_TEST_GETC 1
#define GNULIB_TEST_GETCHAR 1
#define GNULIB_TEST_FGETS 1
#define GNULIB_TEST_FREAD 1
#define GNULIB_TEST_FPRINTF 1
#define GNULIB_TEST_PRINTF 1
#define GNULIB_TEST_VFPRINTF 1
#define GNULIB_TEST_VPRINTF 1
#define GNULIB_TEST_FPUTC 1
#define GNULIB_TEST_PUTC 1
#define GNULIB_TEST_PUTCHAR 1
#define GNULIB_TEST_FPUTS 1
#define GNULIB_TEST_PUTS 1
#define GNULIB_TEST_FWRITE 1
#define HAVE_WINSOCK2_H 1
#define GNULIB_TEST_STRERROR_R 1
#define GNULIB_STRERROR_R_POSIX 1
#define GNULIB_TEST_STRNDUP 1
#define GNULIB_TEST_STRNLEN 1
#define HAVE_STRTOK_R 1
#define GNULIB_TEST_STRTOK_R 1
#define HAVE_STRTOULL 1
#define GNULIB_TEST_STRTOULL 1
#define HAVE_VASPRINTF 1
#define GNULIB_TEST_VASPRINTF 1
#define HAVE_STDINT_H 1
#define HAVE_QT 1
#define HAVE_QT_QUOTESTRING 1
#define LT_OBJDIR ".libs/"

configure: exit 0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: can't compile `stdlib.h` on mxe
  2021-05-22 12:45   ` Werner LEMBERG
@ 2021-05-22 14:32     ` Bruno Haible
  2021-05-22 17:57       ` Werner LEMBERG
  2021-05-22 18:39       ` Paul Eggert
  0 siblings, 2 replies; 7+ messages in thread
From: Bruno Haible @ 2021-05-22 14:32 UTC (permalink / raw)
  To: Werner LEMBERG; +Cc: bug-gnulib

Hello Werner,

> Note that this is a new error; it didn't happen in July 2019 (the
> last time I've tried to build ttfautohint with mxe and Qt5).

Yes. We have added 'restrict' in many places, to match the function
declarations in POSIX.

> > * Can you verify that ddlineedit.moc.cpp starts with a '#include
> >   <config.h>' statement? [1]
> 
> It doesn't – it is an auto-generated Qt file.  However, the file starts
> with
> 
> ```
> #include <memory>
> #include "ddlineedit.h"
> ...
> ```
> 
> and `ddlineedit.h`'s first code lines are
> 
> ```
> #ifndef DDLINEEDIT_H_
> #define DDLINEEDIT_H_
> 
> #include <config.h>
> ```

That's not enough. <config.h> needs to be included before <memory>.

The Qt documentation [1] recommends a Makefile rule such as

	moc $(DEFINES) $(INCPATH) -i $< -o $@

Try to change this to

	moc -fconfig.h $(DEFINES) $(INCPATH) -i $< -o $@

or

	{ echo '#include <config.h>'; moc $(DEFINES) $(INCPATH) -i $< ; } > $@.tmp
	mv $@.tmp $@

> > * Can you show the block of preprocessor statements in <config.h> that
> >   defines 'restrict'?
> 
> ```
> /* Define to the equivalent of the C99 'restrict' keyword, or to
>    nothing if this is not supported.  Do not define if restrict is
>    supported only directly.  */
> #define restrict __restrict__
> /* Work around a bug in older versions of Sun C++, which did not
>    #define __restrict__ or support _Restrict or __restrict__
>    even though the corresponding Sun C compiler ended up with
>    "#define restrict _Restrict" or "#define restrict __restrict__"
>    in the previous line.  This workaround can be removed once
>    we assume Oracle Developer Studio 12.5 (2016) or later.  */
> #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
> # define _Restrict
> # define __restrict__
> #endif
> ```

That's OK.

> > * Can you show the command that is being executed (make V=1)?  A
> >   symbolic placeholder like 'CXX' is useless for debugging a
> >   compilation failure.
> 
> ```
> i686-w64-mingw32.static-g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I.. \
>   -I../lib -I../gnulib/src \
>   -I../gnulib/src
>   -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/freetype2 \
>   -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG \
>   -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. \
>   -I. -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include \
>   -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets \
>   -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui \
>   -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore \
>   -Irelease \
>   -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++ \
>   -DBUILD_GUI \
>   -I/home/wl/git/mxe/usr/i686-w64-mingw32.static/include/freetype2 \
>   -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra \
>   -Wextra -ffunction-sections -fdata-sections -fexceptions -mthreads \
>   -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG \
>   -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -g -O2 \
>   -MT ttfautohintGUI-ddlineedit.moc.o -MD -MP -MF \
>   .deps/ttfautohintGUI-ddlineedit.moc.Tpo -c \
>    -o ttfautohintGUI-ddlineedit.moc.o `test -f 'ddlineedit.moc.cpp' \
>    || echo './'`ddlineedit.moc.cpp
> ```

That's also OK.

> > * What are the C compiler and C++ compiler versions that you use in
> >   this build?
> 
> gcc & g++ 5.5.0, which are the default compilers of mxe

That's also OK. In the past, we could have problems if the C compiler
and the C++ compiler were of a different brand. But that does not seem
to be the case any more.

Bruno

[1] https://doc.qt.io/qt-6/moc.html



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: can't compile `stdlib.h` on mxe
  2021-05-22 14:32     ` Bruno Haible
@ 2021-05-22 17:57       ` Werner LEMBERG
  2021-05-22 18:39       ` Paul Eggert
  1 sibling, 0 replies; 7+ messages in thread
From: Werner LEMBERG @ 2021-05-22 17:57 UTC (permalink / raw)
  To: bruno; +Cc: bug-gnulib


>> Note that this is a new error; it didn't happen in July 2019 (the
>> last time I've tried to build ttfautohint with mxe and Qt5).
> 
> Yes. We have added 'restrict' in many places, to match the function
> declarations in POSIX.

OK.

> That's not enough. <config.h> needs to be included before <memory>.
> 
> The Qt documentation [1] recommends a Makefile rule such as
> 
> 	moc $(DEFINES) $(INCPATH) -i $< -o $@
> 
> Try to change this to
> 
> 	moc -fconfig.h $(DEFINES) $(INCPATH) -i $< -o $@

[The proper command line option for moc would be `-b config.h`,
 AFAICS.]

This doesn't work; regardless of the used option, <memory> is always
inserted first.

> or
> 
> 	{ echo '#include <config.h>'; moc $(DEFINES) $(INCPATH) -i $< ; } > $@.tmp
> 	mv $@.tmp $@

This worked, thanks a lot!


    Werner


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: can't compile `stdlib.h` on mxe
  2021-05-22 14:32     ` Bruno Haible
  2021-05-22 17:57       ` Werner LEMBERG
@ 2021-05-22 18:39       ` Paul Eggert
  2021-05-23  5:30         ` Werner LEMBERG
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Eggert @ 2021-05-22 18:39 UTC (permalink / raw)
  To: Bruno Haible, Werner LEMBERG; +Cc: bug-gnulib

On 5/22/21 7:32 AM, Bruno Haible wrote:
> It doesn't – it is an auto-generated Qt file.  However, the file starts
> with
> 
> ```
> #include <memory>
> #include "ddlineedit.h"

You could instead compile a file ddlineedit.config-moc.cpp, with the 
following contents:

#include <config.h>
#include "ddlineedit.moc.cpp"



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: can't compile `stdlib.h` on mxe
  2021-05-22 18:39       ` Paul Eggert
@ 2021-05-23  5:30         ` Werner LEMBERG
  0 siblings, 0 replies; 7+ messages in thread
From: Werner LEMBERG @ 2021-05-23  5:30 UTC (permalink / raw)
  To: eggert; +Cc: bug-gnulib, bruno


>> It doesn't – it is an auto-generated Qt file.  However, the file
>> starts
>> with
>> ```
>> #include <memory>
>> #include "ddlineedit.h"
> 
> You could instead compile a file ddlineedit.config-moc.cpp, with the
> following contents:
> 
> #include <config.h>
> #include "ddlineedit.moc.cpp"

Yeah, this came to my mind, too, thanks!  However, I've now
implemented the following rule in my `Makefile.am` file, which seems
to work fine.

```
SUFFIXES = .moc.cpp .h

moc_verbose = $(moc_verbose_@AM_V@)
moc_verbose_ = $(moc_verbose_@AM_DEFAULT_V@)
moc_verbose_0 = @echo "  MOC     " $@;

.h.moc.cpp:
	$(moc_verbose){ \
	  echo '#include <config.h>'; \
	  $(MOC) ... $< ; \
	} > $@.tmp
	@mv $@.tmp $@
```


    Werner

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-23  5:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-22 10:03 can't compile `stdlib.h` on mxe Werner LEMBERG
2021-05-22 12:25 ` Bruno Haible
2021-05-22 12:45   ` Werner LEMBERG
2021-05-22 14:32     ` Bruno Haible
2021-05-22 17:57       ` Werner LEMBERG
2021-05-22 18:39       ` Paul Eggert
2021-05-23  5:30         ` Werner LEMBERG

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 read-only IMAP folder(s) and NNTP newsgroup(s).