@@ -8,8 +8,8 @@ env = default_env.Clone() #Clone it to add library specified things
8
8
9
9
#Mac Os X requires install_name flag to be built properly
10
10
if env ['PLATFORM' ] == 'darwin' :
11
- print
12
- print "Darwin platform is detected. Setting -install_name @rpath/" + '${TARGET.file}'
11
+ print ()
12
+ print ( "Darwin platform is detected. Setting -install_name @rpath/" + '${TARGET.file}' )
13
13
env .Append (SHLINKFLAGS = ['-install_name' , '@rpath/' + '${TARGET.file}' ])
14
14
15
15
@@ -74,17 +74,17 @@ else:
74
74
#Read user flag for using mysql dependencies or not
75
75
if ARGUMENTS .get ("mysql" ,"no" )== "yes" or ARGUMENTS .get ("with-mysql" ,"true" )== "true" :
76
76
#User wants mysql!
77
- print "Building CCDB using MySQL dependencies"
78
- print "To build CCDB without mysql dependencies. Run scons with 'with-mysql=false'"
79
- print ""
77
+ print ( "Building CCDB using MySQL dependencies" )
78
+ print ( "To build CCDB without mysql dependencies. Run scons with 'with-mysql=false'" )
79
+ print ( "" )
80
80
81
81
if not WhereIs ("mysql_config" ):
82
- print
83
- print "ERROR. Can't find 'mysql_config' utility which is needed to build CCDB with MySQL support."
84
- print "Two options is possible to build CCDB:"
85
- print " 1. Install mysql_config (RHEL has it in mysql-devel package, Ubuntu in libmysqlclient-dev)"
86
- print " 2. Build CCDB without MySQL dependencies (use 'mysql=no' scons flag)"
87
- print
82
+ print ()
83
+ print ( "ERROR. Can't find 'mysql_config' utility which is needed to build CCDB with MySQL support." )
84
+ print ( "Two options is possible to build CCDB:" )
85
+ print ( " 1. Install mysql_config (RHEL has it in mysql-devel package, Ubuntu in libmysqlclient-dev)" )
86
+ print ( " 2. Build CCDB without MySQL dependencies (use 'mysql=no' scons flag)" )
87
+ print ()
88
88
Exit ()
89
89
90
90
mysql_sources = [
@@ -99,7 +99,7 @@ if ARGUMENTS.get("mysql","no")=="yes" or ARGUMENTS.get("with-mysql","true")=="tr
99
99
env .Append (CPPDEFINES = 'CCDB_MYSQL' )
100
100
env .ParseConfig ('mysql_config --libs --cflags' )
101
101
else :
102
- print "CCDB is being build WITHOUT MySQL support. Use 'with-mysql=true' flag to explicitly enable MySQL support"
102
+ print ( "CCDB is being build WITHOUT MySQL support. Use 'with-mysql=true' flag to explicitly enable MySQL support" )
103
103
104
104
105
105
if ARGUMENTS .get ("with-perflog" ,"false" )== "true" :
0 commit comments