}
'''
conf.Message('Checking for the use of global cstd... ')
- ret = conf.TryLink(check_global_cstd_source, '.c')
+ # if can not compile, define CXX_GLOBAL_CSTD
+ ret = conf.TryLink(check_global_cstd_source, '.cpp')
conf.Result(ret)
return ret
}
'''
conf.Message('Checking if the declaration of iconv needs const... ')
- ret = conf.TryLink(check_iconv_const, '.c')
+ ret = conf.TryLink(check_iconv_const, '.cpp')
conf.Result(ret)
return ret