configure.in checks for pygtk
svn: r1428
This commit is contained in:
parent
063a2a7362
commit
d41622226c
4
gramps2/configure
vendored
4
gramps2/configure
vendored
@ -3940,7 +3940,8 @@ fi
|
||||
GNOMEINC=`pkg-config --cflags gnome-vfs-module-2.0`
|
||||
GNOMELIB=`pkg-config --libs gnome-vfs-module-2.0`
|
||||
|
||||
pygtk_require="try:
|
||||
pygtk_require="
|
||||
try:
|
||||
import pygtk
|
||||
pygtk.require('2.0')
|
||||
except ImportError:
|
||||
@ -3981,6 +3982,7 @@ echo "${ECHO_T}ok" >&6
|
||||
echo "$as_me:$LINENO: checking Python bindings for GNOME" >&5
|
||||
echo $ECHO_N "checking Python bindings for GNOME... $ECHO_C" >&6
|
||||
cat > conftest.py <<EOF
|
||||
$pygtk_require
|
||||
try:
|
||||
import gnome, gnome.ui
|
||||
f = open("conftest.out", "w")
|
||||
|
@ -72,7 +72,8 @@ AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, "YES", "NO")
|
||||
GNOMEINC=`pkg-config --cflags gnome-vfs-module-2.0`
|
||||
GNOMELIB=`pkg-config --libs gnome-vfs-module-2.0`
|
||||
|
||||
pygtk_require="try:
|
||||
pygtk_require="
|
||||
try:
|
||||
import pygtk
|
||||
pygtk.require('2.0')
|
||||
except ImportError:
|
||||
@ -107,6 +108,7 @@ AC_MSG_RESULT(ok)
|
||||
|
||||
AC_MSG_CHECKING(Python bindings for GNOME)
|
||||
cat > conftest.py <<EOF
|
||||
$pygtk_require
|
||||
try:
|
||||
import gnome, gnome.ui
|
||||
f = open("conftest.out", "w")
|
||||
|
Loading…
Reference in New Issue
Block a user