1 AC_INIT(straw, 0.27.90, [http://bugzilla.gnome.org/simple-bug-guide.cgi?product=straw] )
2 AC_CONFIG_SRCDIR(straw/__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 * Some straw-specific variable(s)
14 dnl ***************************************************************************
15 STRAW_HOME="http://www.gnome.org/projects/straw"
18 dnl ****************************************************************************
19 dnl * Translation & i18n
20 dnl ****************************************************************************
22 GETTEXT_PACKAGE="straw"
23 IT_PROG_INTLTOOL([0.35.0])
25 AC_SUBST(GETTEXT_PACKAGE)
26 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package])
29 dnl ****************************************************************************
31 dnl ****************************************************************************
34 dnl ****************************************************************************
36 dnl ****************************************************************************
37 AC_PATH_PROG(GCONFTOOL, gconftool-2)
40 dnl ****************************************************************************
42 dnl ****************************************************************************
44 AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
46 dnl ****************************************************************************
47 dnl * Write the values of various paths in defs.py
48 dnl ****************************************************************************
52 AS_AC_EXPAND(BINDIR, $bindir)
55 AS_AC_EXPAND(DATADIR, $datarootdir)
58 AS_AC_EXPAND(LIBDIR, $libdir)
61 AS_AC_EXPAND(PYTHONDIR, $pythondir)
64 dnl ****************************************************************************
66 dnl ****************************************************************************
67 PKG_CHECK_MODULES(STRAW,
71 gnome-python-2.0 >= 2.8
74 AC_MSG_CHECKING([for python-dbus module])
75 if AC_RUN_LOG([DISPLAY= $PYTHON -c '
78 except ImportError, e:
79 if str(e).find("dbus") >= 0:
87 AC_MSG_ERROR([DBus Python module is required to build Straw])
91 dnl ****************************************************************************
92 dnl * --------------------------------------------------------------------------
93 dnl ****************************************************************************
103 straw/httplib2/Makefile
105 straw/storage/Makefile
109 echo $PACKAGE v$VERSION
112 echo Prefix............... : $prefix
114 echo "Type 'make' to build"