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
|
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#
--- centericq-4.9.7/./configure.in~configure
+++ centericq-4.9.7/./configure.in
@@ -83,11 +83,11 @@
else
AC_MSG_RESULT([not found or disabled])
- AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [
- CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS"
- LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra"
- AC_DEFINE(HAVE_GNUTLS, 1, [use gnutls])
- ])
+# AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [
+# CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS"
+# LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra"
+# AC_DEFINE(HAVE_GNUTLS, 1, [use gnutls])
+# ])
fi
fi
--- centericq-4.9.7/./connwrap-0.1/configure.in~configure
+++ centericq-4.9.7/./connwrap-0.1/configure.in
@@ -45,29 +46,29 @@
else
AC_MSG_RESULT([not found or disabled])
- AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [
- CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS"
- LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra"
- AC_DEFINE(HAVE_GNUTLS)
- ])
+# AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [
+# CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS"
+# LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra"
+# AC_DEFINE(HAVE_GNUTLS)
+# ])
fi
fi
AC_MSG_CHECKING(for inet_aton() presence)
-AC_TRY_LINK([
+AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-], [
+]], [[
struct in_addr inp;
inet_aton("address", &inp);
-], have_aton=yes, have_aton=no)
+]])],[have_aton=yes],[have_aton=no])
if test "$have_aton" = "yes"; then
AC_DEFINE(HAVE_INET_ATON)
|