<<< Date Index >>>     <<< Thread Index >>>

[PATCH] revise ./prepare



Greetings,

the attached patch removes cruft from ./prepare.

1. The -dev argument is no longer supported nor needed, the dependency
   tracking code will always be enabled.

2. We use autoreconf -i now (which runs the same commands as before,
   adds missing files and also runs autopoint (this is gettext stuff) if
   needed).

-- 
Matthias Andree
Index: prepare
===================================================================
RCS file: /home/roessler/cvs/mutt/prepare,v
retrieving revision 3.2
diff -u -r3.2 prepare
--- prepare     18 Jul 2006 18:04:14 -0000      3.2
+++ prepare     19 Jul 2006 13:50:18 -0000
@@ -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

Attachment: pgpeT1hT6kE3x.pgp
Description: PGP signature