X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=configure;fp=configure;h=292639cb2a2cd8ed2bff026675125860a672e6cc;hp=bea16f44f4ce2eb12e3ce0b0482f262bb05aac23;hb=6f1b787a10d8ab1a3117a4b8c004dd2d90599608;hpb=c143f7e806766a73cd69dc6e084e977641019ce6 diff --git a/configure b/configure index bea16f4..292639c 100755 --- a/configure +++ b/configure @@ -58,7 +58,7 @@ Program options: --enable-clock_gettime use a very accurate timing function --enable-debug compile in assertion checks and other debug helps --enable-double-precision use larger floating-point numbers - --enable-hotloading watch assets and automatically reload them + --enable-hotload automatically reload modified game assets --enable-threads use threads for concurrency where appropriate --with-gtk use the gtk2 toolkit (overrides --with-qt4) @@ -468,17 +468,16 @@ end config.USE_CLOCK_GETTIME = get_feature("clock_gettime") config.USE_DOUBLE_PRECISION = get_feature("double-precision") -config.USE_HOTLOADING = get_feature("hotloading") +config.USE_HOTLOADING = get_feature("hotload") config.USE_THREADS = get_feature("threads") -config.PROFILING_ENABLED = get_feature("profile") and add_cflag("-pg") - -if get_package("gtk") then - -- TODO +if get_feature("profile") then + config.PROFILING_ENABLED = true + add_cflag("-pg") + LDFLAGS = LDFLAGS .. "-pg" end -if get_package("qt4") then - -- TODO -end +if get_package("gtk") then config.USE_GTK = true end +if get_package("qt4") then config.USE_QT4 = true end --