1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-18 00:21:18 +02:00

Unpack the waf scripts.

See http://lintian.debian.org/tags/source-contains-waf-binary.html for details.
This commit is contained in:
benjamin.drung@gmail.com
2013-11-13 00:39:30 +00:00
parent e143ac9ca1
commit 7a5f6fbbf3
652 changed files with 106202 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
#! /usr/bin/env python
# encoding: utf-8
# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file
import os,sys
from waflib.Tools import ccroot,ar,gcc
from waflib.Configure import conf
@conf
def find_icc(conf):
if sys.platform=='cygwin':
conf.fatal('The Intel compiler does not work on Cygwin')
v=conf.env
cc=None
if v['CC']:cc=v['CC']
elif'CC'in conf.environ:cc=conf.environ['CC']
if not cc:cc=conf.find_program('icc',var='CC')
if not cc:cc=conf.find_program('ICL',var='CC')
if not cc:conf.fatal('Intel C Compiler (icc) was not found')
cc=conf.cmd_to_list(cc)
conf.get_cc_version(cc,icc=True)
v['CC']=cc
v['CC_NAME']='icc'
def configure(conf):
conf.find_icc()
conf.find_ar()
conf.gcc_common_flags()
conf.gcc_modifier_platform()
conf.cc_load_tools()
conf.cc_add_flags()
conf.link_add_flags()