]> granicus.if.org Git - neomutt/commitdiff
Update prepare: remove -dev (always enable dependency tracking) and
authorMatthias Andree <matthias.andree@gmx.de>
Wed, 19 Jul 2006 23:12:49 +0000 (23:12 +0000)
committerMatthias Andree <matthias.andree@gmx.de>
Wed, 19 Jul 2006 23:12:49 +0000 (23:12 +0000)
use autoreconf -i instead of running tools by hand.

prepare

diff --git a/prepare b/prepare
index fc9c44e2c093dbcf66e7c11082811b21d57292dd..4c90dca3a791b3af58ad8d183b86eb72158c5d95 100755 (executable)
--- a/prepare
+++ b/prepare
@@ -1,18 +1,11 @@
-#!/bin/sh --
+#!/bin/sh
 
-if test x"$1" = x"-dev" ; then
-  include_deps=
-  shift
-else
-  include_deps="-i"
-fi
-
-if aclocal -I m4 && autoheader \
-  && automake $include_deps && autoconf && ./configure "$@"
+if autoreconf --install --include=m4 \
+  && ./configure "$@"
 then
   echo
-  echo "The mutt source code was successfully prepared."
-  echo "Type make && make install to build and install mutt."
+  echo "The mutt source code was successfully prepared and configured."
+  echo "Type   make && make install   to build and install mutt."
   echo
 else
   echo