xref: /aosp_15_r20/external/wayland-protocols/freedesktop.org/autogen.sh (revision 6c119a463dd5c45dd05bbe67429293292dde15ee)
1*6c119a46SAndroid Build Coastguard Worker#!/bin/sh
2*6c119a46SAndroid Build Coastguard Worker
3*6c119a46SAndroid Build Coastguard Workertest -n "$srcdir" || srcdir=`dirname "$0"`
4*6c119a46SAndroid Build Coastguard Workertest -n "$srcdir" || srcdir=.
5*6c119a46SAndroid Build Coastguard Worker(
6*6c119a46SAndroid Build Coastguard Worker  cd "$srcdir" &&
7*6c119a46SAndroid Build Coastguard Worker  autoreconf --force -v --install
8*6c119a46SAndroid Build Coastguard Worker) || exit
9*6c119a46SAndroid Build Coastguard Workertest -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
10