Update tint2conf part.

git-svn-id: http://tint2.googlecode.com/svn/trunk@257 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Spooky85@gmail.com 2009-11-05 16:10:25 +00:00
parent b3be753bd4
commit ac61a62958
2 changed files with 11 additions and 0 deletions

View file

@ -109,6 +109,7 @@ then
# 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=
@ -130,6 +131,15 @@ then
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
#

View file

@ -1,5 +1,6 @@
if ENABLE_TINT2CONF
bin_PROGRAMS = tint2conf
dist_bin_SCRIPTS = tintwizard.py
tint2conf_SOURCES = main.c ../util/common.c
INCLUDES = -I../util