summaryrefslogtreecommitdiff
path: root/elfutils/autogen.sh
blob: 60700bfff8396b279c354443d3f94776953ab67b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

libtoolize --copy --force
aclocal
autoheader
automake -a -c
autoconf

if [ "$1" = "--noconfigure" ]; then 
    exit 0;
fi

if [ X"$@" = X  -a "X`uname -s`" = "XLinux" ]; then
    ./configure --prefix=/usr "$@"
else
    ./configure "$@"
fi