-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathautogen
More file actions
executable file
·30 lines (22 loc) · 1007 Bytes
/
autogen
File metadata and controls
executable file
·30 lines (22 loc) · 1007 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
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
# This was once upon a time taken from GTK or glib or gimp
cd `dirname $0`
[ -f config.sh ] || { echo "Unable to find config.sh"; exit 1; }
. ./config.sh
[ -f gen-functions ] || { echo "Unable to find gen-functions"; exit 1; }
. ./gen-functions
######################################################################
# Autogen
initialize "$AUTO_PROJECT" "-d" "./src/test"
check_prog "autoheader" "autoheader --version" $REQ_AUTOHEADER "rebuild autoheader" \
"ftp://ftp.gnu.org/pub/gnu/autoconf/"
check_prog "autoconf" "autoconf --version" $REQ_AUTOCONF "rebuild configure" \
"ftp://ftp.gnu.org/pub/gnu/autoconf/"
check_prog "automake" "automake --version" $REQ_AUTOMAKE "rebuild Makefiles" \
"ftp://ftp.gnu.org/pub/gnu/automake/"
check_prog "$LIBTOOL" "$LIBTOOL --version" $REQ_LIBTOOL "rebuild library information" \
"ftp://ftp.gnu.org/pub/gnu/libtool/"
check_cc
checks_or_die
generate