B
    b                 @   s4   d Z dZddlZddlZddlZdd Zdd ZdS )zSCons.Tool.m4

Tool-specific initialization for m4.

There normally shouldn't be any need to import this module directly.
It will usually be imported through the generic SCons.Tool.Tool()
selection method.

z,__FILE__ __REVISION__ __DATE__ __DEVELOPER__    Nc             C   sN   t jdd}t jj|dd}|| d d< d| d< t jd| d	< d
| d< dS )zAAdd Builders and construction variables for m4 to an Environment.z$M4COMz	$M4COMSTRz.m4)actionZ
src_suffixZBUILDERSZM4m4z-EZM4FLAGSzIcd ${SOURCE.rsrcdir} && $M4 $M4FLAGS < ${SOURCE.file} > ${TARGET.abspath}ZM4COMN)SConsZActionZBuilderZUtilZCLVar)envZM4ActionZbld r   ,lib/python3.7/site-packages/SCons/Tool/m4.pygenerate(   s    r   c             C   s
   |  dS )Nr   )ZDetect)r   r   r   r   exists8   s    r	   )__doc__Z__revision__ZSCons.Actionr   ZSCons.BuilderZ
SCons.Utilr   r	   r   r   r   r   <module>	   s   