Most projects are likely to have one of these, even if they don't have
anything else distinctive.
### Do the building.
## Find the top-level package directory.
### Do the building.
## Find the top-level package directory.
-while [ ! -f configure.ac -a ! -f configure.in -a ! -f .links ]; do
+while [ ! -f configure.ac -a ! -f configure.in -a \
+ ! -f .links -a ! -d .git ]; do
case "$(pwd)" in
/)
fail "couldn't find top-level directory"
case "$(pwd)" in
/)
fail "couldn't find top-level directory"