]> git.cworth.org Git - grrobot/blob - autogen.sh
Update to 2020
[grrobot] / autogen.sh
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3
4 set -e
5
6 if test -z "$*"; then
7   echo "$0:     Note: \`./configure' will be run with no arguments."
8   echo "                If you wish to pass any to it, please specify them on the"
9   echo "                \`$0' command line."
10   echo
11 fi
12
13 do_cmd() {
14     echo "$0: running \`$@'"
15     $@
16 }
17
18 do_cmd libtoolize --force --copy
19
20 do_cmd aclocal
21
22 do_cmd autoheader
23
24 do_cmd automake --add-missing
25
26 do_cmd autoconf
27
28 do_cmd ./configure ${1+"$@"} && echo "Now type \`make' to compile" || exit 1