1# -*- mode:python -*-
2
3# Copyright (c) 2011 Advanced Micro Devices, Inc.
4# Copyright (c) 2009 The Hewlett-Packard Development Company
5# Copyright (c) 2004-2005 The Regents of The University of Michigan
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without
--- 699 unchanged lines hidden (view full) ---
708 Exit(1)
709
710min_swig_version = '1.3.34'
711if compareVersions(swig_version[2], min_swig_version) < 0:
712 print 'Error: SWIG version', min_swig_version, 'or newer required.'
713 print ' Installed version:', swig_version[2]
714 Exit(1)
715
716# Set up SWIG flags & scanner
717swig_flags=Split('-c++ -python -modern -templatereduce $_CPPINCFLAGS')
718main.Append(SWIGFLAGS=swig_flags)
719
720# filter out all existing swig scanners, they mess up the dependency
721# stuff for some reason
722scanners = []
723for scanner in main['SCANNERS']:
--- 491 unchanged lines hidden ---
2
3# Copyright (c) 2011 Advanced Micro Devices, Inc.
4# Copyright (c) 2009 The Hewlett-Packard Development Company
5# Copyright (c) 2004-2005 The Regents of The University of Michigan
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without
--- 699 unchanged lines hidden (view full) ---
708 Exit(1)
709
710min_swig_version = '1.3.34'
711if compareVersions(swig_version[2], min_swig_version) < 0:
712 print 'Error: SWIG version', min_swig_version, 'or newer required.'
713 print ' Installed version:', swig_version[2]
714 Exit(1)
715
716# Set up SWIG flags & scanner
717swig_flags=Split('-c++ -python -modern -templatereduce $_CPPINCFLAGS')
718main.Append(SWIGFLAGS=swig_flags)
719
720# filter out all existing swig scanners, they mess up the dependency
721# stuff for some reason
722scanners = []
723for scanner in main['SCANNERS']:
--- 491 unchanged lines hidden ---