]> git.mxchange.org Git - flightgear.git/blob - autogen.sh
FGPositioned clean-ups - apply some desirable changes (such as making members
[flightgear.git] / autogen.sh
1 #!/bin/sh
2
3 echo "Running aclocal"
4 aclocal
5
6 echo "Running autoheader"
7 autoheader
8 if [ ! -e src/Include/config.h.in ]; then
9     echo "ERROR: autoheader didn't create simgear/simgear_config.h.in!"
10     exit 1
11 fi    
12
13 echo "Running automake --add-missing"
14 automake --add-missing
15
16 echo "Running autoconf"
17 autoconf
18
19 if [ ! -e configure ]; then
20     echo "ERROR: configure was not created!"
21     exit 1
22 fi
23
24 echo ""
25 echo "======================================"
26
27 if [ -f config.cache ]; then
28     echo "config.cache exists.  Removing the config.cache file will force"
29     echo "the ./configure script to rerun all it's tests rather than using"
30     echo "the previously cached values."
31     echo ""
32 fi
33
34 echo "Now you are ready to run './configure'"
35 echo "======================================"