|
|
| version 1.23, 2017/05/25 12:26:46 | version 1.25, 2018/01/17 00:01:21 |
|---|---|
| Line 18 options="$options --with-gc=$project_dir | Line 18 options="$options --with-gc=$project_dir |
| options="$options --with-pcre=$project_dir/pcre" | options="$options --with-pcre=$project_dir/pcre" |
| #options="$options --disable-stringstream" | #options="$options --disable-stringstream" |
| echo -n "Building statically linked parser3" | printf "Building statically linked parser3" |
| for PARAM in "$@"; do | for PARAM in "$@"; do |
| case "$PARAM" in | case "$PARAM" in |
| "--without-xml") | "--without-xml") |
| echo -n ", without xml" | printf ", without xml" |
| build_xml="" | build_xml="" |
| ;; | ;; |
| "--with-apache") | "--with-apache") |
| echo -n ", with apache module" | printf ", with apache module" |
| options="$options --with-apache" | options="$options --with-apache" |
| build_apache="yes" | build_apache="yes" |
| ;; | ;; |
| "--with-mailreceive") | "--with-mailreceive") |
| echo -n ", with mail receiving" | printf ", with mail receiving" |
| options="$options --with-mailreceive=$project_dir/gnome" | options="$options --with-mailreceive=$project_dir/gnome" |
| build_gmime="yes" | build_gmime="yes" |
| ;; | ;; |
| "--strip") | "--strip") |
| echo -n ", without debug information" | printf ", without debug information" |
| build_stripped="yes" | build_stripped="yes" |
| ;; | ;; |
| "--help") | "--help") |
| Line 113 echo | Line 113 echo |
| mkdir src >/dev/null 2>&1 | mkdir src >/dev/null 2>&1 |
| if test ! -f "$project_dir/gc/lib/libgc.a"; then | if test ! -f "$project_dir/gc/lib/libgc.a"; then |
| lib="libatomic_ops-7.4.4" | lib="libatomic_ops-7.6.2" |
| prepare_gz ${lib}.tar.gz http://www.hboehm.info/gc/gc_source/ | prepare_gz ${lib}.tar.gz http://www.hboehm.info/gc/gc_source/ |
| lib="gc-7.6.0" | lib="gc-7.6.2" |
| prepare_gz ${lib}.tar.gz http://www.hboehm.info/gc/gc_source/ | prepare_gz ${lib}.tar.gz http://www.hboehm.info/gc/gc_source/ |
| mv ../libatomic_ops-7.4.4 libatomic_ops | mv ../libatomic_ops-7.6.2 libatomic_ops |
| echo "Configuring $lib..." | echo "Configuring $lib..." |
| CPPFLAGS="-DUSE_MMAP -DDONT_ADD_BYTE_AT_END" \ | CPPFLAGS="-DUSE_MMAP -DDONT_ADD_BYTE_AT_END" \ |