<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a1c573d3c5cc7ffc2d237b4d5e075b6559f7bcb9">https://github.com/macports/macports-ports/commit/a1c573d3c5cc7ffc2d237b4d5e075b6559f7bcb9</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new a1c573d3c5c ucl: Fix implicit declaration of functions
</span>a1c573d3c5c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a1c573d3c5cc7ffc2d237b4d5e075b6559f7bcb9
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Nov 11 06:10:02 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> ucl: Fix implicit declaration of functions
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/61423
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also fixes configure detection of arm64 systems.
</span>---
archivers/ucl/Portfile | 12 ++
archivers/ucl/files/autoconf.patch | 63 +++++++
archivers/ucl/files/missing-macros.patch | 293 +++++++++++++++++++++++++++++++
3 files changed, 368 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/ucl/Portfile b/archivers/ucl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2ae23543778..f0e6f461ec6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/ucl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/ucl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,6 +23,18 @@ checksums md5 852bd691d8abc75b52053465846fba34 \
</span> sha1 5847003d136fbbca1334dd5de10554c76c755f7c \
rmd160 d1b50127d482481c125eabff9a9c157d491c4a6a
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles autoconf.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ missing-macros.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Add files required by autoreconf.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ touch ${worksrcpath}/ChangeLog
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fix implicit declaration of functions and detection of arm64.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoreconf.args -fvi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --enable-shared
configure.env F77=no
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/ucl/files/autoconf.patch b/archivers/ucl/files/autoconf.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..00b2cbb6417
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/ucl/files/autoconf.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,63 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix build with current autoconf / automake.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://aur.archlinux.org/cgit/aur.git/tree/ucl-1.03-autoconf-compat.patch?h=mingw-w64-ucl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.am.orig 2004-07-20 01:01:47.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.am 2013-03-13 21:25:41.453183500 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3,7 +3,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AUTOMAKE_OPTIONS = 1.8.5 foreign
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AUTOMAKE_OPTIONS = 1.14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ACLOCAL_AMFLAGS = -I m4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SUBDIRS = include src examples
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac.orig 2004-07-20 01:01:47.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac 2013-03-13 21:25:41.453183500 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -36,9 +36,10 @@ All Rights Reserved.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ This configure script may be copied, distributed and modified under the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ terms of the GNU General Public License; see COPYING for more details.])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AC_PREREQ(2.59)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_PREREQ(2.69)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_INIT(ucl,1.03,markus@oberhumer.com)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_MSG_NOTICE([Configuring UCL $PACKAGE_VERSION])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CONFIG_MACRO_DIR([m4])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_CONFIG_SRCDIR(src/ucl_init.c)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_CONFIG_AUX_DIR(acconfig)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_PREFIX_DEFAULT(/usr/local)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -48,7 +49,7 @@ AC_CANONICAL_TARGET
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_MAINTAINER_MODE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test -z "$ac_abs_top_srcdir"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- _AC_SRCPATHS(.)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ _AC_SRCDIRS(.)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test -r .Conf.settings1; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ . ./.Conf.settings1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- examples/Makefile.am.orig 2004-07-20 01:01:47.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ examples/Makefile.am 2013-03-13 21:25:41.453183500 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3,7 +3,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ noinst_PROGRAMS = simple uclpack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Makefile.am.orig 2004-07-20 01:01:47.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Makefile.am 2013-03-13 21:25:41.453183500 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,9 +6,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ VPATH = @srcdir@@UCL_ASM_VPATH@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SUFFIXES = .S
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CPPFLAGS = $(UCL_CPPFLAGS) $(configure_CPPFLAGS) $(UCL_EXTRA_CPPFLAGS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS = $(UCL_CFLAGS) $(configure_CFLAGS) $(UCL_EXTRA_CFLAGS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AM_CPPFLAGS += $(UCL_CPPFLAGS) $(configure_CPPFLAGS) $(UCL_EXTRA_CPPFLAGS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AM_CFLAGS = $(UCL_CFLAGS) $(configure_CFLAGS) $(UCL_EXTRA_CFLAGS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lib_LTLIBRARIES = libucl.la
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/ucl/files/missing-macros.patch b/archivers/ucl/files/missing-macros.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..864d0e6c007
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/ucl/files/missing-macros.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,293 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Add missing macros.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://aur.archlinux.org/cgit/aur.git/tree/ucl-1.03-missing-macros.patch?h=mingw-w64-ucl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ m4/local.m4 2015-02-04 14:24:51.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -0,0 +1,288 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# /***********************************************************************
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# // standard ACC macros
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# ************************************************************************/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFUN([mfx_ACC_CHECK_ENDIAN], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_C_BIGENDIAN([AC_DEFINE(ACC_ENDIAN_BIG_ENDIAN,1,[Define to 1 if your machine is big endian.])],[AC_DEFINE(ACC_ENDIAN_LITTLE_ENDIAN,1,[Define to 1 if your machine is little endian.])])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++])#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFUN([mfx_ACC_CHECK_HEADERS], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_HEADER_TIME
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_HEADERS([assert.h ctype.h dirent.h errno.h fcntl.h limits.h malloc.h memory.h setjmp.h signal.h stdarg.h stddef.h stdint.h stdio.h stdlib.h string.h strings.h time.h unistd.h utime.h sys/stat.h sys/time.h sys/types.h])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++])#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFUN([mfx_ACC_CHECK_FUNCS], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_FUNCS(access alloca atexit atoi atol chmod chown ctime difftime fstat gettimeofday gmtime localtime longjmp lstat memcmp memcpy memmove memset mktime qsort raise setjmp signal snprintf strcasecmp strchr strdup strerror strftime stricmp strncasecmp strnicmp strrchr strstr time umask utime vsnprintf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++])#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFUN([mfx_ACC_CHECK_SIZEOF], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(short)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(int)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(long)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(ptrdiff_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(size_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(void *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(char *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(long long)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(unsigned long long)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(__int64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(unsigned __int64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++])#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# /***********************************************************************
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# // Check for ACC_conformance
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# ************************************************************************/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFUN([mfx_ACC_ACCCHK], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++mfx_tmp=$1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++mfx_save_CPPFLAGS=$CPPFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++dnl in Makefile.in $(INCLUDES) will be before $(CPPFLAGS), so we mimic this here
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++test "X$mfx_tmp" = "X" || CPPFLAGS="$mfx_tmp $CPPFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_MSG_CHECKING([whether your compiler passes the ACC conformance test])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_LANG_CONFTEST([AC_LANG_PROGRAM(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++[[#define ACC_CONFIG_NO_HEADER 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "acc/acc.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "acc/acc_incd.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#undef ACCCHK_ASSERT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT_HEADER(expr)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "acc/acc_chk.ch"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#undef ACCCHK_ASSERT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void test_acc_compile_time_assert(void) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT(expr)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "acc/acc_chk.ch"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#undef ACCCHK_ASSERT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#undef NDEBUG
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <assert.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static int test_acc_run_time_assert(int r) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define ACCCHK_ASSERT(expr) assert(expr);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "acc/acc_chk.ch"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#undef ACCCHK_ASSERT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++return r;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++]], [[
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++test_acc_compile_time_assert();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if (test_acc_run_time_assert(1) != 1) return 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++]]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++)])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++mfx_tmp=FAILED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++_AC_COMPILE_IFELSE([], [mfx_tmp=yes])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++rm -f conftest.$ac_ext conftest.$ac_objext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CPPFLAGS=$mfx_save_CPPFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_MSG_RESULT([$mfx_tmp])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++case x$mfx_tmp in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ xpassed | xyes) ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_NOTICE([])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_NOTICE([Your compiler failed the ACC conformance test - for details see ])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_NOTICE([`config.log'. Please check that log file and consider sending])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_NOTICE([a patch or bug-report to <${PACKAGE_BUGREPORT}>.])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_NOTICE([Thanks for your support.])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_NOTICE([])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_ERROR([ACC conformance test failed. Stop.])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++dnl AS_EXIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++])# mfx_ACC_ACCCHK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# dnl serial 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFUN([mfx_PROG_CPPFLAGS], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_MSG_CHECKING([whether the C preprocessor needs special flags])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_LANG_CONFTEST([AC_LANG_PROGRAM(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++[[#include <limits.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "your C preprocessor is broken 1"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif (0xffffu == 0xfffffffful)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "your C preprocessor is broken 2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "your C preprocessor is broken 3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++]], [[ ]]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++)])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++mfx_save_CPPFLAGS=$CPPFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++mfx_tmp=ERROR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++for mfx_arg in "" -no-cpp-precomp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CPPFLAGS="$mfx_arg $mfx_save_CPPFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ _AC_COMPILE_IFELSE([],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++[mfx_tmp=$mfx_arg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++break])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CPPFLAGS=$mfx_save_CPPFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++rm -f conftest.$ac_ext conftest.$ac_objext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++case x$mfx_tmp in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_RESULT([none needed]) ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ xERROR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_RESULT([ERROR])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_ERROR([your C preprocessor is broken - for details see config.log])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_RESULT([$mfx_tmp])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CPPFLAGS="$mfx_tmp $CPPFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++])# mfx_PROG_CPPFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# dnl serial 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFUN([mfx_CHECK_HEADER_SANE_LIMITS_H], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CACHE_CHECK([whether limits.h is sane],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++mfx_cv_header_sane_limits_h,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++[AC_TRY_COMPILE([#include <limits.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if defined(__APPLE__) && defined(__GNUC__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# error "your preprocessor is broken - use compiler option -no-cpp-precomp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "your preprocessor is broken"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define MFX_0xffff 0xffff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define MFX_0xffffffffL 4294967295ul
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(CHAR_BIT) || (CHAR_BIT != 8)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error CHAR_BIT"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(UCHAR_MAX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error UCHAR_MAX 1"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(USHRT_MAX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error USHRT_MAX 1"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(UINT_MAX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error UINT_MAX 1"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(ULONG_MAX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error ULONG_MAX 1"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(SHRT_MAX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error SHRT_MAX 1"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(INT_MAX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error INT_MAX 1"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(LONG_MAX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error LONG_MAX 1"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (UCHAR_MAX < 1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error UCHAR_MAX 2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (USHRT_MAX < 1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error USHRT_MAX 2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (UINT_MAX < 1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error UINT_MAX 2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (ULONG_MAX < 1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error ULONG_MAX 2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (UCHAR_MAX < 0xff)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error UCHAR_MAX 3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (USHRT_MAX < MFX_0xffff)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error USHRT_MAX 3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (UINT_MAX < MFX_0xffff)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error UINT_MAX 3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (ULONG_MAX < MFX_0xffffffffL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error ULONG_MAX 3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (USHRT_MAX > UINT_MAX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error USHRT_MAX vs UINT_MAX"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (UINT_MAX > ULONG_MAX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include "error UINT_MAX vs ULONG_MAX"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++],[
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (USHRT_MAX == MFX_0xffff)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif (USHRT_MAX >= MFX_0xffff)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (UINT_MAX == MFX_0xffff)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif (UINT_MAX >= MFX_0xffff)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (ULONG_MAX == MFX_0xffff)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif (ULONG_MAX >= MFX_0xffff)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (USHRT_MAX == MFX_0xffffffffL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif (USHRT_MAX >= MFX_0xffffffffL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (UINT_MAX == MFX_0xffffffffL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif (UINT_MAX >= MFX_0xffffffffL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (ULONG_MAX == MFX_0xffffffffL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif (ULONG_MAX >= MFX_0xffffffffL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{ typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++mfx_cv_header_sane_limits_h=yes,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++mfx_cv_header_sane_limits_h=no)])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# /***********************************************************************
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# //
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# ************************************************************************/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++dnl more types which are not yet covered by ACC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFUN([mfx_CHECK_SIZEOF], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(__int32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(unsigned __int32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(intmax_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(uintmax_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(intptr_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(uintptr_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(float)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(double)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(long double)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(dev_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(fpos_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(mode_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(off_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(ssize_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_SIZEOF(time_t)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++])#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFUN([mfx_CHECK_LIB_WINMM], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if test "X$GCC" = Xyes; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++case $host_os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++cygwin* | msys* | mingw* | pw32*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LIBS="$LIBS -lwinmm" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++])#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span></pre><pre style='margin:0'>
</pre>