mirror of
https://github.com/RPCS3/libusb.git
synced 2024-11-23 10:09:41 +00:00
bootstrap: use autoreconf
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
This commit is contained in:
parent
6de66bbdb7
commit
64d583f4dc
19
bootstrap.sh
19
bootstrap.sh
@ -1,19 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# use libtoolize if available, otherwise look for glibtoolize (darwin)
|
||||
if (libtoolize --version) < /dev/null > /dev/null 2>&1; then
|
||||
LIBTOOLIZE=libtoolize
|
||||
elif (glibtoolize --version) < /dev/null > /dev/null 2>&1; then
|
||||
LIBTOOLIZE=glibtoolize
|
||||
else
|
||||
echo "libtoolize or glibtoolize was not found! Please install libtool." 1>&2
|
||||
exit 1
|
||||
if ! test -d m4 ; then
|
||||
mkdir m4
|
||||
fi
|
||||
|
||||
$LIBTOOLIZE --copy --force || exit 1
|
||||
aclocal || exit 1
|
||||
autoheader || exit 1
|
||||
autoconf || exit 1
|
||||
automake -a -c || exit 1
|
||||
autoreconf -ivf || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user