|
@@ -0,0 +1,30 @@
|
|
1
|
+Index: hamlib-1.2.15.3/configure.ac
|
|
2
|
+===================================================================
|
|
3
|
+--- hamlib-1.2.15.3.orig/configure.ac 2012-11-01 22:27:27.000000000 +0100
|
|
4
|
++++ hamlib-1.2.15.3/configure.ac 2014-06-15 09:34:25.557966205 +0200
|
|
5
|
+@@ -234,12 +234,12 @@
|
|
6
|
+ "You need a C99 compliant C compiler that supports struct/array intializers."
|
|
7
|
+ "Have you considered GCC lately?.")]);
|
|
8
|
+
|
|
9
|
+-dnl libxml2 required rigmem xml support
|
|
10
|
+-PKG_CHECK_MODULES([LIBXML2], [libxml-2.0],
|
|
11
|
+- [AC_DEFINE(HAVE_XML2,[1],[Define if libxml2 is available])],
|
|
12
|
+- [AC_MSG_WARN([libxml-2.0 pkg-config not found, XML support will be disabled])])
|
|
13
|
++#dnl libxml2 required rigmem xml support
|
|
14
|
++#PKG_CHECK_MODULES([LIBXML2], [libxml-2.0],
|
|
15
|
++# [AC_DEFINE(HAVE_XML2,[1],[Define if libxml2 is available])],
|
|
16
|
++# [AC_MSG_WARN([libxml-2.0 pkg-config not found, XML support will be disabled])])
|
|
17
|
+ AC_SUBST(LIBXML2_LIBS)
|
|
18
|
+ AC_SUBST(LIBXML2_CFLAGS)
|
|
19
|
+
|
|
20
|
+ dnl Check if libgd-dev is installed, so we can enable rigmatrix
|
|
21
|
+
|
|
22
|
+@@ -406,7 +406,7 @@
|
|
23
|
+ AM_CONDITIONAL(HAVE_USRP, test x"${cf_with_usrp}" = "xyes")
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+-PKG_CHECK_MODULES(LIBUSB, libusb >= 0.1, ,
|
|
27
|
++PKG_CHECK_MODULES(LIBUSB, libusb >= 1.0, ,
|
|
28
|
+ [AC_MSG_WARN([libusb pkg-config not found, USB backends will be disabled])])
|
|
29
|
+ CFLAGS="${CFLAGS} ${LIBUSB_CFLAGS}"
|
|
30
|
+ CXXFLAGS="${CXXFLAGS} ${LIBUSB_CFLAGS}"
|