Changes in tools/autotool.py [ec07933:0dd022ec] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/autotool.py

    rec07933 r0dd022ec  
    355355        check_app([common['OBJDUMP'], "--version"], "GNU Objdump utility", details)
    356356        check_app([common['STRIP'], "--version"], "GNU strip", details)
    357 
    358 def check_python():
    359         "Check for Python dependencies"
    360        
    361         try:
    362                 sys.stderr.write("Checking for PyYAML ... ")
    363                 import yaml
    364         except ImportError:
    365                 print_error(["PyYAML is missing.",
    366                              "",
    367                              "Please make sure that it is installed in your",
    368                              "system (usually part of PyYAML package)."])
    369        
    370         sys.stderr.write("ok\n")
    371357
    372358def decode_value(value):
     
    824810                        common['CLANG_TARGET'] = clang_target
    825811               
    826                 check_python()
    827                
    828812                # Platform-specific utilities
    829813                if ((config['BARCH'] == "amd64") or (config['BARCH'] == "ia32") or (config['BARCH'] == "ppc32") or (config['BARCH'] == "sparc64")):
     
    850834                sandbox_leave(owd)
    851835       
    852         common['AUTOGEN'] = "%s/autogen.py" % os.path.dirname(os.path.abspath(sys.argv[0]))
    853 
    854836        create_makefile(MAKEFILE, common)
    855837        create_header(HEADER, maps)
Note: See TracChangeset for help on using the changeset viewer.