13
0
livetrax/libs/sigc++2/SConscript
Paul Davis beb3ee2339 fix sigc++ SConscript, get crossfade_edit.cc to compile
git-svn-id: svn://localhost/trunk/ardour2@97 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-11-15 03:12:16 +00:00

19 lines
628 B
Python

# -*- python -*-
import glob
import os
sigc2_files = glob.glob('sigc++/*.cc') + glob.glob('sigc++/functors/*.cc') + glob.glob('sigc++/adaptors/lambda/*.cc')
Import('env')
sigc2 = env.Copy()
libsigc2 = sigc2.StaticLibrary('sigc++2', sigc2_files)
if os.path.exists ('CVS'):
sigc2_configure_script = sigc2.Command ('configure', 'configure.ac', 'cd libs/sigc++2; ./autogen.sh; cd -', ENV=os.environ)
sigc2_config_h = sigc2.Command('sigc++config.h', [sigc2_configure_script, 'sigc++config.h.in'], 'cd libs/sigc++2; ./configure; cd -', ENV=os.environ)
Default([sigc2_config_h,libsigc2])
else:
Default([libsigc2])