-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
84 lines (71 loc) · 2.42 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
dnl xfce4-stopwatch-plugin
dnl 2009 Diego Ongaro <ongardie@gmail.com>
dnl This file (configure.in.in) is based on that of the
dnl xfce4-places-plugin and the xfce4-notes-plugin.
dnl The xfce4-notes-plugin configure.in.in header is reproduced here:
dnl
dnl xfce4-notes-plugin - Notes plugin for the Xfce4 panel
dnl
dnl 2003 Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
dnl 2003 Jakob Henriksson <b0kaj+dev@lysator.liu.se>
dnl 2006, 2008, 2009 Mike Massonnet <mmassonnet@gmail.com>
dnl version info
m4_define([copyright_year], [2025])
XDT_VERSION_INIT([0.5.2], [git])
dnl initialize autoconf
AC_COPYRIGHT([Copyright (c) 2009 Diego Ongaro <ongardie@gmail.com>
Copyright (c) 2020 Natanael Copa <ncopa@alpinelinux.org
Copyright (c) 2021-copyright_year() The Xfce development team. All rights reserved.])
AC_INIT([xfce4-stopwatch-plugin], [xdt_version], [ncopa@alpinelinux.org])
AC_PREREQ([2.69])
AC_CONFIG_MACRO_DIRS([m4])
AC_REVISION([xdt_version_build])
AC_DEFINE([VERSION_FULL], [PACKAGE_VERSION], [Alias for VERSION and PACKAGE_VERSION for meson compatibility])
COPYRIGHT_YEAR=copyright_year()
AC_DEFINE_UNQUOTED([COPYRIGHT_YEAR], ["$COPYRIGHT_YEAR"], [Copyright year])
AC_SUBST([COPYRIGHT_YEAR])
dnl AC_CANONICAL_TARGET()
dnl initialize automake
AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar no-dist-gzip foreign])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE()
AM_SILENT_RULES([yes])
dnl check for basic programs
AC_PROG_CC_C_O()
LT_PATH_LD([])
AC_PROG_INSTALL()
dnl libtool
LT_PREREQ([2.4])
LT_INIT([disable-static])
dnl check for required packages
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.50.0])
XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.22.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.16.0])
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.16.0])
dnl check for i18n support
GETTEXT_PACKAGE="$PACKAGE"
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Name of default gettext domain])
AC_SUBST([GETTEXT_PACKAGE])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.19.8])
dnl Check for debugging support
XDT_FEATURE_DEBUG([xdt_debug_default])
AC_CONFIG_FILES([
Makefile
icons/Makefile
icons/16x16/Makefile
icons/22x22/Makefile
icons/24x24/Makefile
icons/32x32/Makefile
icons/scalable/Makefile
panel-plugin/Makefile
po/Makefile.in
])
AC_OUTPUT
dnl print configuration
echo
echo "Build Configuration:"
echo
echo "* Maintainer Mode: $USE_MAINTAINER_MODE"
echo "* Debug Support: $enable_debug"
echo