Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xfwm4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xfce
xfwm4
Commits
c9744525
Commit
c9744525
authored
20 years ago
by
Benedikt Meurer
Browse files
Options
Downloads
Patches
Plain Diff
Extended the XFCE_PANEL_PLUGIN macro to include some magic for threaded panels.
(Old svn revision: 11889)
parent
aa7e993d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
m4/depends.m4
+11
-16
11 additions, 16 deletions
m4/depends.m4
with
11 additions
and
16 deletions
m4/depends.m4
+
11
−
16
View file @
c9744525
...
@@ -40,6 +40,17 @@ AC_DEFUN([XFCE_PANEL_PLUGIN],
...
@@ -40,6 +40,17 @@ AC_DEFUN([XFCE_PANEL_PLUGIN],
[
[
BM_DEPEND([$1], [xfce4-panel-1.0], [$2])
BM_DEPEND([$1], [xfce4-panel-1.0], [$2])
dnl Check if the panel is threaded
ac_CFLAGS=$$1_CFLAGS
AC_MSG_CHECKING([whether the panel is threaded])
if $PKG_CONFIG --atleast-version=4.1.8 xfce4-panel-1.0; then
$1_CFLAGS="$ac_CFLAGS -DXFCE_PANEL_THREADED=1 -DXFCE_PANEL_LOCK\(\)=gdk_threads_enter\(\) -DXFCE_PANEL_UNLOCK\(\)=gdk_threads_leave\(\)"
AC_MSG_RESULT([yes])
else
$1_CFLAGS="$ac_CFLAGS -DXFCE_PANEL_LOCK\(\)=do{}while\(0\) -DXFCE_PANEL_UNLOCK\(\)=do{}while\(0\)"
AC_MSG_RESULT([no])
fi
dnl Check where to put the plugins to
dnl Check where to put the plugins to
AC_ARG_WITH([pluginsdir],
AC_ARG_WITH([pluginsdir],
AC_HELP_STRING([--with-pluginsdir=DIR], [Install plugins dir DIR]),
AC_HELP_STRING([--with-pluginsdir=DIR], [Install plugins dir DIR]),
...
@@ -50,19 +61,3 @@ AC_HELP_STRING([--with-pluginsdir=DIR], [Install plugins dir DIR]),
...
@@ -50,19 +61,3 @@ AC_HELP_STRING([--with-pluginsdir=DIR], [Install plugins dir DIR]),
AC_SUBST([$1_PLUGINSDIR])
AC_SUBST([$1_PLUGINSDIR])
AC_MSG_RESULT([$$1_PLUGINSDIR])
AC_MSG_RESULT([$$1_PLUGINSDIR])
])
])
dnl
dnl XFCE_MCS_PLUGIN(var, version)
dnl
dnl sets $var_CFLAGS, $var_LIBS and $var_PLUGINSDIR
dnl
AC_DEFUN([XFCE_MCS_PLUGIN],
[
BM_DEPEND([$1], [xfce-mcs-manager], [$2])
dnl Check where to put the plugins to
AC_MSG_CHECKING([where to install MCS plugins])
$1_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce-mcs-manager`
AC_SUBST([$1_PLUGINSDIR])
AC_MSG_RESULT([$$1_PLUGINSDIR])
])
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment