2
dnl This file was autogenerated from "configure.ac.in".
3
dnl Edit that file instead!
7
dnl Copyright (c) 2004 - 2008 The Xfce development team
9
dnl 2005-2007 Jasper Huijsmans <jasper@xfce.org>
10
dnl 2006-2008 Nick Schermer <nick@xfce.org>
13
dnl ***************************
14
dnl *** Version information ***
15
dnl ***************************
16
m4_define([libxfce4panel_verinfo], [3:0:0]) dnl current:revision:age
17
m4_define([libxfce4panel_version_api], [1.0])
18
m4_define([xfce4_panel_version_major], [4])
19
m4_define([xfce4_panel_version_minor], [7])
20
m4_define([xfce4_panel_version_micro], [5])
21
m4_define([xfce4_panel_version_nano], []) dnl leave this empty to have no nano version
22
m4_define([xfce4_panel_version_build], [24f215d])
23
m4_define([xfce4_panel_version_tag], [])
24
m4_define([xfce4_panel_version], [xfce4_panel_version_major().xfce4_panel_version_minor().xfce4_panel_version_micro()ifelse(xfce4_panel_version_nano(), [], [], [.xfce4_panel_version_nano()])ifelse(xfce4_panel_version_tag(), [git], [xfce4_panel_version_tag()-xfce4_panel_version_build()], [xfce4_panel_version_tag()])])
26
dnl *******************************************
27
dnl *** Debugging support for GIT snapshots ***
28
dnl *******************************************
29
m4_define([panel_debug_default], [ifelse(xfce4_panel_version_tag(), [git], [yes], [minimum])])
31
dnl ***************************
32
dnl *** Initialize autoconf ***
33
dnl ***************************
34
AC_COPYRIGHT([Copyright (c) 2002 - 2010
35
The Xfce development team. All rights reserved.
37
Written for Xfce by Jasper Huijsmans <jasper@xfce.org>
38
and Nick Schermer <nick@xfce.org>.])
39
AC_INIT([xfce4-panel], [xfce4_panel_version], [http://bugzilla.xfce.org/], [xfce4-panel])
41
AC_REVISION([xfce4_panel_version_build])
43
dnl ***************************
44
dnl *** Initialize automake ***
45
dnl ***************************
46
AM_CONFIG_HEADER([config.h])
47
AM_INIT_AUTOMAKE([1.8 no-dist-gzip dist-bzip2 tar-ustar])
49
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
51
dnl *******************************
52
dnl *** Check for UNIX variants ***
53
dnl *******************************
57
dnl ********************************
58
dnl *** Check for basic programs ***
59
dnl ********************************
67
dnl **************************
68
dnl *** Initialize libtool ***
69
dnl **************************
72
AC_CHECK_PROGS([PERL], [perl5 perl])
74
dnl **************************************
75
dnl *** Substitute version information ***
76
dnl **************************************
77
LIBXFCE4PANEL_VERINFO=libxfce4panel_verinfo()
78
AC_SUBST([LIBXFCE4PANEL_VERINFO])
80
dnl **************************
81
dnl *** Substitute version ***
82
dnl **************************
83
LIBXFCE4PANEL_VERSION=xfce4_panel_version()
84
LIBXFCE4PANEL_VERSION_API=libxfce4panel_version_api()
85
LIBXFCE4PANEL_VERSION_MAJOR=xfce4_panel_version_major()
86
LIBXFCE4PANEL_VERSION_MINOR=xfce4_panel_version_minor()
87
LIBXFCE4PANEL_VERSION_MICRO=xfce4_panel_version_micro()
88
AC_SUBST([LIBXFCE4PANEL_VERSION])
89
AC_SUBST([LIBXFCE4PANEL_VERSION_API])
90
AC_SUBST([LIBXFCE4PANEL_VERSION_MAJOR])
91
AC_SUBST([LIBXFCE4PANEL_VERSION_MINOR])
92
AC_SUBST([LIBXFCE4PANEL_VERSION_MICRO])
94
dnl **********************************
95
dnl *** Check for standard headers ***
96
dnl **********************************
98
AC_CHECK_HEADERS([stdlib.h unistd.h locale.h stdio.h errno.h time.h string.h \
99
math.h sys/types.h sys/wait.h memory.h signal.h sys/prctl.h])
101
dnl ******************************
102
dnl *** Check for i18n support ***
103
dnl ******************************
104
XDT_I18N([am ar ast az be bg bn_IN bn ca cs da de dz el en_GB eo es_MX es et eu fa fi fr gl gu he hi hr hu hy id is it ja ka kk ko ku lt lv mk mr ms nb nl pa pl pt_BR pt ro ru si sk sq sv ta tr ug uk ur_PK ur vi zh_CN zh_TW ])
106
dnl *******************************
107
dnl *** Check for X11 installed ***
108
dnl *******************************
109
XDT_CHECK_LIBX11_REQUIRE()
111
dnl ***********************************
112
dnl *** Check for required packages ***
113
dnl ***********************************
114
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.6.0])
115
XDT_CHECK_PACKAGE([GARCON], [garcon-1], [0.1.2])
116
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.7.1])
117
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.7.2])
118
XDT_CHECK_PACKAGE([EXO], [exo-1], [0.5.1])
119
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.14.0])
120
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.18.0])
121
XDT_CHECK_PACKAGE([GIO], [gio-2.0], [2.18.0])
122
XDT_CHECK_PACKAGE([GMODULE], [gmodule-2.0], [2.18.0])
123
XDT_CHECK_PACKAGE([DBUS], [dbus-glib-1], [0.73])
124
XDT_CHECK_PACKAGE([CAIRO], [cairo], [1.0.0])
125
XDT_CHECK_PACKAGE([LIBWNCK], [libwnck-1.0], [2.22])
127
dnl **********************************
128
dnl *** Optional GIO UNIX features ***
129
dnl **********************************
130
XDT_CHECK_OPTIONAL_PACKAGE([GIO_UNIX], [gio-unix-2.0],
131
[2.18.0], [gio-unix], [GIO UNIX features])
133
dnl ***************************************************
134
dnl *** Check if we need to build the documentation ***
135
dnl ***************************************************
136
AC_ARG_ENABLE([gen-doc], [AC_HELP_STRING([--enable-gen-doc],
137
[Generate HTML documentation (requires gnome-doc-utils) [default=no]])],,
139
if test x"$enable_gen_doc" = x"yes"; then
140
XDT_CHECK_PACKAGE([GNOME_DOC_UTILS], [gnome-doc-utils], [0.19.2],
142
AC_PATH_PROG([XML2PO], [xml2po], [no])
143
if test x"$XML2PO" = x"no"; then
147
AC_PATH_PROG([GNOME_DOC_TOOL], [gnome-doc-tool], [no])
148
if test x"$GNOME_DOC_TOOL" = x"no"; then
156
if test x"$enable_gen_doc" = x"no"; then
157
AC_MSG_ERROR([Compiling with --enable-gen-doc but no suitable gnome-doc-utils found.])
160
AM_CONDITIONAL([GENERATE_DOCUMENTATION], [test x"$enable_gen_doc" = x"yes"])
162
dnl *************************
163
dnl *** Check for gtk-doc ***
164
dnl *************************
167
dnl ***********************************
168
dnl *** Check for debugging support ***
169
dnl ***********************************
170
XDT_FEATURE_DEBUG([panel_debug_default])
172
dnl **************************************
173
dnl *** Check for linker optimizations ***
174
dnl **************************************
175
XDT_FEATURE_LINKER_OPTS()
177
dnl ****************************************
178
dnl *** Check for ELF visibility support ***
179
dnl ****************************************
180
AC_ARG_ENABLE([visibility], AC_HELP_STRING([--disable-visibility], [Do not use ELF visibility attributes]), [], [enable_visibility=yes])
181
have_gnuc_visibility=no
182
if test x"$enable_visibility" != x"no"; then
183
dnl Check whether the compiler supports the visibility attribute
184
save_CFLAGS="$CFLAGS"
185
CFLAGS="$CFLAGS -Wall -Werror"
186
AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
187
AC_COMPILE_IFELSE(AC_LANG_SOURCE(
189
void test_default (void);
190
void test_hidden (void);
192
void __attribute__ ((visibility("default"))) test_default (void) {}
193
void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
195
int main (int argc, char **argv) { test_default (); test_hidden (); return 0; }
198
have_gnuc_visibility=yes
204
CFLAGS="$save_CFLAGS"
206
if test x"$have_gnuc_visibility" = x"yes"; then
207
CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
209
AM_CONDITIONAL([HAVE_GNUC_VISIBILITY], [test x"$have_gnuc_visibility" = x"yes"])
211
dnl *************************************
212
dnl *** Compensate for broken gtk-doc ***
213
dnl *************************************
214
XDT_SUPPORTED_FLAGS([GTK_DOC_EXTRA_CFLAGS], [-Wno-sign-compare])
215
AC_SUBST([GTK_DOC_EXTRA_CFLAGS])
217
dnl *********************************
218
dnl *** Substitute platform flags ***
219
dnl *********************************
220
AC_MSG_CHECKING([PLATFORM_CPPFLAGS])
221
AC_MSG_RESULT([$PLATFORM_CPPFLAGS])
222
AC_SUBST([PLATFORM_CPPFLAGS])
223
AC_MSG_CHECKING([PLATFORM_CFLAGS])
224
AC_MSG_RESULT([$PLATFORM_CFLAGS])
225
AC_SUBST([PLATFORM_CFLAGS])
226
AC_MSG_CHECKING([PLATFORM_LDFLAGS])
227
AC_MSG_RESULT([$PLATFORM_LDFLAGS])
228
AC_SUBST([PLATFORM_LDFLAGS])
235
docs/manual/figures/Makefile
236
docs/manual/po/Makefile
237
docs/references/Makefile
238
docs/references/version.xml
245
icons/scalable/Makefile
246
libxfce4panel/Makefile
247
libxfce4panel/libxfce4panel-1.0.pc
248
libxfce4panel/libxfce4panel-config.h
253
plugins/actions/Makefile
254
plugins/applicationsmenu/Makefile
255
plugins/clock/Makefile
256
plugins/directorymenu/Makefile
257
plugins/launcher/Makefile
258
plugins/pager/Makefile
259
plugins/separator/Makefile
260
plugins/showdesktop/Makefile
261
plugins/systray/Makefile
262
plugins/tasklist/Makefile
263
plugins/windowmenu/Makefile
267
dnl ***************************
268
dnl *** Print configuration ***
269
dnl ***************************
271
echo "Build Configuration:"
273
echo "* Debug Support: $enable_debug"
274
echo "* GNU Visibility: $have_gnuc_visibility"
275
if test x"$enable_gen_doc" = x"yes"; then
276
echo "* Documentation: yes (generate)"
277
elif test -d "${srcdir}/docs/manual/html"; then
278
echo "* Documentation: yes (in tarball)"
280
echo "* Documentation: no"