summaryrefslogtreecommitdiff
path: root/glpk-5.0/autogen.sh
blob: 4dd02fbc1e45a7761cee18ab6a8ecf6cfbccfaec (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
#!/bin/sh

########################################################################
# Run this script on the top level of GLPK directory to regenerate the
# configure script and the Makefiles from templates.
#
# NOTE: You need to have GNU autotools installed.
########################################################################

set -e

test -f configure.ac || {
  echo "You should run this script on the top level of GLPK directory."
  exit
}

echo "Executing libtoolize..."
libtoolize -c -f
echo "Executing aclocal..."
aclocal -I m4
echo "Executing autoconf..."
autoconf
echo "Executing automake..."
automake -c -a
echo "Done."

echo "See file INSTALL for installation instructions."