1
1

* Makefile.am: Rename LIBDIR to SAVERDIR to avoid confusion.

Change its value to match the installation path of cons.saver.
* cons.handler.c: Adjust for the above.
Этот коммит содержится в:
Pavel Roskin 2006-01-30 20:08:28 +00:00
родитель b0ced33741
Коммит 9b774d1b7d
3 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,9 @@
2006-01-30 Pavel Roskin <proski@gnu.org>
* Makefile.am: Rename LIBDIR to SAVERDIR to avoid confusion.
Change its value to match the installation path of cons.saver.
* cons.handler.c: Adjust for the above.
2006-01-30 Pavel Tsekov <ptsekov@gmx.net>
* boxes.c: Do not set the field `histname' of `QuickWidget'
@ -68,7 +74,7 @@
2006-01-23 Egmont Koblinger <egmont@uhulinux.hu>
* subshell.c: restart write() calls interrupted by sigchld which lead
* subshell.c: restart write() calls interrupted by sigchld which lead
to some bytes being swallowed from the subshell's output.
2006-01-07 Roland Illig <roland.illig@gmx.de>

Просмотреть файл

@ -8,7 +8,7 @@ bin_PROGRAMS = mc mcmfmt
if CONS_SAVER
pkglibexec_PROGRAMS = cons.saver
AM_CPPFLAGS = -DDATADIR=\""$(pkgdatadir)/"\" -DLOCALEDIR=\""$(localedir)"\" \
-DLIBDIR=\""$(pkglibdir)"\"
-DSAVERDIR=\""$(pkglibexecdir)"\"
else
AM_CPPFLAGS = -DDATADIR=\""$(pkgdatadir)/"\" -DLOCALEDIR=\""$(localedir)"\"
endif

Просмотреть файл

@ -142,7 +142,7 @@ handle_console_linux (unsigned char action)
open ("/dev/null", O_WRONLY);
if (tty_name) {
/* Exec the console save/restore handler */
mc_conssaver = concat_dir_and_file (LIBDIR, "cons.saver");
mc_conssaver = concat_dir_and_file (SAVERDIR, "cons.saver");
execl (mc_conssaver, "cons.saver", tty_name, (char *) NULL);
}
/* Console is not a tty or execl() failed */