mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
3.9 KiB

  1. --- ./plugins/irmc_sync/configure.orig 2004-12-18 07:37:17.148587216 +0100
  2. +++ ./plugins/irmc_sync/configure 2004-12-18 08:12:51.570105824 +0100
  3. @@ -4802,77 +4802,12 @@
  4. _ACEOF
  5. LIBS="-lbluetooth $LIBS"
  6. + SDP=1
  7. else
  8. BLUETOOTH=0
  9. fi
  10. -echo "$as_me:$LINENO: checking for sdp_connect in -lsdp" >&5
  11. -echo $ECHO_N "checking for sdp_connect in -lsdp... $ECHO_C" >&6
  12. -if test "${ac_cv_lib_sdp_sdp_connect+set}" = set; then
  13. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14. -else
  15. - ac_check_lib_save_LIBS=$LIBS
  16. -LIBS="-lsdp $LIBS"
  17. -cat >conftest.$ac_ext <<_ACEOF
  18. -/* confdefs.h. */
  19. -_ACEOF
  20. -cat confdefs.h >>conftest.$ac_ext
  21. -cat >>conftest.$ac_ext <<_ACEOF
  22. -/* end confdefs.h. */
  23. -
  24. -/* Override any gcc2 internal prototype to avoid an error. */
  25. -#ifdef __cplusplus
  26. -extern "C"
  27. -#endif
  28. -/* We use char because int might match the return type of a gcc2
  29. - builtin and then its argument prototype would still apply. */
  30. -char sdp_connect ();
  31. -int
  32. -main ()
  33. -{
  34. -sdp_connect ();
  35. - ;
  36. - return 0;
  37. -}
  38. -_ACEOF
  39. -rm -f conftest.$ac_objext conftest$ac_exeext
  40. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  41. - (eval $ac_link) 2>conftest.er1
  42. - ac_status=$?
  43. - grep -v '^ *+' conftest.er1 >conftest.err
  44. - rm -f conftest.er1
  45. - cat conftest.err >&5
  46. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  47. - (exit $ac_status); } &&
  48. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  49. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  50. - (eval $ac_try) 2>&5
  51. - ac_status=$?
  52. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  53. - (exit $ac_status); }; } &&
  54. - { ac_try='test -s conftest$ac_exeext'
  55. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  56. - (eval $ac_try) 2>&5
  57. - ac_status=$?
  58. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59. - (exit $ac_status); }; }; then
  60. - ac_cv_lib_sdp_sdp_connect=yes
  61. -else
  62. - echo "$as_me: failed program was:" >&5
  63. -sed 's/^/| /' conftest.$ac_ext >&5
  64. -
  65. -ac_cv_lib_sdp_sdp_connect=no
  66. -fi
  67. -rm -f conftest.err conftest.$ac_objext \
  68. - conftest$ac_exeext conftest.$ac_ext
  69. -LIBS=$ac_check_lib_save_LIBS
  70. -fi
  71. -echo "$as_me:$LINENO: result: $ac_cv_lib_sdp_sdp_connect" >&5
  72. -echo "${ECHO_T}$ac_cv_lib_sdp_sdp_connect" >&6
  73. -if test $ac_cv_lib_sdp_sdp_connect = yes; then
  74. - SDP=1
  75. -fi
  76. echo "$as_me:$LINENO: checking for correct SDP lib version" >&5
  77. echo $ECHO_N "checking for correct SDP lib version... $ECHO_C" >&6
  78. @@ -4904,7 +4839,7 @@
  79. #define HAVE_BLUETOOTH ${BLUETOOTH}
  80. _ACEOF
  81. -LIBS="$LIBS -lglib-2.0"
  82. +#LIBS="$LIBS -lglib-2.0"
  83. echo "$as_me:$LINENO: checking for OBEX_Init in -lopenobex" >&5
  84. --- ./plugins/irmc_sync/configure.in.orig 2004-12-18 07:38:12.279206088 +0100
  85. +++ ./plugins/irmc_sync/configure.in 2004-12-18 08:11:04.547375752 +0100
  86. @@ -24,7 +24,8 @@
  87. SDP=0
  88. AC_CHECK_HEADER(bluetooth/bluetooth.h, BLUETOOTH=1, BLUETOOTH=0)
  89. AC_CHECK_LIB(bluetooth, hci_open_dev,,BLUETOOTH=0)
  90. -AC_CHECK_LIB(sdp, sdp_connect, SDP=1)
  91. +AC_CHECK_HEADER(bluetooth/sdp.h, SDP=1, SDP=0)
  92. +dnl AC_CHECK_LIB(sdp, sdp_connect, SDP=1)
  93. AC_MSG_CHECKING(for correct SDP lib version)
  94. AM_CONDITIONAL(SDP,test "${SDP}" = "1")
  95. AM_CONDITIONAL(BLUETOOTH,test "${BLUETOOTH}" = "1")
  96. @@ -32,5 +33,4 @@
  97. echo "Bluetooth is DISABLED. You must have the bluez-libs installed."
  98. fi
  99. AC_DEFINE_UNQUOTED(HAVE_BLUETOOTH, ${BLUETOOTH},Defined if Bluetooth is enabled.)
  100. -LIBS="$LIBS -lglib-2.0"
  101. --- ./plugins/irmc_sync/src/Makefile.in.orig 2004-12-18 08:21:22.000000000 +0100
  102. +++ ./plugins/irmc_sync/src/Makefile.in 2004-12-18 08:21:30.000000000 +0100
  103. @@ -159,8 +159,6 @@
  104. irmc_bluetooth.c irmc_bluetooth.h
  105. -@SDP_TRUE@sdp_lib = -lsdp
  106. -
  107. libirmc_bluetooth_la_LIBADD = -lbluetooth -lpthread $(sdp_lib)
  108. libirmc_sync_la_SOURCES = \
  109. --- ./plugins/irmc_sync/src/Makefile.am.orig 2004-12-18 08:20:49.000000000 +0100
  110. +++ ./plugins/irmc_sync/src/Makefile.am 2004-12-18 08:21:07.000000000 +0100
  111. @@ -21,10 +21,6 @@
  112. libirmc_bluetooth_la_SOURCES = \
  113. irmc_bluetooth.c irmc_bluetooth.h
  114. -if SDP
  115. -sdp_lib = -lsdp
  116. -endif
  117. -
  118. libirmc_bluetooth_la_LIBADD = -lbluetooth -lpthread $(sdp_lib)
  119. libirmc_sync_la_SOURCES = \