initial import (Boeing r1752, NRL r878)
This commit is contained in:
commit
f8f46d28be
394 changed files with 99738 additions and 0 deletions
48
bootstrap.sh
Executable file
48
bootstrap.sh
Executable file
|
@ -0,0 +1,48 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# (c)2010-2012 the Boeing Company
|
||||
#
|
||||
# author: Jeff Ahrenholz <jeffrey.m.ahrenholz@boeing.com>
|
||||
#
|
||||
# Bootstrap the autoconf system.
|
||||
#
|
||||
|
||||
if [ x$1 = x ]; then # PASS
|
||||
echo "Bootstrapping the autoconf system..."
|
||||
# echo " These autotools programs should be installed for this script to work:"
|
||||
# echo " aclocal, libtoolize, autoheader, automake, autoconf"
|
||||
echo "(Messages below about copying and installing files are normal.)"
|
||||
elif [ x$1 = xclean ]; then # clean - take out the trash
|
||||
echo "Cleaning up the autoconf mess..."
|
||||
rm -rf autom4te.cache config BSDmakefile
|
||||
exit 0;
|
||||
else # help text
|
||||
echo "usage: $0 [clean]"
|
||||
echo -n " Use this script to bootstrap the autoconf build system prior to "
|
||||
echo "running the "
|
||||
echo " ./configure script."
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
# try to keep everything nice and tidy in ./config
|
||||
if ! [ -d "config" ]; then
|
||||
mkdir config
|
||||
fi
|
||||
|
||||
# on FreeBSD, discourage use of make
|
||||
UNAME=`uname`
|
||||
if [ x${UNAME} = xFreeBSD ]; then
|
||||
echo "all:" > BSDmakefile
|
||||
echo ' @echo "Please use GNU make instead by typing:"' >> BSDmakefile
|
||||
echo ' @echo " gmake"' >> BSDmakefile
|
||||
echo ' @echo ""' >> BSDmakefile
|
||||
fi
|
||||
|
||||
# bootstrapping
|
||||
echo "(1/4) Running aclocal..." && aclocal -I config \
|
||||
&& echo "(2/4) Running autoheader..." && autoheader \
|
||||
&& echo "(3/4) Running automake..." \
|
||||
&& automake --add-missing --copy --foreign \
|
||||
&& echo "(4/4) Running autoconf..." && autoconf \
|
||||
&& echo "" \
|
||||
&& echo "You are now ready to run \"./configure\"."
|
Loading…
Add table
Add a link
Reference in a new issue