~dobey/libubuntuone/navigation-leak

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Rodrigo Moya
  • Date: 2009-12-21 16:45:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: rodrigo.moya@canonical.com-20091221164531-v0lc1c9xgv3v7rhm
Added generation of .defs files and code for Python module

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
DISTCHECK_CONFIGURE_FLAGS="--enable-gtk-doc"
43
43
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)
44
44
 
 
45
dnl Checks for Python bindings
 
46
AC_MSG_CHECKING([for codegen])
 
47
PYTHON_CODEGENDIR=`$PKG_CONFIG --variable codegendir pygobject-2.0`
 
48
if test -z $PYTHON_CODEGENDIR; then
 
49
  AC_MSG_ERROR([unable to find PyGObject codegen])
 
50
else
 
51
  AC_MSG_RESULT($PYTHON_CODEGENDIR)
 
52
fi
 
53
AC_SUBST(PYTHON_CODEGENDIR)
 
54
 
 
55
PKG_CHECK_MODULES(PYGTK, pygtk-2.0)
 
56
AC_SUBST(PYGTK_CFLAGS)
 
57
AC_SUBST(PYGTK_LIBS)
 
58
 
45
59
AC_OUTPUT([
46
60
Makefile
47
61
libubuntuone.pc
48
62
libubuntuone/Makefile
49
63
tests/Makefile
 
64
bindings/Makefile
 
65
bindings/python/Makefile
50
66
])
51
67
 
52
68
AC_MSG_NOTICE([