Add new netstatus plugin ported from GNOME netstatus panel applet.
[lxde/lxpanel.git] / configure.ac
1 AC_PREREQ(2.53)
2 AC_INIT(lxpanel, 0.1, http://lxpanel.sourceforge.net/)
3 AM_INIT_AUTOMAKE()
4 AC_CONFIG_SRCDIR([src/bg.c])
5 AC_CONFIG_HEADER([config.h])
6
7 # Checks for programs.
8 AC_PROG_CC
9 AC_PROG_INSTALL
10 AC_PROG_LN_S
11 AC_PROG_INTLTOOL(, [no-xml])
12
13 # Checks for libraries.
14 pkg_modules="gtk+-2.0 >= 2.6.0 \
15              gthread-2.0 \
16              libstartup-notification-1.0"
17 PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
18 AC_SUBST(PACKAGE_CFLAGS)
19 AC_SUBST(PACKAGE_LIBS)
20
21 # Checks for header files.
22 AC_PATH_X
23 AC_HEADER_STDC
24 AC_HEADER_SYS_WAIT
25 AC_CHECK_HEADERS([locale.h stdlib.h string.h sys/time.h unistd.h])
26
27 # Checks for typedefs, structures, and compiler characteristics.
28 AC_C_CONST
29 AC_C_INLINE
30 AC_STRUCT_TM
31
32 # Checks for library functions.
33 AC_FUNC_MALLOC
34 AC_FUNC_MEMCMP
35 AC_TYPE_SIGNAL
36 AC_FUNC_STAT
37 AC_FUNC_STRFTIME
38 AC_CHECK_FUNCS([bzero memset mkdir setlocale strchr])
39
40
41 GETTEXT_PACKAGE=lxpanel
42 AM_GNU_GETTEXT([external])
43 AM_GNU_GETTEXT_VERSION(0.14.1)
44 AC_SUBST(GETTEXT_PACKAGE)
45 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
46
47 ALL_LINGUAS="zh_TW"
48 AM_GLIB_GNU_GETTEXT
49
50 AC_CONFIG_FILES([
51         Makefile
52         src/Makefile
53         po/Makefile.in
54         data/Makefile
55         data/default
56 ])
57 AC_OUTPUT