summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: dd659717d3520c2db752604e68bb766fda329b2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
# Additional options go to configure.

echo "Rebuilding ./configure with autoreconf..."
if [ ! -d "include" ]; then
  mkdir "include"
fi
autoreconf -f -i
if [ $? -ne 0 ]; then
  echo "autoreconf failed"
  exit $?
fi

./configure --enable-maintainer-mode "$@"