1#!/bin/sh
2
3########################################################################
4# Run this script on the top level of GLPK directory to regenerate the
5# configure script and the Makefiles from templates.
6#
7# NOTE: You need to have GNU autotools installed.
8########################################################################
9
10set -e
11
12test -f configure.ac || {
13  echo "You should run this script on the top level of GLPK directory."
14  exit
15}
16
17echo "Executing libtoolize..."
18libtoolize -c -f
19echo "Executing aclocal..."
20aclocal -I m4
21echo "Executing autoconf..."
22autoconf
23echo "Executing automake..."
24automake -c -a
25echo "Done."
26
27echo "See file INSTALL for installation instructions."
28