# even if we don't need them.
# Sorry if that might be confusing %-)
+ AC_CHECK_FUNCS([strndup strrchr strstr])
# Save LIBS value and clear the variable, AC_CHECK_LIB will append all libs to LIBS on success.
LIBS_SAVED=$LIBS
LIBS=
TINT2CONF_CFLAGS="$(${PKG_CONFIG} --cflags gtk+-x11-2.0 glib-2.0 gobject-2.0 gthread-2.0)"
AC_SUBST(TINT2CONF_CFLAGS)
AC_SUBST(TINT2CONF_LIBS)
+
+ # Python stuff
+ AC_PATH_PROG([__PYTHON], [python])
+ if test -z "${__PYTHON}";
+ then
+ AC_MSG_ERROR([tint2conf requires python to be installed])
+ fi
+
+ PKG_CHECK_EXISTS([pygtk-2.0],,[AC_MSG_ERROR([tint2conf requires >=pygtk-2.0])])
fi
#