build: Re-add srcdir != builddir support

Now that gtk-doc is fixed.

See https://bugzilla.gnome.org/show_bug.cgi?id=771359
This commit is contained in:
Bastien Nocera
2018-05-04 16:08:06 +02:00
parent 99e42d3aff
commit e608d2c70f

View File

@@ -5,12 +5,6 @@ test -n "$srcdir" || srcdir=.
olddir=$(pwd)
if [[ ! "$olddir" -ef $srcdir ]]; then
echo "*** ERROR: iio-sensor-proxy doesn't currently support builddir != srcdir. ***"
echo "*** See https://bugzilla.gnome.org/show_bug.cgi?id=771359 for details. ***"
exit 1
fi
cd $srcdir
(test -f configure.ac) || {