configure.ac.in 1.02 KB
Newer Older
Roger Seguin's avatar
Roger Seguin committed
1 2 3 4 5
dnl configure.ac
dnl
dnl xfce4-genmon-plugin - Generic Monitor plugin for xfce4-panel
dnl
dnl 2004 Roger Seguin <roger_seguin@msn.com>
Julien Devemy's avatar
Julien Devemy committed
6
dnl 2006 Julien Devemy <jujucece@gmail.com>
Tony Paulic's avatar
Tony Paulic committed
7
dnl 2016 Tony Paulic <tony.paulic@gmail.com>
Roger Seguin's avatar
Roger Seguin committed
8 9
dnl

Tony Paulic's avatar
Tony Paulic committed
10
m4_define([genmon_version],[4.1.0])
Roger Seguin's avatar
Roger Seguin committed
11

12
AC_INIT([xfce4-genmon-plugin], [genmon_version],
13
	[xfce-dev@xfce.org])
Roger Seguin's avatar
Roger Seguin committed
14

15 16 17
GENMON_VERSION=genmon_version()
AM_INIT_AUTOMAKE([xfce4-genmon-plugin], [$GENMON_VERSION])
AM_CONFIG_HEADER([config.h])
Roger Seguin's avatar
Roger Seguin committed
18 19 20 21 22 23 24 25 26 27 28

AM_MAINTAINER_MODE

dnl Check for UNIX variants
AC_AIX
AC_ISC_POSIX
AC_MINIX

dnl Check for basic programs
AC_PROG_CC
AC_PROG_INSTALL
29
AC_PROG_INTLTOOL
Roger Seguin's avatar
Roger Seguin committed
30

31 32 33 34
dnl Initialize libtool
LT_PREREQ([2.2.6])
LT_INIT([disable-static])

Roger Seguin's avatar
Roger Seguin committed
35 36 37 38
dnl Check for standard header files
AC_HEADER_STDC

dnl configure the panel plugin
ToZ's avatar
ToZ committed
39 40
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.12.0])
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.12.0])
41 42

dnl Translations
43
XDT_I18N([@LINGUAS@])
Roger Seguin's avatar
Roger Seguin committed
44 45

dnl Check for debugging support
46
XDT_FEATURE_DEBUG()
Roger Seguin's avatar
Roger Seguin committed
47 48 49 50

AC_OUTPUT([
Makefile
panel-plugin/Makefile
51
po/Makefile.in
Roger Seguin's avatar
Roger Seguin committed
52
])