-config.USE_CLOCK_GETTIME = get_feature("clock_gettime")
-config.USE_DOUBLE_PRECISION = get_feature("double-precision")
-config.USE_HOTLOADING = get_feature("hotloading")
-config.USE_THREADS = get_feature("threads")
-config.PROFILING_ENABLED = get_feature("profile") and add_cflag("-pg")
-
-if get_package("gtk") then
- -- TODO
+config.ENABLE_CLOCK_GETTIME = get_feature("clock_gettime")
+config.ENABLE_DOUBLE_PRECISION = get_feature("double-precision")
+config.ENABLE_HOTLOADING = get_feature("hotload")
+config.ENABLE_THREADS = get_feature("threads")
+if get_feature("profile") then
+ config.ENABLE_PROFILING = true
+ add_cflag("-pg")
+ LDFLAGS = LDFLAGS .. "-pg"