autogen: Support being called from external build dir
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 13 Apr 2021 17:07:46 +0000 (19:07 +0200)
committerLudovic Rousseau <ludovic.rousseau@free.fr>
Wed, 14 Apr 2021 14:51:09 +0000 (16:51 +0200)
commit1001cb5558cf6679af7bce3114bba1d3bb7b6f7f
treefa618d66afbfe7379161185918ff92b5381f9c6a
parentbda2344f5e7d460decd3968492faa7a5fb2797cd
autogen: Support being called from external build dir

Building libusb from another build directory doesn't properly work right
now, as calling autogen.sh from there won't work.

An example is when using jhbuild to build it.

So always use absolute paths to call configure and bootstrap scripts

Signed-off-by: Ludovic Rousseau <ludovic.rousseau@free.fr>
autogen.sh
bootstrap.sh
libusb/version_nano.h