1 AC_INIT(jackfield, 0.1, [http://www.kryogenix.org/code/jackfield] )
2 AC_CONFIG_SRCDIR(jackfield/__init__.py)
3 AC_CONFIG_HEADERS(config.h)
4 AC_CONFIG_MACRO_DIR([m4])
10 AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4")
12 dnl ***************************************************************************
13 dnl * jackfield-specific variable(s).
14 dnl ***************************************************************************
15 JACKFIELD_WEB="http://kryogenix.org/code/jackfield"
16 AC_SUBST(JACKFIELD_WEB)
18 JACKFIELD_USER_DIR="~/.jackfield"
19 AC_SUBST(JACKFIELD_USER_DIR)
21 JACKFIELD_WIDGET_DIR="~/.jackfield/widgets"
22 AC_SUBST(JACKFIELD_WIDGET_DIR)
24 dnl ****************************************************************************
25 dnl * Translation & i18n
26 dnl ****************************************************************************
28 dnl GETTEXT_PACKAGE="jackfield"
29 dnl IT_PROG_INTLTOOL([0.35.0])
31 dnl AC_SUBST(GETTEXT_PACKAGE)
32 dnl AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package])
33 dnl AM_GLIB_GNU_GETTEXT
35 dnl ****************************************************************************
37 dnl ****************************************************************************
40 dnl ****************************************************************************
42 dnl ****************************************************************************
43 AC_PATH_PROG(GCONFTOOL, gconftool-2)
46 dnl ****************************************************************************
48 dnl ****************************************************************************
50 AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
52 dnl ****************************************************************************
53 dnl * Write the values of various paths in defs.py
54 dnl ****************************************************************************
58 AS_AC_EXPAND(BINDIR, $bindir)
61 AS_AC_EXPAND(DATADIR, $datarootdir)
64 AS_AC_EXPAND(LIBDIR, $libdir)
67 AS_AC_EXPAND(PYTHONDIR, $pythondir)
70 dnl ****************************************************************************
72 dnl ****************************************************************************
73 PKG_CHECK_MODULES(JACKFIELD,
77 gnome-python-2.0 >= 2.8
81 AC_MSG_CHECKING([for python-dbus module])
82 if AC_RUN_LOG([DISPLAY= $PYTHON -c '
85 except ImportError, e:
86 if str(e).find("dbus") >= 0:
94 AC_MSG_ERROR([DBus Python module is required to build Jackfield])
98 AC_MSG_CHECKING([for Xlib python module])
99 if AC_RUN_LOG([DISPLAY= $PYTHON -c '
102 except ImportError, e:
103 if str(e).find("Xlib") >= 0:
111 AC_MSG_ERROR([Xlib Python module is required to build jackfield])
114 dnl ****************************************************************************
115 dnl * --------------------------------------------------------------------------
116 dnl ****************************************************************************
121 data/widgets/Makefile
122 data/widgets/dashboard/Makefile
123 data/widgets/dashboard/button/Makefile
124 data/widgets/dashboard/ibutton/Makefile
125 data/widgets/opera/Makefile
126 data/widgets/yahoo/Makefile
129 jackfield/WidgetEngines/Makefile
130 jackfield/WidgetEngines/DashboardWidget/Makefile
131 jackfield/WidgetEngines/OperaWidget/Makefile
132 jackfield/WidgetEngines/YahooWidget30/Makefile
136 echo $PACKAGE v$VERSION
139 echo Prefix............... : $prefix
141 echo "Type 'make' to build"