summaryrefslogtreecommitdiff
path: root/libarchive/libarchive-2.7.1/build/autogen.sh
blob: 1266b3e2c236f9007da6a68cf556463c3ce1553a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh


# Start from one level above the build directory
if [ -f version ]; then
    cd ..
fi

if [ \! -f build/version ]; then
    echo "Can't find source directory"
    exit 1
fi

set -xe
aclocal
autoheader
autoconf
case `uname` in
Darwin) glibtoolize --automake -c;;
*) libtoolize --automake -c;;
esac
automake -a -c