diff options
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | term-utils/Makemodule.am | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7347965fd..8622408a1 100644 --- a/configure.ac +++ b/configure.ac @@ -1230,6 +1230,13 @@ UL_BUILD_INIT([setarch], [check]) UL_REQUIRES_LINUX([setarch]) AM_CONDITIONAL([BUILD_SETARCH], [test "x$build_setarch" = xyes]) +UL_BUILD_INIT([script], [yes]) +AM_CONDITIONAL([BUILD_SCRIPT], [test "x$build_script" = xyes]) + +UL_BUILD_INIT([scriptreplay], [yes]) +AM_CONDITIONAL([BUILD_SCRIPTREPLAY], [test "x$build_scriptreplay" = xyes]) + + AC_ARG_ENABLE([tunelp], AS_HELP_STRING([--enable-tunelp], [build tunelp]), [], [enable_tunelp=no] diff --git a/term-utils/Makemodule.am b/term-utils/Makemodule.am index 39fddc9a0..5c73f3e5e 100644 --- a/term-utils/Makemodule.am +++ b/term-utils/Makemodule.am @@ -1,4 +1,4 @@ - +if BUILD_SCRIPT usrbin_exec_PROGRAMS += script dist_man_MANS += term-utils/script.1 script_SOURCES = term-utils/script.c @@ -9,11 +9,13 @@ endif if HAVE_UTEMPTER script_LDADD += -lutempter endif +endif # BUILD_SCRIPT - +if BUILD_SCRIPTREPLAY usrbin_exec_PROGRAMS += scriptreplay dist_man_MANS += term-utils/scriptreplay.1 scriptreplay_SOURCES = term-utils/scriptreplay.c +endif # BUILD_SCRIPTREPLAY if BUILD_AGETTY |