parameters: (env)
return_statement: return None
docstring: Detects *xgettext(1)* binary
docstring_summary: Detects *xgettext(1)* binary
docstring_tokens: Detects * xgettext ( 1 ) * binary
function: def _detect_xgettext(env):
      """ Detects *xgettext(1)* binary """
      if 'XGETTEXT' in env:
          return env['XGETTEXT']
      xgettext = env.Detect('xgettext')
      if xgettext:
          return xgettext
      raise SCons.Errors.StopError(XgettextNotFound, "Could not detect xgettext")
      return None
function_tokens: def _detect_xgettext ( env ) : if 'XGETTEXT' in env : return env [ 'XGETTEXT' ] xgettext = env . Detect ( 'xgettext' ) if xgettext : return xgettext raise SCons . Errors . StopError ( XgettextNotFound , "Could not detect xgettext" ) return None