Merge branch 'last_version_wo_sru' of ssh://git.indexdata.com/home/git/pub/pazpar2...
[pazpar2-moved-to-github.git] / buildconf.sh
index aa97a71..c62d047 100755 (executable)
@@ -1,5 +1,4 @@
 #!/bin/sh
-# $Id: buildconf.sh,v 1.3 2007-01-12 23:34:15 adam Exp $
 
 automake=automake
 aclocal=aclocal
@@ -7,6 +6,12 @@ autoconf=autoconf
 libtoolize=libtoolize
 autoheader=autoheader
 
+test -d config || mkdir config
+if test .git; then
+    git submodule init
+    git submodule update
+fi
+
 if [ "`uname -s`" = FreeBSD ]; then
     # FreeBSD intalls the various auto* tools with version numbers
     echo "Using special configuration for FreeBSD ..."