2010-06-27 14:59:16 +00:00
|
|
|
AC_DEFUN([SPARKLESHARE_NAUTILUS_PYTHON],
|
|
|
|
[
|
|
|
|
PKG_CHECK_MODULES(NAUTILUS_PYTHON, nautilus-python, have_nautilus_python=yes, have_nautilus_python=no)
|
|
|
|
if test "x$have_nautilus_python" = "xyes"; then
|
2010-08-02 13:26:55 +00:00
|
|
|
NAUTILUS_PREFIX="`$PKG_CONFIG --variable=prefix nautilus-python`"
|
|
|
|
AC_SUBST(NAUTILUS_PREFIX)
|
2010-06-27 14:59:16 +00:00
|
|
|
NAUTILUS_PYTHON_DIR="`$PKG_CONFIG --variable=pythondir nautilus-python`"
|
|
|
|
AC_SUBST(NAUTILUS_PYTHON_DIR)
|
|
|
|
AM_CONDITIONAL(NAUTILUS_EXTENSION_ENABLED, true)
|
|
|
|
else
|
|
|
|
AM_CONDITIONAL(NAUTILUS_EXTENSION_ENABLED, false)
|
|
|
|
fi
|
|
|
|
])
|
|
|
|
|