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:
parent
0fb4b8fcd5
commit
2a76314b18
1 changed files with 1 additions and 2 deletions
|
@ -4,14 +4,13 @@
|
||||||
srcdir=`dirname $0`
|
srcdir=`dirname $0`
|
||||||
test -z "$srcdir" && srcdir=.
|
test -z "$srcdir" && srcdir=.
|
||||||
|
|
||||||
PKG_NAME="control-center"
|
|
||||||
ACLOCAL_FLAGS="-I libgd $ACLOCAL_FLAGS"
|
ACLOCAL_FLAGS="-I libgd $ACLOCAL_FLAGS"
|
||||||
|
|
||||||
(test -f $srcdir/configure.ac \
|
(test -f $srcdir/configure.ac \
|
||||||
&& test -f $srcdir/autogen.sh \
|
&& test -f $srcdir/autogen.sh \
|
||||||
&& test -d $srcdir/shell) || {
|
&& test -d $srcdir/shell) || {
|
||||||
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
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
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue