Fixed check for Git submodules.
[yaz-moved-to-github.git] / buildconf.sh
index b8905d4..8f58349 100755 (executable)
@@ -7,7 +7,7 @@ autoconf=autoconf
 libtoolize=libtoolize
 
 test -d config || mkdir config
 libtoolize=libtoolize
 
 test -d config || mkdir config
-if test -d m4 -a -d doc/common; then
+if test -d m4/.git -a -d doc/common/.git; then
     :
 else
     git submodule init
     :
 else
     git submodule init