summaryrefslogtreecommitdiff
path: root/app-pda/pilot-link/files/pilot-link-0.12.2-build.patch
Unidiff
Diffstat (limited to 'app-pda/pilot-link/files/pilot-link-0.12.2-build.patch') (more/less context) (ignore whitespace changes)
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-build.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-build.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-build.patch
index d2961b5..e26ccb7 100644
--- a/app-pda/pilot-link/files/pilot-link-0.12.2-build.patch
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-build.patch
@@ -58,32 +58,32 @@ index 68a05f2..4da0626 100644
58 AC_ARG_WITH(bluez, 58 AC_ARG_WITH(bluez,
59 AC_HELP_STRING([--with-bluez], 59 AC_HELP_STRING([--with-bluez],
60- [Enable usage of BlueZ]),, 60- [Enable usage of BlueZ]),,
61+ [Enable usage of BlueZ]),[use_bluez="$withval"], 61+ [Enable usage of BlueZ]),[use_bluez="$withval"],
62 use_bluez=auto) 62 use_bluez=auto)
63 if test "x$use_bluez" != "xno"; then 63 if test "x$use_bluez" != "xno"; then
64 if test "x$have_bluez" = xno && test "x$use_bluez" = xyes; then 64 if test "x$have_bluez" = xno && test "x$use_bluez" = xyes; then
65 AC_MSG_ERROR([BlueZ explicitly requested but no support found]) 65 AC_MSG_ERROR([BlueZ explicitly requested but no support found])
66 fi 66 fi
67 +use_bluez="$have_bluez" 67 +use_bluez="$have_bluez"
68 if test "x$have_bluez" = xyes; then 68 if test "x$have_bluez" = xyes; then
69 AC_DEFINE(HAVE_BLUEZ, 1, [Define if we have BlueZ bluetooth support]) 69 AC_DEFINE(HAVE_BLUEZ, 1, [Define if we have BlueZ bluetooth support])
70 AC_MSG_RESULT([enabled]) 70 AC_MSG_RESULT([enabled])
71@@ -366,7 +369,7 @@ if test "x$use_bluez" != "xno"; then 71@@ -366,7 +369,7 @@ if test "x$use_bluez" != "xno"; then
72 fi 72 fi
73 fi 73 fi
74 74
75-AM_CONDITIONAL(WITH_BLUEZ, test x$have_bluez = "xyes") 75-AM_CONDITIONAL(WITH_BLUEZ, test x$have_bluez = "xyes")
76+AM_CONDITIONAL(WITH_BLUEZ, test x$use_bluez != "xno") 76+AM_CONDITIONAL(WITH_BLUEZ, test x$use_bluez != "xno")
77 77
78 78
79 dnl ********************************* 79 dnl *********************************
80diff --git a/pilot-link.m4.in b/pilot-link.m4.in 80diff --git a/pilot-link.m4.in b/pilot-link.m4.in
81index 129dfc3..a271c74 100644 81index 129dfc3..a271c74 100644
82--- a/pilot-link.m4 82--- a/pilot-link.m4.in
83+++ b/pilot-link.m4 83+++ b/pilot-link.m4.in
84@@ -1,5 +1,3 @@ 84@@ -1,5 +1,3 @@
85-AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])dnl 85-AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])dnl
86- 86-
87 AC_DEFUN([AC_PILOT_LINK_HOOK], 87 AC_DEFUN([AC_PILOT_LINK_HOOK],
88 [ 88 [
89 PILOT_LINK_VERS=0 89 PILOT_LINK_VERS=0