diff options
author | Wouter Bolsterlee <wbolster@cvs.gnome.org> | 2006-11-11 05:39:17 +0800 |
---|---|---|
committer | Wouter Bolsterlee <wbolster@src.gnome.org> | 2006-11-11 05:39:17 +0800 |
commit | a56baf39ca79fd012b1e592e80352324219791a5 (patch) | |
tree | d17cd5d33217949b966ca4a7a0187e3ca94cf387 /autogen.sh | |
parent | c78a3dd23bedb9826731708ffea75c19cabfcb47 (diff) | |
download | gsoc2013-epiphany-a56baf39ca79fd012b1e592e80352324219791a5.tar gsoc2013-epiphany-a56baf39ca79fd012b1e592e80352324219791a5.tar.gz gsoc2013-epiphany-a56baf39ca79fd012b1e592e80352324219791a5.tar.bz2 gsoc2013-epiphany-a56baf39ca79fd012b1e592e80352324219791a5.tar.lz gsoc2013-epiphany-a56baf39ca79fd012b1e592e80352324219791a5.tar.xz gsoc2013-epiphany-a56baf39ca79fd012b1e592e80352324219791a5.tar.zst gsoc2013-epiphany-a56baf39ca79fd012b1e592e80352324219791a5.zip |
Add useful warning when gnome-autogen.sh couldn't be found.
2006-11-10 Wouter Bolsterlee <wbolster@cvs.gnome.org>
* autogen.sh: Add useful warning when gnome-autogen.sh
couldn't be found.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh index 52161ccba..0f5706350 100755 --- a/autogen.sh +++ b/autogen.sh @@ -5,16 +5,19 @@ srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="epiphany" +REQUIRED_AUTOMAKE_VERSION=1.9 -(test -f $srcdir/src/ephy-window.c) || { +(test -f $srcdir/configure.ac \ + && test -f $srcdir/src/ephy-window.c) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo " top-level $PKG_NAME directory" exit 1 } which gnome-autogen.sh || { - echo "You need to install gnome-common from the GNOME CVS" + echo "You need to install gnome-common from GNOME CVS and make" + echo "sure the gnome-autogen.sh script is in your \$PATH." exit 1 } -REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh +USE_GNOME2_MACROS=1 . gnome-autogen.sh |