1
##### http://autoconf-archive.cryp.to/ax_lang_compiler_ms.html
9
# Check whether the compiler for the current language is Microsoft.
11
# This macro is modeled after _AC_LANG_COMPILER_GNU in the GNU
12
# Autoconf implementation.
20
# Copyright (c) 2004 Braden McDaniel <braden@endoframe.com>
22
# Copying and distribution of this file, with or without
23
# modification, are permitted in any medium without royalty provided
24
# the copyright notice and this notice are preserved.
26
AC_DEFUN([AX_LANG_COMPILER_MS],
27
[AC_CACHE_CHECK([whether we are using the Microsoft _AC_LANG compiler],
28
[ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms],
29
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef _MSC_VER
35
ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms=$ax_compiler_ms