]> git.pld-linux.org Git - packages/lynx.git/blob - lynx-autoconf.patch
- Linking with ncursesw instead of ncurses, so UTF-8 terminals
[packages/lynx.git] / lynx-autoconf.patch
1 diff -burN lynx2-8-5.orig/aclocal.m4 lynx2-8-5/aclocal.m4
2 --- lynx2-8-5.orig/aclocal.m4   2004-02-14 22:10:58.336429456 +0100
3 +++ lynx2-8-5/aclocal.m4        2004-02-14 22:14:16.154356560 +0100
4 @@ -24,7 +24,6 @@
5     AC_REQUIRE([AC_HEADER_STDC])dnl
6     AC_REQUIRE([AC_C_CONST])dnl
7     AC_REQUIRE([AC_C_INLINE])dnl
8 -   AC_REQUIRE([AC_TYPE_OFF_T])dnl
9     AC_REQUIRE([AC_TYPE_SIZE_T])dnl
10     AC_REQUIRE([AC_FUNC_ALLOCA])dnl
11     AC_REQUIRE([AC_FUNC_MMAP])dnl
12 @@ -2226,9 +2226,7 @@
13  dnl CF_HELP_MESSAGE version: 3 updated: 1998/01/14 10:56:23
14  dnl ---------------
15  dnl Insert text into the help-message, for readability, from AC_ARG_WITH.
16 -AC_DEFUN([CF_HELP_MESSAGE],
17 -[AC_DIVERT_HELP([$1])dnl
18 -])dnl
19 +AC_DEFUN([CF_HELP_MESSAGE],[])
20  dnl ---------------------------------------------------------------------------
21  dnl CF_INET_ADDR version: 4 updated: 1999/03/30 12:24:31
22  dnl ------------
23 diff -burN lynx2-8-5.orig/configure.in lynx2-8-5/configure.in
24 --- lynx2-8-5.orig/configure.in 2004-02-14 22:10:58.364425200 +0100
25 +++ lynx2-8-5/configure.in      2004-02-14 22:13:35.179585672 +0100
26 @@ -16,7 +16,6 @@
27  # run to the next, as well as with tests that are order-dependent.
28  rm -f config.cache
29  
30 -AC_PREREQ(2.13.20020210)
31  AC_INIT(userdefs.h)
32  
33  # autoconf 2.5x defaults to no cache file; we need the cache file's information
34 @@ -75,9 +74,6 @@
35  dnl Debug/development/test
36  dnl --------------------------------------------------------------------------
37  
38 -CF_HELP_MESSAGE(
39 -Development Options:)
40 -
41  CF_DISABLE_ECHO
42  
43  # special case for WWW/*
44 @@ -308,9 +304,6 @@
45  dnl --------------------------------------------------------------------------
46  dnl --------------------------------------------------------------------------
47  
48 -CF_HELP_MESSAGE(
49 -Basic Configuration Options:)
50 -
51  dnl internationalization macros
52  CF_BUNDLED_INTL(makefile,disable)
53  
54 @@ -609,9 +602,6 @@
55  dnl Experimental options that don't need to test system features
56  dnl --------------------------------------------------------------------------
57  
58 -CF_HELP_MESSAGE(
59 -Experimental Options:)
60 -
61  AC_MSG_CHECKING(if bibp: URLs should be supported)
62  CF_ARG_DISABLE(bibp-urls,
63  [  --disable-bibp-urls     disable support for bibp: URLs],
64 @@ -787,9 +777,6 @@
65  dnl Miscellaneous options that don't need to test system features
66  dnl --------------------------------------------------------------------------
67  
68 -CF_HELP_MESSAGE(
69 -Miscellaneous Options:)
70 -
71  AC_MSG_CHECKING(if alternative line-edit bindings should be used)
72  CF_ARG_ENABLE(alt-bindings,
73  [  --disable-alt-bindings  disable alternative line-edit bindings],
74 @@ -862,7 +849,7 @@
75  AC_MSG_RESULT($use_externs)
76  if test $use_externs != "no" ; then
77         AC_DEFINE(USE_EXTERNALS)
78 -       LIBOBJS="$LIBOBJS LYExtern\$o"
79 +       AC_LIBOBJ([LYExtern])
80  fi
81  
82  AC_MSG_CHECKING(if you want to use setfont support)
83 @@ -1008,9 +995,6 @@
84  dnl DirEd (directory-editor) options
85  dnl --------------------------------------------------------------------------
86  
87 -CF_HELP_MESSAGE(
88 -Directory Editor Options:)
89 -
90  # All DirEd functions that were enabled on compilation can be disabled
91  # or modified at run time via DIRED_MENU symbols in lynx.cfg.
92  AC_MSG_CHECKING(if directory-editor code should be used)
93 @@ -1021,7 +1005,7 @@
94  AC_MSG_RESULT($use_dired)
95  
96  if test ".$use_dired" != ".no" ; then
97 -       LIBOBJS="$LIBOBJS LYLocal\$o"
98 +       AC_LIBOBJ([LYLocal])
99         AC_DEFINE(DIRED_SUPPORT)
100  
101         AC_MSG_CHECKING(if you wish to allow extracting from archives via DirEd)
102 @@ -1131,7 +1115,6 @@
103  AC_SUBST(COMPRESS_EXT)
104  
105  if test $cf_cv_screen = pdcurses ; then
106 -       CF_HELP_MESSAGE(Special Libraries for PDCurses X11:)
107         CF_PDCURSES_X11
108  else
109         CF_TERMIO_AND_CURSES(LYCurses.h)
This page took 0.064888 seconds and 3 git commands to generate.