Skip to content

Commit

Permalink
adding python-vte verification (closes #9)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarete committed Jun 3, 2008
1 parent 123dc06 commit e6823bd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ AS_AC_EXPAND(LIBDIR, ${libdir})
AS_AC_EXPAND(BINDIR, ${bindir})
AS_AC_EXPAND(DATADIR, ${datarootdir})

dnl Checking python-vte
AC_MSG_CHECKING([for the python-vte package])
ac_pvte_result=`$PYTHON -c "import vte" 2>&1`
if test -z "$ac_pvte_result"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([cannot import Python module "vte".
Please check if you have python-vte installed. The error was:
$ac_pvte_result])
fi

dnl gconf
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
if test x"$GCONFTOOL" = xno; then
Expand Down

0 comments on commit e6823bd

Please sign in to comment.