Commit b61f4116 authored by Bastien Nocera's avatar Bastien Nocera

build: Fix autogen.sh for srcdir != builddir

parent 17e08991
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
pushd $srcdir
echo "autogen.sh: running: intltoolize --force"
intltoolize --force || exit 1
autoreconf -vif || exit 1
popd
if test -z "$NOCONFIGURE"; then
./configure --enable-maintainer-mode "$@" && echo "Now type \`make' to compile" || exit 1
$srcdir/configure --enable-maintainer-mode "$@" && echo "Now type \`make' to compile" || exit 1
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment