aboutsummaryrefslogtreecommitdiff
path: root/comms/gammu-devel/files/patch-configure.in
blob: 1be761b364152e26331e28126b8bdbd53ad99b5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
--- cfg/autoconf/configure.in.orig	Tue Mar  8 19:16:22 2005
+++ cfg/autoconf/configure.in	Fri Nov 11 21:09:43 2005
@@ -184,18 +184,18 @@
          fi
      fi
      if test "$gsm_blue_stack" = unknown ; then
-         AC_CHECK_HEADERS(bluetooth/bluetooth.h, 
-                 [gsm_blue_stack=Bluez
+         AC_CHECK_HEADERS(bluetooth.h, 
+                 [gsm_blue_stack=FreeBSD
                  LDLIBS="$LDLIBS -lbluetooth"
                  AC_CHECK_LIB(sdp, sdp_list_append, LDLIBS="$LDLIBS -lsdp")
                  AC_DEFINE(GSM_ENABLE_BLUEZ)
                  ])
      fi
   
-     dnl Path for Bluez bluetooth library
+     dnl Path for FreeBSD bluetooth library
      gsm_bt_dir=""
      AC_ARG_WITH(bluedir,
-             [  --with-bluedir=DIR      Specifies the base libbluetooth from Bluez],
+             [  --with-bluedir=DIR      Specifies the base libbluetooth from FreeBSD],
              [ if test x$withval = xyes; then
                      AC_MSG_WARN(Usage is: --with-bluedir=DIR)
                else
@@ -292,7 +292,7 @@
         [  --disable-bluefbus      Disable Nokia FBUS2 over Bluetooth stack
                           (Nokia 6210)],
         [gsm_enable_bluefbus2="no"],
-        [if test $gsm_blue_stack = Bluez; then
+        [if test $gsm_blue_stack = FreeBSD; then
                 AC_DEFINE(GSM_ENABLE_BLUEFBUS2)
                 gsm_enable_bluefbus2="yes"
           else
@@ -302,7 +302,7 @@
         [  --disable-bluephonet    Disable Nokia PHONET FBUS over Bluetooth
                           stack (all new Nokias)],
         [gsm_enable_bluephonet="no"],
-        [if test $gsm_blue_stack = Bluez; then
+        [if test $gsm_blue_stack = FreeBSD; then
                 AC_DEFINE(GSM_ENABLE_BLUEPHONET)
                 gsm_enable_bluephonet="yes"
           else
@@ -311,7 +311,7 @@
 AC_ARG_ENABLE(blueat,
         [  --disable-blueat        Disable AT commands over Bluetooth stack],
         [gsm_enable_blueat="no"],
-        [if test $gsm_blue_stack = Bluez; then
+        [if test $gsm_blue_stack = FreeBSD; then
                 AC_DEFINE(GSM_ENABLE_BLUEAT)
                 gsm_enable_blueat="yes"
           else
@@ -320,7 +320,7 @@
 AC_ARG_ENABLE(blueobex,
         [  --disable-blueobex      Disable OBEX over Bluetooth stack],
         [gsm_enable_blueobex="no"],
-        [if test $gsm_blue_stack = Bluez; then
+        [if test $gsm_blue_stack = FreeBSD; then
                 AC_DEFINE(GSM_ENABLE_BLUEOBEX)
                 gsm_enable_blueobex="yes"
           else
@@ -355,7 +355,7 @@
 AC_ARG_ENABLE(bluerfsearch,
         [  --disable-bluerfsearch  Disable searching for RF channels with Bluetooth stack],
         [gsm_enable_bluerfsearch="no"],
-        [if test $gsm_blue_stack = Bluez; then
+        [if test $gsm_blue_stack = FreeBSD; then
                 AC_DEFINE(BLUETOOTH_RF_SEARCHING)
                 gsm_enable_bluerfsearch="yes"
           fi])  
@@ -443,7 +443,7 @@
   Binaries                                      - $bindir
   RPM making directory                          - $RPM_DIR
   Temporary directory                           - $TEMP_DIR
-  Bluez library path                            - $gsm_bt_dir
+  FreeBSD Bluetooth library path                - $gsm_bt_dir
   
   General options
   ---------------