summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: ea9f1a52f948b2efb71eafd212edd6d73c94675e (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..."
for dir in include m4; do
    if [ ! -d "$dir" ]; then
        mkdir "$dir"
    fi
done
autoreconf -f -i .
if [ $? -ne 0 ]; then
  echo "autoreconf failed"
  exit $?
fi