bubblewrap/autogen.sh

20 lines
362 B
Bash
Raw Permalink Normal View History

2022-05-13 20:02:29 +08:00
#!/bin/sh
2024-04-24 09:12:01 +08:00
test -n "$srcdir" || srcdir=$(dirname "$0")
2022-05-13 20:02:29 +08:00
test -n "$srcdir" || srcdir=.
2024-04-24 09:12:01 +08:00
olddir=$(pwd)
cd "$srcdir"
2022-05-13 20:02:29 +08:00
if ! (autoreconf --version >/dev/null 2>&1); then
echo "*** No autoreconf found, please install it ***"
exit 1
fi
mkdir -p m4
autoreconf --force --install --verbose
2024-04-24 09:12:01 +08:00
cd "$olddir"
2022-05-13 20:02:29 +08:00
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"