Revision fa03d510d3b33f5d0f74f14d8e33ba6a5d7e23ae authored by Clément Pernet on 18 February 2019, 15:36:38 UTC, committed by Clément Pernet on 18 February 2019, 15:36:38 UTC
1 parent 90dfeb5
autogen.sh
#!/bin/sh -ex
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
# Recover command line, with double-quotes
CMDLINE=""
for arg in "$@"
do
WHO="`echo $arg | cut -d'=' -f1`"
WHAT="`echo $arg | cut -s -d'=' -f2`"
if test "x$WHAT" = "x"; then
CMDLINE="$CMDLINE $WHO"
else
CMDLINE="$CMDLINE $WHO=\"$WHAT\""
fi
done
echo "$0 $CMDLINE" > $srcdir/autogen.status
chmod +x $srcdir/autogen.status
# run autoconf, libtoolize, automake, etc.
autoreconf -vif $srcdir
# run configure script
if test x$NOCONFIGURE = x; then
$srcdir/configure "$@"
fi
Computing file changes ...