summaryrefslogtreecommitdiff
path: root/prepare
blob: def16738e2e89ca86893fd511203f5539787e37f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh --

cat <<EOF
********************************************************************
Warning! This script is obsolete; you should use autoreconf instead.
Please, see the README.dev file for more information."
********************************************************************
EOF

# This script is inspired by the old prepare script distributed with Mutt.

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

if libtoolize --automake --copy && aclocal && automake $include_deps --copy --add-missing && autoconf && ./configure $@
then
  echo
  echo "The MPFR source code was successfully prepared."
  echo "Type 'make' to build MPFR."
  echo
  echo "Note: if you want to reconfigure MPFR, you can now use the 'configure'"
  echo "script directly; you do not need the 'prepare' script any longer."
  echo
else
  echo
  echo "Some part of the preparation process failed."
  echo
  exit 1
fi