blockinator/apache/build_from_scratch.sh

18 lines
304 B
Bash
Raw Permalink Normal View History

2012-05-21 19:08:04 +01:00
#!/bin/sh -e
# Check to see if build environment is setup correctly
if [ ! -e Makefile ]; then
# Set up the build environment
libtoolize
aclocal
autoconf
automake -a
./configure --with-apache=/usr
else
# Remove exising code
make clean
fi
# Compile
make CFLAGS=-lsqlite3