summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-04-26 16:42:54 -0400
committerDan Williams <dcbw@redhat.com>2013-05-16 14:08:09 -0500
commit468c08511c86dac621bc63169c0e3bb6e2517a68 (patch)
tree571086f1b047cc6dfd533cf08e6592622bd1313b /autogen.sh
parentcd091592016fce37473a108b02499a2748aa209a (diff)
core: add libgsystem as a git submodule
And change src/main.c to use the local allocation macros. This results in much cleaner code, as one can see from the diff. Because libgsystem is designed for nonrecursive make, it fits best in the current recursive setup if we build . first. This will be a lot nicer when we switch NM to a nonrecursive setup.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index ef6d20f5e8..8c6179a9ff 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,6 +13,14 @@ PKG_NAME=NetworkManager
exit 1
}
+# Fetch submodules if needed
+if test ! -f src/libgsystem/README;
+then
+ echo "+ Setting up submodules"
+ git submodule init
+ git submodule update
+fi
+
(cd $srcdir;
gtkdocize || exit 1
autopoint --force