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> 2006-01-30 Pavel Tsekov <ptsekov@gmx.net>
* boxes.c: Do not set the field `histname' of `QuickWidget' * boxes.c: Do not set the field `histname' of `QuickWidget'

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

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

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

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