Changeset 7042


Ignore:
Timestamp:
Dec 8, 2009, 7:05:57 PM (14 years ago)
Author:
Christoph Mayer
Message:

-bluetooth optional

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r6924 r7042  
    2020AM_CONDITIONAL(LOGCOLORS, test "$enable_logcolors" = yes)
    2121
     22AC_ARG_ENABLE(bluetooth, [  --enable-bluetooth  Enable bluetooth transport [default=yes]], enable_bluetooth=$enableval, enable_bluetooth=yes)
     23
    2224AC_PROG_LIBTOOL
    2325AC_PROG_CXX
     
    3436AX_LOG4CXX
    3537AX_OPENSSL
    36 AX_BLUETOOTH
    3738AX_AVAHI
     39
     40if test "$enable_bluetooth" = "yes"; then
     41  AX_BLUETOOTH
     42fi
    3843
    3944dnl Check for boost
  • m4/ax_bluetooth.m4

    r4879 r7042  
    1414[
    1515  AC_CHECK_HEADERS(bluetooth/bluetooth.h,, )
    16    
    1716  AC_CHECK_LIB([bluetooth],[sdp_connect],, )
    1817])
Note: See TracChangeset for help on using the changeset viewer.