ó
gÊù]c           @   s  d  d l  Z  d  d l Z d  d l Z d  d l Z d  d l m Z d  d l m Z m Z d  d l	 m
 Z
 i d d g d 6d g d 6d g d	 6d
 d g d 6d d g d 6d d g d 6d g d 6d g d 6d g d 6d d d g d 6d g d 6a d „  Z d „  Z d S(   iÿÿÿÿN(   t   ccroot(   t   Utilst	   Configure(   t   debugt   msvcs   g++t   win32t   cygwint   darwins   xlc++t   aixt   icpct   linuxs   sunc++t   sunost   irixt   hpuxt   gnut   javat   defaultc         C   s  y |  j  j } Wn t k
 r0 |  j d ƒ n XxØ | j ƒ  D]½ } |  j j ƒ  |  j d | ƒ y |  j | ƒ WnA |  j	 j
 k
 r¶ } |  j j ƒ  |  j t ƒ t d | ƒ q> X|  j d rî |  j |  j j d ƒ ƒ | |  j d <Pn  |  j t ƒ q> W|  j d ƒ d  S(   Ns*   Add options(opt): opt.load('compiler_cxx')s   Checking for %r (c++ compiler)s   compiler_cxx: %rt   CXXt   COMPILER_CXXs#   could not configure a c++ compiler!(   t   optionst   check_cxx_compilert   AttributeErrort   fatalt   splitt   envt   stasht	   start_msgt   loadt   errorst   ConfigurationErrort   revertt   end_msgt   FalseR   t   get_flat(   t   conft   test_for_compilert   compilert   e(    (    s[   /git_repos/avwlv2/.waf-1.7.11-715590adb2974ef17ddee0c7e2df2d1d/waflib/Tools/compiler_cxx.pyt	   configure
   s&      c         C   s¬   |  j  d ƒ t j ƒ  } t | t k r. | p1 d } d j | ƒ } |  j d ƒ } | j d d d | d d | | f d	 d
 ƒx% | j ƒ  D] } |  j d | ƒ q� Wd  S(   Ns   cxx_*.pyR   t    s   C++ Compiler Optionss   --check-cxx-compilers   %st   helpsQ   On this platform (%s) the following C++ Compiler will be checked by default: "%s"t   destR   (	   t   load_special_toolsR   t   unversioned_sys_platformt   cxx_compilert   joint   add_option_groupt
   add_optionR   R   (   t   optt   build_platformt   possible_compiler_listR#   t   cxx_compiler_optst   x(    (    s[   /git_repos/avwlv2/.waf-1.7.11-715590adb2974ef17ddee0c7e2df2d1d/waflib/Tools/compiler_cxx.pyR      s    -(   t   ost   syst   impt   typest   waflib.ToolsR    t   waflibR   R   t   waflib.LogsR   R,   R&   R   (    (    (    s[   /git_repos/avwlv2/.waf-1.7.11-715590adb2974ef17ddee0c7e2df2d1d/waflib/Tools/compiler_cxx.pyt   <module>   s   0†	