autogen: Support being called from external build dir
[platform/upstream/libusb.git] / bootstrap.sh
1 #!/bin/sh
2
3 set -e
4
5 cd "$(dirname "$0")"
6
7 if [ ! -d m4 ]; then
8     mkdir m4
9 fi
10 exec autoreconf -ivf