mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-04 16:45:43 +00:00
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@133 6778bc44-b910-0410-a7a0-be141de4315d
24 lines
734 B
Plaintext
24 lines
734 B
Plaintext
dnl @synopsis AX_LANG_COMPILER_MS
|
|
dnl
|
|
dnl Check whether the compiler for the current language is Microsoft.
|
|
dnl
|
|
dnl This macro is modeled after _AC_LANG_COMPILER_GNU in the GNU
|
|
dnl Autoconf implementation.
|
|
dnl
|
|
dnl @category InstalledPackages
|
|
dnl @author Braden McDaniel <braden@endoframe.com>
|
|
dnl @version 2004-11-15
|
|
dnl @license AllPermissive
|
|
|
|
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
|
|
])])
|