forked from likwueron/libqtlua_fork
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap
More file actions
41 lines (33 loc) · 690 Bytes
/
bootstrap
File metadata and controls
41 lines (33 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#! /bin/sh
set -e
if test -f bootstrap.cfg; then
source bootstrap.cfg
fi
for i in $keep
do
cp $i $i.bak
done
#autoheader
# On some environments (Darwin Ports), libtoolize is glibtoolize.
# I suppose their autoreconf is adjusted accordingly, but I use
# my custom Autoconf...
for lt in "$LIBTOOLIZE" libtoolize glibtoolize
do
if ($lt --version) >/dev/null 2>&1; then
export LIBTOOLIZE="$lt"
break
fi
done
autoreconf -f -v -i
for i in $keep
do
mv $i.bak $i
done
# If the pseudo-standard name "_build" is used, then how about trying
# to continue the re-build?
if test -f _build/config.status; then
cd _build
./config.status --recheck
./config.status
make
fi