blob: 14284624849baad11b2c5f59c375db210744f678 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
|
--- w3m-0.5.3-git20190105/configure.orig 2019-01-05 08:41:27.000000000 +0000
+++ w3m-0.5.3-git20190105/configure 2020-03-27 20:42:51.539079131 +0000
@@ -6798,215 +6798,20 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_imagelib" >&5
$as_echo "$with_imagelib" >&6; }
with_imlib=no
- with_imlib2=no
+ with_imlib2=yes
with_gdkpixbuf=no
with_gtk2=no
- for imagelib in $with_imagelib
- do
- case "$imagelib" in
- imlib)
- with_imlib="yes"
- if test x"$IMLIB_CONFIG" = x; then
- IMLIB_CONFIG=imlib-config
- fi;;
- imlib2)
- with_imlib2="yes"
- if test x"$PKG_CONFIG" = x; then
- PKG_CONFIG=pkg-config
- fi
- if test x"$IMLIB2_CONFIG" = x; then
- IMLIB2_CONFIG=imlib2-config
- fi;;
- gdk-pixbuf)
- with_gdkpixbuf="yes"
- if test x"$GDKPIXBUF_CONFIG" = x; then
- GDKPIXBUF_CONFIG=gdk-pixbuf-config
- fi;;
- gtk2)
- with_gtk2="yes"
- if test x"$PKG_CONFIG" = x; then
- PKG_CONFIG=pkg-config
- fi;;
- esac
- done
+
+ have_imlib2="yes"
IMGTARGETS=""
IMGLINK='$(CC)'
- if test x"$with_gtk2" = xyes; then
- version="`$PKG_CONFIG --modversion gdk-pixbuf-2.0 2>/dev/null`"
- if test x"$version" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking GdkPixbuf version" >&5
-$as_echo_n "checking GdkPixbuf version... " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5
-$as_echo "$version" >&6; }
- set -- `echo "$version" | sed 's/[^0-9]/ /g'`
- if test "$1" -ne "2" -o "$2" -lt "0" || test "$2" -eq "0" -a "$3" -lt "0"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GdkPixbuf is too old. Install GdkPixbuf (version >= 2.0.0)" >&5
-$as_echo "$as_me: WARNING: GdkPixbuf is too old. Install GdkPixbuf (version >= 2.0.0)" >&2;}
- have_gdkpixbuf="no"; have_gtk2="no"
- else
- have_gdkpixbuf="yes"; have_gtk2="yes"
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GdkPixbuf is not installed. Install GdkPixbuf (version >= 2.0.0)" >&5
-$as_echo "$as_me: WARNING: GdkPixbuf is not installed. Install GdkPixbuf (version >= 2.0.0)" >&2;}
- have_gdkpixbuf="no"; have_gtk2="no"
- fi
- fi
- if test x"$with_gdkpixbuf" = xyes; then
- if test x"$have_gdkpixbuf" != xyes; then
- version="`$GDKPIXBUF_CONFIG --version 2>/dev/null`"
- if test x"$version" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking GdkPixbuf version" >&5
-$as_echo_n "checking GdkPixbuf version... " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5
-$as_echo "$version" >&6; }
- set -- `echo "$version" | sed 's/[^0-9]/ /g'`
- if test "$1" -ne "0" -o "$2" -lt "16" || test "$2" -eq "16" -a "$3" -lt "0"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GdkPixbuf is too old. Install GdkPixbuf (version >= 0.16.0)" >&5
-$as_echo "$as_me: WARNING: GdkPixbuf is too old. Install GdkPixbuf (version >= 0.16.0)" >&2;}
- have_gdkpixbuf="no"
- else
- have_gdkpixbuf="yes"
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GdkPixbuf is not installed. Install GdkPixbuf (version >= 0.16.0)" >&5
-$as_echo "$as_me: WARNING: GdkPixbuf is not installed. Install GdkPixbuf (version >= 0.16.0)" >&2;}
- have_gdkpixbuf="no"
- fi
- fi
- fi
- if test x"$with_imlib" = xyes; then
- version="`$IMLIB_CONFIG --version 2>/dev/null`"
- if test x"$version" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Imlib version" >&5
-$as_echo_n "checking Imlib version... " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5
-$as_echo "$version" >&6; }
- set -- `echo "$version" | sed 's/[^0-9]/ /g'`
- if test "$1" -ne "1" -o "$2" -lt "9" || test "$2" -eq "9" -a "$3" -lt "8"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Imlib is too old. Install Imlib (version >= 1.9.8)" >&5
-$as_echo "$as_me: WARNING: Imlib is too old. Install Imlib (version >= 1.9.8)" >&2;}
- have_imlib="no"
- else
- have_imlib="yes"
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Imlib is not installed. Install Imlib (version >= 1.9.8)" >&5
-$as_echo "$as_me: WARNING: Imlib is not installed. Install Imlib (version >= 1.9.8)" >&2;}
- have_imlib="no"
- fi
- fi
- if test x"$with_imlib2" = xyes; then
- version="`$IMLIB2_CONFIG --version 2>/dev/null`"
- if test x"$version" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Imlib2 version" >&5
-$as_echo_n "checking Imlib2 version... " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5
-$as_echo "$version" >&6; }
- set -- `echo "$version" | sed 's/[^0-9]/ /g'`
- if test "$1" -ne "1" -o "$2" -lt "0" || test "$2" -eq "0" -a "$3" -lt "5"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Imlib2 is too old. Install Imlib2 (version >= 1.0.5)" >&5
-$as_echo "$as_me: WARNING: Imlib2 is too old. Install Imlib2 (version >= 1.0.5)" >&2;}
- have_imlib2="no"
- else
- have_imlib2="yes"
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Imlib2 is not installed. Install Imlib2 (version >= 1.0.5)" >&5
-$as_echo "$as_me: WARNING: Imlib2 is not installed. Install Imlib2 (version >= 1.0.5)" >&2;}
- have_imlib2="no"
- fi
- fi
- if test x"$x11" = xyes; then
- if test x"$have_gtk2" = xyes; then
- $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h
-
- IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
- IMGTARGETS="x11"
- $as_echo "#define USE_GDKPIXBUF 1" >>confdefs.h
-
- $as_echo "#define USE_GTK2 1" >>confdefs.h
-
- IMGX11CFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0`"
- IMGX11LDFLAGS="-lX11 `${PKG_CONFIG} --libs gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0`"
- elif test x"$have_gdkpixbuf" = xyes; then
- $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h
-
- IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
- IMGTARGETS="x11"
- $as_echo "#define USE_GDKPIXBUF 1" >>confdefs.h
-
- IMGX11CFLAGS="`${GDKPIXBUF_CONFIG} --cflags`"
- IMGX11LDFLAGS="`${GDKPIXBUF_CONFIG} --libs` -lgdk_pixbuf_xlib"
- elif test x"$have_imlib" = xyes; then
- $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h
-
- IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
- IMGTARGETS="x11"
- $as_echo "#define USE_IMLIB 1" >>confdefs.h
-
- IMGX11CFLAGS="`${IMLIB_CONFIG} --cflags`"
- IMGX11LDFLAGS="`${IMLIB_CONFIG} --libs`"
- IMGTARGETS="x11"
- elif test x"$have_imlib2" = xyes; then
- $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h
-
- IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
- IMGTARGETS="x11"
- $as_echo "#define USE_IMLIB2 1" >>confdefs.h
-
- IMGX11CFLAGS="`${IMLIB2_CONFIG} --cflags`"
- IMGX11LDFLAGS="-lX11 `${PKG_CONFIG} --libs imlib2`"
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build w3mimgdisplay with X11 support" >&5
-$as_echo "$as_me: WARNING: unable to build w3mimgdisplay with X11 support" >&2;}
- fi
- fi
- if test x"$fb" = xyes; then
- if test x"$have_gtk2" = xyes; then
- $as_echo "#define USE_W3MIMG_FB 1" >>confdefs.h
-
- IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o"
- IMGTARGETS="${IMGTARGETS} fb"
- $as_echo "#define USE_GDKPIXBUF 1" >>confdefs.h
-
- $as_echo "#define USE_GTK2 1" >>confdefs.h
-
- IMGFBCFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0`"
- IMGFBLDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0`"
- elif test x"$have_gdkpixbuf" = xyes; then
- $as_echo "#define USE_W3MIMG_FB 1" >>confdefs.h
-
- IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o"
- IMGTARGETS="${IMGTARGETS} fb"
- $as_echo "#define USE_GDKPIXBUF 1" >>confdefs.h
-
- IMGFBCFLAGS="`${GDKPIXBUF_CONFIG} --cflags`"
- IMGFBLDFLAGS="`${GDKPIXBUF_CONFIG} --libs`"
- elif test x"$have_imlib2" = xyes; then
- $as_echo "#define USE_W3MIMG_FB 1" >>confdefs.h
-
- IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o"
- IMGTARGETS="${IMGTARGETS} fb"
- $as_echo "#define USE_IMLIB2 1" >>confdefs.h
-
- IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o"
- IMGFBCFLAGS="`${IMLIB2_CONFIG} --cflags`"
- IMGFBLDFLAGS="`${PKG_CONFIG} --libs imlib2`"
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build w3mimgdisplay with FB support" >&5
-$as_echo "$as_me: WARNING: unable to build w3mimgdisplay with FB support" >&2;}
- fi
- fi
- if test x"$win" = xyes; then
- $as_echo "#define USE_W3MIMG_WIN 1" >>confdefs.h
+ $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h
+ IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
+ IMGTARGETS="x11"
+ $as_echo "#define USE_IMLIB2 1" >>confdefs.h
+ IMGX11CFLAGS=""
+ IMGX11LDFLAGS="-lX11 -lImlib2"
- IMGOBJS="$IMGOBJS win/win_w3mimg.o"
- IMGTARGETS="${IMGTARGETS} win"
- IMGWINCFLAGS="-I/usr/include/w32api"
- IMGWINLDFLAGS="-lgdiplus -lgdi32 -luser32"
- IMGLINK='$(CXX)'
- fi
$as_echo "#define IMGTARGETS \"\$IMGTARGETS\"" >>confdefs.h
$as_echo "#define IMGOBJS \"\$IMGOBJS\"" >>confdefs.h
@@ -7361,24 +7166,6 @@
_ACEOF
-for lib in bsd BSD 44bsd socket nsl dld dl
-do
- lib=$lib
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -l$lib" >&5
-$as_echo_n "checking for -l$lib... " >&6; }
- extlib="not found"
- for dir in /lib /usr/lib /usr/local/lib /usr/ucblib /usr/ccslib /usr/ccs/lib /lib64 /usr/lib64
- do
- if test -f $dir/lib$lib.a -o -f $dir/lib$lib.so ; then
- LIBS="$LIBS -l$lib"
- extlib="found at $dir"
- break
- fi
- done
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $extlib" >&5
-$as_echo "$extlib" >&6; }
-done
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support is enabled" >&5
$as_echo_n "checking if IPv6 support is enabled... " >&6; }
# Check whether --enable-ipv6 was given.
|