Commit d7a0c47a authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

look for libncurses or libtermcap include other libraries (ncurses,

* configure.in: look for libncurses or libtermcap
* vte.pc.in: include other libraries (ncurses, termcap, socket, whatever) in
	the list of libraries.
* src/keymap.c(_vte_keymap_map): for Home and End, consult libncurses or
	libtermcap if we have no hard-wired mapping and there's none in the
	termcap file.  Should fix #100472, even in cases where Home and End
	vary wildly from what I've got on my box.
* src/keymap.c: rename cursor/fkey_normal to cursor/fkey_default, which makes a
	little more sense.
parent 3b4a3853
2003-01-02 nalin
* configure.in: look for libncurses or libtermcap
* vte.pc.in: include other libraries (ncurses, termcap, socket,
whatever) in the list of libraries.
* src/keymap.c(_vte_keymap_map): for Home and End, consult libncurses
or libtermcap if we have no hard-wired mapping and there's none in the
termcap file. Should fix #100472, even in cases where Home and End
vary wildly from what I've got on my box.
* src/keymap.c: rename cursor/fkey_normal to cursor/fkey_default,
which makes a little more sense.
2003-01-02 Zbigniew Chyla <cyba@gnome.pl>
* configure.in: (ALL_LINGUAS) Added pl (Polish).
......
......@@ -62,6 +62,14 @@ AC_CHECK_FUNC(socket,[have_socket=1],AC_CHECK_LIB(socket,socket,[have_socket=1;
AC_CHECK_FUNC(socketpair,[have_socketpair=1],AC_CHECK_LIB(socket,socketpair,[have_socketpair=1; LIBS="$LIBS -lsocket"]))
AC_CHECK_HEADERS(sys/select.h sys/un.h stropts.h termios.h wchar.h)
AC_CHECK_HEADER(ncurses.h,[AC_CHECK_HEADER(term.h,[AC_CHECK_LIB(ncurses,tgetent,[LIBS="-lncurses $LIBS";AC_DEFINE(HAVE_NCURSES,1,[Define if you have ncurses.h and libncurses])])])])
if test $ac_cv_lib_ncurses_tgetent != yes ; then
AC_CHECK_HEADER(termcap.h,[AC_CHECK_LIB(termcap,tgetent,[LIBS="-ltermcap $LIBS";AC_DEFINE(HAVE_TERMCAP,1,[Define if you have termcap.h and libtermcap])])])
fi
OTHERLIBS="$LIBS"
AC_SUBST(OTHERLIBS)
if test x$have_socket = x1 ; then
AC_DEFINE(HAVE_SOCKET,1,[Define if you have the `socket' function.])
fi
......
This diff is collapsed.
......@@ -7,5 +7,5 @@ Name: vte
Description: Vte terminal widget.
Version: @VERSION@
Requires: glib-2.0 gobject-2.0 atk pango pangox gtk+-2.0 gdk-pixbuf-2.0
Libs: -L${libdir} -lvte
Libs: -L${libdir} -lvte @OTHERLIBS@
Cflags: -I${includedir}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment