File: configure.ac

package info (click to toggle)
xfce4-fsguard-plugin 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,156 kB
  • sloc: sh: 10,688; ansic: 651; makefile: 128
file content (78 lines) | stat: -rw-r--r-- 2,500 bytes parent folder | download | duplicates (2)
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
dnl
dnl This file was autogenerated from "configure.ac.in".
dnl Edit that file instead!
dnl

dnl xfce4-fsguard-plugin - <Plugin for xfce4-panel>
dnl
dnl 2003 Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
dnl 2007 Mike Massonnet <mmassonnet@gmail.com>
dnl

m4_define([xfce4_fsguard_plugin_version_major], [1])
m4_define([xfce4_fsguard_plugin_version_minor], [0])
m4_define([xfce4_fsguard_plugin_version_micro], [1])
m4_define([xfce4_fsguard_plugin_version_nano], [])
m4_define([xfce4_fsguard_plugin_version_build], [dcd2e7d])
m4_define([xfce4_fsguard_plugin_version_tag], []) # Leave empty for releases
m4_define([xfce4_fsguard_plugin_version], [xfce4_fsguard_plugin_version_major().xfce4_fsguard_plugin_version_minor().xfce4_fsguard_plugin_version_micro()ifelse(xfce4_fsguard_plugin_version_nano(), [], [], [.xfce4_fsguard_plugin_version_nano()])ifelse(xfce4_fsguard_plugin_version_tag(), [git], [xfce4_fsguard_plugin_version_tag()-xfce4_fsguard_plugin_version_build()], [xfce4_fsguard_plugin_version_tag()])])


AC_INIT([Free Space Checker], [xfce4_fsguard_plugin_version], [http://bugzilla.xfce.org/], [xfce4-fsguard-plugin],
	[http://goodies.xfce.org/projects/panel-plugins/xfce4-fsguard-plugin])

AM_INIT_AUTOMAKE([xfce4-fsguard-plugin], [xfce4_fsguard_plugin_version()])
AM_CONFIG_HEADER([config.h])
AM_MAINTAINER_MODE

dnl Avoid g77 and g++ checks
m4_undefine([AC_PROG_CXX])
m4_defun([AC_PROG_CXX],[])
m4_undefine([AC_PROG_F77])
m4_defun([AC_PROG_F77],[])

dnl Check for UNIX variants
AC_AIX
AC_ISC_POSIX
AC_MINIX

dnl Check for basic programs
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_INTLTOOL

dnl Initialize libtool
LT_PREREQ([2.2.6])
LT_INIT([disable-static])

dnl Check for standard header files
AC_HEADER_STDC

dnl Check for X11 installed
XDT_CHECK_LIBX11_REQUIRE

dnl configure the panel plugin
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.20.0])
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.8.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.8.0])
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.8.0])

dnl check for i18n support
XDT_I18N([ar ast ca cs da de el en_GB es eu fi fr gl hr hu id it ja kk ko lt lv nb nl pa pl pt pt_BR ru sk sq sv tr ug uk ur ur_PK vi zh_CN zh_TW ])

dnl Check for debugging support
XDT_FEATURE_DEBUG()

AC_OUTPUT([
Makefile
icons/Makefile
icons/48x48/Makefile
icons/36x36/Makefile
icons/32x32/Makefile
icons/24x24/Makefile
icons/22x22/Makefile
icons/16x16/Makefile
icons/scalable/Makefile
panel-plugin/Makefile
po/Makefile.in
])