| 1 | function build() |
|---|
| 2 | { |
|---|
| 3 | ( \ |
|---|
| 4 | exec 3>&1; \ |
|---|
| 5 | exec 1>/dev/null; \ |
|---|
| 6 | |
|---|
| 7 | echo Building with $@ >&3 && \ |
|---|
| 8 | ./configure $@ && \ |
|---|
| 9 | make clean && \ |
|---|
| 10 | make -s -C examples clean && \ |
|---|
| 11 | echo Building libdodo >&3 && \ |
|---|
| 12 | make && \ |
|---|
| 13 | echo Building examples >&3 && \ |
|---|
| 14 | make -s -C examples; \ |
|---|
| 15 | |
|---|
| 16 | exec 1>&3 |
|---|
| 17 | ) |
|---|
| 18 | } |
|---|
| 19 | |
|---|
| 20 | # with_all, POSIX ipc, PCRE regex |
|---|
| 21 | build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ |
|---|
| 22 | |
|---|
| 23 | # with_all, XSI ipc, PCRE regex |
|---|
| 24 | build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick --with-ipc=XSI $@ |
|---|
| 25 | |
|---|
| 26 | # with_all-openssl, POSIX ipc, PCRE regex |
|---|
| 27 | build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ |
|---|
| 28 | |
|---|
| 29 | # with_all-libxml2, POSIX ipc, PCRE regex |
|---|
| 30 | build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ |
|---|
| 31 | |
|---|
| 32 | # with_all-dl, POSIX ipc, PCRE regex |
|---|
| 33 | build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ |
|---|
| 34 | |
|---|
| 35 | # with_all, POSIX ipc, PCRE regex, disable dequeue |
|---|
| 36 | build --disable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ |
|---|
| 37 | |
|---|
| 38 | # with_all, POSIX ipc, PCRE regex, disable xexecs |
|---|
| 39 | build --enable-deque --disable-io-xexec --disable-graphics-xexec --disable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ |
|---|
| 40 | |
|---|
| 41 | # with_none, POSIX ipc |
|---|
| 42 | build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec $@ |
|---|