1 diff -urN sipsak-0.9.6/configure sipsak-0.9.6.new/configure
2 --- sipsak-0.9.6/configure 2006-01-28 22:11:34.000000000 +0100
3 +++ sipsak-0.9.6.new/configure 2012-08-06 16:45:07.051588486 +0200
4 @@ -5954,264 +5954,6 @@
8 - echo "$as_me:$LINENO: checking for ares_version.h" >&5
9 -echo $ECHO_N "checking for ares_version.h... $ECHO_C" >&6
14 - ares_incdirs="/usr/include /usr/local/include /sw/include"
15 - ares_libdirs="/usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib /sw/lib"
16 - ares_libexten=".so .dylib .a"
18 - for dir in $ares_incdirs; do
19 - try="$dir/ares_version.h"
20 - if test -f $try; then
26 - if test "$ares_incdir" = "NONE"; then
27 - echo "$as_me:$LINENO: result: not found" >&5
28 -echo "${ECHO_T}not found" >&6
30 - echo "$as_me:$LINENO: result: found at $ares_incdir" >&5
31 -echo "${ECHO_T}found at $ares_incdir" >&6
33 - echo "$as_me:$LINENO: checking for c-ares lib" >&5
34 -echo $ECHO_N "checking for c-ares lib... $ECHO_C" >&6
36 - for dir in $ares_libdirs; do
37 - for extension in $ares_libexten; do
38 - try="$dir/libcares$extension"
39 - if test -f $try; then
45 - if test "$ares_libdir" != "NONE"; then
50 - if test "$ares_libdir" = "NONE"; then
51 - echo "$as_me:$LINENO: result: not found" >&5
52 -echo "${ECHO_T}not found" >&6
54 - echo "$as_me:$LINENO: result: found at $ares_libdir" >&5
55 -echo "${ECHO_T}found at $ares_libdir" >&6
58 - echo "$as_me:$LINENO: checking for ares_version in -lcares" >&5
59 -echo $ECHO_N "checking for ares_version in -lcares... $ECHO_C" >&6
60 -if test "${ac_cv_lib_cares_ares_version+set}" = set; then
61 - echo $ECHO_N "(cached) $ECHO_C" >&6
63 - ac_check_lib_save_LIBS=$LIBS
65 -cat >conftest.$ac_ext <<_ACEOF
68 -cat confdefs.h >>conftest.$ac_ext
69 -cat >>conftest.$ac_ext <<_ACEOF
70 -/* end confdefs.h. */
72 -/* Override any gcc2 internal prototype to avoid an error. */
76 -/* We use char because int might match the return type of a gcc2
77 - builtin and then its argument prototype would still apply. */
78 -char ares_version ();
87 -rm -f conftest.$ac_objext conftest$ac_exeext
88 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89 - (eval $ac_link) 2>conftest.er1
91 - grep -v '^ *+' conftest.er1 >conftest.err
93 - cat conftest.err >&5
94 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
95 - (exit $ac_status); } &&
96 - { ac_try='test -z "$ac_c_werror_flag"
97 - || test ! -s conftest.err'
98 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
102 - (exit $ac_status); }; } &&
103 - { ac_try='test -s conftest$ac_exeext'
104 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105 - (eval $ac_try) 2>&5
107 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
108 - (exit $ac_status); }; }; then
109 - ac_cv_lib_cares_ares_version=yes
111 - echo "$as_me: failed program was:" >&5
112 -sed 's/^/| /' conftest.$ac_ext >&5
114 -ac_cv_lib_cares_ares_version=no
116 -rm -f conftest.err conftest.$ac_objext \
117 - conftest$ac_exeext conftest.$ac_ext
118 -LIBS=$ac_check_lib_save_LIBS
120 -echo "$as_me:$LINENO: result: $ac_cv_lib_cares_ares_version" >&5
121 -echo "${ECHO_T}$ac_cv_lib_cares_ares_version" >&6
122 -if test $ac_cv_lib_cares_ares_version = yes; then
124 -cat >>confdefs.h <<\_ACEOF
125 -#define HAVE_CARES_H 1
128 - LIBS="$LIBS -L$ares_libdir -l$ares_libcall"
129 - CFLAGS="$CFLAGS -I$ares_incdir"
130 - SIPSAK_HAVE_ARES="1"
137 -if test "X$SIPSAK_HAVE_ARES" == "X"; then
139 - echo "$as_me:$LINENO: checking for ruli.h" >&5
140 -echo $ECHO_N "checking for ruli.h... $ECHO_C" >&6
144 - ruli_incdirs="/usr/include /usr/local/include /sw/include"
145 - ruli_libdirs="/usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib /sw/lib"
146 - ruli_libexten=".so .dylib .a"
148 - for dir in $ruli_incdirs; do
150 - if test -f $try; then
156 - if test "$ruli_incdir" = "NONE"; then
157 - echo "$as_me:$LINENO: result: not found" >&5
158 -echo "${ECHO_T}not found" >&6
160 - echo "$as_me:$LINENO: result: found at $ruli_incdir" >&5
161 -echo "${ECHO_T}found at $ruli_incdir" >&6
163 - echo "$as_me:$LINENO: checking for libruli" >&5
164 -echo $ECHO_N "checking for libruli... $ECHO_C" >&6
166 - for dir in $ruli_libdirs; do
167 - for extension in $ruli_libexten; do
168 - try="$dir/libruli$extension"
169 - if test -f $try; then
174 - if test "$ruli_libdir" != "NONE"; then
179 - if test "$ruli_libdir" = "NONE"; then
180 - echo "$as_me:$LINENO: result: not found" >&5
181 -echo "${ECHO_T}not found" >&6
183 - echo "$as_me:$LINENO: result: found at $ruli_libdir" >&5
184 -echo "${ECHO_T}found at $ruli_libdir" >&6
187 - echo "$as_me:$LINENO: checking for ruli_sync_query in -lruli" >&5
188 -echo $ECHO_N "checking for ruli_sync_query in -lruli... $ECHO_C" >&6
189 -if test "${ac_cv_lib_ruli_ruli_sync_query+set}" = set; then
190 - echo $ECHO_N "(cached) $ECHO_C" >&6
192 - ac_check_lib_save_LIBS=$LIBS
194 -cat >conftest.$ac_ext <<_ACEOF
197 -cat confdefs.h >>conftest.$ac_ext
198 -cat >>conftest.$ac_ext <<_ACEOF
199 -/* end confdefs.h. */
201 -/* Override any gcc2 internal prototype to avoid an error. */
205 -/* We use char because int might match the return type of a gcc2
206 - builtin and then its argument prototype would still apply. */
207 -char ruli_sync_query ();
216 -rm -f conftest.$ac_objext conftest$ac_exeext
217 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
218 - (eval $ac_link) 2>conftest.er1
220 - grep -v '^ *+' conftest.er1 >conftest.err
222 - cat conftest.err >&5
223 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
224 - (exit $ac_status); } &&
225 - { ac_try='test -z "$ac_c_werror_flag"
226 - || test ! -s conftest.err'
227 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
228 - (eval $ac_try) 2>&5
230 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
231 - (exit $ac_status); }; } &&
232 - { ac_try='test -s conftest$ac_exeext'
233 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
234 - (eval $ac_try) 2>&5
236 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
237 - (exit $ac_status); }; }; then
238 - ac_cv_lib_ruli_ruli_sync_query=yes
240 - echo "$as_me: failed program was:" >&5
241 -sed 's/^/| /' conftest.$ac_ext >&5
243 -ac_cv_lib_ruli_ruli_sync_query=no
245 -rm -f conftest.err conftest.$ac_objext \
246 - conftest$ac_exeext conftest.$ac_ext
247 -LIBS=$ac_check_lib_save_LIBS
249 -echo "$as_me:$LINENO: result: $ac_cv_lib_ruli_ruli_sync_query" >&5
250 -echo "${ECHO_T}$ac_cv_lib_ruli_ruli_sync_query" >&6
251 -if test $ac_cv_lib_ruli_ruli_sync_query = yes; then
253 -cat >>confdefs.h <<\_ACEOF
254 -#define HAVE_RULI_H 1
257 - LIBS="$LIBS -L$ruli_libdir -lruli"
258 - CFLAGS="$CFLAGS -I$ruli_incdir"
266 for ac_header in arpa/nameser.h
268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
269 @@ -6361,7 +6103,6 @@
276 # Check for T1 timer value