summaryrefslogtreecommitdiff
path: root/net-mgmt/collectd/files/patch-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/collectd/files/patch-configure.in')
-rw-r--r--net-mgmt/collectd/files/patch-configure.in43
1 files changed, 34 insertions, 9 deletions
diff --git a/net-mgmt/collectd/files/patch-configure.in b/net-mgmt/collectd/files/patch-configure.in
index b5d76f9d540a..339c29f78f3c 100644
--- a/net-mgmt/collectd/files/patch-configure.in
+++ b/net-mgmt/collectd/files/patch-configure.in
@@ -1,6 +1,31 @@
---- configure.in.orig 2012-11-11 11:43:05.000000000 +0100
-+++ configure.in 2012-12-30 23:49:30.000000000 +0100
-@@ -67,6 +67,9 @@
+--- configure.in.orig 2013-04-08 06:26:17 UTC
++++ configure.in
+@@ -2,13 +2,13 @@
+ AC_INIT(collectd, m4_esyscmd(./version-gen.sh))
+ AC_CONFIG_SRCDIR(src/collectd.c)
+ AC_CONFIG_HEADERS(src/config.h)
+-AC_CONFIG_AUX_DIR([libltdl/config])
++AC_CONFIG_AUX_DIR([config])
+
+ m4_ifdef([LT_PACKAGE_VERSION],
+ # libtool >= 2.2
+ [
+ LT_CONFIG_LTDL_DIR([libltdl])
+- LT_INIT([dlopen])
++ LT_INIT([dlopen disable-static])
+ LTDL_INIT([convenience])
+ AC_DEFINE(LIBTOOL_VERSION, 2, [Define to used libtool version.])
+ ]
+@@ -42,8 +42,6 @@
+ AM_PROG_CC_C_O
+ AM_CONDITIONAL(COMPILER_IS_GCC, test "x$GCC" = "xyes")
+
+-AC_DISABLE_STATIC
+-AC_PROG_LIBTOOL
+ AC_PROG_LEX
+ AC_PROG_YACC
+ PKG_PROG_PKG_CONFIG
+@@ -67,6 +65,9 @@
*openbsd*)
ac_system="OpenBSD"
;;
@@ -10,7 +35,7 @@
*aix*)
AC_DEFINE([KERNEL_AIX], 1, [True if program is to be compiled for a AIX kernel])
ac_system="AIX"
-@@ -98,7 +101,7 @@
+@@ -98,7 +99,7 @@
fi
# Where to install .pc files.
@@ -19,7 +44,7 @@
AC_SUBST(pkgconfigdir)
# Check for standards compliance mode
-@@ -1200,6 +1203,8 @@
+@@ -1200,6 +1201,8 @@
then
AC_DEFINE(HAVE_LIBKSTAT, 1,
[Define to 1 if you have the 'kstat' library (-lkstat)])
@@ -28,7 +53,7 @@
fi
AM_CONDITIONAL(BUILD_WITH_LIBKSTAT, test "x$with_kstat" = "xyes")
AM_CONDITIONAL(BUILD_WITH_LIBDEVINFO, test "x$with_devinfo" = "xyes")
-@@ -1562,9 +1567,6 @@
+@@ -1562,9 +1565,6 @@
[with_libgcrypt="yes"],
[with_libgcrypt="no (symbol gcry_md_hash_buffer not found)"])
@@ -38,7 +63,7 @@
fi
CPPFLAGS="$SAVE_CPPFLAGS"
-@@ -3059,7 +3061,7 @@
+@@ -3056,7 +3056,7 @@
if test "x$with_python" = "xyes"
then
AC_MSG_CHECKING([for Python LIBS])
@@ -47,7 +72,7 @@
python_config_status=$?
if test "$python_config_status" -ne 0 || test "x$python_library_flags" = "x"
-@@ -3074,7 +3076,7 @@
+@@ -3071,7 +3071,7 @@
if test "x$with_python" = "xyes"
then
LDFLAGS="-L$python_library_path $LDFLAGS"
@@ -56,7 +81,7 @@
AC_CHECK_FUNC(PyObject_CallFunction,
[with_python="yes"],
-@@ -4171,6 +4173,12 @@
+@@ -4168,6 +4168,12 @@
plugin_zfs_arc="yes"
fi