Commit 80e03daf authored by Emanuele Aina's avatar Emanuele Aina

[Build] Add script to call `autoreconf -i`

Even when using autoreconf an script is usually expected, as
it save users from needing to know which flags to pass to autoreconf
(ie. '-i').

It is also usually responsible of launching autoreconf from the right
directory, calling utilities like intltoolize and gtkdocize, checking
out git submodules and running ./configure unless $NOCONFIGURE is set.
Signed-off-by: default avatarEmanuele Aina <>
parent d53eba90
......@@ -19,8 +19,7 @@ follows:
# cd dleyna-connector-dbus
Configure and build
# ./autoreconf -i
# ./configure
# ./
# make
Final installation
# Run this to generate all the initial makefiles, etc.
# Derived from
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
cd "$srcdir"
AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
echo "*** No autoreconf found, please install it ***"
exit 1
autoreconf --force --install --verbose || exit $?
cd "$olddir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
......@@ -4,9 +4,8 @@ if [ -f config.status ]; then
make maintainer-clean
autoreconf -if && \
./configure --enable-maintainer-mode \
./ --enable-maintainer-mode \
--enable-silent-rules \
--disable-optimization \
--enable-debug \
--with-log-level=8 $*
\ No newline at end of file
--with-log-level=8 $*
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