From: Daniel Caujolle-B. <f1...@us...> - 2004-01-17 00:39:47
|
Update of /cvsroot/xine/xine-ui In directory sc8-pr-cvs1:/tmp/cvs-serv20046 Modified Files: Makefile.am configure.ac Log Message: use external libreadline Index: Makefile.am =================================================================== RCS file: /cvsroot/xine/xine-ui/Makefile.am,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- Makefile.am 27 Oct 2003 20:42:16 -0000 1.31 +++ Makefile.am 17 Jan 2004 00:39:44 -0000 1.32 @@ -6,7 +6,7 @@ ACLOCAL_AMFLAGS = @XINE_ACFLAGS@ -I m4 -SUBDIRS = doc m4 readline intl po misc src +SUBDIRS = doc m4 intl po misc src DEBFILES = debian/README.Debian debian/changelog debian/control \ debian/copyright debian/links debian/menu \ Index: configure.ac =================================================================== RCS file: /cvsroot/xine/xine-ui/configure.ac,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- configure.ac 16 Jan 2004 23:25:58 -0000 1.58 +++ configure.ac 17 Jan 2004 00:39:44 -0000 1.59 @@ -310,80 +310,18 @@ dnl dnl readline dnl -dnl configure defaults -LIBVERSION=4.2a -opt_curses=no -opt_shared=no - -dnl arguments to configure -AC_ARG_WITH(curses, - [ --with-curses use the curses library instead of the termcap library], - opt_curses=$withval) - -if test "$opt_curses" = "yes"; then - prefer_curses=yes -fi -AC_TYPE_SIGNAL([]) - -AC_HEADER_STAT -AC_HEADER_DIRENT -AC_CHECK_FUNCS(lstat memmove putenv select setenv setlocale \ - strcasecmp strpbrk tcgetattr vsnprintf isascii isxdigit getpwuid_r) - -AC_FUNC_STRCOLL - -AC_CHECK_HEADERS(unistd.h stdlib.h varargs.h stdarg.h string.h strings.h \ - limits.h sys/ptem.h sys/pte.h sys/stream.h sys/select.h \ - termcap.h termios.h termio.h sys/file.h locale.h memory.h) - -dnl BASH_SYS_SIGNAL_VINTAGE dnl pure 2.50 -dnl BASH_SYS_REINSTALL_SIGHANDLERS dnl pure 2.50 -BASH_SIGNAL_CHECK -BASH_REINSTALL_SIGHANDLERS - -BASH_FUNC_POSIX_SETJMP -BASH_FUNC_LSTAT -BASH_CHECK_GETPW_FUNCS -BASH_FUNC_STRCOLL - -BASH_TYPE_SIGHANDLER -BASH_HAVE_TIOCGWINSZ -BASH_HAVE_TIOCSTAT -BASH_HAVE_FIONREAD -BASH_MISC_SPEED_T -BASH_STRUCT_WINSIZE -BASH_STRUCT_DIRENT_D_INO -BASH_STRUCT_DIRENT_D_FILENO -dnl yuck -case "$host_os" in -aix*) prefer_curses=yes ;; -esac - -BASH_CHECK_LIB_TERMCAP([], - AC_MSG_RESULT([*** All of READLINE dependent parts will be disabled ***])) +AC_CHECK_READLINE +AM_CONDITIONAL(HAVE_READLINE, test x"$have_readline" = "xyes") -case "$host_cpu" in -*cray*) READLINE_LOCAL_CFLAGS=-DCRAY ;; -*s390*) READLINE_LOCAL_CFLAGS=-fsigned-char ;; -esac - -case "$host_os" in -isc*) READLINE_LOCAL_CFLAGS=-Disc386 ;; -esac - -AC_SUBST(READLINE_LOCAL_CFLAGS) -AC_SUBST(TERMCAP_LIB) -AC_SUBST(LIBVERSION) -AM_CONDITIONAL(HAVE_TERMCAP, test x"$no_termcap" != "xyes") dnl dnl ncurses dnl AC_CHECK_HEADERS(curses.h) AC_CHECK_LIB(ncurses, cbreak, - AC_DEFINE(HAVE_NCURSES,,[Define this if you have ncurses installed]) - ac_have_ncurses="yes" - NCURSES_LIB="-lncurses") + AC_DEFINE(HAVE_NCURSES,,[Define this if you have ncurses installed]) + ac_have_ncurses="yes" + NCURSES_LIB="-lncurses") AC_SUBST(NCURSES_LIB) AM_CONDITIONAL(HAVE_NCURSES, test x$ac_have_ncurses = "xyes") @@ -395,6 +333,7 @@ AC_MSG_RESULT(*** All of curl dependent parts will be disabled ***)]) AM_CONDITIONAL(HAVE_CURL, test x$no_curl != "xyes") + dnl dnl dnl @@ -936,7 +875,7 @@ dnl dnl Some include paths ( !!! DO NOT REMOVE !!! ) dnl -INCLUDES='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/readline -I$(top_builddir)/readline -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/src/common -I$(top_builddir)/src/common -I$(top_srcdir)/src/xitk/xine-toolkit -I$(top_builddir)/src/xitk/xine-toolkit -I$(prefix)/include $(INTLDIR)' +INCLUDES='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/src/common -I$(top_builddir)/src/common -I$(top_srcdir)/src/xitk/xine-toolkit -I$(top_builddir)/src/xitk/xine-toolkit -I$(prefix)/include $(INTLDIR)' AC_SUBST(INCLUDES) AC_DEFINE(NEED_MRLBROWSER,,[Define this to add mrl browser into xitk lib]) @@ -956,7 +895,6 @@ Makefile m4/Makefile intl/Makefile -readline/Makefile src/Makefile src/common/Makefile src/xitk/Makefile |