summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-02-23 14:40:37 +0100
committerEdward Hervey <bilboed@bilboed.com>2018-02-23 14:42:23 +0100
commit2818bf30123333ef1fe46f4f15c8ed3201399f9a (patch)
tree37ac586d4e48e65a3eade7c56444de4acec6e29e
parent146b8cca434e4d9a8ccada7f58edc63250ce9ae3 (diff)
configure.ac: Don't use runtime location of overrides by default
If someone wants to put the overrides in a non-standard location, they can use the --with-pygi-overrides-dir option. The default is to put them in ${pyexecdir}/gi/overrides Fixes make distcheck https://bugzilla.gnome.org/show_bug.cgi?id=793756
-rw-r--r--configure.ac4
1 files changed, 0 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 710a06d..9c7303b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,11 +101,7 @@ AC_ARG_WITH([pygi_overrides_dir],
AC_MSG_CHECKING(for pygobject overrides directory)
if test "x$with_pygi_overrides_dir" = "x" ; then
- overrides_dir="`$PYTHON -c 'import gi; print(gi._overridesdir)' 2>/dev/null`"
- # fallback if the previous failed
- if test "x$overrides_dir" = "x" ; then
overrides_dir="${pyexecdir}/gi/overrides"
- fi
else
overrides_dir="$with_pygi_overrides_dir"
fi