File: autogen.sh

package info (click to toggle)
gxkb 0.9.6%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 664 kB
  • sloc: ansic: 1,335; makefile: 140; sh: 17
file content (24 lines) | stat: -rwxr-xr-x 545 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
set -e

test -n "$(which automake)" || {
    echo "[ERROR] automake is missing on your system" 1>&2;
    exit 1;
}

test -n "$(which autoconf)" || {
    echo "[ERROR] autoconf is missing on your system" 1>&2;
    exit 2;
}

echo "If you get errors, you may need newer versions of automake and autoconf." 2>&1;
echo "You'll need at least automake 1.5 and autoconf 2.50." 2>&1;

aclocal $ACLOCAL_FLAGS \
&& autoheader \
&& automake --add-missing --copy \
&& autoconf \
&& echo "Now you are ready to run ./configure";

exit 0;