]> Dogcows Code - chaz/tint2/commitdiff
Update tint2conf part.
authorChristian Ruppert <Spooky85@gmail.com>
Thu, 5 Nov 2009 16:10:25 +0000 (16:10 +0000)
committerChristian Ruppert <Spooky85@gmail.com>
Thu, 5 Nov 2009 16:10:25 +0000 (16:10 +0000)
configure.ac
src/tint2conf/Makefile.am

index 3c118fc50cdfccabfc9012cb638d13778503c800..90fb749b139836bcaaf86c6bf05d8d8181f80718 100644 (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
 #
 
index baf4a59204f81e958e04b8a91fe57948a4c99b18..f921d7c1594740d843b8e41670648945f139849d 100644 (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
 
This page took 0.024171 seconds and 4 git commands to generate.