04ed8c5c1f8c2cc36271f63b6ffd9cbd1f2a1096
[openwrt/svn-archive/archive.git] / 001-configure.patch
1 --- openh323-cvs-20051230.orig/configure 2005-08-30 03:12:38.000000000 +0200
2 +++ openh323-cvs-20051230/configure 2005-12-30 11:29:57.000000000 +0100
3 @@ -3080,10 +3080,10 @@
4 if eval "test \"\${$as_ac_File+set}\" = set"; then
5 echo $ECHO_N "(cached) $ECHO_C" >&6
6 else
7 - test "$cross_compiling" = yes &&
8 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
9 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10 - { (exit 1); exit 1; }; }
11 +# test "$cross_compiling" = yes &&
12 +# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13 +#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
14 +# { (exit 1); exit 1; }; }
15 if test -r "${PWLIBDIR}/version.h"; then
16 eval "$as_ac_File=yes"
17 else
18 @@ -3104,10 +3104,10 @@
19 if eval "test \"\${$as_ac_File+set}\" = set"; then
20 echo $ECHO_N "(cached) $ECHO_C" >&6
21 else
22 - test "$cross_compiling" = yes &&
23 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25 - { (exit 1); exit 1; }; }
26 +# test "$cross_compiling" = yes &&
27 +# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28 +#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
29 +# { (exit 1); exit 1; }; }
30 if test -r "${OPENH323DIR}/../pwlib/version.h"; then
31 eval "$as_ac_File=yes"
32 else
33 @@ -3129,10 +3129,10 @@
34 if eval "test \"\${$as_ac_File+set}\" = set"; then
35 echo $ECHO_N "(cached) $ECHO_C" >&6
36 else
37 - test "$cross_compiling" = yes &&
38 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
39 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
40 - { (exit 1); exit 1; }; }
41 +# test "$cross_compiling" = yes &&
42 +# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
43 +#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
44 +# { (exit 1); exit 1; }; }
45 if test -r "${HOME}/pwlib/include/ptlib.h"; then
46 eval "$as_ac_File=yes"
47 else
48 @@ -3153,10 +3153,10 @@
49 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
50 echo $ECHO_N "(cached) $ECHO_C" >&6
51 else
52 - test "$cross_compiling" = yes &&
53 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
54 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
55 - { (exit 1); exit 1; }; }
56 +# test "$cross_compiling" = yes &&
57 +# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
58 +#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
59 +# { (exit 1); exit 1; }; }
60 if test -r "/usr/local/include/ptlib.h"; then
61 ac_cv_file__usr_local_include_ptlib_h=yes
62 else
63 @@ -3215,10 +3215,10 @@
64 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
65 echo $ECHO_N "(cached) $ECHO_C" >&6
66 else
67 - test "$cross_compiling" = yes &&
68 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
69 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
70 - { (exit 1); exit 1; }; }
71 +# test "$cross_compiling" = yes &&
72 +# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
73 +#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
74 +# { (exit 1); exit 1; }; }
75 if test -r "/usr/include/ptlib.h"; then
76 ac_cv_file__usr_include_ptlib_h=yes
77 else
78 @@ -3985,10 +3985,10 @@
79 if test "${ac_cv_file__usr_local_include_ffmpeg_avcodec_h+set}" = set; then
80 echo $ECHO_N "(cached) $ECHO_C" >&6
81 else
82 - test "$cross_compiling" = yes &&
83 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
84 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
85 - { (exit 1); exit 1; }; }
86 +# test "$cross_compiling" = yes &&
87 +# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
88 +#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
89 +# { (exit 1); exit 1; }; }
90 if test -r "/usr/local/include/ffmpeg/avcodec.h"; then
91 ac_cv_file__usr_local_include_ffmpeg_avcodec_h=yes
92 else
93 @@ -4193,10 +4193,10 @@
94 if test "${ac_cv_file__usr_local_lib_libvich263_so+set}" = set; then
95 echo $ECHO_N "(cached) $ECHO_C" >&6
96 else
97 - test "$cross_compiling" = yes &&
98 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
99 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
100 - { (exit 1); exit 1; }; }
101 +# test "$cross_compiling" = yes &&
102 +# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
103 +#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
104 +# { (exit 1); exit 1; }; }
105 if test -r "/usr/local/lib/libvich263.so"; then
106 ac_cv_file__usr_local_lib_libvich263_so=yes
107 else
108 @@ -4219,10 +4219,10 @@
109 if test "${ac_cv_file__usr_local_include_vich263_encoder_h263_h+set}" = set; then
110 echo $ECHO_N "(cached) $ECHO_C" >&6
111 else
112 - test "$cross_compiling" = yes &&
113 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
114 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
115 - { (exit 1); exit 1; }; }
116 +# test "$cross_compiling" = yes &&
117 +# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
118 +#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
119 +# { (exit 1); exit 1; }; }
120 if test -r "/usr/local/include/vich263/encoder-h263.h"; then
121 ac_cv_file__usr_local_include_vich263_encoder_h263_h=yes
122 else