/[packages]/cauldron/w3m/current/SOURCES/w3m-0.5.2-syserror.patch
ViewVC logotype

Contents of /cauldron/w3m/current/SOURCES/w3m-0.5.2-syserror.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65217 - (show annotations) (download)
Sun Mar 6 11:34:25 2011 UTC (10 years, 6 months ago) by saispo
File size: 1423 byte(s)
imported package w3m
1 --- w3m-0.5.2/configure 2008-12-22 23:11:35.000000000 -0800
2 +++ w3m-0.5.2/configure.new 2008-12-22 23:18:27.000000000 -0800
3 @@ -10632,49 +10632,10 @@
4
5 { echo "$as_me:$LINENO: checking for sys_errlist" >&5
6 echo $ECHO_N "checking for sys_errlist... $ECHO_C" >&6; }
7 -cat >conftest.$ac_ext <<_ACEOF
8 -/* confdefs.h. */
9 -_ACEOF
10 -cat confdefs.h >>conftest.$ac_ext
11 -cat >>conftest.$ac_ext <<_ACEOF
12 -/* end confdefs.h. */
13 -extern char *sys_errlist[];
14 -int
15 -main ()
16 -{
17 -printf(sys_errlist[0]);
18 - ;
19 - return 0;
20 -}
21 -_ACEOF
22 -rm -f conftest.$ac_objext
23 -if { (ac_try="$ac_compile"
24 -case "(($ac_try" in
25 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26 - *) ac_try_echo=$ac_try;;
27 -esac
28 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29 - (eval "$ac_compile") 2>conftest.er1
30 - ac_status=$?
31 - grep -v '^ *+' conftest.er1 >conftest.err
32 - rm -f conftest.er1
33 - cat conftest.err >&5
34 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35 - (exit $ac_status); } && {
36 - test -z "$ac_c_werror_flag" ||
37 - test ! -s conftest.err
38 - } && test -s conftest.$ac_objext; then
39 have_sys_errlist="yes"; cat >>confdefs.h <<\_ACEOF
40 #define HAVE_SYS_ERRLIST 1
41 _ACEOF
42
43 -else
44 - echo "$as_me: failed program was:" >&5
45 -sed 's/^/| /' conftest.$ac_ext >&5
46 -
47 - have_sys_errlist="no"
48 -fi
49 -
50 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51 { echo "$as_me:$LINENO: result: $have_sys_errlist" >&5
52 echo "${ECHO_T}$have_sys_errlist" >&6; }

  ViewVC Help
Powered by ViewVC 1.1.28