]> git.pld-linux.org Git - packages/vte.git/commitdiff
- reduce linking (no -lncurses -lICE -lSM)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 10 Dec 2006 11:27:31 +0000 (11:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vte-link.patch -> 1.3

vte-link.patch [new file with mode: 0644]

diff --git a/vte-link.patch b/vte-link.patch
new file mode 100644 (file)
index 0000000..6461ecf
--- /dev/null
@@ -0,0 +1,25 @@
+--- vte-0.14.1/configure.in.orig       2006-12-10 11:58:20.655981000 +0100
++++ vte-0.14.1/configure.in    2006-12-10 12:10:32.397680585 +0100
+@@ -31,7 +31,7 @@
+       if test -d "$ac_x_includes" ; then
+               X_CFLAGS="-I$ac_x_includes $X_CFLAGS"
+       fi
+-      X_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
++      X_LIBS="$X_LIBS -lX11 $X_EXTRA_LIBS"
+       if test -d "$ac_x_libraries" ; then
+               X_LIBS="-L$ac_x_libraries $X_LIBS"
+       fi
+@@ -266,9 +266,9 @@
+ AC_CHECK_FUNC(floor,,AC_CHECK_LIB(m,floor,LIBS=["$LIBS -lm"]))
+ # Look for ncurses or curses or termcap.
+-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 x$ac_cv_lib_ncurses_tgetent != xyes ; then
+-      AC_CHECK_HEADER(ncurses/curses.h,[AC_CHECK_HEADER(ncurses/term.h,[AC_CHECK_LIB(ncurses,tgetent,[LIBS="-lncurses $LIBS";AC_DEFINE(HAVE_NCURSES_CURSES,1,[Define if you have ncurses/curses.h and libncurses])])])])
+-      if test x$ac_cv_lib_ncurses_tgetent != xyes ; then
++AC_CHECK_HEADER(ncurses.h,[AC_CHECK_HEADER(term.h,[AC_CHECK_LIB(tinfo,tgetent,[LIBS="-ltinfo $LIBS";AC_DEFINE(HAVE_NCURSES,1,[Define if you have ncurses.h and libncurses])],[AC_CHECK_LIB(ncurses,tgetent,[LIBS="-lncurses $LIBS";AC_DEFINE(HAVE_NCURSES,1,[Define if you have ncurses.h and libncurses])])])])])
++if test x$ac_cv_lib_ncurses_tgetent != xyes -a x$ac_cv_lib_tinfo_tgetent != xyes ; then
++      AC_CHECK_HEADER(ncurses/curses.h,[AC_CHECK_HEADER(ncurses/term.h,[AC_CHECK_LIB(tinfo,tgetent,[LIBS="-ltinfo $LIBS";AC_DEFINE(HAVE_NCURSES_CURSES,1,[Define if you have ncurses/curses.h and libncurses])],[AC_CHECK_LIB(ncurses,tgetent,[LIBS="-lncurses $LIBS";AC_DEFINE(HAVE_NCURSES_CURSES,1,[Define if you have ncurses/curses.h and libncurses])])])])])
++      if test x$ac_cv_lib_ncurses_tgetent != xyes -a x$ac_cv_lib_tinfo_tgetent != xyes ; then
+               AC_CHECK_HEADER(curses.h,[AC_CHECK_HEADER(term.h,[AC_CHECK_LIB(curses,tgetent,[LIBS="-lcurses $LIBS";AC_DEFINE(HAVE_CURSES,1,[Define if you have curses.h and libcurses])])])])
+               if test x$ac_cv_lib_curses_tgetent != xyes ; then
This page took 0.038671 seconds and 4 git commands to generate.