Lines 1-6
Link Here
|
1 |
--- configure.ac.orig 2016-01-22 09:51:17 UTC |
1 |
--- configure.ac.orig 2016-09-11 08:10:25 UTC |
2 |
+++ configure.ac |
2 |
+++ configure.ac |
3 |
@@ -155,7 +155,7 @@ then |
3 |
@@ -185,7 +185,7 @@ then |
4 |
fi |
4 |
fi |
5 |
|
5 |
|
6 |
# Where to install .pc files. |
6 |
# Where to install .pc files. |
Lines 9-15
Link Here
|
9 |
AC_SUBST(pkgconfigdir) |
9 |
AC_SUBST(pkgconfigdir) |
10 |
|
10 |
|
11 |
# Check for standards compliance mode |
11 |
# Check for standards compliance mode |
12 |
@@ -715,7 +715,7 @@ SAVE_CFLAGS="$CFLAGS" |
12 |
@@ -841,7 +841,7 @@ SAVE_CFLAGS="$CFLAGS" |
13 |
# Emulate behavior of src/Makefile.am |
13 |
# Emulate behavior of src/Makefile.am |
14 |
if test "x$GCC" = "xyes" |
14 |
if test "x$GCC" = "xyes" |
15 |
then |
15 |
then |
Lines 18-24
Link Here
|
18 |
fi |
18 |
fi |
19 |
|
19 |
|
20 |
AC_CACHE_CHECK([for strtok_r], |
20 |
AC_CACHE_CHECK([for strtok_r], |
21 |
@@ -844,7 +844,7 @@ AC_CHECK_FUNCS(getutxent, [have_getutxen |
21 |
@@ -968,7 +968,7 @@ AC_CHECK_FUNCS(getutxent, [have_getutxen |
22 |
if test "x$GCC" = "xyes" |
22 |
if test "x$GCC" = "xyes" |
23 |
then |
23 |
then |
24 |
SAVE_CFLAGS="$CFLAGS" |
24 |
SAVE_CFLAGS="$CFLAGS" |
Lines 27-33
Link Here
|
27 |
fi |
27 |
fi |
28 |
|
28 |
|
29 |
AC_CHECK_FUNCS(strptime, [have_strptime="yes"], [have_strptime="no"]) |
29 |
AC_CHECK_FUNCS(strptime, [have_strptime="yes"], [have_strptime="no"]) |
30 |
@@ -1571,6 +1571,7 @@ if test "x$with_kstat" = "xyes" |
30 |
@@ -1757,6 +1757,7 @@ if test "x$with_kstat" = "xyes" |
31 |
then |
31 |
then |
32 |
AC_CHECK_LIB(kstat, kstat_open, [with_kstat="yes"], [with_kstat="no (libkstat not found)"], []) |
32 |
AC_CHECK_LIB(kstat, kstat_open, [with_kstat="yes"], [with_kstat="no (libkstat not found)"], []) |
33 |
fi |
33 |
fi |
Lines 35-41
Link Here
|
35 |
if test "x$with_kstat" = "xyes" |
35 |
if test "x$with_kstat" = "xyes" |
36 |
then |
36 |
then |
37 |
AC_CHECK_LIB(devinfo, di_init, [with_devinfo="yes"], [with_devinfo="no (not found)"], []) |
37 |
AC_CHECK_LIB(devinfo, di_init, [with_devinfo="yes"], [with_devinfo="no (not found)"], []) |
38 |
@@ -1580,6 +1581,8 @@ if test "x$with_kstat" = "xyes" |
38 |
@@ -1766,6 +1767,8 @@ if test "x$with_kstat" = "xyes" |
39 |
then |
39 |
then |
40 |
AC_DEFINE(HAVE_LIBKSTAT, 1, |
40 |
AC_DEFINE(HAVE_LIBKSTAT, 1, |
41 |
[Define to 1 if you have the 'kstat' library (-lkstat)]) |
41 |
[Define to 1 if you have the 'kstat' library (-lkstat)]) |
Lines 44-50
Link Here
|
44 |
fi |
44 |
fi |
45 |
AM_CONDITIONAL(BUILD_WITH_LIBKSTAT, test "x$with_kstat" = "xyes") |
45 |
AM_CONDITIONAL(BUILD_WITH_LIBKSTAT, test "x$with_kstat" = "xyes") |
46 |
AM_CONDITIONAL(BUILD_WITH_LIBDEVINFO, test "x$with_devinfo" = "xyes") |
46 |
AM_CONDITIONAL(BUILD_WITH_LIBDEVINFO, test "x$with_devinfo" = "xyes") |
47 |
@@ -2624,8 +2627,8 @@ AC_ARG_WITH(libmongoc, [AS_HELP_STRING([ |
47 |
@@ -3053,8 +3056,8 @@ AC_ARG_WITH(libmongoc, [AS_HELP_STRING([ |
48 |
with_libmongoc="no" |
48 |
with_libmongoc="no" |
49 |
else |
49 |
else |
50 |
with_libmongoc="yes" |
50 |
with_libmongoc="yes" |
Lines 55-61
Link Here
|
55 |
fi; fi |
55 |
fi; fi |
56 |
], |
56 |
], |
57 |
[with_libmongoc="yes"]) |
57 |
[with_libmongoc="yes"]) |
58 |
@@ -2642,7 +2645,7 @@ then |
58 |
@@ -3071,7 +3074,7 @@ then |
59 |
then |
59 |
then |
60 |
AC_MSG_NOTICE([libmongoc CPPFLAGS: $LIBMONGOC_CPPFLAGS]) |
60 |
AC_MSG_NOTICE([libmongoc CPPFLAGS: $LIBMONGOC_CPPFLAGS]) |
61 |
fi |
61 |
fi |
Lines 64-70
Link Here
|
64 |
[with_libmongoc="yes"], |
64 |
[with_libmongoc="yes"], |
65 |
[with_libmongoc="no ('mongo.h' not found)"], |
65 |
[with_libmongoc="no ('mongo.h' not found)"], |
66 |
[#if HAVE_STDINT_H |
66 |
[#if HAVE_STDINT_H |
67 |
@@ -2658,7 +2661,7 @@ then |
67 |
@@ -3087,7 +3090,7 @@ then |
68 |
then |
68 |
then |
69 |
AC_MSG_NOTICE([libmongoc LDFLAGS: $LIBMONGOC_LDFLAGS]) |
69 |
AC_MSG_NOTICE([libmongoc LDFLAGS: $LIBMONGOC_LDFLAGS]) |
70 |
fi |
70 |
fi |
Lines 73-79
Link Here
|
73 |
[with_libmongoc="yes"], |
73 |
[with_libmongoc="yes"], |
74 |
[with_libmongoc="no (symbol 'mongo_run_command' not found)"]) |
74 |
[with_libmongoc="no (symbol 'mongo_run_command' not found)"]) |
75 |
fi |
75 |
fi |
76 |
@@ -3415,7 +3418,7 @@ then |
76 |
@@ -3873,7 +3876,7 @@ then |
77 |
SAVE_LIBS="$LIBS" |
77 |
SAVE_LIBS="$LIBS" |
78 |
# trigger an error if Perl_load_module*() uses __attribute__nonnull__(3) |
78 |
# trigger an error if Perl_load_module*() uses __attribute__nonnull__(3) |
79 |
# (see issues #41 and #42) |
79 |
# (see issues #41 and #42) |
Lines 82-124
Link Here
|
82 |
LIBS="$LIBS $PERL_LIBS" |
82 |
LIBS="$LIBS $PERL_LIBS" |
83 |
|
83 |
|
84 |
AC_CACHE_CHECK([for broken Perl_load_module()], |
84 |
AC_CACHE_CHECK([for broken Perl_load_module()], |
85 |
@@ -3645,7 +3648,7 @@ fi |
85 |
@@ -5249,8 +5252,8 @@ AC_ARG_WITH(libvarnish, [AS_HELP_STRING( |
86 |
if test "x$with_python" = "xyes" |
|
|
87 |
then |
88 |
AC_MSG_CHECKING([for Python CPPFLAGS]) |
89 |
- python_include_path=`echo "import distutils.sysconfig;import sys;sys.stdout.write(distutils.sysconfig.get_python_inc())" | "$with_python_prog" 2>&1` |
90 |
+ python_include_path=`echo "import distutils.sysconfig;import sys;sys.stdout.write(distutils.sysconfig.get_python_inc())" | "$with_python_prog" 2>/dev/null` |
91 |
python_config_status=$? |
92 |
|
93 |
if test "$python_config_status" -ne 0 || test "x$python_include_path" = "x" |
94 |
@@ -3668,7 +3671,7 @@ fi |
95 |
if test "x$with_python" = "xyes" |
96 |
then |
97 |
AC_MSG_CHECKING([for Python LDFLAGS]) |
98 |
- python_library_path=`echo "import distutils.sysconfig;import sys;sys.stdout.write(distutils.sysconfig.get_config_vars(\"LIBDIR\").__getitem__(0))" | "$with_python_prog" 2>&1` |
99 |
+ python_library_path=`echo "import distutils.sysconfig;import sys;sys.stdout.write(distutils.sysconfig.get_config_vars(\"LIBDIR\").__getitem__(0))" | "$with_python_prog" 2>/dev/null` |
100 |
python_config_status=$? |
101 |
|
102 |
if test "$python_config_status" -ne 0 || test "x$python_library_path" = "x" |
103 |
@@ -3683,7 +3686,7 @@ fi |
104 |
if test "x$with_python" = "xyes" |
105 |
then |
106 |
AC_MSG_CHECKING([for Python LIBS]) |
107 |
- python_library_flags=`echo "import distutils.sysconfig;import sys;sys.stdout.write(distutils.sysconfig.get_config_vars(\"BLDLIBRARY\").__getitem__(0))" | "$with_python_prog" 2>&1` |
108 |
+ python_library_flags=`echo "import distutils.sysconfig;import sys;sys.stdout.write(distutils.sysconfig.get_config_vars(\"BLDLIBRARY\").__getitem__(0))" | "$with_python_prog" 2>/dev/null` |
109 |
python_config_status=$? |
110 |
|
111 |
if test "$python_config_status" -ne 0 || test "x$python_library_flags" = "x" |
112 |
@@ -3698,7 +3701,7 @@ fi |
113 |
if test "x$with_python" = "xyes" |
114 |
then |
115 |
LDFLAGS="-L$python_library_path $LDFLAGS" |
116 |
- LIBS="$python_library_flags $LIBS" |
117 |
+ LIBS="$python_library_flags $LIBS -lm -lpthread -lutil" |
118 |
|
119 |
AC_CHECK_FUNC(PyObject_CallFunction, |
120 |
[with_python="yes"], |
121 |
@@ -4761,8 +4764,8 @@ AC_ARG_WITH(libvarnish, [AS_HELP_STRING( |
122 |
else if test -d "$with_libvarnish/lib" |
86 |
else if test -d "$with_libvarnish/lib" |
123 |
then |
87 |
then |
124 |
AC_MSG_NOTICE([Not checking for libvarnish: Manually configured]) |
88 |
AC_MSG_NOTICE([Not checking for libvarnish: Manually configured]) |
Lines 129-139
Link Here
|
129 |
with_libvarnish="yes" |
93 |
with_libvarnish="yes" |
130 |
fi; fi; fi |
94 |
fi; fi; fi |
131 |
], |
95 |
], |
132 |
@@ -5334,6 +5337,7 @@ fi |
|
|
133 |
|
134 |
if test "x$ac_system" = "xFreeBSD" |
135 |
then |
136 |
+ plugin_disk="yes" |
137 |
plugin_zfs_arc="yes" |
138 |
fi |
139 |
|