source "${GRIMOIRE}/CMAKE_CONFIGURE" &&

config_query_option CONKY_OPTS 'enable real transparency support?' n \
    '-DBUILD_ARGB=on'          '-DBUILD_ARGB=off' &&
config_query_option CONKY_OPTS 'enable METAR weather support?' n \
    '-DBUILD_WEATHER_METAR=on' '-DBUILD_WEATHER_METAR=off' &&
config_query_option CONKY_OPTS 'enable XOAP weather support?' n \
    '-DBUILD_WEATHER_XOAP=on'  '-DBUILD_WEATHER_XOAP=off' &&
config_query_option CONKY_OPTS 'enable support for IBM/Lenovo laptops?' n \
    '-DBUILD_IBM=on'           '-DBUILD_IBM=off' &&
config_query_option CONKY_OPTS 'enable support for iconv?' n \
    '-DBUILD_ICONV=on'         '-DBUILD_ICONV=off' &&
config_query_option CONKY_OPTS 'enable support for Eve-Online skill monitor?' n \
    '-DBUILD_EVE=on'           '-DBUILD_EVE=off' &&
config_query_option CONKY_OPTS 'enable support for RSS?' n \
    '-DBUILD_RSS=on'           '-DBUILD_RSS=off' &&
config_query_option CONKY_OPTS 'enable support for hard disk temperature?' y \
    '-DBUILD_HDDTEMP=on'       '-DBUILD_HDDTEMP=off' &&
config_query_option CONKY_OPTS 'enable support for per task IO stats?' y \
    '-DBUILD_IOSTATS=on'       '-DBUILD_IOSTATS=off' &&
config_query_option CONKY_OPTS 'enable support XShape?' y \
    '-DBUILD_XSHAPE=on'        '-DBUILD_XSHAPE=off' &&
config_query_option CONKY_OPTS 'enable support for IPv4 port monitoring?' y \
    '-DBUILD_PORT_MONITORS=on' '-DBUILD_PORT_MONITORS=off' &&

list_remove 'CONKY_OPTS' '-DBUILD_HTTP=on' &&
list_remove 'CONKY_OPTS' '-DBUILD_HTTP=off'
