summaryrefslogtreecommitdiff
path: root/main/lzo/autoconf/local.m4
diff options
context:
space:
mode:
Diffstat (limited to 'main/lzo/autoconf/local.m4')
-rw-r--r--main/lzo/autoconf/local.m417
1 files changed, 12 insertions, 5 deletions
diff --git a/main/lzo/autoconf/local.m4 b/main/lzo/autoconf/local.m4
index 5c0ba29d..38754b1d 100644
--- a/main/lzo/autoconf/local.m4
+++ b/main/lzo/autoconf/local.m4
@@ -196,7 +196,7 @@ esac
dnl Serial 13 -*- Autoconf -*-
# Enable extensions on systems that normally disable them.
-# Copyright (C) 2003, 2006-2014 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006-2015 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -263,6 +263,10 @@ dnl configure.ac when using autoheader 2.62.
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
+/* Use GNU style printf and scanf. */
+#ifndef __USE_MINGW_ANSI_STDIO
+# undef __USE_MINGW_ANSI_STDIO
+#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
@@ -295,6 +299,7 @@ dnl configure.ac when using autoheader 2.62.
AC_DEFINE([_ALL_SOURCE])
AC_DEFINE([_DARWIN_C_SOURCE])
AC_DEFINE([_GNU_SOURCE])
+ AC_DEFINE([__USE_MINGW_ANSI_STDIO])
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
AC_DEFINE([_TANDEM_SOURCE])
AC_CACHE_CHECK([whether _XOPEN_SOURCE should be defined],
@@ -445,7 +450,7 @@ AC_DEFUN([mfx_LZO_CHECK_ENDIAN], [
AC_C_BIGENDIAN([AC_DEFINE(LZO_ABI_BIG_ENDIAN,1,[Define to 1 if your machine is big endian.])],[AC_DEFINE(LZO_ABI_LITTLE_ENDIAN,1,[Define to 1 if your machine is little endian.])])
])
-dnl Serial 2 mfx/m4/lzo_lzochk.m4
+dnl Serial 3 mfx/m4/lzo_lzochk.m4
AC_DEFUN([mfx_LZO_LZOCHK], [
mfx_tmp=$1
@@ -456,9 +461,11 @@ test "X$mfx_tmp" = "X" || CPPFLAGS="$mfx_tmp $CPPFLAGS"
AC_MSG_CHECKING([whether your compiler passes the LZO conformance test])
AC_LANG_CONFTEST([AC_LANG_PROGRAM(
-[[#define LZO_CFG_NO_CONFIG_HEADER 1
+[[#include <limits.h>
+#include <stddef.h>
+#define LZO_CFG_NO_CONFIG_HEADER 1
#define LZO_WANT_ACC_INCD_H 1
-#include $2
+$2
#include $3
#undef LZOCHK_ASSERT
@@ -548,7 +555,7 @@ AC_C_BIGENDIAN([AC_DEFINE(NRV_ABI_BIG_ENDIAN,1,[Define to 1 if your machine is b
])
# Checks for stat-related time functions.
-# Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2014 Free Software
+# Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2015 Free Software
# Foundation, Inc.
# This file is free software; the Free Software Foundation