Diff for /parser3/Attic/buildall-without-xml between versions 1.18 and 1.30

version 1.18, 2009/06/13 08:28:48 version 1.30, 2012/06/12 20:20:18
Line 17  mkdir src >/dev/null 2>&1 Line 17  mkdir src >/dev/null 2>&1
   
 if test ! -f "$project_directory/gc/lib/libgc.a"; then  if test ! -f "$project_directory/gc/lib/libgc.a"; then
   cd $project_directory/src    cd $project_directory/src
   # libgc="gc6.8" # FreeBSD 4.X is not supported in newer gc version
   libgc="gc-7.1"    libgc="gc-7.1"
   if test ! -f "$libgc.tar.gz"; then    if test ! -f "$libgc.tar.gz"; then
     echo "Downloading libgc [1 lib of 2]..."      echo "Downloading libgc [1 lib of 2]..."
Line 27  if test ! -f "$project_directory/gc/lib/ Line 28  if test ! -f "$project_directory/gc/lib/
   gunzip -c $libgc.tar.gz | tar vxf - >/dev/null    gunzip -c $libgc.tar.gz | tar vxf - >/dev/null
   cd $libgc    cd $libgc
   echo "Configuring libgc..."    echo "Configuring libgc..."
   CPPFLAGS="-DUSE_LIBC_PRIVATES -DUSE_MMAP -DUSE_MUNMAP -DDONT_ADD_BYTE_AT_END" \    CPPFLAGS="-DUSE_LIBC_PRIVATES -DUSE_MMAP -DDONT_ADD_BYTE_AT_END" \
         ./configure --prefix=$project_directory/gc \          ./configure --prefix=$project_directory/gc \
                 --disable-threads \                  --disable-threads \
                 --disable-shared \                  --disable-shared \
Line 42  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-7.9"    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 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
   fi    fi
   echo "Unpacking pcre..."    echo "Unpacking pcre..."
   rm -rf $libpcre    rm -rf $libpcre
Line 54  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
   make install    make install
   echo "Copying required files (Parser3 uses some PCRE internals)..."  
   cp pcre_internal.h ucp.h $project_directory/pcre/include  
   cd ..    cd ..
   rm -rf $libpcre    rm -rf $libpcre
 fi  fi
Line 74  fi Line 75  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 --disable-safe-mode"  #  options="$options --disable-safe-mode"
 #  options="$options --with-dynamic-stdcpp"  
 #  options="$options --disable-stringstream"  #  options="$options --disable-stringstream"
   options="$options --silent"    options="$options --silent"
   

Removed from v.1.18  
changed lines
  Added in v.1.30


E-mail: