]> granicus.if.org Git - libevent/commitdiff
autogen.sh: remove all autoconf/automake caches, if any
authorAzat Khuzhin <a3at.mail@gmail.com>
Mon, 31 Oct 2016 09:01:20 +0000 (12:01 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Mon, 31 Oct 2016 09:12:54 +0000 (12:12 +0300)
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.

autogen.sh

index 57eeb940b91174203488c9c6ce96e377b640e200..aa67ab1ef3c31a346120012423c0e981e09a6fc2 100755 (executable)
@@ -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