Changeset 179
- Timestamp:
- 07/11/07 21:22:26 (17 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
acinclude.m4 (modified) (3 diffs)
-
obexftp/client.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/acinclude.m4
r172 r179 19 19 AC_ARG_ENABLE([irda], 20 20 [AC_HELP_STRING([--disable-irda], 21 [Disables openftpirda support @<:@default=auto@:>@])],21 [Disables irda support @<:@default=auto@:>@])], 22 22 [ac_irda_enabled=$enableval], [ac_irda_enabled=yes]) 23 23 … … 69 69 ], freebsdbt_found=yes, freebsdbt_found=no) 70 70 ]) 71 if test "${freebsdbt_found}" = "yes"; then 72 BLUETOOTH_LIBS=-lbluetooth 73 fi 71 74 ]) 72 75 … … 97 100 AC_ARG_ENABLE([bluetooth], 98 101 [AC_HELP_STRING([--disable-bluetooth], 99 [Disables openftpbluetooth support @<:@default=auto@:>@])],102 [Disables bluetooth support @<:@default=auto@:>@])], 100 103 [ac_bluetooth_enabled=$enableval], [ac_bluetooth_enabled=yes]) 101 104 -
trunk/obexftp/client.c
r178 r179 63 63 #include <sys/types.h> 64 64 #include <bluetooth.h> 65 #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}}) 66 65 67 #else /* Linux */ 66 68 #include <bluetooth/bluetooth.h> … … 608 610 bacpy(&src_addr, BDADDR_ANY); 609 611 } 610 #if ndef _WIN32612 #ifdef HAVE_SDPLIB 611 613 else if (!strncmp(src, "hci", 3)) { 612 614 hci_devba(atoi(src + 3), &src_addr);
