From: Azat Khuzhin Date: Mon, 31 Oct 2016 09:01:20 +0000 (+0300) Subject: autogen.sh: remove all autoconf/automake caches, if any X-Git-Tag: release-2.1.7-rc~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69cce257eb6183dda114d8f5b8ca0325cfabe2e1;p=libevent 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. --- 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