summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2007-12-05 06:34:18 +0000
committerRyan Lortie <ryanl@src.gnome.org>2007-12-05 06:34:18 +0000
commit330c7a68512ea5a8a860242537bacda05a00a78b (patch)
treef06fa0c2ad0cef941698a443bf19079c7a6f4688 /autogen.sh
parent4c78fb8faa88e94d6d348770e05467223832206e (diff)
downloadglib-330c7a68512ea5a8a860242537bacda05a00a78b.tar.gz
for the benefit of git users, checkout build/ if it is missing but after
2007-12-05 Ryan Lortie <desrt@desrt.ca> * autogen.sh: for the benefit of git users, checkout build/ if it is missing * .gitignore: but after that, ignore it. svn path=/trunk/; revision=6046
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 7e5885cb1..786d653b9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -83,6 +83,23 @@ rm -rf autom4te.cache
# regenerated from their corresponding *.in files by ./configure anyway.
touch README INSTALL
+if [ ! -d build ]; then
+ if [ -x "`which svn`" ]; then
+ echo
+ echo "=============================================================="
+ echo " your checkout doesn't contain build/."
+ echo " fetching it from http://svn.gnome.org/svn/build/trunk/"
+ echo "=============================================================="
+ echo
+
+ svn checkout http://svn.gnome.org/svn/build/trunk/ build
+ else
+ echo
+ echo 'warning: build/ directory is missing and no "svn" to fetch it!'
+ echo
+ fi
+fi
+
$ACLOCAL $ACLOCAL_FLAGS || exit $?
libtoolize --force || exit $?