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