xref: /isa-l/autogen.sh (revision 6dc544c661b356c5652a625b324343f6c75d8199)
1#!/bin/sh -e
2
3autoreconf --install --symlink -f -Wno-obsolete
4
5libdir() {
6        echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
7}
8
9args="--prefix=/usr --libdir=$(libdir /usr/lib)"
10
11echo
12echo "----------------------------------------------------------------"
13echo "Initialized build system. For a common configuration please run:"
14echo "----------------------------------------------------------------"
15echo
16echo "./configure $args"
17echo
18