-
Notifications
You must be signed in to change notification settings - Fork 2
/
autogen.sh
38 lines (30 loc) · 1.07 KB
/
autogen.sh
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
#!/bin/sh
# rsr 6/8/03
if [ -d ./aclocal ]; then
aclocaldir="./aclocal"
else
aclocaldir="./"
fi
if [ $# -gt 0 ]; then
echo "*** aclocal -I $1: acinclude.m4 + configure.ac --> aclocal.m4"
aclocal -I $1 -I "$aclocaldir"
else
echo "*** aclocal: acinclude.m4 + configure.ac --> aclocal.m4"
aclocal -I "$aclocaldir"
fi
echo "*** autoconf: aclocal.m4 + configure.ac --> configure"
autoconf
# ./configure --prefix="/opt"
echo " config.site + config.cache + config.h.in + Makefile.in + ltmain.sh -->"
echo " config.cache, config.status, config.h, Makefile, stamp-h, libtool"
echo "*** libtoolize -f --> ltmain.sh"
libtoolize -f
echo "*** autoheader: acconfig.h + aclocal.m4 + configure.ac --> config.h.in"
autoheader
automake --add-missing --include-deps --foreign
echo "*** automake + libtoolize: configure.ac + makefile.am -->"
echo " install.sh, missing, mkinstalldirs, Makefile.in, stamp-h.in, "
echo " config.guess, config.sub, ltmain.sh, ltconfig, COPYING, INSTALL"
echo "*** setting permissions"
chmod 0755 mkinstalldirs
echo "*** please run ./configure next..."