|
|
| version 1.23, 2010/07/07 03:04:37 | version 1.28, 2012/06/09 07:58:49 |
|---|---|
| Line 43 fi | Line 43 fi |
| if test ! -f "$project_directory/pcre/lib/libpcre.a"; then | if test ! -f "$project_directory/pcre/lib/libpcre.a"; then |
| cd $project_directory/src | cd $project_directory/src |
| libpcre="pcre-8.10" | libpcre="pcre-8.30" |
| if test ! -f "$libpcre.tar.gz"; then | if test ! -f "$libpcre.tar.gz"; then |
| echo "Downloading pcre [2 lib of 2]..." | echo "Downloading pcre [2 lib of 2]..." |
| wget -c --passive-ftp ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$libpcre.tar.gz | wget -c --passive-ftp ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$libpcre.tar.gz |
| Line 55 if test ! -f "$project_directory/pcre/li | Line 55 if test ! -f "$project_directory/pcre/li |
| current_dir=`pwd` | current_dir=`pwd` |
| echo "Configuring pcre..." | echo "Configuring pcre..." |
| ./configure --prefix="$project_directory/pcre" \ | ./configure --prefix="$project_directory/pcre" \ |
| --with-match-limit=10000 \ | |
| --with-match-limit-recursion=10000 \ | |
| --enable-utf8 \ | --enable-utf8 \ |
| --enable-unicode-properties \ | --enable-unicode-properties \ |
| --disable-shared \ | --disable-shared \ |
| --disable-cpp \ | --disable-cpp \ |
| --disable-pcregrep-libz \ | --disable-pcregrep-libz \ |
| --disable-pcregrep-libz2 \ | --disable-pcregrep-libbz2 \ |
| --silent | --silent |
| echo "Building pcre..." | echo "Building pcre..." |
| make | make |
| Line 75 fi | Line 77 fi |
| cd $parser3_directory | cd $parser3_directory |
| if test ! -f "Makefile"; then | if test ! -f "Makefile"; then |
| options="" | options="$@" |
| options="$options --with-static-gc=$project_directory/gc/lib" | options="$options --with-static-gc=$project_directory/gc/lib" |
| options="$options --with-static-pcre=$project_directory/pcre" | options="$options --with-static-pcre=$project_directory/pcre" |
| # options="$options --with-curl=/usr/include/curl" | |
| # options="$options --disable-safe-mode" | # options="$options --disable-safe-mode" |
| # options="$options --with-dynamic-stdcpp" | # options="$options --with-dynamic-stdcpp" |
| # options="$options --disable-stringstream" | # options="$options --disable-stringstream" |