Auto add Git submodules in buildconf.sh.
[yaz-moved-to-github.git] / buildconf.sh
index 6ba4f29..b8905d4 100755 (executable)
@@ -7,6 +7,12 @@ autoconf=autoconf
 libtoolize=libtoolize
 
 test -d config || mkdir config
+if test -d m4 -a -d doc/common; then
+    :
+else
+    git submodule init
+    git submodule update
+fi
 
 if [ "`uname -s`" = FreeBSD ]; then
     # FreeBSD intalls the various auto* tools with version numbers