File: prebuild

package info (click to toggle)
surfraw 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,624 kB
  • sloc: sh: 7,977; perl: 824; makefile: 277
file content (31 lines) | stat: -rwxr-xr-x 797 bytes parent folder | download | duplicates (6)
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
#!/bin/sh

set -e

# if AUTOMAKE + ACLOCAL are not set, explicity search
# for automake-1.{10,11} and aclocal-1.{10,11}
if [ -z "$AUTOMAKE" ] && [ -z "$ACLOCAL" ]; then
    if   [ -x "`which automake-1.10 2>/dev/null`" ] &&
         [ -x "`which aclocal-1.10 2>/dev/null`" ]; then
	AUTOMAKE=automake-1.10
	ACLOCAL=aclocal-1.10
	export AUTOMAKE ACLOCAL
    elif [ -x "`which automake-1.11 2>/dev/null`" ] &&
 	 [ -x "`which aclocal-1.11 2>/dev/null`" ]; then
	AUTOMAKE=automake-1.11
	ACLOCAL=aclocal-1.11
	export AUTOMAKE ACLOCAL
    fi
    # else use default
fi

# if AUTOCONF is not set, explicity search for autoconf2.50
if [ -z "$AUTOCONF" ]; then
    if   [ -x "`which autoconf2.50 2>/dev/null`" ]; then
	AUTOCONF=autoconf2.50
	export AUTOCONF
    fi
    # else use default
fi

autoreconf -vi