File: autogen.sh

package info (click to toggle)
amsynth 1.13.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,228 kB
  • sloc: cpp: 9,546; ansic: 1,490; makefile: 345; python: 69; sh: 40
file content (32 lines) | stat: -rwxr-xr-x 807 bytes parent folder | download | duplicates (2)
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
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

set -e

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

cd "$srcdir"
mkdir -p m4 >/dev/null 2>&1 || true
autoconf --version | head -n1
automake --version | head -n1
autoreconf --verbose --force --install
intltoolize --force
cd -

if ! grep -q AX_CXX_COMPILE_STDCXX_11 aclocal.m4; then
	echo
	echo "ERROR: The AX_CXX_COMPILE_STDCXX_11 macro from the GNU Autoconf Archive was not found."
	echo
	echo "Try installing the autoconf-archive package and re-running autogen.sh"
	echo
	exit 1
fi

echo
echo "----------------------------------------------------------------"
echo "Initialized build system. For a common configuration please run:"
echo "----------------------------------------------------------------"
echo
echo "./configure"
echo