source: trunk/dports/textproc/libxml/files/patches @ 1574

Last change on this file since 1574 was 1574, checked in by jpm, 18 years ago

the first revision of the gnome xml library

  • Property svn:eol-style set to native
File size: 21.5 KB
Line 
1diff -Naur configure configure
2--- configure   Thu Jan 24 07:49:17 2002
3+++ configure   Wed Jun  5 01:26:55 2002
4@@ -3502,11 +3502,11 @@
5     ;;
6 
7   darwin* | rhapsody*)
8-    allow_undefined_flag='-undefined suppress'
9+    allow_undefined_flag='-flat_namespace -undefined suppress'
10     # FIXME: Relying on posixy $() will cause problems for
11     #        cross-compilation, but unfortunately the echo tests do not
12     #        yet detect zsh echo's removal of \ escapes.
13-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
14+    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
15     # We need to add '_' to the symbols in $export_symbols first
16     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
17     hardcode_direct=yes
18@@ -6118,54 +6118,60 @@
19 done
20 
21 
22-echo $ac_n "checking for gethostent""... $ac_c" 1>&6
23-echo "configure:6123: checking for gethostent" >&5
24-if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then
25+for ac_func in gethostent
26+do
27+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
28+echo "configure:6125: checking for $ac_func" >&5
29+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
30   echo $ac_n "(cached) $ac_c" 1>&6
31 else
32   cat > conftest.$ac_ext <<EOF
33-#line 6128 "configure"
34+#line 6130 "configure"
35 #include "confdefs.h"
36 /* System header to define __stub macros and hopefully few prototypes,
37-    which can conflict with char gethostent(); below.  */
38+    which can conflict with char $ac_func(); below.  */
39 #include <assert.h>
40 /* Override any gcc2 internal prototype to avoid an error.  */
41 /* We use char because int might match the return type of a gcc2
42     builtin and then its argument prototype would still apply.  */
43-char gethostent();
44+char $ac_func();
45 
46 int main() {
47 
48 /* The GNU C library defines this for functions which it implements
49     to always fail with ENOSYS.  Some functions are actually named
50     something starting with __ and the normal name is an alias.  */
51-#if defined (__stub_gethostent) || defined (__stub___gethostent)
52+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53 choke me
54 #else
55-gethostent();
56+$ac_func();
57 #endif
58 
59 ; return 0; }
60 EOF
61-if { (eval echo configure:6151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
62+if { (eval echo configure:6153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
63   rm -rf conftest*
64-  eval "ac_cv_func_gethostent=yes"
65+  eval "ac_cv_func_$ac_func=yes"
66 else
67   echo "configure: failed program was:" >&5
68   cat conftest.$ac_ext >&5
69   rm -rf conftest*
70-  eval "ac_cv_func_gethostent=no"
71+  eval "ac_cv_func_$ac_func=no"
72 fi
73 rm -f conftest*
74 fi
75 
76-if eval "test \"`echo '$ac_cv_func_'gethostent`\" = yes"; then
77+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
78   echo "$ac_t""yes" 1>&6
79-  :
80+    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
81+  cat >> confdefs.h <<EOF
82+#define $ac_tr_func 1
83+EOF
84+
85 else
86   echo "$ac_t""no" 1>&6
87 echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6
88-echo "configure:6169: checking for gethostent in -lnsl" >&5
89+echo "configure:6175: checking for gethostent in -lnsl" >&5
90 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'`
91 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
92   echo $ac_n "(cached) $ac_c" 1>&6
93@@ -6173,7 +6179,7 @@
94   ac_save_LIBS="$LIBS"
95 LIBS="-lnsl  $LIBS"
96 cat > conftest.$ac_ext <<EOF
97-#line 6177 "configure"
98+#line 6183 "configure"
99 #include "confdefs.h"
100 /* Override any gcc2 internal prototype to avoid an error.  */
101 /* We use char because int might match the return type of a gcc2
102@@ -6184,7 +6190,7 @@
103 gethostent()
104 ; return 0; }
105 EOF
106-if { (eval echo configure:6188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
107+if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
108   rm -rf conftest*
109   eval "ac_cv_lib_$ac_lib_var=yes"
110 else
111@@ -6212,55 +6218,62 @@
112 fi
113 
114 fi
115+done
116 
117-echo $ac_n "checking for setsockopt""... $ac_c" 1>&6
118-echo "configure:6218: checking for setsockopt" >&5
119-if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then
120+for ac_func in setsockopt
121+do
122+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
123+echo "configure:6227: checking for $ac_func" >&5
124+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
125   echo $ac_n "(cached) $ac_c" 1>&6
126 else
127   cat > conftest.$ac_ext <<EOF
128-#line 6223 "configure"
129+#line 6232 "configure"
130 #include "confdefs.h"
131 /* System header to define __stub macros and hopefully few prototypes,
132-    which can conflict with char setsockopt(); below.  */
133+    which can conflict with char $ac_func(); below.  */
134 #include <assert.h>
135 /* Override any gcc2 internal prototype to avoid an error.  */
136 /* We use char because int might match the return type of a gcc2
137     builtin and then its argument prototype would still apply.  */
138-char setsockopt();
139+char $ac_func();
140 
141 int main() {
142 
143 /* The GNU C library defines this for functions which it implements
144     to always fail with ENOSYS.  Some functions are actually named
145     something starting with __ and the normal name is an alias.  */
146-#if defined (__stub_setsockopt) || defined (__stub___setsockopt)
147+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
148 choke me
149 #else
150-setsockopt();
151+$ac_func();
152 #endif
153 
154 ; return 0; }
155 EOF
156-if { (eval echo configure:6246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
157+if { (eval echo configure:6255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
158   rm -rf conftest*
159-  eval "ac_cv_func_setsockopt=yes"
160+  eval "ac_cv_func_$ac_func=yes"
161 else
162   echo "configure: failed program was:" >&5
163   cat conftest.$ac_ext >&5
164   rm -rf conftest*
165-  eval "ac_cv_func_setsockopt=no"
166+  eval "ac_cv_func_$ac_func=no"
167 fi
168 rm -f conftest*
169 fi
170 
171-if eval "test \"`echo '$ac_cv_func_'setsockopt`\" = yes"; then
172+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
173   echo "$ac_t""yes" 1>&6
174-  :
175+    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
176+  cat >> confdefs.h <<EOF
177+#define $ac_tr_func 1
178+EOF
179+
180 else
181   echo "$ac_t""no" 1>&6
182 echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6
183-echo "configure:6264: checking for setsockopt in -lsocket" >&5
184+echo "configure:6277: checking for setsockopt in -lsocket" >&5
185 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'`
186 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
187   echo $ac_n "(cached) $ac_c" 1>&6
188@@ -6268,7 +6281,7 @@
189   ac_save_LIBS="$LIBS"
190 LIBS="-lsocket  $LIBS"
191 cat > conftest.$ac_ext <<EOF
192-#line 6272 "configure"
193+#line 6285 "configure"
194 #include "confdefs.h"
195 /* Override any gcc2 internal prototype to avoid an error.  */
196 /* We use char because int might match the return type of a gcc2
197@@ -6279,7 +6292,7 @@
198 setsockopt()
199 ; return 0; }
200 EOF
201-if { (eval echo configure:6283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
202+if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
203   rm -rf conftest*
204   eval "ac_cv_lib_$ac_lib_var=yes"
205 else
206@@ -6307,55 +6320,62 @@
207 fi
208 
209 fi
210+done
211 
212-echo $ac_n "checking for connect""... $ac_c" 1>&6
213-echo "configure:6313: checking for connect" >&5
214-if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
215+for ac_func in connect
216+do
217+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
218+echo "configure:6329: checking for $ac_func" >&5
219+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
220   echo $ac_n "(cached) $ac_c" 1>&6
221 else
222   cat > conftest.$ac_ext <<EOF
223-#line 6318 "configure"
224+#line 6334 "configure"
225 #include "confdefs.h"
226 /* System header to define __stub macros and hopefully few prototypes,
227-    which can conflict with char connect(); below.  */
228+    which can conflict with char $ac_func(); below.  */
229 #include <assert.h>
230 /* Override any gcc2 internal prototype to avoid an error.  */
231 /* We use char because int might match the return type of a gcc2
232     builtin and then its argument prototype would still apply.  */
233-char connect();
234+char $ac_func();
235 
236 int main() {
237 
238 /* The GNU C library defines this for functions which it implements
239     to always fail with ENOSYS.  Some functions are actually named
240     something starting with __ and the normal name is an alias.  */
241-#if defined (__stub_connect) || defined (__stub___connect)
242+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
243 choke me
244 #else
245-connect();
246+$ac_func();
247 #endif
248 
249 ; return 0; }
250 EOF
251-if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
252+if { (eval echo configure:6357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
253   rm -rf conftest*
254-  eval "ac_cv_func_connect=yes"
255+  eval "ac_cv_func_$ac_func=yes"
256 else
257   echo "configure: failed program was:" >&5
258   cat conftest.$ac_ext >&5
259   rm -rf conftest*
260-  eval "ac_cv_func_connect=no"
261+  eval "ac_cv_func_$ac_func=no"
262 fi
263 rm -f conftest*
264 fi
265 
266-if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
267+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
268   echo "$ac_t""yes" 1>&6
269-  :
270+    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
271+  cat >> confdefs.h <<EOF
272+#define $ac_tr_func 1
273+EOF
274+
275 else
276   echo "$ac_t""no" 1>&6
277 echo $ac_n "checking for connect in -linet""... $ac_c" 1>&6
278-echo "configure:6359: checking for connect in -linet" >&5
279+echo "configure:6379: checking for connect in -linet" >&5
280 ac_lib_var=`echo inet'_'connect | sed 'y%./+-%__p_%'`
281 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
282   echo $ac_n "(cached) $ac_c" 1>&6
283@@ -6363,7 +6383,7 @@
284   ac_save_LIBS="$LIBS"
285 LIBS="-linet  $LIBS"
286 cat > conftest.$ac_ext <<EOF
287-#line 6367 "configure"
288+#line 6387 "configure"
289 #include "confdefs.h"
290 /* Override any gcc2 internal prototype to avoid an error.  */
291 /* We use char because int might match the return type of a gcc2
292@@ -6374,7 +6394,7 @@
293 connect()
294 ; return 0; }
295 EOF
296-if { (eval echo configure:6378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
297+if { (eval echo configure:6398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
298   rm -rf conftest*
299   eval "ac_cv_lib_$ac_lib_var=yes"
300 else
301@@ -6402,56 +6422,63 @@
302 fi
303 
304 fi
305+done
306 
307 
308-echo $ac_n "checking for isnan""... $ac_c" 1>&6
309-echo "configure:6409: checking for isnan" >&5
310-if eval "test \"`echo '$''{'ac_cv_func_isnan'+set}'`\" = set"; then
311+for ac_func in isnan
312+do
313+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
314+echo "configure:6432: checking for $ac_func" >&5
315+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
316   echo $ac_n "(cached) $ac_c" 1>&6
317 else
318   cat > conftest.$ac_ext <<EOF
319-#line 6414 "configure"
320+#line 6437 "configure"
321 #include "confdefs.h"
322 /* System header to define __stub macros and hopefully few prototypes,
323-    which can conflict with char isnan(); below.  */
324+    which can conflict with char $ac_func(); below.  */
325 #include <assert.h>
326 /* Override any gcc2 internal prototype to avoid an error.  */
327 /* We use char because int might match the return type of a gcc2
328     builtin and then its argument prototype would still apply.  */
329-char isnan();
330+char $ac_func();
331 
332 int main() {
333 
334 /* The GNU C library defines this for functions which it implements
335     to always fail with ENOSYS.  Some functions are actually named
336     something starting with __ and the normal name is an alias.  */
337-#if defined (__stub_isnan) || defined (__stub___isnan)
338+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
339 choke me
340 #else
341-isnan();
342+$ac_func();
343 #endif
344 
345 ; return 0; }
346 EOF
347-if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
348+if { (eval echo configure:6460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
349   rm -rf conftest*
350-  eval "ac_cv_func_isnan=yes"
351+  eval "ac_cv_func_$ac_func=yes"
352 else
353   echo "configure: failed program was:" >&5
354   cat conftest.$ac_ext >&5
355   rm -rf conftest*
356-  eval "ac_cv_func_isnan=no"
357+  eval "ac_cv_func_$ac_func=no"
358 fi
359 rm -f conftest*
360 fi
361 
362-if eval "test \"`echo '$ac_cv_func_'isnan`\" = yes"; then
363+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
364   echo "$ac_t""yes" 1>&6
365-  :
366+    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
367+  cat >> confdefs.h <<EOF
368+#define $ac_tr_func 1
369+EOF
370+
371 else
372   echo "$ac_t""no" 1>&6
373 echo $ac_n "checking for isnan in -lm""... $ac_c" 1>&6
374-echo "configure:6455: checking for isnan in -lm" >&5
375+echo "configure:6482: checking for isnan in -lm" >&5
376 ac_lib_var=`echo m'_'isnan | sed 'y%./+-%__p_%'`
377 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
378   echo $ac_n "(cached) $ac_c" 1>&6
379@@ -6459,7 +6486,7 @@
380   ac_save_LIBS="$LIBS"
381 LIBS="-lm  $LIBS"
382 cat > conftest.$ac_ext <<EOF
383-#line 6463 "configure"
384+#line 6490 "configure"
385 #include "confdefs.h"
386 /* Override any gcc2 internal prototype to avoid an error.  */
387 /* We use char because int might match the return type of a gcc2
388@@ -6470,7 +6497,7 @@
389 isnan()
390 ; return 0; }
391 EOF
392-if { (eval echo configure:6474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
393+if { (eval echo configure:6501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
394   rm -rf conftest*
395   eval "ac_cv_lib_$ac_lib_var=yes"
396 else
397@@ -6494,56 +6521,63 @@
398 fi
399 
400 fi
401+done
402 
403 
404-echo $ac_n "checking for isinf""... $ac_c" 1>&6
405-echo "configure:6501: checking for isinf" >&5
406-if eval "test \"`echo '$''{'ac_cv_func_isinf'+set}'`\" = set"; then
407+for ac_func in isinf
408+do
409+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
410+echo "configure:6531: checking for $ac_func" >&5
411+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
412   echo $ac_n "(cached) $ac_c" 1>&6
413 else
414   cat > conftest.$ac_ext <<EOF
415-#line 6506 "configure"
416+#line 6536 "configure"
417 #include "confdefs.h"
418 /* System header to define __stub macros and hopefully few prototypes,
419-    which can conflict with char isinf(); below.  */
420+    which can conflict with char $ac_func(); below.  */
421 #include <assert.h>
422 /* Override any gcc2 internal prototype to avoid an error.  */
423 /* We use char because int might match the return type of a gcc2
424     builtin and then its argument prototype would still apply.  */
425-char isinf();
426+char $ac_func();
427 
428 int main() {
429 
430 /* The GNU C library defines this for functions which it implements
431     to always fail with ENOSYS.  Some functions are actually named
432     something starting with __ and the normal name is an alias.  */
433-#if defined (__stub_isinf) || defined (__stub___isinf)
434+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
435 choke me
436 #else
437-isinf();
438+$ac_func();
439 #endif
440 
441 ; return 0; }
442 EOF
443-if { (eval echo configure:6529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
444+if { (eval echo configure:6559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
445   rm -rf conftest*
446-  eval "ac_cv_func_isinf=yes"
447+  eval "ac_cv_func_$ac_func=yes"
448 else
449   echo "configure: failed program was:" >&5
450   cat conftest.$ac_ext >&5
451   rm -rf conftest*
452-  eval "ac_cv_func_isinf=no"
453+  eval "ac_cv_func_$ac_func=no"
454 fi
455 rm -f conftest*
456 fi
457 
458-if eval "test \"`echo '$ac_cv_func_'isinf`\" = yes"; then
459+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
460   echo "$ac_t""yes" 1>&6
461-  :
462+    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
463+  cat >> confdefs.h <<EOF
464+#define $ac_tr_func 1
465+EOF
466+
467 else
468   echo "$ac_t""no" 1>&6
469 echo $ac_n "checking for isinf in -lm""... $ac_c" 1>&6
470-echo "configure:6547: checking for isinf in -lm" >&5
471+echo "configure:6581: checking for isinf in -lm" >&5
472 ac_lib_var=`echo m'_'isinf | sed 'y%./+-%__p_%'`
473 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
474   echo $ac_n "(cached) $ac_c" 1>&6
475@@ -6551,7 +6585,7 @@
476   ac_save_LIBS="$LIBS"
477 LIBS="-lm  $LIBS"
478 cat > conftest.$ac_ext <<EOF
479-#line 6555 "configure"
480+#line 6589 "configure"
481 #include "confdefs.h"
482 /* Override any gcc2 internal prototype to avoid an error.  */
483 /* We use char because int might match the return type of a gcc2
484@@ -6562,7 +6596,7 @@
485 isinf()
486 ; return 0; }
487 EOF
488-if { (eval echo configure:6566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
489+if { (eval echo configure:6600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
490   rm -rf conftest*
491   eval "ac_cv_lib_$ac_lib_var=yes"
492 else
493@@ -6586,6 +6620,7 @@
494 fi
495 
496 fi
497+done
498 
499 
500 XML_LIBDIR='-L${libdir}'
501@@ -6599,7 +6634,7 @@
502 fi
503 
504 echo $ac_n "checking host system type""... $ac_c" 1>&6
505-echo "configure:6603: checking host system type" >&5
506+echo "configure:6638: checking host system type" >&5
507 
508 host_alias=$host
509 case "$host_alias" in
510@@ -6666,7 +6701,7 @@
511 
512 RDL_LIBS=""
513 echo $ac_n "checking for append_history in -lhistory""... $ac_c" 1>&6
514-echo "configure:6670: checking for append_history in -lhistory" >&5
515+echo "configure:6705: checking for append_history in -lhistory" >&5
516 ac_lib_var=`echo history'_'append_history | sed 'y%./+-%__p_%'`
517 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
518   echo $ac_n "(cached) $ac_c" 1>&6
519@@ -6674,7 +6709,7 @@
520   ac_save_LIBS="$LIBS"
521 LIBS="-lhistory  $LIBS"
522 cat > conftest.$ac_ext <<EOF
523-#line 6678 "configure"
524+#line 6713 "configure"
525 #include "confdefs.h"
526 /* Override any gcc2 internal prototype to avoid an error.  */
527 /* We use char because int might match the return type of a gcc2
528@@ -6685,7 +6720,7 @@
529 append_history()
530 ; return 0; }
531 EOF
532-if { (eval echo configure:6689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
533+if { (eval echo configure:6724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
534   rm -rf conftest*
535   eval "ac_cv_lib_$ac_lib_var=yes"
536 else
537@@ -6709,7 +6744,7 @@
538 fi
539 
540 echo $ac_n "checking for main in -ltermcap""... $ac_c" 1>&6
541-echo "configure:6713: checking for main in -ltermcap" >&5
542+echo "configure:6748: checking for main in -ltermcap" >&5
543 ac_lib_var=`echo termcap'_'main | sed 'y%./+-%__p_%'`
544 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
545   echo $ac_n "(cached) $ac_c" 1>&6
546@@ -6717,14 +6752,14 @@
547   ac_save_LIBS="$LIBS"
548 LIBS="-ltermcap  $LIBS"
549 cat > conftest.$ac_ext <<EOF
550-#line 6721 "configure"
551+#line 6756 "configure"
552 #include "confdefs.h"
553 
554 int main() {
555 main()
556 ; return 0; }
557 EOF
558-if { (eval echo configure:6728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
559+if { (eval echo configure:6763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
560   rm -rf conftest*
561   eval "ac_cv_lib_$ac_lib_var=yes"
562 else
563@@ -6745,7 +6780,7 @@
564 fi
565 
566 echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
567-echo "configure:6749: checking for readline in -lreadline" >&5
568+echo "configure:6784: checking for readline in -lreadline" >&5
569 ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
570 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
571   echo $ac_n "(cached) $ac_c" 1>&6
572@@ -6753,7 +6788,7 @@
573   ac_save_LIBS="$LIBS"
574 LIBS="-lreadline $TERMCAP_LIBS $LIBS"
575 cat > conftest.$ac_ext <<EOF
576-#line 6757 "configure"
577+#line 6792 "configure"
578 #include "confdefs.h"
579 /* Override any gcc2 internal prototype to avoid an error.  */
580 /* We use char because int might match the return type of a gcc2
581@@ -6764,7 +6799,7 @@
582 readline()
583 ; return 0; }
584 EOF
585-if { (eval echo configure:6768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
586+if { (eval echo configure:6803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
587   rm -rf conftest*
588   eval "ac_cv_lib_$ac_lib_var=yes"
589 else
590diff -Naur configure.in configure.in
591--- configure.in        Thu Jan 24 07:48:23 2002
592+++ configure.in        Wed Jun  5 01:26:41 2002
593@@ -96,15 +96,15 @@
594 AC_CHECK_FUNCS(strftime localtime)
595 
596 dnl Checks for inet libraries:
597-AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent))
598-AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
599-AC_CHECK_FUNC(connect, , AC_CHECK_LIB(inet, connect))
600+AC_CHECK_FUNCS(gethostent, , AC_CHECK_LIB(nsl, gethostent))
601+AC_CHECK_FUNCS(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
602+AC_CHECK_FUNCS(connect, , AC_CHECK_LIB(inet, connect))
603 
604 dnl Checks for isnan in libm if not in libc
605-AC_CHECK_FUNC(isnan, , AC_CHECK_LIB(m, isnan,
606+AC_CHECK_FUNCS(isnan, , AC_CHECK_LIB(m, isnan,
607   [M_LIBS="-lm"; AC_DEFINE(HAVE_ISNAN)]))
608 
609-AC_CHECK_FUNC(isinf, , AC_CHECK_LIB(m, isinf,
610+AC_CHECK_FUNCS(isinf, , AC_CHECK_LIB(m, isinf,
611   [M_LIBS="-lm"; AC_DEFINE(HAVE_ISINF)]))
612 
613 XML_LIBDIR='-L${libdir}'
614diff -Naur ltmain.sh ltmain.sh
615--- ltmain.sh   Thu Jan 24 07:49:14 2002
616+++ ltmain.sh   Wed Jun  5 01:27:36 2002
617@@ -2858,6 +2858,11 @@
618        if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
619          eval cmds=\"$archive_expsym_cmds\"
620        else
621+         if test "x$verstring" = "x0.0"; then
622+           tmp_verstring=
623+         else
624+           tmp_verstring="$verstring"
625+         fi
626          eval cmds=\"$archive_cmds\"
627        fi
628        IFS="${IFS=     }"; save_ifs="$IFS"; IFS='~'
Note: See TracBrowser for help on using the repository browser.