[network-manager-applet] Ensure autogen.sh works with non-srcdir builds



commit 0c197cce44a01ce8f1628e157768d8ea94ec4ed2
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Jun 3 13:19:53 2016 +0100

    Ensure autogen.sh works with non-srcdir builds
    
    Only the tools to generate the configure script should be executed
    inside the source directory; the configure script should be called
    from the build directory.

 autogen.sh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 2296a6d..53705a1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -16,9 +16,9 @@ PKG_NAME=nm-applet
 (cd $srcdir;
     autoreconf --install --symlink &&
     intltoolize --force &&
-    autoreconf &&
-    if test -z "$NOCONFIGURE"; then
-        ./configure --enable-maintainer-mode "$@"
-    fi
+    autoreconf
 )
 
+if test -z "$NOCONFIGURE"; then
+    "$srcdir/configure" --enable-maintainer-mode "$@"
+fi


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