summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2009-04-25 20:38:04 (UTC)
committer Michael Krelin <hacker@klever.net>2009-04-25 20:38:04 (UTC)
commit6dab4b79d66fa5ad5827b53d930f6508380b4f4a (patch) (side-by-side diff)
tree8cd0617a409f66c765c1cbac65804ef9786447bd
parent40bc4d390e016cbb64ea25be177daa92c94a8285 (diff)
downloadlibopkele-6dab4b79d66fa5ad5827b53d930f6508380b4f4a.zip
libopkele-6dab4b79d66fa5ad5827b53d930f6508380b4f4a.tar.gz
libopkele-6dab4b79d66fa5ad5827b53d930f6508380b4f4a.tar.bz2
autogen: mkdir aclocal.d for older libtoolize
Signed-off-by: Michael Krelin <hacker@klever.net>
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
@@ -3,7 +3,8 @@ 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 \