source: m4/ax_lang_compiler_ms.m4@ 4464ef

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction Subpackage_levmar Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 4464ef was 62c3dde, checked in by Frederik Heber <heber@…>, 14 years ago

Added m4 files containing AX_LANG_COMPILER_MS and AM_PATH_CPPUNIT to repository.

  • kudos to Ralf for pointing this out
  • Property mode set to 100644
File size: 1.1 KB
Line 
1# ===========================================================================
2# http://www.gnu.org/software/autoconf-archive/ax_lang_compiler_ms.html
3# ===========================================================================
4#
5# SYNOPSIS
6#
7# AX_LANG_COMPILER_MS
8#
9# DESCRIPTION
10#
11# Check whether the compiler for the current language is Microsoft.
12#
13# This macro is modeled after _AC_LANG_COMPILER_GNU in the GNU Autoconf
14# implementation.
15#
16# LICENSE
17#
18# Copyright (c) 2009 Braden McDaniel <braden@endoframe.com>
19#
20# Copying and distribution of this file, with or without modification, are
21# permitted in any medium without royalty provided the copyright notice
22# and this notice are preserved. This file is offered as-is, without any
23# warranty.
24
25#serial 8
26
27AC_DEFUN([AX_LANG_COMPILER_MS],
28[AC_CACHE_CHECK([whether we are using the Microsoft _AC_LANG compiler],
29 [ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms],
30[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef _MSC_VER
31 choke me
32#endif
33]])],
34 [ax_compiler_ms=yes],
35 [ax_compiler_ms=no])
36ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms=$ax_compiler_ms
37])])
Note: See TracBrowser for help on using the repository browser.