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.

118 lines
3.9 KiB

  1. --- ./plugins/irmc_sync/configure.in.orig 2004-08-26 16:10:55.663700216 +0200
  2. +++ ./plugins/irmc_sync/configure.in 2004-08-26 16:22:42.186292456 +0200
  3. @@ -23,12 +23,12 @@
  4. CPPFLAGS="${PACKAGE_CFLAGS}"
  5. AC_CHECK_LIB(bluetooth,baswap,BLUETOOTH=1,BLUETOOTH=0)
  6. SDP=0
  7. -AC_CHECK_LIB(sdp,sdp_list_free,SDP=1,BLUETOOTH=0)
  8. +dnl AC_CHECK_LIB(sdp,sdp_record_alloc,SDP=1,BLUETOOTH=0)
  9. AC_MSG_CHECKING(for correct SDP lib version)
  10. AC_TRY_COMPILE([
  11. #include <bluetooth/sdp.h>
  12. #include <bluetooth/sdp_lib.h>
  13. -],[sdp_record_t t;],AC_MSG_RESULT(yes),BLUETOOTH=0;AC_MSG_RESULT(no))
  14. +],[sdp_record_t t;],AC_MSG_RESULT(yes),SDP=1,BLUETOOTH=0;AC_MSG_RESULT(no))
  15. AM_CONDITIONAL(BLUETOOTH,test "${BLUETOOTH}" = "1")
  16. if test "x${BLUETOOTH}" = "x0"; then
  17. echo "Bluetooth is DISABLED. You must have bluez-libs and bluez-kernel >= 2.3 and bluez-sdp >= 1.0-pre1."
  18. --- ./plugins/irmc_sync/configure.orig 2004-08-26 16:10:46.630073536 +0200
  19. +++ ./plugins/irmc_sync/configure 2004-08-26 16:26:08.325954464 +0200
  20. @@ -4307,67 +4307,6 @@
  21. BLUETOOTH=0
  22. fi
  23. -SDP=0
  24. -echo "$as_me:$LINENO: checking for sdp_list_free in -lsdp" >&5
  25. -echo $ECHO_N "checking for sdp_list_free in -lsdp... $ECHO_C" >&6
  26. -if test "${ac_cv_lib_sdp_sdp_list_free+set}" = set; then
  27. - echo $ECHO_N "(cached) $ECHO_C" >&6
  28. -else
  29. - ac_check_lib_save_LIBS=$LIBS
  30. -LIBS="-lsdp $LIBS"
  31. -cat >conftest.$ac_ext <<_ACEOF
  32. -#line $LINENO "configure"
  33. -/* confdefs.h. */
  34. -_ACEOF
  35. -cat confdefs.h >>conftest.$ac_ext
  36. -cat >>conftest.$ac_ext <<_ACEOF
  37. -/* end confdefs.h. */
  38. -
  39. -/* Override any gcc2 internal prototype to avoid an error. */
  40. -#ifdef __cplusplus
  41. -extern "C"
  42. -#endif
  43. -/* We use char because int might match the return type of a gcc2
  44. - builtin and then its argument prototype would still apply. */
  45. -char sdp_list_free ();
  46. -int
  47. -main ()
  48. -{
  49. -sdp_list_free ();
  50. - ;
  51. - return 0;
  52. -}
  53. -_ACEOF
  54. -rm -f conftest.$ac_objext conftest$ac_exeext
  55. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  56. - (eval $ac_link) 2>&5
  57. - ac_status=$?
  58. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59. - (exit $ac_status); } &&
  60. - { ac_try='test -s conftest$ac_exeext'
  61. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  62. - (eval $ac_try) 2>&5
  63. - ac_status=$?
  64. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  65. - (exit $ac_status); }; }; then
  66. - ac_cv_lib_sdp_sdp_list_free=yes
  67. -else
  68. - echo "$as_me: failed program was:" >&5
  69. -sed 's/^/| /' conftest.$ac_ext >&5
  70. -
  71. -ac_cv_lib_sdp_sdp_list_free=no
  72. -fi
  73. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  74. -LIBS=$ac_check_lib_save_LIBS
  75. -fi
  76. -echo "$as_me:$LINENO: result: $ac_cv_lib_sdp_sdp_list_free" >&5
  77. -echo "${ECHO_T}$ac_cv_lib_sdp_sdp_list_free" >&6
  78. -if test $ac_cv_lib_sdp_sdp_list_free = yes; then
  79. - SDP=1
  80. -else
  81. - BLUETOOTH=0
  82. -fi
  83. -
  84. echo "$as_me:$LINENO: checking for correct SDP lib version" >&5
  85. echo $ECHO_N "checking for correct SDP lib version... $ECHO_C" >&6
  86. cat >conftest.$ac_ext <<_ACEOF
  87. @@ -4401,7 +4340,7 @@
  88. ac_status=$?
  89. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  90. (exit $ac_status); }; }; then
  91. - echo "$as_me:$LINENO: result: yes" >&5
  92. + SDP=1 ; echo "$as_me:$LINENO: result: yes" >&5
  93. echo "${ECHO_T}yes" >&6
  94. else
  95. echo "$as_me: failed program was:" >&5
  96. --- ./plugins/irmc_sync/src/Makefile.am.orig 2004-09-06 22:35:03.136190448 +0200
  97. +++ ./plugins/irmc_sync/src/Makefile.am 2004-09-06 22:35:15.150364016 +0200
  98. @@ -21,7 +21,7 @@
  99. libirmc_bluetooth_la_SOURCES = \
  100. irmc_bluetooth.c irmc_bluetooth.h
  101. -libirmc_bluetooth_la_LIBADD = -lbluetooth -lsdp -lpthread
  102. +libirmc_bluetooth_la_LIBADD = -lbluetooth -lpthread
  103. libirmc_sync_la_SOURCES = \
  104. interface.c interface.h \
  105. --- ./plugins/irmc_sync/src/Makefile.in.orig 2004-09-06 22:35:07.207571504 +0200
  106. +++ ./plugins/irmc_sync/src/Makefile.in 2004-09-06 22:35:23.023167168 +0200
  107. @@ -109,7 +109,7 @@
  108. irmc_bluetooth.c irmc_bluetooth.h
  109. -libirmc_bluetooth_la_LIBADD = -lbluetooth -lsdp -lpthread
  110. +libirmc_bluetooth_la_LIBADD = -lbluetooth -lpthread
  111. libirmc_sync_la_SOURCES = \
  112. interface.c interface.h \