Remove unused build script.
[lxde/lxpanel.git] / configure.ac
CommitLineData
a52c2257
HJYP
1AC_PREREQ(2.53)
2AC_INIT(lxpanel, 0.1, http://lxpanel.sourceforge.net/)
3AM_INIT_AUTOMAKE()
4AC_CONFIG_SRCDIR([src/bg.c])
5AC_CONFIG_HEADER([config.h])
6
7# Checks for programs.
8AC_PROG_CC
9AC_PROG_INSTALL
10AC_PROG_LN_S
1141e22a 11AC_PROG_LIBTOOL
a52c2257
HJYP
12AC_PROG_INTLTOOL(, [no-xml])
13
14# Checks for libraries.
15pkg_modules="gtk+-2.0 >= 2.6.0 \
16 gthread-2.0 \
17 libstartup-notification-1.0"
18PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
19AC_SUBST(PACKAGE_CFLAGS)
20AC_SUBST(PACKAGE_LIBS)
21
1141e22a
JH
22dnl check for netstats
23PKG_CHECK_MODULES(GCONF, [gconf-2.0], HAVE_GCONF=yes, HAVE_GCONF=no)
80affd1e 24AM_CONDITIONAL(BUILD_NETSTATUS, test x$HAVE_GCONF = xyes)
1141e22a 25
a52c2257
HJYP
26# Checks for header files.
27AC_PATH_X
28AC_HEADER_STDC
29AC_HEADER_SYS_WAIT
30AC_CHECK_HEADERS([locale.h stdlib.h string.h sys/time.h unistd.h])
31
32# Checks for typedefs, structures, and compiler characteristics.
33AC_C_CONST
34AC_C_INLINE
35AC_STRUCT_TM
36
37# Checks for library functions.
38AC_FUNC_MALLOC
39AC_FUNC_MEMCMP
40AC_TYPE_SIGNAL
41AC_FUNC_STAT
42AC_FUNC_STRFTIME
43AC_CHECK_FUNCS([bzero memset mkdir setlocale strchr])
44
45
46GETTEXT_PACKAGE=lxpanel
47AM_GNU_GETTEXT([external])
48AM_GNU_GETTEXT_VERSION(0.14.1)
49AC_SUBST(GETTEXT_PACKAGE)
50AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
51
52ALL_LINGUAS="zh_TW"
53AM_GLIB_GNU_GETTEXT
54
55AC_CONFIG_FILES([
66c88ea4
HJYP
56 Makefile
57 src/Makefile
7fe27201 58 src/plugins/Makefile
1141e22a 59 src/plugins/netstatus/Makefile
66c88ea4
HJYP
60 po/Makefile.in
61 data/Makefile
62 data/default
a52c2257
HJYP
63])
64AC_OUTPUT