diff --git a/cde/configure.ac b/cde/configure.ac index e351a6517..fded46249 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -375,6 +375,9 @@ if test -z "$ac_cv_prog_PATCH"; then MISSING_PROGS="patch ${MISSING_PROGS}" fi +dnl Used to check if program 'tic' is available to install terminfo files +AC_CHECK_PROGS(TIC, tic, :) + dnl headers AC_HEADER_STDC AC_CHECK_HEADERS([locale.h security/pam_appl.h utempter.h]) diff --git a/cde/programs/dtterm/Makefile.am b/cde/programs/dtterm/Makefile.am index 79ce5bf33..b996c6e80 100644 --- a/cde/programs/dtterm/Makefile.am +++ b/cde/programs/dtterm/Makefile.am @@ -47,6 +47,10 @@ dtterm.ti: terminfoChecklist $(RM) $@ CPP="$(GENCPP)" $(SHELL) terminfoCreate < terminfoChecklist > $@ + +install: + @TIC@ dtterm.ti + install-exec-hook: chown root $(DESTDIR)$(bindir)/dtterm if !HAS_UTEMPTER_LIBRARY