File: Bootstrap

package info (click to toggle)
avarice 2.14%2Bsvn427-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,364 kB
  • sloc: cpp: 23,577; ansic: 1,135; makefile: 96; sh: 48; python: 26
file content (29 lines) | stat: -rwxr-xr-x 746 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
#!/bin/sh

# Need to use use autoconf >= 2.50 an automake >= 1.5.  This allows user to
# set these variables in their environment, or to just use the defaults below.
# This is needed since some systems still use autoconf-2.13 and automake-1.4 as
# the defaults (e.g. debian).

: ${ACLOCAL=aclocal}
: ${AUTOMAKE=automake}
: ${AUTOCONF=autoconf}
: ${AUTOHEADER=autoheader}

export ACLOCAL AUTOMAKE AUTOCONF AUTOHEADER

# Export them in case someone edited the defaults above; automake is
# not happy if it cannot find either ${AUTOCONF} or `autoconf'.
export ACLOCAL AUTOMAKE AUTOCONF AUTOHEADER

set -e

set -x
(
    ${ACLOCAL}
    ${AUTOHEADER}
    ${AUTOCONF}
    [ -d config-aux ] || mkdir config-aux
    ${AUTOMAKE} -a -c
)
rm -f config.cache