Lines 1-6
Link Here
|
1 |
--- configure.orig |
1 |
--- configure.orig 2012-05-04 00:47:40.000000000 +0300 |
2 |
+++ configure |
2 |
+++ configure 2012-12-06 04:26:37.000000000 +0200 |
3 |
@@ -1002,6 +1002,7 @@ |
3 |
@@ -895,6 +895,7 @@ |
4 |
enable_xft |
4 |
enable_xft |
5 |
enable_nvidia |
5 |
enable_nvidia |
6 |
enable_alsa |
6 |
enable_alsa |
Lines 8-14
Link Here
|
8 |
enable_debug |
8 |
enable_debug |
9 |
enable_testing |
9 |
enable_testing |
10 |
enable_profiling |
10 |
enable_profiling |
11 |
@@ -1729,6 +1730,7 @@ |
11 |
@@ -1620,6 +1621,7 @@ |
12 |
--enable-nvidia enable if you want nvidia support [default=no] |
12 |
--enable-nvidia enable if you want nvidia support [default=no] |
13 |
--disable-alsa disable if you do not want ALSA support |
13 |
--disable-alsa disable if you do not want ALSA support |
14 |
[default=yes] |
14 |
[default=yes] |
Lines 16-40
Link Here
|
16 |
--enable-debug compile with debug symbols [default=no] |
16 |
--enable-debug compile with debug symbols [default=no] |
17 |
--enable-testing use strict compiler flags for testing [default=no] |
17 |
--enable-testing use strict compiler flags for testing [default=no] |
18 |
--enable-profiling specify compiler flags for use with gprof and gcov |
18 |
--enable-profiling specify compiler flags for use with gprof and gcov |
19 |
@@ -11647,7 +11649,7 @@ |
19 |
@@ -11930,7 +11932,11 @@ |
20 |
|
20 |
Linux*) |
21 |
|
21 |
WANT_SYSINFO=yes |
22 |
if test x$want_apcupsd = xyes; then |
22 |
;; |
23 |
- if test x"$uname" != xLinux; then |
23 |
- FreeBSD*|GNU/kFreeBSD*) |
24 |
+ if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then |
24 |
+ FreeBSD*) |
25 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: apcupsd not supported on $uname... disabling" >&5 |
25 |
+ WANT_KVM=yes |
26 |
$as_echo "$as_me: apcupsd not supported on $uname... disabling" >&6;} |
26 |
+ WANT_DEVSTAT=yes |
27 |
want_apcupsd="not supported on $uname" |
27 |
+ ;; |
28 |
@@ -11675,7 +11675,7 @@ |
28 |
+ GNU/kFreeBSD*) |
29 |
|
29 |
WANT_KVM=yes |
30 |
|
30 |
WANT_DEVSTAT=yes |
31 |
if test x$want_iostats = xyes; then |
31 |
WANT_OPTRESET=yes |
32 |
- if test x"$uname" != xLinux; then |
32 |
@@ -16998,18 +17004,63 @@ |
33 |
+ if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then |
|
|
34 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: iostats not supported on $uname... disabling" >&5 |
35 |
$as_echo "$as_me: iostats not supported on $uname... disabling" >&6;} |
36 |
want_iostats="not supported on $uname" |
37 |
@@ -16071,20 +16073,65 @@ |
38 |
|
33 |
|
39 |
done |
34 |
done |
40 |
|
35 |
|
Lines 42-70
Link Here
|
42 |
-for ac_header in sys/inotify.h |
37 |
-for ac_header in sys/inotify.h |
43 |
-do : |
38 |
-do : |
44 |
- ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" |
39 |
- ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" |
45 |
-if test "x$ac_cv_header_sys_inotify_h" = x""yes; then : |
40 |
+ |
46 |
- cat >>confdefs.h <<_ACEOF |
|
|
47 |
-#define HAVE_SYS_INOTIFY_H 1 |
48 |
-_ACEOF |
49 |
|
50 |
+# Check whether --enable-inotify was given. |
41 |
+# Check whether --enable-inotify was given. |
51 |
+if test "${enable_inotify+set}" = set; then : |
42 |
+if test "${enable_inotify+set}" = set; then : |
52 |
+ enableval=$enable_inotify; want_inotify="$enableval" |
43 |
+ enableval=$enable_inotify; want_inotify="$enableval" |
53 |
+else |
44 |
+else |
54 |
+ want_inotify=no |
45 |
+ want_inotify=no |
55 |
fi |
46 |
+fi |
56 |
|
47 |
+ |
57 |
-done |
|
|
58 |
+if test x$want_inotify = xyes; then |
48 |
+if test x$want_inotify = xyes; then |
59 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" |
49 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" |
60 |
+if test "x$ac_cv_header_sys_inotify_h" = xyes; then : |
50 |
if test "x$ac_cv_header_sys_inotify_h" = xyes; then : |
|
|
51 |
- cat >>confdefs.h <<_ACEOF |
52 |
-#define HAVE_SYS_INOTIFY_H 1 |
53 |
-_ACEOF |
61 |
+ |
54 |
+ |
62 |
+else |
55 |
+else |
63 |
+ want_inotify=no |
56 |
+ want_inotify=no |
64 |
+fi |
57 |
+fi |
65 |
|
58 |
|
66 |
|
59 |
fi |
67 |
+fi |
|
|
68 |
+if test x$want_inotify = xyes; then |
60 |
+if test x$want_inotify = xyes; then |
69 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_init in -linotify" >&5 |
61 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_init in -linotify" >&5 |
70 |
+$as_echo_n "checking for inotify_init in -linotify... " >&6; } |
62 |
+$as_echo_n "checking for inotify_init in -linotify... " >&6; } |
Lines 75-81
Link Here
|
75 |
+LIBS="-linotify $LIBS" |
67 |
+LIBS="-linotify $LIBS" |
76 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
68 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
77 |
+/* end confdefs.h. */ |
69 |
+/* end confdefs.h. */ |
78 |
+ |
70 |
|
|
|
71 |
-done |
79 |
+#include <sys/inotify.h> |
72 |
+#include <sys/inotify.h> |
80 |
+ |
73 |
+ |
81 |
+char inotify_init (); |
74 |
+char inotify_init (); |
Lines 105-120
Link Here
|
105 |
+fi |
98 |
+fi |
106 |
+ |
99 |
+ |
107 |
+fi |
100 |
+fi |
108 |
+ |
|
|
109 |
|
110 |
|
111 |
$as_echo "#define DEFAULTNETDEV \"eth0\"" >>confdefs.h |
112 |
@@ -16102,7 +16153,7 @@ |
113 |
$as_echo "#define DEFAULT_TEXT_BUFFER_SIZE 256" >>confdefs.h |
114 |
|
115 |
|
116 |
-$as_echo "#define MAX_NET_INTERFACES 16" >>confdefs.h |
117 |
+$as_echo "#define MAX_NET_INTERFACES 64" >>confdefs.h |
118 |
|
101 |
|
119 |
|
102 |
|
120 |
|
103 |
|