You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
532 B
29 lines
532 B
#!/bin/sh |
|
# autogen.sh - Bootstrap the build system |
|
|
|
set -e |
|
|
|
echo "Bootstrapping the build system..." |
|
|
|
# Create necessary directories |
|
mkdir -p m4 build-aux |
|
|
|
# Run autotools |
|
echo "Running aclocal..." |
|
aclocal --force -I m4 |
|
|
|
echo "Running autoheader..." |
|
autoheader --force |
|
|
|
echo "Running automake..." |
|
automake --add-missing --copy --force-missing |
|
|
|
echo "Running autoconf..." |
|
autoconf --force |
|
|
|
echo "" |
|
echo "Bootstrap complete! To build:" |
|
echo " ./configure" |
|
echo " make" |
|
echo " make check # Run tests" |
|
echo " sudo make install"
|
|
|