xref: /aosp_15_r20/external/jemalloc_new/autogen.sh (revision 1208bc7e437ced7eb82efac44ba17e3beba411da)
1*1208bc7eSAndroid Build Coastguard Worker#!/bin/sh
2*1208bc7eSAndroid Build Coastguard Worker
3*1208bc7eSAndroid Build Coastguard Workerfor i in autoconf; do
4*1208bc7eSAndroid Build Coastguard Worker    echo "$i"
5*1208bc7eSAndroid Build Coastguard Worker    $i
6*1208bc7eSAndroid Build Coastguard Worker    if [ $? -ne 0 ]; then
7*1208bc7eSAndroid Build Coastguard Worker	echo "Error $? in $i"
8*1208bc7eSAndroid Build Coastguard Worker	exit 1
9*1208bc7eSAndroid Build Coastguard Worker    fi
10*1208bc7eSAndroid Build Coastguard Workerdone
11*1208bc7eSAndroid Build Coastguard Worker
12*1208bc7eSAndroid Build Coastguard Workerecho "./configure --enable-autogen $@"
13*1208bc7eSAndroid Build Coastguard Worker./configure --enable-autogen $@
14*1208bc7eSAndroid Build Coastguard Workerif [ $? -ne 0 ]; then
15*1208bc7eSAndroid Build Coastguard Worker    echo "Error $? in ./configure"
16*1208bc7eSAndroid Build Coastguard Worker    exit 1
17*1208bc7eSAndroid Build Coastguard Workerfi
18