summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2016-10-31 12:01:20 +0300
committerAzat Khuzhin <a3at.mail@gmail.com>2016-10-31 12:12:54 +0300
commit69cce257eb6183dda114d8f5b8ca0325cfabe2e1 (patch)
treec28fdc3c8543a295dddeb477d0aeefc8d01e000b /autogen.sh
parent3453c0815f87d4ad6a6dd897fc5a4cdc711285c0 (diff)
downloadlibevent-69cce257eb6183dda114d8f5b8ca0325cfabe2e1.tar.gz
autogen.sh: remove all autoconf/automake caches, if any
Otherwise if you for example share root of libevent repository with some vm (for example windows+cygwin) then if you try to build with configure on host, and then on guest it will fail, so let's just ignore this since autogen.sh is just for this -- cleaning all stuff.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 57eeb940..aa67ab1e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,7 @@
#!/bin/sh
+
+make maintainer-clean >/dev/null 2>/dev/null
+
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
exec autoreconf -ivf
fi