[json-glib] autogen.sh: remove out-of-tree check



commit 424244569257c280c1926deadf266aa564b795ff
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Jan 9 16:15:06 2012 +0100

    autogen.sh: remove out-of-tree check
    
    Don't verify from autogen.sh that we are in the source tree -- this
    breaks out-of-tree builds in a rather direct way.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667454

 autogen.sh |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index c34893d..bd37e56 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,13 +4,6 @@ srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
 PKG_NAME=JSON-GLib
-TEST_TYPE=-d
-FILE=json-glib
-
-test ${TEST_TYPE} ${FILE} || {
-        echo "You must run this script in the top-level ${PKG_NAME} directory"
-        exit 1
-}
 
 which gnome-autogen.sh || {
         echo "*** You need to install gnome-common from GNOME Git:"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]