From c002b0f743d47477ebdb52bd49413865eba9b479 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= <
roucaries.bastien@gmail.com>
Date: Sun, 22 Jul 2012 17:18:00 +0200
Subject: [PATCH 2/2] use new ax_compiler_vendor
---
configure.ac | 2 +-
m4/ax_lang_compiler_ms.m4 | 37 -------------------------------------
2 files changed, 1 insertion(+), 38 deletions(-)
delete mode 100644 m4/ax_lang_compiler_ms.m4
diff --git a/configure.ac b/configure.ac
index 096bbc7..05eb4f7 100755
--- a/configure.ac
+++ b/configure.ac
@@ -260,6 +260,7 @@ AC_SUBST(LD)
AC_PROG_CC_C99
AM_PROG_CC_C_O
AX_CFLAGS_WARN_ALL
+AX_COMPILER_VENDOR
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_LN_S
@@ -287,7 +288,6 @@ fi
#
AC_EXEEXT
AC_OBJEXT
-AX_LANG_COMPILER_MS
GDI32_LIBS=''
native_win32_build='no'
diff --git a/m4/ax_lang_compiler_ms.m4 b/m4/ax_lang_compiler_ms.m4
deleted file mode 100644
index 658ca85..0000000
--- a/m4/ax_lang_compiler_ms.m4
+++ /dev/null
@@ -1,37 +0,0 @@
-# ===========================================================================
-#
http://www.gnu.org/software/autoconf-ar ... er_ms.html
-# ===========================================================================
-#
-# SYNOPSIS
-#
-# AX_LANG_COMPILER_MS
-#
-# DESCRIPTION
-#
-# Check whether the compiler for the current language is Microsoft.
-#
-# This macro is modeled after _AC_LANG_COMPILER_GNU in the GNU Autoconf
-# implementation.
-#
-# LICENSE
-#
-# Copyright (c) 2009 Braden McDaniel <
braden@endoframe.com>
-#
-# Copying and distribution of this file, with or without modification, are
-# permitted in any medium without royalty provided the copyright notice
-# and this notice are preserved. This file is offered as-is, without any
-# warranty.
-
-#serial 8
-
-AC_DEFUN([AX_LANG_COMPILER_MS],
-[AC_CACHE_CHECK([whether we are using the Microsoft _AC_LANG compiler],
- [ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms],
-[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef _MSC_VER
- choke me
-#endif
-]])],
- [ax_compiler_ms=yes],
- [ax_compiler_ms=no])
-ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms=$ax_compiler_ms
-])])
--
1.7.10