-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathautogen.sh
More file actions
executable file
·36 lines (31 loc) · 776 Bytes
/
autogen.sh
File metadata and controls
executable file
·36 lines (31 loc) · 776 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
#!/bin/sh
#
# autogen.sh is utilized for the eclipse autotools plugin and in the
# continuous build bots
#
# Parse command line
FLAG=""
while test -n "$1"; do
case $1 in
--help)
echo "Usage: $0 [OPTION]
autogen.sh is utilized for the eclipse autotools plugin and in the
continous build bots.
Options:
--help display this help and exit
--force use --force in the local autoreconf (replaces files)
"; exit 0;;
*)
FLAG="$FLAG $1"
shift
continue;;
esac
done
autoreconf -i $FLAG
if test -f "${PWD}/configure"; then
echo "======================================"
echo "You are ready to run './configure'"
echo "======================================"
else
echo " Failed to generate ./configure script!"
fi