Lines 1-6
Link Here
|
1 |
--- configure.orig 2008-10-06 08:57:27.000000000 +0200 |
1 |
--- configure.orig 2009-09-08 22:26:52.251269320 +0200 |
2 |
+++ configure 2009-06-06 10:08:00.153654659 +0200 |
2 |
+++ configure 2009-09-08 22:39:58.432178979 +0200 |
3 |
@@ -1057,7 +1057,7 @@ |
3 |
@@ -1102,7 +1102,7 @@ |
4 |
psdir='${docdir}' |
4 |
psdir='${docdir}' |
5 |
libdir='${exec_prefix}/lib' |
5 |
libdir='${exec_prefix}/lib' |
6 |
localedir='${datarootdir}/locale' |
6 |
localedir='${datarootdir}/locale' |
Lines 9-162
Link Here
|
9 |
|
9 |
|
10 |
ac_prev= |
10 |
ac_prev= |
11 |
ac_dashdash= |
11 |
ac_dashdash= |
12 |
@@ -8050,18 +8050,18 @@ |
12 |
@@ -9685,20 +9685,6 @@ |
13 |
fi |
|
|
14 |
|
13 |
|
|
|
14 |
fi |
15 |
|
15 |
|
16 |
-{ echo "$as_me:$LINENO: checking if building on FreeBSD" >&5 |
16 |
- |
17 |
-echo $ECHO_N "checking if building on FreeBSD... $ECHO_C" >&6; } |
17 |
-{ $as_echo "$as_me:$LINENO: checking if building on FreeBSD" >&5 |
|
|
18 |
-$as_echo_n "checking if building on FreeBSD... " >&6; } |
18 |
- |
19 |
- |
19 |
-if test `uname -s` = "FreeBSD" ; then |
20 |
-if test `uname -s` = "FreeBSD" ; then |
20 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
21 |
- { $as_echo "$as_me:$LINENO: result: yes" >&5 |
21 |
-echo "${ECHO_T}yes" >&6; } |
22 |
-$as_echo "yes" >&6; } |
22 |
- CPPFLAGS="$CFLAGS -I/usr/local/include" |
23 |
- CPPFLAGS="$CFLAGS -I/usr/local/include" |
23 |
- LDFLAGS="$LDFLAGS -L/usr/local/lib" |
24 |
- LDFLAGS="$LDFLAGS -L/usr/local/lib" |
24 |
-else |
25 |
-else |
25 |
- { echo "$as_me:$LINENO: result: no" >&5 |
26 |
- { $as_echo "$as_me:$LINENO: result: no" >&5 |
26 |
-echo "${ECHO_T}no" >&6; } |
27 |
-$as_echo "no" >&6; } |
27 |
-fi |
28 |
-fi |
28 |
+#{ echo "$as_me:$LINENO: checking if building on FreeBSD" >&5 |
29 |
- |
29 |
+#echo $ECHO_N "checking if building on FreeBSD... $ECHO_C" >&6; } |
30 |
{ $as_echo "$as_me:$LINENO: checking if building on NetBSD" >&5 |
30 |
+# |
31 |
$as_echo_n "checking if building on NetBSD... " >&6; } |
31 |
+#if test `uname -s` = "FreeBSD" ; then |
|
|
32 |
+# { echo "$as_me:$LINENO: result: yes" >&5 |
33 |
+#echo "${ECHO_T}yes" >&6; } |
34 |
+# CPPFLAGS="$CFLAGS -I/usr/local/include" |
35 |
+# LDFLAGS="$LDFLAGS -L/usr/local/lib" |
36 |
+#else |
37 |
+# { echo "$as_me:$LINENO: result: no" >&5 |
38 |
+#echo "${ECHO_T}no" >&6; } |
39 |
+#fi |
40 |
|
41 |
|
42 |
|
32 |
|
43 |
@@ -24163,13 +24163,15 @@ |
33 |
@@ -16994,6 +16980,8 @@ |
44 |
# First of all, check if the user has set any of the PTHREAD_LIBS, |
34 |
# First of all, check if the user has set any of the PTHREAD_LIBS, |
45 |
# etcetera environment variables, and if threads linking works using |
35 |
# etcetera environment variables, and if threads linking works using |
46 |
# them: |
36 |
# them: |
47 |
-if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then |
37 |
+PTHREAD_CFLAGS="" |
48 |
+if test x"-pthread" != x; then |
38 |
+PTHREAD_LIBS="-pthread" |
49 |
+ PTHREAD_CFLAGS="" |
39 |
if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then |
50 |
+ PTHREAD_LIBS="-pthread" |
|
|
51 |
save_CFLAGS="$CFLAGS" |
40 |
save_CFLAGS="$CFLAGS" |
52 |
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
41 |
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
53 |
+ CFLAGS="$CFLAGS " |
42 |
@@ -17380,7 +17368,7 @@ |
54 |
save_LIBS="$LIBS" |
43 |
$as_echo_n "checking if more special flags are required for pthreads... " >&6; } |
55 |
- LIBS="$PTHREAD_LIBS $LIBS" |
|
|
56 |
- { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 |
57 |
-echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; } |
58 |
+ LIBS="-pthread $LIBS" |
59 |
+ { echo "$as_me:$LINENO: checking for pthread_join in LIBS=-pthread with CFLAGS=" >&5 |
60 |
+echo $ECHO_N "checking for pthread_join in LIBS=-pthread with CFLAGS=... $ECHO_C" >&6; } |
61 |
cat >conftest.$ac_ext <<_ACEOF |
62 |
/* confdefs.h. */ |
63 |
_ACEOF |
64 |
@@ -24533,7 +24535,7 @@ |
65 |
echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; } |
66 |
flag=no |
44 |
flag=no |
67 |
case "${host_cpu}-${host_os}" in |
45 |
case "${host_cpu}-${host_os}" in |
68 |
- *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; |
46 |
- *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; |
69 |
+ *-aix* | *-darwin*) flag="-D_THREAD_SAFE";; |
47 |
+ *-aix* | *-darwin*) flag="-D_THREAD_SAFE";; |
70 |
*solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; |
48 |
*solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; |
71 |
esac |
49 |
esac |
72 |
{ echo "$as_me:$LINENO: result: ${flag}" >&5 |
50 |
{ $as_echo "$as_me:$LINENO: result: ${flag}" >&5 |
73 |
@@ -26561,9 +26563,9 @@ |
51 |
@@ -19174,7 +19162,7 @@ |
74 |
fi |
|
|
75 |
|
76 |
|
52 |
|
77 |
-if test "$enable_libical" == "yes"; then |
53 |
if test "$enable_libical" = "yes"; then |
78 |
+if test "$enable_libical" = "yes"; then |
|
|
79 |
OLD_CFLAGS="$CFLAGS" |
54 |
OLD_CFLAGS="$CFLAGS" |
80 |
- LIBS="$LIBS $ICAL_LIBS -lpthread -lical" |
55 |
- LIBS="$LIBS $ICAL_LIBS -lpthread -lical" |
81 |
+ LIBS="$LIBS $ICAL_LIBS -pthread -lical" |
56 |
+ LIBS="$LIBS $ICAL_LIBS -pthread -lical" |
82 |
CFLAGS="$CFLAGS $ICAL_CFLAGS" |
57 |
CFLAGS="$CFLAGS $ICAL_CFLAGS" |
83 |
{ echo "$as_me:$LINENO: checking whether libical is installed" >&5 |
58 |
{ $as_echo "$as_me:$LINENO: checking whether libical is installed" >&5 |
84 |
echo $ECHO_N "checking whether libical is installed... $ECHO_C" >&6; } |
59 |
$as_echo_n "checking whether libical is installed... " >&6; } |
85 |
@@ -26650,7 +26652,7 @@ |
60 |
@@ -20243,7 +20231,7 @@ |
86 |
enable_libusb=yes |
61 |
$as_echo_n "(cached) " >&6 |
87 |
fi |
|
|
88 |
|
89 |
-if test "$enable_libusb" == "yes"; then |
90 |
+if test "$enable_libusb" = "yes"; then |
91 |
{ echo "$as_me:$LINENO: checking whether libusb is installed" >&5 |
92 |
echo $ECHO_N "checking whether libusb is installed... $ECHO_C" >&6; } |
93 |
cat >conftest.$ac_ext <<_ACEOF |
94 |
@@ -26872,7 +26874,7 @@ |
95 |
enable_irda=yes |
96 |
fi |
97 |
|
98 |
-if test "$enable_irda" == "yes"; then |
99 |
+if test "$enable_irda" = "yes"; then |
100 |
{ echo "$as_me:$LINENO: checking for linux/irda.h" >&5 |
101 |
echo $ECHO_N "checking for linux/irda.h... $ECHO_C" >&6; } |
102 |
if test "${ac_cv_header_linux_irda_h+set}" = set; then |
103 |
@@ -26955,7 +26957,7 @@ |
104 |
enable_bluetooth=yes |
105 |
fi |
106 |
|
107 |
-if test "$enable_bluetooth" == "yes"; then |
108 |
+if test "$enable_bluetooth" = "yes"; then |
109 |
{ echo "$as_me:$LINENO: checking for the bluetooth support" >&5 |
110 |
echo $ECHO_N "checking for the bluetooth support... $ECHO_C" >&6; } |
111 |
{ echo "$as_me:$LINENO: checking for the struct sockaddr_rc in <bluetooth/rfcomm.h>" >&5 |
112 |
@@ -27025,7 +27027,7 @@ |
113 |
|
114 |
fi |
115 |
fi |
116 |
-if test "$enable_bluetooth" == "yes"; then |
117 |
+if test "$enable_bluetooth" = "yes"; then |
118 |
{ echo "$as_me:$LINENO: checking for the MacOS X bluetooth support" >&5 |
119 |
echo $ECHO_N "checking for the MacOS X bluetooth support... $ECHO_C" >&6; } |
120 |
|
121 |
@@ -27526,7 +27528,7 @@ |
122 |
fi |
123 |
fi |
124 |
|
125 |
-if test "$enable_bluetooth" == "yes"; then |
126 |
+if test "$enable_bluetooth" = "yes"; then |
127 |
{ echo "$as_me:$LINENO: checking for the FreeBSD/netgraph bluetooth support" >&5 |
128 |
echo $ECHO_N "checking for the FreeBSD/netgraph bluetooth support... $ECHO_C" >&6; } |
129 |
{ echo "$as_me:$LINENO: checking for the struct sockaddr_rfcomm in <netgraph/.../ng_btsocket.h>" >&5 |
130 |
@@ -27602,7 +27604,7 @@ |
131 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
132 |
else |
62 |
else |
133 |
ac_check_lib_save_LIBS=$LIBS |
63 |
ac_check_lib_save_LIBS=$LIBS |
134 |
-LIBS="-lbluetooth $LIBS" |
64 |
-LIBS="-lbluetooth $LIBS" |
135 |
+LIBS="-lsdp -lbluetooth $LIBS" |
65 |
+LIBS="-lsdp -lbluetooth $LIBS" |
136 |
cat >conftest.$ac_ext <<_ACEOF |
66 |
cat >conftest.$ac_ext <<_ACEOF |
137 |
/* confdefs.h. */ |
67 |
/* confdefs.h. */ |
138 |
_ACEOF |
68 |
_ACEOF |
139 |
@@ -27658,7 +27660,7 @@ |
69 |
@@ -20303,7 +20291,7 @@ |
140 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bluetooth_bt_aton" >&5 |
70 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bluetooth_bt_aton" >&5 |
141 |
echo "${ECHO_T}$ac_cv_lib_bluetooth_bt_aton" >&6; } |
71 |
$as_echo "$ac_cv_lib_bluetooth_bt_aton" >&6; } |
142 |
if test $ac_cv_lib_bluetooth_bt_aton = yes; then |
72 |
if test "x$ac_cv_lib_bluetooth_bt_aton" = x""yes; then |
143 |
- BLUETOOTH_LIBS="$LIBS -lbluetooth" |
73 |
- BLUETOOTH_LIBS="-lbluetooth" ac_cv_have_bt_lib=yes |
144 |
+ BLUETOOTH_LIBS="-lsdp -lbluetooth $LIBS" |
74 |
+ BLUETOOTH_LIBS="-lsdp -lbluetooth" ac_cv_have_bt_lib=yes |
145 |
cat >>confdefs.h <<\_ACEOF |
75 |
else |
146 |
#define HAVE_BT_ATON |
76 |
ac_cv_have_bt_lib=no |
147 |
_ACEOF |
|
|
148 |
@@ -27676,7 +27678,7 @@ |
149 |
enable_libpcsclite=yes |
150 |
fi |
77 |
fi |
|
|
78 |
@@ -20375,7 +20363,7 @@ |
79 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sdp_sdp_open" >&5 |
80 |
$as_echo "$ac_cv_lib_sdp_sdp_open" >&6; } |
81 |
if test "x$ac_cv_lib_sdp_sdp_open" = x""yes; then |
82 |
- BLUETOOTH_LIBS="$BLUETOOTH_LIBS -lsdp" |
83 |
+ BLUETOOTH_LIBS="$BLUETOOTH_LIBS" |
84 |
fi |
85 |
|
151 |
|
86 |
|
152 |
-if test "$enable_libpcsclite" == "yes"; then |
87 |
@@ -20516,7 +20504,7 @@ |
153 |
+if test "$enable_libpcsclite" = "yes"; then |
88 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bluetooth_bt_aton" >&5 |
|
|
89 |
$as_echo "$ac_cv_lib_bluetooth_bt_aton" >&6; } |
90 |
if test "x$ac_cv_lib_bluetooth_bt_aton" = x""yes; then |
91 |
- BLUETOOTH_LIBS="-lbluetooth" ac_cv_have_bt_lib=yes |
92 |
+ BLUETOOTH_LIBS="-lsdp -lbluetooth" ac_cv_have_bt_lib=yes |
93 |
else |
94 |
ac_cv_have_bt_lib=no |
95 |
fi |
96 |
@@ -20588,7 +20576,7 @@ |
97 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sdp_sdp_open" >&5 |
98 |
$as_echo "$ac_cv_lib_sdp_sdp_open" >&6; } |
99 |
if test "x$ac_cv_lib_sdp_sdp_open" = x""yes; then |
100 |
- BLUETOOTH_LIBS="$BLUETOOTH_LIBS -lsdp" |
101 |
+ BLUETOOTH_LIBS="$BLUETOOTH_LIBS" |
102 |
fi |
154 |
|
103 |
|
155 |
|
104 |
|
156 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
105 |
@@ -21456,7 +21444,7 @@ |
157 |
@@ -28474,7 +28476,7 @@ |
106 |
$as_echo "$ac_cv_lib_Xpm_XpmWriteFileFromXpmImage" >&6; } |
158 |
echo "${ECHO_T}$ac_cv_lib_Xpm_XpmWriteFileFromXpmImage" >&6; } |
107 |
if test "x$ac_cv_lib_Xpm_XpmWriteFileFromXpmImage" = x""yes; then |
159 |
if test $ac_cv_lib_Xpm_XpmWriteFileFromXpmImage = yes; then |
|
|
160 |
XPM_CFLAGS="$XINCL" |
108 |
XPM_CFLAGS="$XINCL" |
161 |
- XPM_LIBS="$XLIBS -lXpm -lX11" |
109 |
- XPM_LIBS="$XLIBS -lXpm -lX11" |
162 |
+ XPM_LIBS="$XLIBS -lXpm -lX11 -lroken -lcrypt" |
110 |
+ XPM_LIBS="$XLIBS -lXpm -lX11 -lroken -lcrypt" |