File: autogen.sh

package info (click to toggle)
iperf 2.0.5-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,604 kB
  • sloc: ansic: 3,996; sh: 3,380; cpp: 2,210; makefile: 66
file content (17 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# autogen.sh: Automatically generate all build files from configure.ac

# aclocal doesn't like it if you -I the system aclocal directory
SYS_ACLOCAL_DIR=`aclocal --print-ac-dir`
for i in m4 /usr/local/share/aclocal; do
    if [ ! $i = $SYS_ACLOCAL_DIR -a -d $i ]; then
        ACLOCAL_OPTS="$ACLOCAL_OPTS -I $i"
    fi
done
aclocal $ACLOCAL_OPTS || exit 1

autoheader || exit 1
autoconf || exit 1

automake --add-missing --include-deps --foreign || exit 1