]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blob - configure.ac.in
77d4466d0a0b57d94389004cccd406a7a5d620eb
[xfce4-hdaps.git] / configure.ac.in
1 dnl
2 dnl xfce4-hdaps - An IBM HDAPS plugin for the Xfce panel
3 dnl
4
5 dnl ***************************
6 dnl *** Version information ***
7 dnl ***************************
8 m4_define([xfce4_hdaps_version], [1.0.2])
9
10 dnl ***************************
11 dnl *** Initialize autoconf ***
12 dnl ***************************
13 AC_COPYRIGHT([Copyright (c) 2021
14 Michael Orlitzky. All rights reserved.])
15 AC_INIT([xfce4-hdaps], [xfce4_hdaps_version()], [michael@orlitzky.com])
16 AC_PREREQ([2.50])
17
18 dnl ***************************
19 dnl *** Initialize automake ***
20 dnl ***************************
21 AM_INIT_AUTOMAKE([-Wall no-dist-gzip dist-xz tar-ustar])
22 AM_CONFIG_HEADER([config.h])
23 AM_MAINTAINER_MODE()
24 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
25
26 dnl **************************
27 dnl *** Initialize libtool ***
28 dnl **************************
29 LT_PREREQ([2.2.6])
30 LT_INIT([disable-static])
31
32 dnl ********************************
33 dnl *** Check for basic programs ***
34 dnl ********************************
35 AC_PROG_CC()
36 AM_PROG_CC_C_O()
37 AC_PROG_LD()
38 AC_PROG_INSTALL()
39 IT_PROG_INTLTOOL([0.35.0])
40
41 dnl **********************************
42 dnl *** Check for standard headers ***
43 dnl **********************************
44 AC_HEADER_STDC()
45 AC_CHECK_HEADERS([stdlib.h unistd.h locale.h stdio.h errno.h time.h string.h \
46 math.h sys/types.h sys/wait.h memory.h signal.h sys/prctl.h \
47 libintl.h])
48 AC_CHECK_FUNCS([bind_textdomain_codeset])
49
50 dnl ******************************
51 dnl *** Check for i18n support ***
52 dnl ******************************
53 XDT_I18N([@LINGUAS@])
54
55 dnl *******************************
56 dnl *** Check for X11 installed ***
57 dnl *******************************
58 XDT_CHECK_LIBX11_REQUIRE()
59
60 dnl ***********************************
61 dnl *** Check for required packages ***
62 dnl ***********************************
63 XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.20.0])
64 XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.14.0])
65 XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.14.0])
66 XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.14.0])
67
68 dnl ***********************************
69 dnl *** Check for debugging support ***
70 dnl ***********************************
71 XDT_FEATURE_DEBUG()
72
73 dnl *********************************
74 dnl *** Substitute platform flags ***
75 dnl *********************************
76 AC_MSG_CHECKING([PLATFORM_CPPFLAGS])
77 AC_MSG_RESULT([$PLATFORM_CPPFLAGS])
78 AC_SUBST([PLATFORM_CPPFLAGS])
79 AC_MSG_CHECKING([PLATFORM_CFLAGS])
80 AC_MSG_RESULT([$PLATFORM_CFLAGS])
81 AC_SUBST([PLATFORM_CFLAGS])
82 AC_MSG_CHECKING([PLATFORM_LDFLAGS])
83 AC_MSG_RESULT([$PLATFORM_LDFLAGS])
84 AC_SUBST([PLATFORM_LDFLAGS])
85
86 AC_OUTPUT([
87 Makefile
88 icons/Makefile
89 icons/16x16/Makefile
90 icons/22x22/Makefile
91 icons/24x24/Makefile
92 icons/32x32/Makefile
93 icons/36x36/Makefile
94 icons/48x48/Makefile
95 icons/64x64/Makefile
96 icons/72x72/Makefile
97 icons/96x96/Makefile
98 icons/128x128/Makefile
99 icons/192x192/Makefile
100 icons/256x256/Makefile
101 icons/512x512/Makefile
102 icons/scalable/Makefile
103 panel-plugin/Makefile
104 po/Makefile.in
105 ])
106
107 dnl ***************************
108 dnl *** Print configuration ***
109 dnl ***************************
110 echo
111 echo "Build Configuration:"
112 echo
113 echo "* Debug Support: $enable_debug"
114 echo