]> Dogcows Code - chaz/tint2/blobdiff - configure.ac
Update tint2conf part.
[chaz/tint2] / configure.ac
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
 #
 
This page took 0.022496 seconds and 4 git commands to generate.