summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
authorHarald Judt <h.judt@gmx.at>2015-02-17 20:27:22 +0100
committerHarald Judt <h.judt@gmx.at>2015-02-17 20:59:19 +0100
commitf35b12d9a3d9d9b3ce3f937a6b3873d65e2aaf3c (patch)
tree545e75d86c8f772686a43c048b01823d6aa74fca /m4macros
parent4beed310b41ef8b3d56ee7e84ac825b5099e458d (diff)
downloadxfce4-dev-tools-f35b12d9a3d9d9b3ce3f937a6b3873d65e2aaf3c.tar.gz
Remove check for threaded panels
This check is only for old panels (<=4.1.90) and useless today.
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/xdt-xfce.m419
1 files changed, 0 insertions, 19 deletions
diff --git a/m4macros/xdt-xfce.m4 b/m4macros/xdt-xfce.m4
index a77ecc7..250c0b3 100644
--- a/m4macros/xdt-xfce.m4
+++ b/m4macros/xdt-xfce.m4
@@ -33,10 +33,6 @@ dnl and "varname"_VERSION properly. The parameter "version"
dnl specifies the minimum required version of xfce4-panel (defaults
dnl to 4.9.0 if not given).
dnl
-dnl This macro also takes care of handling special panel versions,
-dnl like the threaded panel, that was used during the Xfce 4.2.0
-dnl development, and automatically sets up the correct flags.
-dnl
dnl In addition, this macro defines "varname"_PLUGINSDIR (and
dnl marks it for substitution), which points to the directory
dnl where the panel plugin should be installed to. You should
@@ -47,21 +43,6 @@ AC_DEFUN([XDT_XFCE_PANEL_PLUGIN],
dnl Check for the xfce4-panel package
XDT_CHECK_PACKAGE([$1], [xfce4-panel-1.0], [m4_default([$2], [4.9.0])])
- dnl Check if the panel is threaded (only for old panels)
- xdt_cv_CFLAGS=$$1_CFLAGS
- AC_MSG_CHECKING([whether the Xfce panel is threaded])
- if $PKG_CONFIG --max-version=4.1.90 xfce4-panel-1.0 >/dev/null 2>&1; then
- AC_MSG_RESULT([yes])
- xdt_cv_CFLAGS="$xdt_cv_CFLAGS -DXFCE_PANEL_THREADED=1"
- xdt_cv_CFLAGS="$xdt_cv_CFLAGS -DXFCE_PANEL_LOCK\(\)=gdk_threads_enter\(\)"
- xdt_cv_CFLAGS="$xdt_cv_CFLAGS -DXFCE_PANEL_UNLOCK\(\)=gdk_threads_leave\(\)"
- else
- AC_MSG_RESULT([no])
- xdt_cv_CFLAGS="$xdt_cv_CFLAGS -DXFCE_PANEL_LOCK\(\)=do{}while\(0\)"
- xdt_cv_CFLAGS="$xdt_cv_CFLAGS -DXFCE_PANEL_UNLOCK\(\)=do{}while\(0\)"
- fi
- $1_CFLAGS="$xdt_cv_CFLAGS"
-
dnl Check where to put the plugins to
AC_MSG_CHECKING([where to install panel plugins])
$1_PLUGINSDIR=$libdir/xfce4/panel-plugins