-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_feature("link-sh") then
- -- TODO
-end
-
-if get_package("gtk") then
- -- TODO
-end
-
-if get_package("qt4") then
- -- TODO
-end
+if get_package("gtk") then config.WITH_GTK = true end
+if get_package("qt4") then config.WITH_QT4 = true end