summaryrefslogtreecommitdiffstats
path: root/prepare
blob: 85df1ed3bc60d1cf957d46af76f04ce36cbd24a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh --

if test x"$1" = x"-dev" ; then
  include_deps=
  shift
else
  include_deps="-i"
fi

if aclocal -I m4 && autoheader && (cd m4 && make -f Makefile.am.in ) \
  && automake $include_deps && autoconf && ./configure $@
then
  echo
  echo "The mutt source code was successfully prepared."
  echo "Type make && make install to build and install mutt."
  echo
else
  echo
  echo "Some part of the preparation process failed."
  echo "Please refer to doc/devel-notes.txt for details."
  echo
  exit 1
fi