summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-20 11:18:34 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-20 11:18:34 +0000
commit67442f38e9d7d16dbb254581ee580199482423fe (patch)
tree62b7d7ded9924ccee49a71434d0599b47839dc9a /autogen.sh
parent28d917183f36d542e710e165f364c5e8768a7a0d (diff)
downloadmpfr-67442f38e9d7d16dbb254581ee580199482423fe.tar.gz
Added autogen.sh sh script from Daniel Richard G. to install/update the
autotools files and clean up caches (useful before a release). [copied from the trunk] git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@8800 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 000000000..90c840a10
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# "autoreconf -f" will clobber our INSTALL file with a generic one if we
+# don't move it out of the way
+
+mv -f INSTALL INSTALL.$$.tmp
+
+autoreconf -v -f -i -W all
+
+rm -f INSTALL
+mv -f INSTALL.$$.tmp INSTALL
+
+rm -rf autom4te.cache