2009-07-28 21:44:22 +00:00
|
|
|
# -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
2006-11-21 04:33:59 +00:00
|
|
|
dnl major, minor and micro version macros.
|
|
|
|
m4_define([conky_version_major], [1])
|
2009-03-16 02:03:12 +00:00
|
|
|
m4_define([conky_version_minor], [7])
|
2009-07-20 06:02:52 +00:00
|
|
|
m4_define([conky_version_micro], [3])
|
2008-08-16 15:56:20 +00:00
|
|
|
m4_define([conky_version_tag], [pre]) dnl [] for releases
|
2008-03-27 19:46:35 +00:00
|
|
|
m4_define([conky_version_revision],[_pre@REVISION@])
|
2008-02-20 20:30:45 +00:00
|
|
|
m4_define([conky_version],
|
2006-12-23 06:01:16 +00:00
|
|
|
[conky_version_major().conky_version_minor().conky_version_micro()ifelse(
|
2008-03-27 19:46:35 +00:00
|
|
|
conky_version_tag(), [pre],
|
|
|
|
[conky_version_revision()],
|
|
|
|
[ifelse(conky_version_tag(), [], [], [conky_version_tag()])])])
|
2006-11-21 04:33:59 +00:00
|
|
|
|
|
|
|
AC_INIT([Conky], [conky_version()], [brenden1@users.sourceforge.net])
|
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE(conky, conky_version())
|
2005-08-21 22:10:54 +00:00
|
|
|
AM_CONFIG_HEADER(src/config.h)
|
2008-07-07 20:09:37 +00:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2006-05-30 01:23:06 +00:00
|
|
|
|
2006-09-30 19:21:58 +00:00
|
|
|
dnl prevent libtool setting LTCFLAGS to default of -g -O2 when CFLAGS unset.
|
|
|
|
dnl libtool must be deleted with make distclean to see this fix.
|
|
|
|
if test x"$CFLAGS" = x""; then
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_SUBST(CFLAGS, [ ])
|
2006-09-30 19:21:58 +00:00
|
|
|
fi
|
|
|
|
|
2008-07-01 01:26:02 +00:00
|
|
|
AC_DEFINE([_GNU_SOURCE], [], [Define for GNU source and extensions])
|
|
|
|
|
2006-12-23 06:01:16 +00:00
|
|
|
dnl
|
|
|
|
dnl Tools
|
|
|
|
dnl
|
2006-05-30 01:23:06 +00:00
|
|
|
AC_PROG_CC
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_PROG_LD
|
|
|
|
AC_PROG_INSTALL
|
2005-08-22 23:32:35 +00:00
|
|
|
AC_PROG_LIBTOOL
|
2009-07-08 08:09:06 +00:00
|
|
|
AM_PROG_LIBTOOL
|
2009-07-10 16:12:04 +00:00
|
|
|
AM_PROG_CC_C_O
|
2005-08-22 23:32:35 +00:00
|
|
|
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
|
|
|
|
if test x"$HAVE_PKGCONFIG" = x"no"; then
|
|
|
|
AC_MSG_ERROR([pkg-config is required!])
|
|
|
|
fi
|
2007-08-30 16:19:02 +00:00
|
|
|
PKG_PROG_PKG_CONFIG([0.19])
|
2005-07-20 00:30:40 +00:00
|
|
|
|
2005-08-21 23:09:36 +00:00
|
|
|
AC_CONFIG_FILES(
|
2006-12-23 06:01:16 +00:00
|
|
|
Makefile
|
2007-10-23 21:52:11 +00:00
|
|
|
data/Makefile
|
2006-12-23 06:01:16 +00:00
|
|
|
doc/Makefile
|
|
|
|
src/Makefile
|
|
|
|
src/build.h
|
2009-07-08 08:09:06 +00:00
|
|
|
lua/Makefile
|
2006-12-23 06:01:16 +00:00
|
|
|
)
|
2005-08-21 23:09:36 +00:00
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
uname=`uname`
|
|
|
|
|
|
|
|
case $uname in
|
|
|
|
Linux*)
|
|
|
|
WANT_SYSINFO=yes
|
|
|
|
;;
|
2007-12-31 00:00:35 +00:00
|
|
|
FreeBSD*|GNU/kFreeBSD*)
|
2005-07-20 00:30:40 +00:00
|
|
|
WANT_KVM=yes
|
2005-08-27 11:56:22 +00:00
|
|
|
WANT_DEVSTAT=yes
|
2009-05-14 22:52:58 +00:00
|
|
|
;;
|
2005-08-31 05:20:10 +00:00
|
|
|
# NetBSD*)
|
|
|
|
# WANT_KVM=yes
|
|
|
|
# WANT_OSSLIB=yes
|
|
|
|
# ;;
|
2005-07-20 00:30:40 +00:00
|
|
|
|
2007-03-01 01:43:43 +00:00
|
|
|
OpenBSD*)
|
|
|
|
WANT_KVM=yes
|
|
|
|
WANT_OSSLIB=yes
|
|
|
|
;;
|
2006-03-24 13:49:25 +00:00
|
|
|
|
2005-08-31 05:20:10 +00:00
|
|
|
# Solaris doesn't work at all right now
|
2005-07-20 00:30:40 +00:00
|
|
|
# SunOS*)
|
|
|
|
# WANT_KSTAT=yes
|
|
|
|
# ;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
echo "Your operating system $uname isn't supported"
|
|
|
|
echo "Feel free to help. :P"
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_LINUX, test x$uname = xLinux)
|
2006-08-12 06:10:18 +00:00
|
|
|
#AM_CONDITIONAL(BUILD_SOLARIS, test x$uname = xSunOS)
|
2007-12-31 00:00:35 +00:00
|
|
|
AM_CONDITIONAL(BUILD_FREEBSD, test x$uname = xFreeBSD -o x$uname = xGNU/kFreeBSD)
|
2006-08-12 06:10:18 +00:00
|
|
|
#AM_CONDITIONAL(BUILD_NETBSD, test x$uname = xNetBSD)
|
2007-03-01 01:43:43 +00:00
|
|
|
AM_CONDITIONAL(BUILD_OPENBSD, test x$uname = xOpenBSD)
|
2005-07-20 00:30:40 +00:00
|
|
|
|
2006-08-12 06:10:18 +00:00
|
|
|
BUILD_DATE=$(LANG=en_US LC_ALL=en_US LOCALE=en_US date)
|
|
|
|
BUILD_ARCH="$(uname -sr) ($(uname -m))"
|
|
|
|
AC_SUBST(BUILD_DATE)
|
|
|
|
AC_SUBST(BUILD_ARCH)
|
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
|
2008-12-12 14:33:25 +00:00
|
|
|
dnl
|
2008-12-14 03:16:34 +00:00
|
|
|
dnl BUILD_CONFIG_OUTPUT option
|
2008-12-12 14:33:25 +00:00
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([config_output],
|
2009-05-14 22:52:58 +00:00
|
|
|
AC_HELP_STRING([--disable-config-output], [disable if you do not want conky to output a default config (with -C) @<:@default=yes@:>@]),
|
2008-12-14 03:16:34 +00:00
|
|
|
[want_config_output="$enableval"], [want_config_output=yes])
|
2008-12-12 14:33:25 +00:00
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_CONFIG_OUTPUT, test x$want_config_output = xyes)
|
|
|
|
if test x$want_config_output = xyes; then
|
2008-12-14 03:16:34 +00:00
|
|
|
AC_DEFINE(CONFIG_OUTPUT, 1, [Define if you want conky to output a default config (with -C)])
|
2009-03-28 17:49:56 +00:00
|
|
|
AC_CHECK_FUNCS(fopencookie)
|
2009-06-21 21:46:03 +00:00
|
|
|
AC_CHECK_FUNCS(funopen)
|
2008-12-12 14:33:25 +00:00
|
|
|
fi
|
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
|
|
|
dnl OWN_WINDOW option
|
|
|
|
dnl
|
|
|
|
|
2006-11-04 17:56:24 +00:00
|
|
|
AC_ARG_ENABLE([own_window],
|
2008-02-20 20:30:45 +00:00
|
|
|
AC_HELP_STRING([--disable-own-window],
|
2006-12-23 06:01:16 +00:00
|
|
|
[disable if you do not want support for creating own window @<:@default=yes@:>@]),
|
|
|
|
[dah="$enableval"], [dah=yes])
|
2005-07-20 00:30:40 +00:00
|
|
|
|
|
|
|
if test $dah != "no"; then
|
|
|
|
AC_DEFINE(OWN_WINDOW, 1, [Define if you want support for window creating])
|
|
|
|
fi
|
|
|
|
|
2009-08-01 18:45:43 +00:00
|
|
|
dnl
|
|
|
|
dnl NCURSES option
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([ncurses],
|
|
|
|
AC_HELP_STRING([--disable-ncurses], [disable if you do not want ncurses support in conky @<:@default=yes@:>@]),
|
|
|
|
[want_ncurses="$enableval"], [want_ncurses=yes])
|
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_NCURSES, test x$want_ncurses = xyes)
|
|
|
|
if test x$want_ncurses = xyes; then
|
|
|
|
conky_LIBS="$conky_LIBS -lncurses"
|
|
|
|
AC_DEFINE(NCURSES, 1, [Define for ncurses support])
|
|
|
|
fi
|
|
|
|
|
2006-01-11 17:03:45 +00:00
|
|
|
|
|
|
|
dnl
|
|
|
|
dnl Audacious Media Player
|
|
|
|
dnl
|
|
|
|
|
2006-11-04 17:56:24 +00:00
|
|
|
AC_ARG_ENABLE([audacious],
|
2008-02-20 20:30:45 +00:00
|
|
|
AC_HELP_STRING([--enable-audacious=[[yes|no|legacy]]],
|
2007-11-17 03:43:21 +00:00
|
|
|
[enable audacious player support @<:@default=no@:>@]),
|
2006-12-23 06:01:16 +00:00
|
|
|
[want_audacious="$enableval"], [want_audacious=no])
|
2006-11-07 01:19:32 +00:00
|
|
|
|
2007-11-17 04:13:20 +00:00
|
|
|
AM_CONDITIONAL(BUILD_AUDACIOUS, test x$want_audacious = xyes -o x$want_audacious = xlegacy)
|
2006-11-07 01:19:32 +00:00
|
|
|
if test x$want_audacious = xyes; then
|
2008-03-29 04:02:12 +00:00
|
|
|
PKG_CHECK_MODULES([Audacious], [audacious >= 1.4.0 dbus-glib-1 glib-2.0 gobject-2.0])
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS $Audacious_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $Audacious_LIBS"
|
2007-11-17 03:43:21 +00:00
|
|
|
save_CPPFLAGS="$CPPFLAGS"
|
2008-03-29 04:02:12 +00:00
|
|
|
CPPFLAGS="$Audacious_CFLAGS -I`pkg-config --variable=audacious_include_dir audacious`/audacious"
|
2008-02-20 20:30:45 +00:00
|
|
|
AC_CHECK_HEADERS([audacious/audctrl.h audacious/dbus.h glib.h glib-object.h],
|
2007-11-17 03:43:21 +00:00
|
|
|
[], AC_MSG_ERROR([required header(s) not found]))
|
|
|
|
CPPFLAGS="$save_CPPFLAGS"
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_DEFINE(AUDACIOUS, 1, [Define for Audacious support])
|
2007-11-17 03:43:21 +00:00
|
|
|
else if test x$want_audacious = xlegacy; then
|
2008-03-29 04:02:12 +00:00
|
|
|
PKG_CHECK_MODULES([Audacious], [audacious < 1.4.0 glib-2.0])
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS $Audacious_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $Audacious_LIBS"
|
2007-11-17 03:43:21 +00:00
|
|
|
save_CPPFLAGS="$CPPFLAGS"
|
2008-03-29 04:02:12 +00:00
|
|
|
CPPFLAGS="$Audacious_CFLAGS -I`pkg-config --variable=audacious_include_dir audacious`/audacious"
|
2007-11-17 03:43:21 +00:00
|
|
|
AC_CHECK_HEADERS([audacious/beepctrl.h glib.h], [], AC_MSG_ERROR([required header(s) not found]))
|
|
|
|
CPPFLAGS="$save_CPPFLAGS"
|
|
|
|
AC_DEFINE(AUDACIOUS, 1, [Define for Audacious support])
|
|
|
|
AC_DEFINE(AUDACIOUS_LEGACY, 1, [Define for Audacious Legacy support])
|
|
|
|
fi
|
2006-11-07 01:19:32 +00:00
|
|
|
fi
|
2006-01-11 17:03:45 +00:00
|
|
|
|
2006-01-07 07:01:22 +00:00
|
|
|
|
2005-12-30 09:44:40 +00:00
|
|
|
dnl
|
|
|
|
dnl BMPx
|
|
|
|
dnl
|
|
|
|
|
2006-11-04 17:56:24 +00:00
|
|
|
AC_ARG_ENABLE([bmpx],
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_HELP_STRING([--enable-bmpx], [enable if you want BMPx support @<:@default=no@:>@]),
|
|
|
|
[want_bmpx="$enableval"], [want_bmpx=no])
|
2005-12-30 09:44:40 +00:00
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_BMPX, test x$want_bmpx = xyes)
|
|
|
|
if test x$want_bmpx = xyes; then
|
2008-03-29 04:02:12 +00:00
|
|
|
PKG_CHECK_MODULES([BMPx], [bmp-2.0 >= 0.14.0])
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS $BMPx_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $BMPx_LIBS"
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_DEFINE(BMPX, 1, [Define if you want BMPx support])
|
2005-12-30 09:44:40 +00:00
|
|
|
fi
|
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
|
2009-01-03 23:00:52 +00:00
|
|
|
dnl
|
|
|
|
dnl Support for IBM/Lenovo notebooks
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([ibm],
|
|
|
|
AC_HELP_STRING([--enable-ibm], [enable if you want support for IBM/Lenovo notebooks @<:default=no@:>@]),
|
|
|
|
[want_ibm="$enableval"], [want_ibm=no])
|
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_IBM, test x$want_ibm = xyes)
|
|
|
|
if test x$want_ibm = xyes; then
|
|
|
|
if test x"$uname" != xLinux; then
|
|
|
|
AC_MSG_NOTICE([support for IBM/Lenovo notebooks not supported on $uname... disabling])
|
2009-11-15 00:43:30 +00:00
|
|
|
want_ibm="not supported on $uname"
|
2009-01-03 23:00:52 +00:00
|
|
|
else
|
2009-03-19 19:40:49 +00:00
|
|
|
AC_DEFINE(IBM, 1, [Define if you want support for IBM/Lenovo notebooks (SMAPI)])
|
2009-01-03 23:00:52 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2006-08-10 16:56:13 +00:00
|
|
|
dnl
|
|
|
|
dnl Hddtemp
|
|
|
|
dnl
|
|
|
|
|
2006-11-04 17:56:24 +00:00
|
|
|
AC_ARG_ENABLE([hddtemp],
|
2008-02-20 20:30:45 +00:00
|
|
|
AC_HELP_STRING([--disable-hddtemp],
|
2006-12-23 06:01:16 +00:00
|
|
|
[disable if you do not want hddtemp support @<:@default=yes@:>@]),
|
|
|
|
[want_hddtemp="$enableval"], [want_hddtemp=yes])
|
2006-08-10 16:56:13 +00:00
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_HDDTEMP, test x$want_hddtemp = xyes)
|
|
|
|
if test x$want_hddtemp = xyes; then
|
2007-08-30 16:35:45 +00:00
|
|
|
if test x"$uname" != xLinux; then
|
|
|
|
AC_MSG_NOTICE([hddtemp not supported on $uname... disabling])
|
2009-11-15 00:43:30 +00:00
|
|
|
want_hddtemp="not supported on $uname"
|
2007-08-30 16:35:45 +00:00
|
|
|
else
|
|
|
|
AC_DEFINE(HDDTEMP, 1, [Define if you want hddtemp support])
|
|
|
|
fi
|
2006-08-10 16:56:13 +00:00
|
|
|
fi
|
|
|
|
|
2009-05-10 18:58:06 +00:00
|
|
|
|
|
|
|
dnl
|
|
|
|
dnl Apcupsd
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([apcupsd],
|
|
|
|
AC_HELP_STRING([--disable-apcupsd],
|
|
|
|
[disable if you do not want apcupsd support @<:@default=yes@:>@]),
|
|
|
|
[want_apcupsd="$enableval"], [want_apcupsd=yes])
|
|
|
|
|
|
|
|
if test x$want_apcupsd = xyes; then
|
|
|
|
if test x"$uname" != xLinux; then
|
|
|
|
AC_MSG_NOTICE([apcupsd not supported on $uname... disabling])
|
2009-11-15 00:43:30 +00:00
|
|
|
want_apcupsd="not supported on $uname"
|
2009-05-10 18:58:06 +00:00
|
|
|
else
|
|
|
|
AC_DEFINE(APCUPSD, 1, [Define if you want apcupsd support])
|
|
|
|
fi
|
|
|
|
fi
|
2009-05-22 19:20:10 +00:00
|
|
|
AM_CONDITIONAL(BUILD_APCUPSD, test x$want_apcupsd = xyes)
|
2009-05-10 18:58:06 +00:00
|
|
|
|
2009-06-04 11:44:14 +00:00
|
|
|
|
2009-06-12 17:08:44 +00:00
|
|
|
dnl
|
|
|
|
dnl I/O stats
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([iostats],
|
|
|
|
AC_HELP_STRING([--enable-iostats],
|
2009-07-20 18:19:07 +00:00
|
|
|
[enable if you want support for per-task I/O statistics @<:@default=yes@:>@]),
|
|
|
|
[want_iostats="$enableval"], [want_iostats=yes])
|
2009-06-12 17:08:44 +00:00
|
|
|
|
|
|
|
if test x$want_iostats = xyes; then
|
|
|
|
if test x"$uname" != xLinux; then
|
|
|
|
AC_MSG_NOTICE([iostats not supported on $uname... disabling])
|
2009-11-15 00:43:30 +00:00
|
|
|
want_iostats="not supported on $uname"
|
2009-06-12 17:08:44 +00:00
|
|
|
else
|
|
|
|
AC_DEFINE(IOSTATS, 1, [Define if you want support for per-task I/O statistics])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2009-06-04 11:44:14 +00:00
|
|
|
dnl
|
|
|
|
dnl Math
|
|
|
|
dnl
|
|
|
|
|
2008-07-01 11:13:40 +00:00
|
|
|
AC_ARG_ENABLE([math],
|
|
|
|
AC_HELP_STRING([--disable-math], [disable if you do not want math support @<:@default=yes@:>@]),
|
|
|
|
[want_math="$enableval"], [want_math=yes])
|
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_MATH, test x$want_math = xyes)
|
|
|
|
if test x$want_math = xyes; then
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_LIBS="$conky_LIBS -lm"
|
2008-07-01 11:13:40 +00:00
|
|
|
AC_DEFINE(MATH, 1, [Define if you want math support])
|
|
|
|
fi
|
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
|
|
|
dnl MPD
|
|
|
|
dnl
|
|
|
|
|
2006-11-04 17:56:24 +00:00
|
|
|
AC_ARG_ENABLE([mpd],
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_HELP_STRING([--disable-mpd], [disable if you do not want MPD support @<:@default=yes@:>@]),
|
|
|
|
[want_mpd="$enableval"], [want_mpd=yes])
|
2005-07-20 00:30:40 +00:00
|
|
|
|
2005-09-02 14:17:31 +00:00
|
|
|
AM_CONDITIONAL(BUILD_MPD, test x$want_mpd = xyes)
|
|
|
|
if test x$want_mpd = xyes; then
|
2005-07-20 00:30:40 +00:00
|
|
|
AC_DEFINE(MPD, 1, [Define if you want MPD support])
|
|
|
|
fi
|
|
|
|
|
2008-09-24 06:59:45 +00:00
|
|
|
dnl
|
|
|
|
dnl MOC
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([moc],
|
|
|
|
AC_HELP_STRING([--disable-moc], [disable if you do not want MOC support @<:@default=yes@:>@]),
|
|
|
|
[want_moc="$enableval"], [want_moc=yes])
|
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_MOC, test x$want_moc = xyes)
|
|
|
|
if test x$want_moc = xyes; then
|
|
|
|
AC_DEFINE(MOC, 1, [Define if you want MOC support])
|
|
|
|
fi
|
|
|
|
|
2006-03-25 21:21:07 +00:00
|
|
|
dnl
|
|
|
|
dnl XMMS2
|
|
|
|
dnl
|
|
|
|
|
2006-11-04 17:56:24 +00:00
|
|
|
AC_ARG_ENABLE([xmms2],
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_HELP_STRING([--enable-xmms2], [enable if you want XMMS2 support @<:@default=no@:>@]),
|
|
|
|
[want_xmms2="$enableval"], [want_xmms2=no])
|
2006-03-25 21:21:07 +00:00
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_XMMS2, test x$want_xmms2 = xyes)
|
|
|
|
if test x$want_xmms2 = xyes; then
|
2006-12-23 06:01:16 +00:00
|
|
|
PKG_CHECK_MODULES([XMMS2], [xmms2-client])
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS $XMMS2_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $XMMS2_LIBS"
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_DEFINE(XMMS2, 1, [Define if you want XMMS2 support])
|
2006-03-25 21:21:07 +00:00
|
|
|
fi
|
|
|
|
|
2009-07-20 05:43:36 +00:00
|
|
|
dnl
|
|
|
|
dnl libcurl, see below for more (this has to be above the other uses of want_curl)
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([curl],
|
|
|
|
AC_HELP_STRING([--enable-curl], [enable if you want curl support @<:@default=no@:>@]),
|
|
|
|
[want_curl="$enableval"], [want_curl=no])
|
|
|
|
|
2008-06-28 20:14:04 +00:00
|
|
|
dnl
|
|
|
|
dnl EVE Skill Monitor
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([eve],
|
2008-12-15 21:40:24 +00:00
|
|
|
AC_HELP_STRING([--enable-eve], [Eve-Online skill monitor @<:@default=no@:>@]),
|
2008-06-28 20:14:04 +00:00
|
|
|
[want_eve="$enableval"], [want_eve=no])
|
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_EVE, test x$want_eve = xyes)
|
|
|
|
if test x$want_eve = xyes; then
|
2009-07-20 05:43:36 +00:00
|
|
|
want_curl=yes
|
|
|
|
want_libxml2=yes
|
2008-07-12 01:22:40 +00:00
|
|
|
AC_DEFINE(EVE, 1, [Define if you want Eve-Online Skill monitor support])
|
|
|
|
AC_DEFINE(EVEURL_TRAINING, "http://api.eve-online.com/char/SkillInTraining.xml.aspx", [Eve training URL])
|
|
|
|
AC_DEFINE(EVEURL_SKILLTREE, "http://api.eve-online.com/eve/Skilltree.xml.aspx", [Eve skilltree URL])
|
|
|
|
AC_DEFINE(MY_ENCODING, "ISO-8859-1", [Textencoding to use])
|
|
|
|
AC_DEFINE(EVE_OUTPUT_FORMAT, "%s %d in %s", [Eve output format])
|
2008-06-28 20:14:04 +00:00
|
|
|
fi
|
|
|
|
|
2007-05-06 12:17:13 +00:00
|
|
|
dnl
|
|
|
|
dnl RSS
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([rss],
|
2007-06-01 13:32:06 +00:00
|
|
|
AC_HELP_STRING([--enable-rss], [enable if you want rss support @<:@default=no@:>@]),
|
2007-05-06 12:17:13 +00:00
|
|
|
[want_rss="$enableval"], [want_rss=no])
|
|
|
|
#
|
|
|
|
AM_CONDITIONAL(BUILD_RSS, test x$want_rss = xyes)
|
|
|
|
if test x$want_rss = xyes; then
|
|
|
|
WANT_GLIB=yes
|
2009-07-20 05:43:36 +00:00
|
|
|
want_curl=yes
|
|
|
|
want_libxml2=yes
|
|
|
|
AC_DEFINE(RSS, 1, [Define if you want Curl support])
|
2007-05-06 12:17:13 +00:00
|
|
|
fi
|
2006-11-07 01:19:32 +00:00
|
|
|
|
2009-07-06 22:20:12 +00:00
|
|
|
dnl
|
|
|
|
dnl WEATHER
|
|
|
|
dnl
|
|
|
|
|
2009-07-20 19:17:44 +00:00
|
|
|
AC_ARG_ENABLE([weather-metar],
|
|
|
|
AC_HELP_STRING([--enable-weather-metar], [enable if you want METAR weather support @<:@default=no@:>@]),
|
|
|
|
[want_metar="$enableval"], [want_metar=no])
|
2009-07-18 19:29:27 +00:00
|
|
|
|
2009-07-20 19:17:44 +00:00
|
|
|
AC_ARG_ENABLE([weather-xoap],
|
|
|
|
AC_HELP_STRING([--enable-weather-xoap], [enable if you want XOAP weather support (also enables METAR) @<:@default=no@:>@]),
|
2009-07-18 19:29:27 +00:00
|
|
|
[want_xoap="$enableval"], [want_xoap=no])
|
2009-07-06 22:20:12 +00:00
|
|
|
#
|
2009-07-20 18:53:25 +00:00
|
|
|
if test x$want_xoap = xyes; then
|
2009-07-20 19:17:44 +00:00
|
|
|
want_metar=yes
|
2009-07-20 18:53:25 +00:00
|
|
|
fi
|
2009-07-20 19:17:44 +00:00
|
|
|
AM_CONDITIONAL(BUILD_WEATHER, test x$want_metar = xyes)
|
2009-07-19 21:31:11 +00:00
|
|
|
AM_CONDITIONAL(BUILD_XOAP, test x$want_xoap = xyes)
|
2009-07-20 19:17:44 +00:00
|
|
|
if test x$want_metar = xyes; then
|
2009-07-20 05:43:36 +00:00
|
|
|
if test x$want_xoap = xyes; then
|
|
|
|
want_libxml2=yes
|
2009-07-20 19:17:44 +00:00
|
|
|
AC_DEFINE(XOAP, 1, [Define if you want XOAP weather support])
|
2009-07-20 05:43:36 +00:00
|
|
|
AC_DEFINE(XOAP_FILE, "$HOME/.xoaprc", [User xoap keys file])
|
2009-07-18 19:29:27 +00:00
|
|
|
fi
|
2009-07-20 05:43:36 +00:00
|
|
|
want_curl=yes
|
2009-07-20 19:17:44 +00:00
|
|
|
AC_DEFINE(WEATHER, 1, [Define if you want METAR weather support])
|
2009-07-06 22:20:12 +00:00
|
|
|
fi
|
|
|
|
|
2009-07-08 08:09:06 +00:00
|
|
|
dnl
|
|
|
|
dnl X11
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([x11],
|
|
|
|
AC_HELP_STRING([--disable-x11], [disable if you do not want X11 support @<:@default=yes@:>@]),
|
|
|
|
[want_x11="$enableval"], [want_x11=yes])
|
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_X11, test x$want_x11 = xyes)
|
|
|
|
if test "x$want_x11" = "xyes"; then
|
|
|
|
if $PKG_CONFIG --exists x11; then
|
|
|
|
PKG_CHECK_MODULES([X11], [x11])
|
|
|
|
conky_CFLAGS="$conky_CFLAGS $X11_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $X11_LIBS"
|
|
|
|
else
|
|
|
|
dnl non-modular X11 installations
|
|
|
|
AC_PATH_X
|
|
|
|
AC_PATH_XTRA
|
|
|
|
conky_CFLAGS="$conky_CFLAGS $X_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $X_LIBS"
|
|
|
|
conky_LDFLAGS="$conky_LDFLAGS $conky_LIBS $X_PRE_LIBS"
|
|
|
|
if test "x$no_x" = "xyes"; then
|
|
|
|
AC_MSG_ERROR([Can't locate your X11 installation])
|
|
|
|
fi
|
|
|
|
AC_CHECK_LIB([X11], [XOpenDisplay], [], AC_MSG_ERROR([Could not find XOpenDisplay in -lX11]))
|
|
|
|
fi
|
|
|
|
AC_DEFINE(X11, 1, [Define if you want to use X11])
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl
|
|
|
|
dnl IMLIB2
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([imlib2],
|
2009-07-27 21:28:40 +00:00
|
|
|
AC_HELP_STRING([--enable-imlib2], [enable if you want Imlib2 support [[default=no]]]),
|
2009-07-08 08:09:06 +00:00
|
|
|
[want_imlib2="$enableval"], [want_imlib2=no])
|
2009-07-27 21:28:40 +00:00
|
|
|
AC_ARG_ENABLE([lua-imlib2],
|
|
|
|
AC_HELP_STRING([--enable-lua-imlib2], [enable if you want Lua Imlib2 bindings for Conky @<:@default=no@:>@]),
|
|
|
|
[want_lua_imlib2="$enableval"], [want_lua_imlib2=no])
|
|
|
|
|
|
|
|
# if lua-imlib2 is enabled, we must force imlib2
|
|
|
|
if test x$want_lua_imlib2 = xyes; then
|
|
|
|
want_imlib2=yes
|
|
|
|
fi
|
|
|
|
|
2009-07-08 08:09:06 +00:00
|
|
|
if test x$want_imlib2 = xyes; then
|
|
|
|
if test "x$want_x11" != "xyes"; then
|
|
|
|
dnl silently disable if no x11
|
|
|
|
want_imlib2=no
|
|
|
|
else
|
|
|
|
PKG_CHECK_MODULES([Imlib2], [imlib2])
|
|
|
|
conky_CFLAGS="$conky_CFLAGS $Imlib2_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $Imlib2_LIBS"
|
|
|
|
AC_DEFINE(IMLIB2, 1, [Define if you want Imlib2 support])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
AM_CONDITIONAL(BUILD_IMLIB2, test x$want_imlib2 = xyes)
|
|
|
|
|
2009-05-15 18:08:51 +00:00
|
|
|
dnl
|
|
|
|
dnl Lua
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([lua],
|
2009-06-02 19:44:45 +00:00
|
|
|
AC_HELP_STRING([--enable-lua], [enable if you want Lua scripting support @<:@default=yes@:>@]),
|
|
|
|
[want_lua="$enableval"], [want_lua=yes])
|
2009-07-08 08:09:06 +00:00
|
|
|
AC_ARG_ENABLE([lua-cairo],
|
2009-07-27 21:28:40 +00:00
|
|
|
AC_HELP_STRING([--enable-lua-cairo], [enable if you want Lua Cairo bindings for Conky @<:@default=no@:>@]),
|
2009-07-08 08:09:06 +00:00
|
|
|
[want_lua_cairo="$enableval"], [want_lua_cairo=no])
|
2009-07-20 23:16:48 +00:00
|
|
|
need_tolua=no
|
2009-07-27 21:28:40 +00:00
|
|
|
if test x$want_lua_cairo = xyes -o x$want_lua_imlib2 = xyes; then
|
|
|
|
need_tolua=yes
|
|
|
|
want_lua=yes
|
|
|
|
fi
|
2009-07-08 08:09:06 +00:00
|
|
|
|
2009-05-15 18:08:51 +00:00
|
|
|
AM_CONDITIONAL(BUILD_LUA, test x$want_lua = xyes)
|
|
|
|
if test x$want_lua = xyes; then
|
|
|
|
PKG_CHECK_MODULES(LUA, lua >= 5.1, [ ],[
|
2009-06-08 16:35:40 +00:00
|
|
|
PKG_CHECK_MODULES(LUA51, lua-5.1 >= 5.1, [ ],[
|
|
|
|
PKG_CHECK_MODULES(LUA51, lua5.1 >= 5.1)
|
|
|
|
])
|
2009-05-15 18:08:51 +00:00
|
|
|
])
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS $LUA_CFLAGS $LUA51_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $LUA_LIBS $LUA51_LIBS"
|
|
|
|
|
2009-07-27 21:28:40 +00:00
|
|
|
if test x$need_tolua = xyes; then
|
2009-07-27 20:07:36 +00:00
|
|
|
AC_DEFINE(LUA_EXTRAS, 1, [Define if you want Lua extras])
|
2009-07-08 08:09:06 +00:00
|
|
|
if test "x$want_x11" != "xyes"; then
|
|
|
|
dnl silently disable if no x11
|
|
|
|
want_lua_cairo=no
|
|
|
|
else
|
|
|
|
if test x$want_lua_cairo = xyes; then
|
|
|
|
PKG_CHECK_MODULES([cairo], cairo)
|
|
|
|
PKG_CHECK_MODULES([cairo_xlib], cairo-xlib)
|
2009-07-20 23:16:48 +00:00
|
|
|
AC_DEFINE(HAVE_LUA_CAIRO, 1, [Define if you want Lua Cairo bindings for Conky])
|
2009-07-08 08:09:06 +00:00
|
|
|
libcairo_CFLAGS="$libcairo_CFLAGS $cairo_CFLAGS $cairo_xlib_CFLAGS"
|
|
|
|
libcairo_LIBS="$libcairo_LIBS $cairo_LIBS $cairo_xlib_LIBS"
|
|
|
|
fi
|
|
|
|
if test x$want_imlib2 = xyes; then
|
2009-07-20 23:16:48 +00:00
|
|
|
AC_DEFINE(HAVE_LUA_IMLIB2, 1, [Define if you want Lua Imlib2 bindings for Conky])
|
|
|
|
fi
|
|
|
|
fi
|
2009-07-27 21:28:40 +00:00
|
|
|
AC_CHECK_PROGS(toluapp, [tolua++ tolua++5.1], no)
|
|
|
|
if test x$toluapp = xno; then
|
|
|
|
AC_MSG_ERROR([tolua++ or tolua++5.1 is required for Lua extras.])
|
|
|
|
else
|
|
|
|
AC_SEARCH_LIBS(tolua_error,
|
|
|
|
[tolua++ tolua++5.1],
|
2009-07-31 04:21:09 +00:00
|
|
|
[
|
|
|
|
AC_SUBST(tolua_LIBS, "${LIBS}")
|
|
|
|
AC_SUBST(tolua_CFLAGS, "${CFLAGS}")
|
|
|
|
],
|
2009-07-27 21:28:40 +00:00
|
|
|
AC_MSG_ERROR([tolua_error not found]),
|
2009-09-11 21:07:50 +00:00
|
|
|
[$LUA_LIBS $LUA51_LIBS])
|
2009-07-08 08:09:06 +00:00
|
|
|
fi
|
2009-07-27 21:28:40 +00:00
|
|
|
conky_LIBS="$conky_LIBS $tolua_LIBS"
|
2009-07-31 04:21:09 +00:00
|
|
|
tolua_CFLAGS="$tolua_CFLAGS $LUA_CFLAGS $LUA51_CFLAGS"
|
|
|
|
tolua_LIBS="$tolua_LIBS $LUA_LIBS $LUA51_LIBS"
|
2009-07-08 08:09:06 +00:00
|
|
|
fi
|
2009-05-15 18:08:51 +00:00
|
|
|
AC_DEFINE(HAVE_LUA, 1, [Define if you want Lua scripting support])
|
|
|
|
fi
|
2009-07-11 13:02:17 +00:00
|
|
|
AM_CONDITIONAL(BUILD_LUA_CAIRO, test x$want_lua_cairo = xyes)
|
|
|
|
AM_CONDITIONAL(BUILD_LUA_IMLIB2, test x$want_lua_imlib2 = xyes)
|
2009-05-15 18:08:51 +00:00
|
|
|
|
2007-08-07 12:51:08 +00:00
|
|
|
dnl
|
|
|
|
dnl Wireless extensions
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([wlan],
|
|
|
|
AC_HELP_STRING([--enable-wlan], [enable if you want wireless support @<:@default=no@:>@]),
|
|
|
|
[want_wlan="$enableval"], [want_wlan=no])
|
2008-06-03 20:46:15 +00:00
|
|
|
|
2007-08-08 02:12:46 +00:00
|
|
|
AM_CONDITIONAL(BUILD_WLAN, test x$want_wlan = xyes)
|
2007-08-07 12:51:08 +00:00
|
|
|
if test x$want_wlan = xyes; then
|
2007-08-10 20:30:06 +00:00
|
|
|
AC_CHECK_HEADERS([iwlib.h], [], AC_MSG_ERROR([iwlib.h header not found]))
|
2009-07-08 08:09:06 +00:00
|
|
|
AC_CHECK_LIB([iw], [iw_sockets_open], [conky_LIBS="$conky_LIBS -liw"], AC_MSG_ERROR([iw_sockets_open not found]))
|
2007-08-07 12:51:08 +00:00
|
|
|
AC_DEFINE(HAVE_IWLIB, 1, [Define if you want wireless support])
|
|
|
|
fi
|
|
|
|
|
2005-10-31 05:17:06 +00:00
|
|
|
dnl
|
|
|
|
dnl PORT_MONITORS
|
|
|
|
dnl
|
|
|
|
|
2006-11-04 17:56:24 +00:00
|
|
|
AC_ARG_ENABLE([portmon],
|
2008-02-20 20:30:45 +00:00
|
|
|
AC_HELP_STRING([--disable-portmon],
|
2006-12-23 06:01:16 +00:00
|
|
|
[disable if you do not want tcp (ip4) port monitoring @<:@default=yes@:>@]),
|
|
|
|
[want_portmon="$enableval"], [want_portmon=yes])
|
2005-10-31 05:17:06 +00:00
|
|
|
|
2007-06-13 20:06:59 +00:00
|
|
|
if test x"$want_portmon" = xyes; then
|
|
|
|
if test x"$uname" != xLinux; then
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_MSG_NOTICE([port monitors not supported on $uname... disabling])
|
2009-11-15 00:43:30 +00:00
|
|
|
want_portmon="not supported on $uname"
|
2006-12-23 06:01:16 +00:00
|
|
|
else
|
2008-07-07 20:09:37 +00:00
|
|
|
AC_CHECK_FUNCS([getnameinfo], [], AC_MSG_ERROR([getnameinfo function not found]))
|
2008-02-20 20:30:45 +00:00
|
|
|
AC_CHECK_HEADERS([netdb.h netinet/in.h netinet/tcp.h sys/socket.h arpa/inet.h], [],
|
2006-12-23 06:01:16 +00:00
|
|
|
[PORT_MONITORS_MISSING=yes])
|
2007-06-13 20:06:59 +00:00
|
|
|
if test x"$PORT_MONITORS_MISSING" = xyes; then
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_MSG_ERROR([missing a needed network header for port monitoring])
|
|
|
|
fi
|
2007-05-06 12:17:13 +00:00
|
|
|
WANT_GLIB=yes
|
|
|
|
AC_DEFINE(TCP_PORT_MONITOR, 1, [Define if you want tcp port monitoring support])
|
2006-12-23 06:01:16 +00:00
|
|
|
fi
|
|
|
|
fi
|
2007-06-13 20:06:59 +00:00
|
|
|
AM_CONDITIONAL(BUILD_PORT_MONITORS, test x"$want_portmon" = xyes)
|
2006-12-23 06:01:16 +00:00
|
|
|
|
|
|
|
|
2006-05-13 19:51:26 +00:00
|
|
|
dnl
|
|
|
|
dnl ICONV
|
|
|
|
dnl
|
|
|
|
|
2009-11-07 00:15:20 +00:00
|
|
|
m4_pattern_allow([AM_ICONV])
|
2006-05-13 20:14:26 +00:00
|
|
|
AM_ICONV
|
|
|
|
if test "$am_cv_func_iconv" != yes; then
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_MSG_WARN([Could not find libiconv])
|
2006-05-22 17:32:44 +00:00
|
|
|
else
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_LIBS="$conky_LIBS $LIBICONV"
|
2006-05-13 19:51:26 +00:00
|
|
|
fi
|
2009-10-03 18:01:33 +00:00
|
|
|
AM_CONDITIONAL(BUILD_ICONV, test "$am_cv_func_iconv" = yes)
|
2006-05-13 19:51:26 +00:00
|
|
|
|
2006-11-07 01:19:32 +00:00
|
|
|
dnl
|
|
|
|
dnl Xext Double-buffering Extension
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([double_buffer],
|
2008-02-20 20:30:45 +00:00
|
|
|
AC_HELP_STRING([--disable-double-buffer],
|
2006-12-23 06:01:16 +00:00
|
|
|
[disable for no Xdbe double-buffering support @<:@default=yes@:>@]),
|
|
|
|
[want_double_buffer="$enableval"], [want_double_buffer=yes])
|
2006-11-07 01:19:32 +00:00
|
|
|
|
|
|
|
if test "x$want_double_buffer" = "xyes"; then
|
|
|
|
if test "x$want_x11" != "xyes"; then
|
2006-12-23 06:01:16 +00:00
|
|
|
dnl silently disable if no x11
|
|
|
|
want_double_buffer=no
|
2008-02-20 20:30:45 +00:00
|
|
|
else
|
2006-12-23 06:01:16 +00:00
|
|
|
if $PKG_CONFIG --exists xext; then
|
2008-03-29 04:02:12 +00:00
|
|
|
PKG_CHECK_MODULES([Xext],[xext])
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS $Xext_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $Xext_LIBS"
|
2006-12-23 06:01:16 +00:00
|
|
|
else
|
|
|
|
dnl non-modular X11 installation
|
2009-07-08 08:09:06 +00:00
|
|
|
AC_CHECK_LIB([Xext], [XdbeQueryExtension], [conky_LIBS="$conky_LIBS -lXext"],
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_MSG_ERROR([Could not find XdbeQueryExtension in -lXext]))
|
|
|
|
fi
|
|
|
|
AC_DEFINE(HAVE_XDBE, 1, [Define for X11 double-buffering])
|
2006-11-07 20:17:08 +00:00
|
|
|
fi
|
2006-11-07 01:19:32 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
dnl
|
|
|
|
dnl Xdamage Extension
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([xdamage],
|
2008-02-20 20:30:45 +00:00
|
|
|
AC_HELP_STRING([--disable-xdamage],
|
2006-12-23 06:01:16 +00:00
|
|
|
[disable if you do not want Xdamage support @<:@default=yes@:>@]),
|
|
|
|
[want_xdamage="$enableval"], [want_xdamage=yes])
|
2006-11-07 01:19:32 +00:00
|
|
|
|
|
|
|
if test "x$want_xdamage" = "xyes"; then
|
|
|
|
if test "x$want_x11" != "xyes"; then
|
2006-12-23 06:01:16 +00:00
|
|
|
dnl silently disable if no x11
|
|
|
|
want_xdamage=no
|
2008-02-20 20:30:45 +00:00
|
|
|
else
|
2006-12-23 06:01:16 +00:00
|
|
|
if $PKG_CONFIG --exists xdamage; then
|
2008-03-29 04:02:12 +00:00
|
|
|
PKG_CHECK_MODULES([XDamage],[xdamage])
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS $XDamage_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $XDamage_LIBS"
|
2006-12-23 06:01:16 +00:00
|
|
|
else
|
|
|
|
dnl non-modular X11 installation
|
2009-07-20 22:04:53 +00:00
|
|
|
AC_CHECK_LIB([Xdamage], [XDamageQueryExtension], [conky_LIBS="$conky_LIBS -lXdamage"],
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_MSG_ERROR([Could not find XDamageQueryExtension in -lXdamage]))
|
|
|
|
fi
|
|
|
|
AC_DEFINE(HAVE_XDAMAGE, 1, [Define for X11 Xdamage extension])
|
2006-11-07 01:19:32 +00:00
|
|
|
fi
|
2005-07-20 00:30:40 +00:00
|
|
|
fi
|
|
|
|
|
2006-11-07 01:19:32 +00:00
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
|
|
|
dnl Xft
|
|
|
|
dnl
|
|
|
|
|
2006-11-07 01:19:32 +00:00
|
|
|
AC_ARG_ENABLE([xft],
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_HELP_STRING([--disable-xft], [disable if you do not want to use Xft @<:@default=yes@:>@]),
|
|
|
|
[want_xft="$enableval"], [want_xft=yes])
|
2006-11-07 01:19:32 +00:00
|
|
|
|
|
|
|
if test x$want_xft = "xyes"; then
|
|
|
|
if test "x$want_x11" != "xyes"; then
|
2006-12-23 06:01:16 +00:00
|
|
|
dnl silently disable if no x11
|
|
|
|
want_xft=no
|
2008-02-20 20:30:45 +00:00
|
|
|
else
|
2008-03-29 04:02:12 +00:00
|
|
|
PKG_CHECK_MODULES([Xft], [xft])
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS $Xft_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $Xft_LIBS"
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_DEFINE(XFT, 1, [Define for Xft support])
|
2006-11-07 01:19:32 +00:00
|
|
|
fi
|
2005-07-20 00:30:40 +00:00
|
|
|
fi
|
|
|
|
|
2009-02-18 05:10:15 +00:00
|
|
|
dnl
|
|
|
|
dnl NVIDIA libXNVCtrl support
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([nvidia],
|
|
|
|
AC_HELP_STRING([--enable-nvidia], [enable if you want nvidia support @<:@default=no@:>@]),
|
|
|
|
[want_nvidia="$enableval"], [want_nvidia=no])
|
|
|
|
if test x$want_nvidia = xyes; then
|
|
|
|
if test "x$want_x11" != "xyes"; then
|
|
|
|
# do nada
|
|
|
|
want_nvidia=no
|
|
|
|
else
|
|
|
|
AC_CHECK_HEADERS([NVCtrl/NVCtrl.h], [], AC_MSG_ERROR([NVCtrl/NVCtrl.h header not found]))
|
|
|
|
dnl AC_CHECK_LIB([XNVCtrl], [XNVCTRLQueryVersion], [] ,[AC_MSG_ERROR([grrr])] )
|
|
|
|
dnl AC_CHECK_LIB([XNVCtrl], [XNVCTRLCheckTargetData], [], [AC_MSG_ERROR([grr])])
|
|
|
|
dnl ## am I Stupid ??
|
|
|
|
dnl ## it won't find the lib for some reason!?
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_LIBS="$conky_LIBS -lXNVCtrl"
|
2009-02-18 05:10:15 +00:00
|
|
|
AC_DEFINE(NVIDIA, 1, [Define if you want nvidia support])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
AM_CONDITIONAL(BUILD_NVIDIA, test x$want_nvidia = xyes)
|
|
|
|
|
2007-05-06 12:17:13 +00:00
|
|
|
dnl
|
|
|
|
dnl GLIB
|
|
|
|
dnl
|
|
|
|
|
|
|
|
if test x$WANT_GLIB = xyes; then
|
2008-03-29 04:02:12 +00:00
|
|
|
PKG_CHECK_MODULES([GLib2], [glib-2.0])
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS $GLib2_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $GLib2_LIBS"
|
2007-05-06 12:17:13 +00:00
|
|
|
fi
|
2006-11-07 01:19:32 +00:00
|
|
|
|
2009-07-20 05:43:36 +00:00
|
|
|
dnl
|
|
|
|
dnl libcurl
|
|
|
|
dnl
|
|
|
|
|
|
|
|
if test x$want_curl = xyes; then
|
|
|
|
PKG_CHECK_MODULES([libcurl], libcurl)
|
|
|
|
conky_CFLAGS="$conky_CFLAGS $libcurl_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $libcurl_LIBS"
|
|
|
|
AC_DEFINE(HAVE_CURL, 1, [Define if you want Curl support])
|
|
|
|
fi
|
|
|
|
AM_CONDITIONAL(BUILD_CURL, test x$want_curl = xyes)
|
|
|
|
|
|
|
|
dnl
|
|
|
|
dnl libx
|
|
|
|
dnl
|
|
|
|
|
|
|
|
if test x$want_libxml2 = xyes; then
|
|
|
|
PKG_CHECK_MODULES([libxml2], libxml-2.0)
|
|
|
|
conky_CFLAGS="$conky_CFLAGS $libxml2_CFLAGS"
|
|
|
|
conky_LIBS="$conky_LIBS $libxml2_LIBS"
|
|
|
|
fi
|
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
|
|
|
dnl KVM
|
|
|
|
dnl
|
|
|
|
|
|
|
|
if test x$WANT_KVM = xyes; then
|
|
|
|
AC_CHECK_LIB(kvm, kvm_open,
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_LIBS="$conky_LIBS -lkvm",
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_MSG_ERROR([Could not find kvm_open in -lkvm.])
|
2005-07-20 00:30:40 +00:00
|
|
|
)
|
|
|
|
fi
|
|
|
|
|
2005-08-27 11:56:22 +00:00
|
|
|
dnl
|
|
|
|
dnl devstat
|
|
|
|
dnl
|
|
|
|
|
|
|
|
if test x$WANT_DEVSTAT = xyes; then
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_CHECK_LIB(devstat, devstat_getversion,
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_LIBS="$conky_LIBS -ldevstat",
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_MSG_ERROR([Cound not find devstat_getversion in -ldevstat.])
|
|
|
|
)
|
2005-08-27 11:56:22 +00:00
|
|
|
fi
|
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
2006-03-24 13:49:25 +00:00
|
|
|
dnl OSSLIB for NetBSD/OpenBSD
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
|
|
|
|
|
|
|
if test x$WANT_OSSLIB = xyes; then
|
|
|
|
AC_CHECK_LIB(ossaudio, _oss_ioctl,
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_LIBS="$conky_LIBS -lossaudio",
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_MSG_ERROR([Could not find oss_ioctl in -lossaudio.])
|
2005-07-20 00:30:40 +00:00
|
|
|
)
|
|
|
|
fi
|
|
|
|
|
2009-04-28 16:56:49 +00:00
|
|
|
dnl
|
|
|
|
dnl ALSA for Linux
|
|
|
|
dnl
|
|
|
|
AC_ARG_ENABLE([alsa],
|
|
|
|
AC_HELP_STRING([--disable-alsa], [disable if you do not
|
|
|
|
want ALSA support @<:@default=yes@:>@]),
|
|
|
|
[want_alsa="$enableval"], [want_alsa=yes])
|
|
|
|
|
|
|
|
if test x$want_alsa = xyes; then
|
|
|
|
AC_CHECK_HEADER(alsa/asoundlib.h,, want_alsa=no)
|
|
|
|
fi
|
|
|
|
if test x$want_alsa = xyes; then
|
2009-07-08 08:09:06 +00:00
|
|
|
AC_CHECK_LIB(asound, snd_pcm_open,conky_LIBS="$conky_LIBS -lasound", want_alsa=no)
|
2009-04-28 16:56:49 +00:00
|
|
|
fi
|
|
|
|
if test x$want_alsa = xyes; then
|
|
|
|
AC_DEFINE(MIXER_IS_ALSA, 1, [Define if the mixers use ALSA])
|
|
|
|
fi
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
2006-11-14 22:30:31 +00:00
|
|
|
dnl Some headers
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
|
|
|
|
2009-04-28 16:56:49 +00:00
|
|
|
AC_CHECK_HEADERS([signal.h unistd.h sys/utsname.h sys/stat.h linux/soundcard.h alsa/asoundlib.h dirent.h mcheck.h \
|
2009-09-20 01:11:38 +00:00
|
|
|
sys/statfs.h sys/param.h pthread.h semaphore.h assert.h errno.h time.h])
|
2005-08-30 12:27:48 +00:00
|
|
|
AC_CHECK_HEADERS([sys/mount.h], [], [],
|
2006-12-23 06:01:16 +00:00
|
|
|
[#ifdef HAVE_SYS_PARAM_H
|
|
|
|
#include <sys/param.h>
|
|
|
|
#endif
|
|
|
|
])
|
2009-05-19 23:14:34 +00:00
|
|
|
# check if we have inotify support
|
|
|
|
AC_CHECK_HEADERS([sys/inotify.h])
|
2007-02-25 23:35:53 +00:00
|
|
|
|
2008-07-12 01:22:40 +00:00
|
|
|
dnl
|
|
|
|
dnl Some defines
|
|
|
|
dnl
|
|
|
|
|
2008-07-12 10:25:05 +00:00
|
|
|
AC_DEFINE(DEFAULTNETDEV, "eth0", [Default networkdevice])
|
|
|
|
AC_DEFINE(CONFIG_FILE, "$HOME/.conkyrc", [Configfile of the user])
|
2008-12-15 21:40:24 +00:00
|
|
|
AC_DEFINE(MAX_SPECIALS_DEFAULT, 512, [Default maximum number of special things, e.g. fonts, offsets, aligns, etc.])
|
|
|
|
AC_DEFINE(MAX_USER_TEXT_DEFAULT, 16384, [Default maximum size of config TEXT buffer, i.e. below TEXT line.])
|
|
|
|
AC_DEFINE(DEFAULT_TEXT_BUFFER_SIZE, 256, [Default size used for temporary, static text buffers])
|
2009-11-07 22:46:46 +00:00
|
|
|
AC_DEFINE(MAX_NET_INTERFACES, 16, [Maximum number of network devices])
|
2008-07-12 01:22:40 +00:00
|
|
|
|
2006-11-14 22:30:31 +00:00
|
|
|
dnl
|
|
|
|
dnl Some functions
|
|
|
|
dnl
|
|
|
|
|
2008-04-10 22:45:45 +00:00
|
|
|
AC_CHECK_FUNCS([calloc malloc free popen sysinfo getloadavg memrchr strndup gethostbyname_r])
|
2009-07-10 22:43:09 +00:00
|
|
|
AC_SEARCH_LIBS(clock_gettime, [rt], conky_LIBS="$conky_LIBS -lrt"
|
2007-01-15 00:02:38 +00:00
|
|
|
[AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define if you have clock_gettime()])],
|
|
|
|
[AC_CHECK_FUNCS([gettimeofday], [], [AC_MSG_ERROR([gettimeofday() not available!])])], [])
|
|
|
|
|
2008-03-18 00:23:16 +00:00
|
|
|
dnl
|
|
|
|
dnl Structure checks
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_CHECK_MEMBER([struct statfs.f_fstypename],
|
|
|
|
[AC_DEFINE(HAVE_STRUCT_STATFS_F_FSTYPENAME, 1, [Define if struct statfs has the f_fstypename member])],
|
|
|
|
[],
|
|
|
|
[#include <sys/statfs.h>])
|
2006-11-14 22:30:31 +00:00
|
|
|
|
2006-12-29 23:14:31 +00:00
|
|
|
dnl
|
|
|
|
dnl Check for zlib
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_CHECK_HEADER(zlib.h,
|
|
|
|
[],
|
|
|
|
[AC_MSG_ERROR([zlib is missing; please install the headers first])])
|
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
|
2009-05-05 23:36:12 +00:00
|
|
|
dnl
|
|
|
|
dnl Check for OpenMP support
|
|
|
|
dnl
|
2009-07-18 19:46:36 +00:00
|
|
|
dnl removed for now due to problems with GCC's OpenMP implementation
|
|
|
|
|
|
|
|
dnl AC_ARG_ENABLE([openmp],
|
|
|
|
dnl AC_HELP_STRING([--enable-openmp], [enable if you want OpenMP support @<:@default=no@:>@]),
|
|
|
|
dnl [want_openmp="$enableval"], [want_openmp=no])
|
|
|
|
|
|
|
|
dnl if test x$want_openmp = xyes; then
|
|
|
|
dnl AX_OPENMP([
|
|
|
|
dnl gcc_version=`$CC -dumpversion`
|
|
|
|
dnl gcc_major=`echo $gcc_version | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
|
|
|
dnl gcc_minor=`echo $gcc_version | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
|
|
|
dnl dnl check that the gcc version is >=4.3, if we're using gcc
|
|
|
|
dnl if test ! "x$GCC" = "xyes" -o $gcc_major -ge 4 -a $gcc_minor -ge 3; then
|
|
|
|
dnl AC_DEFINE(HAVE_OPENMP,1,[Define if OpenMP is enabled])
|
|
|
|
dnl conky_CFLAGS="$conky_CFLAGS $OPENMP_CFLAGS"
|
|
|
|
dnl else
|
|
|
|
dnl want_openmp=no
|
|
|
|
dnl fi
|
|
|
|
dnl ])
|
|
|
|
dnl fi
|
2009-05-05 23:36:12 +00:00
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
2005-08-22 01:05:39 +00:00
|
|
|
dnl Check doc stuff
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
|
|
|
|
2005-08-24 20:47:29 +00:00
|
|
|
AC_CHECK_PROGS(db2x_xsltproc_cmd, db2x_xsltproc)
|
|
|
|
AC_CHECK_PROGS(db2x_manxml_cmd, db2x_manxml)
|
|
|
|
AC_CHECK_PROGS(xsltproc_cmd, xsltproc)
|
|
|
|
if test x$db2x_xsltproc_cmd = "x" -o x$xsltproc_cmd = "x"; then
|
2006-12-23 06:01:16 +00:00
|
|
|
AM_CONDITIONAL(HAVE_DOCSTUFF, false)
|
2005-08-24 20:47:29 +00:00
|
|
|
else
|
2006-12-23 06:01:16 +00:00
|
|
|
AM_CONDITIONAL(HAVE_DOCSTUFF, true)
|
2005-08-24 20:47:29 +00:00
|
|
|
fi
|
2005-08-22 01:05:39 +00:00
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
dnl
|
|
|
|
dnl kstat in Solaris
|
|
|
|
dnl
|
|
|
|
|
|
|
|
if test x$WANT_KSTAT = xyes; then
|
|
|
|
dah=no
|
|
|
|
AC_CHECK_LIB([kstat], [kstat_open], [dah=yes], [])
|
|
|
|
|
|
|
|
if test x$dah = xyes; then
|
|
|
|
AC_DEFINE(HAVE_KSTAT, 1, [Define if you have kstat (Solaris)])
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_LDFLAGS="$conky_LDFLAGS -lkstat"
|
2005-07-20 00:30:40 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2005-07-24 23:08:51 +00:00
|
|
|
AC_DEFUN([AM_LANGINFO_CODESET],
|
|
|
|
[
|
|
|
|
AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
|
|
|
|
[AC_TRY_LINK([#include <langinfo.h>],
|
|
|
|
[char* cs = nl_langinfo(CODESET);],
|
|
|
|
am_cv_langinfo_codeset=yes,
|
|
|
|
am_cv_langinfo_codeset=no)
|
|
|
|
])
|
|
|
|
if test $am_cv_langinfo_codeset = yes; then
|
|
|
|
AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
|
|
|
|
[Define if you have <langinfo.h> and nl_langinfo(CODESET).])
|
|
|
|
fi
|
|
|
|
])
|
|
|
|
|
2005-07-20 00:30:40 +00:00
|
|
|
|
2006-12-23 06:01:16 +00:00
|
|
|
dnl ************************
|
|
|
|
dnl * Linker optimizations *
|
|
|
|
dnl ************************
|
|
|
|
AC_MSG_CHECKING([if $LD accepts -O1])
|
|
|
|
case `$LD -O1 -v 2>&1 </dev/null` in
|
|
|
|
*GNU* | *BSD*)
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_LDFLAGS="$conky_LDFLAGS -Wl,-O1"
|
2006-12-23 06:01:16 +00:00
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
AC_MSG_RESULT([no])
|
|
|
|
;;
|
|
|
|
esac
|
2005-07-20 00:30:40 +00:00
|
|
|
|
2008-07-09 21:49:13 +00:00
|
|
|
dnl Solve multiple definitions (only necessary when gnulib is used)
|
2009-07-08 08:09:06 +00:00
|
|
|
dnl conky_LDFLAGS="$conky_LDFLAGS -Xlinker -zmuldefs"
|
2005-07-20 00:30:40 +00:00
|
|
|
|
|
|
|
dnl
|
|
|
|
dnl Da.
|
|
|
|
dnl
|
|
|
|
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS -Wall -W"
|
2005-07-20 00:30:40 +00:00
|
|
|
|
2008-03-29 04:09:09 +00:00
|
|
|
dnl
|
|
|
|
dnl debug
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([debug],
|
|
|
|
AC_HELP_STRING([--enable-debug], [compile with debug symbols @<:@default=no@:>@]),
|
|
|
|
[want_debug="$enableval"], [want_debug=no])
|
|
|
|
|
|
|
|
if test "x$want_debug" = "xyes" -a $ac_cv_c_compiler_gnu != no; then
|
2009-11-08 19:29:43 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS -g3 -O0"
|
2008-12-15 21:40:24 +00:00
|
|
|
AC_DEFINE([DEBUG], 1, [Define for debugging])
|
2008-03-29 04:09:09 +00:00
|
|
|
fi
|
|
|
|
|
2008-04-01 04:11:14 +00:00
|
|
|
dnl
|
|
|
|
dnl testing
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([testing],
|
|
|
|
AC_HELP_STRING([--enable-testing], [use strict compiler flags for testing @<:@default=no@:>@]),
|
|
|
|
[want_testing="$enableval"], [want_testing=no])
|
|
|
|
|
|
|
|
if test "x$want_testing" = "xyes" -a $ac_cv_c_compiler_gnu != no; then
|
|
|
|
if test "x$want_debug" = "xyes"; then
|
2009-07-08 08:09:06 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS -Wextra -Wunused -Wdeclaration-after-statement -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Winline -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -std=c99 -pedantic -Werror"
|
2008-04-01 04:11:14 +00:00
|
|
|
AC_DEFINE([TESTING], [], [Define for testing (enables strict compiler flags)])
|
|
|
|
else
|
2009-11-08 19:29:43 +00:00
|
|
|
conky_CFLAGS="$conky_CFLAGS -O0 -g3 -Wextra -Wunused -Wdeclaration-after-statement -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Winline -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -std=c99 -pedantic -Werror"
|
2008-04-01 04:11:14 +00:00
|
|
|
AC_DEFINE([TESTING], [], [Define for testing (enables strict compiler flags)])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2009-09-20 17:18:17 +00:00
|
|
|
dnl
|
|
|
|
dnl profiling
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([profiling],
|
|
|
|
AC_HELP_STRING([--enable-profiling], [specify compiler flags for use with gprof and gcov @<:@default=no@:>@]),
|
|
|
|
[want_profiling="$enableval"], [want_profiling=no])
|
|
|
|
|
|
|
|
if test "x$want_profiling" = "xyes" -a $ac_cv_c_compiler_gnu != no; then
|
|
|
|
if test "x$want_debug" = "xyes"; then
|
|
|
|
conky_CFLAGS="$conky_CFLAGS -pg -fprofile-arcs -ftest-coverage"
|
|
|
|
else
|
|
|
|
conky_CFLAGS="$conky_CFLAGS -g3 -pg -fprofile-arcs -ftest-coverage"
|
|
|
|
fi
|
|
|
|
AC_DEFINE([PROFILING], [], [Define for profiling (gprof and gcov) support])
|
|
|
|
fi
|
|
|
|
|
2009-07-08 08:09:06 +00:00
|
|
|
AC_SUBST(conky_CFLAGS)
|
|
|
|
AC_SUBST(conky_LIBS)
|
2005-07-20 00:30:40 +00:00
|
|
|
AC_SUBST(X11_LIBS)
|
|
|
|
|
2005-08-21 23:09:36 +00:00
|
|
|
AC_OUTPUT
|
2006-08-12 05:19:40 +00:00
|
|
|
|
|
|
|
dnl
|
|
|
|
dnl Print summary
|
|
|
|
dnl
|
|
|
|
cat << EOF
|
|
|
|
|
|
|
|
$PACKAGE $VERSION configured successfully:
|
2006-08-12 06:15:52 +00:00
|
|
|
|
2006-12-23 06:01:16 +00:00
|
|
|
Installing into: $prefix
|
2007-10-23 21:52:11 +00:00
|
|
|
System config dir: $sysconfdir
|
2009-07-08 08:09:06 +00:00
|
|
|
C compiler flags: $conky_CFLAGS
|
|
|
|
Libraries: $conky_LIBS
|
|
|
|
Linker flags: $conky_LDFLAGS
|
2006-08-12 06:15:52 +00:00
|
|
|
|
2008-04-01 05:05:24 +00:00
|
|
|
* X11:
|
|
|
|
X11 support: $want_x11
|
|
|
|
XDamage support: $want_xdamage
|
|
|
|
XDBE support: $want_double_buffer
|
|
|
|
Xft support: $want_xft
|
|
|
|
|
|
|
|
* Music detection:
|
|
|
|
Audacious: $want_audacious
|
|
|
|
BMPx: $want_bmpx
|
|
|
|
MPD: $want_mpd
|
2008-09-24 06:59:45 +00:00
|
|
|
MOC: $want_moc
|
2008-04-01 05:05:24 +00:00
|
|
|
XMMS2: $want_xmms2
|
|
|
|
|
|
|
|
* General:
|
2009-09-08 18:49:40 +00:00
|
|
|
dnl OpenMP: $want_openmp
|
2008-07-01 11:13:40 +00:00
|
|
|
math: $want_math
|
2006-12-23 06:01:16 +00:00
|
|
|
hddtemp: $want_hddtemp
|
2008-02-20 20:30:45 +00:00
|
|
|
portmon: $want_portmon
|
2008-04-01 05:05:24 +00:00
|
|
|
RSS: $want_rss
|
2009-07-20 05:43:36 +00:00
|
|
|
Curl: $want_curl
|
|
|
|
Weather
|
2009-07-20 19:17:44 +00:00
|
|
|
METAR: $want_metar
|
2009-07-20 05:43:36 +00:00
|
|
|
XOAP: $want_xoap
|
2007-08-07 12:51:08 +00:00
|
|
|
wireless: $want_wlan
|
2009-01-03 23:00:52 +00:00
|
|
|
IBM: $want_ibm
|
2008-06-03 20:46:15 +00:00
|
|
|
nvidia: $want_nvidia
|
2008-06-28 20:14:04 +00:00
|
|
|
eve-online: $want_eve
|
2008-12-14 03:21:46 +00:00
|
|
|
config-output: $want_config_output
|
2009-06-06 08:32:51 +00:00
|
|
|
Imlib2: $want_imlib2
|
2009-04-28 16:56:49 +00:00
|
|
|
ALSA mixer: $want_alsa
|
2009-05-10 18:58:06 +00:00
|
|
|
apcupsd: $want_apcupsd
|
2009-06-12 17:08:44 +00:00
|
|
|
I/O stats: $want_iostats
|
2009-07-08 08:09:06 +00:00
|
|
|
|
|
|
|
* Lua ($want_lua) bindings:
|
|
|
|
Cairo: $want_lua_cairo
|
|
|
|
Imlib2: $want_lua_imlib2
|
|
|
|
|
2006-08-12 05:19:40 +00:00
|
|
|
EOF
|