exes += exe
endif
+opt = get_option('build-scriptlive').require(have_pty).allowed()
exe = executable(
'scriptlive',
scriptlive_sources,
realtime_libs,
math_libs],
install_dir : usrbin_exec_dir,
- install : true)
-exes += exe
-manadocs += ['term-utils/scriptlive.1.adoc']
-bashcompletions += ['scriptlive']
+ install : opt,
+ build_by_default : opt)
+if opt and not is_disabler(exe)
+ exes += exe
+ manadocs += ['term-utils/scriptlive.1.adoc']
+ bashcompletions += ['scriptlive']
+endif
exe = executable(
'scriptreplay',
description : 'build addpart, delpart, partx')
option('build-script', type : 'feature',
description : 'build script')
+option('build-scriptlive', type : 'feature',
+ description : 'build scriptlive')
option('build-uuidd', type : 'feature',
description : 'build the uuid daemon')