Simplify rule to install terminfo entry.
authorayin <ayin>
Tue, 18 Sep 2007 12:17:58 +0000 (12:17 +0000)
committerayin <ayin>
Tue, 18 Sep 2007 12:17:58 +0000 (12:17 +0000)
configure
configure.ac
doc/Makefile.in

index b9370453c7d129b33996921094db9b11cb15be0d..4d8db6cfa0c425c3bcf04154b00a85f8a59e67cf 100755 (executable)
--- a/configure
+++ b/configure
@@ -4861,6 +4861,7 @@ done
 done
 IFS=$as_save_IFS
 
+  test -z "$ac_cv_path_TIC" && ac_cv_path_TIC=":"
   ;;
 esac
 fi
index d02702e855d747ea77244f2468ff61999e8221a9..baf3530e32304a2cf4e8c3053e4f48837d0bdca5 100644 (file)
@@ -421,7 +421,7 @@ AC_ARG_WITH(terminfo,
 
 dnl# --------------------------------------------------------------------------
 
-AC_PATH_PROG(TIC, tic)
+AC_PATH_PROG(TIC, tic, :)
 
 dnl# need a neat way to detect SVR4 or its features
 dnl# in src/command.c we use these functions:
index 8f961fc1da22640b45d78ab1b252c8f3affc1c4e..8e10f334db77fd97386882ee3f0f09f6996b3f9a 100644 (file)
@@ -101,7 +101,7 @@ install:
        $(INSTALL_DATA) rxvt.7.man  $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
 @IF_PERL@      $(INSTALL) -d $(DESTDIR)$(man3dir)
 @IF_PERL@      $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
-       if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo; fi; fi
+       @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo
 
 distdepend: alldoc