summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 10a07ae..3b0e3f8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,12 +1,13 @@
#!/bin/sh
tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)"
if test -z "$tool_libtoolize" ; then
echo "Failed to find libtoolize." ; exit 1;
fi
-test -d aux.d || mkdir aux.d \
+ (test -d aux.d || mkdir aux.d) \
+&& (test -d aclocal.d || mkdir aclocal.d) \
&& "$tool_libtoolize" -f \
&& aclocal -I aclocal.d \
&& autoheader \
&& automake -a \
&& autoconf \
&& ./configure "$@"