* configure.in: Update list of browsers. Don't fallback to
lynx since it cannot be run in background. * lib/mc.ext.in: Redirect output of X11 browsers to /dev/null. If no browser for X11 was found, use lynx.
Этот коммит содержится в:
родитель
94ad49d237
Коммит
33b09eee48
@ -1,5 +1,10 @@
|
||||
2001-09-12 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.in: Update list of browsers. Don't fallback to
|
||||
lynx since it cannot be run in background.
|
||||
* lib/mc.ext.in: Redirect output of X11 browsers to /dev/null.
|
||||
If no browser for X11 was found, use lynx.
|
||||
|
||||
* autogen.sh: Add a workaround to ensure that "depcomp" is
|
||||
distributed.
|
||||
* configure.in: Replace obsolete macros. Use AC_MSG_NOTICE
|
||||
|
@ -27,10 +27,8 @@ AC_SYS_LARGEFILE
|
||||
|
||||
AC_CHECK_TOOL(AR, ar, ar)
|
||||
|
||||
AC_CHECK_PROGS(X11_WWW,netscape arena Mosaic chimera)
|
||||
if test x"$X11_WWW" = x; then
|
||||
X11_WWW=lynx
|
||||
fi
|
||||
dnl Only list browsers here that can be run in background (i.e. with `&')
|
||||
AC_CHECK_PROGS(X11_WWW, [gnome-moz-remote mozilla konqueror opera netscape])
|
||||
|
||||
ALL_LINGUAS="az ca cs da de el es es_ES fi fr hu it ja ko lv nl no pl pt_BR ro ru sk sl sv uk ta tr wa zh_TW zh_CN.GB2312"
|
||||
|
||||
|
@ -297,7 +297,7 @@ type/^PDF
|
||||
# html
|
||||
regex/\.([Hh]tml?|HTML?)$
|
||||
#Open=if echo "%d/%p" | grep ^ftp; then $viewer %d/%p; else $viewer file:%p; fi
|
||||
Open=if [ x$DISPLAY = x ]; then lynx -force_html %f; else (@X11_WWW@ %f &); fi
|
||||
Open=if test -n "@X11_WWW@" && test -n "$DISPLAY"; then echo @X11_WWW@ %f; (@X11_WWW@ %f &) >/dev/null 2>&1; else lynx -force_html %f; fi
|
||||
View=%view{ascii} lynx -dump -force_html %f;
|
||||
Run with AppletViewer=appletviewer %f
|
||||
View with @X11_WWW@=@X11_WWW@ file://%f
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user