-#!/bin/sh -
+#!/bin/bash -
# libguestfs
# Copyright (C) 2009 Red Hat Inc.
#
set -e
set -v
export AUTOMAKE='automake --foreign'
+aclocal
+libtoolize
autoreconf
-cd daemon
-autoreconf
\ No newline at end of file
+pushd daemon
+autoreconf
+popd
+./configure "$@"