build: Remove PKG_NAME from autogen.sh

This gets rid of this warning:
***Warning*** PKG_NAME is deprecated, you may remove it from autogen.sh

https://bugzilla.gnome.org/show_bug.cgi?id=756762
This commit is contained in:
Christophe Fergeau 2015-10-17 21:26:42 +02:00
parent 0fb4b8fcd5
commit 2a76314b18

View file

@ -4,14 +4,13 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="control-center"
ACLOCAL_FLAGS="-I libgd $ACLOCAL_FLAGS"
(test -f $srcdir/configure.ac \
&& test -f $srcdir/autogen.sh \
&& test -d $srcdir/shell) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
echo " top-level gnome-control-center directory"
exit 1
}