--- parser3/Attic/buildall-with-xml 2007/09/14 14:40:59 1.18 +++ parser3/Attic/buildall-with-xml 2008/04/07 15:11:06 1.21 @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: buildall-with-xml,v 1.18 2007/09/14 14:40:59 misha Exp $ +# $Id: buildall-with-xml,v 1.21 2008/04/07 15:11:06 misha Exp $ install_directory=$HOME/parser3install sendmail_command="/usr/sbin/sendmail -i -t -f postmaster" @@ -42,7 +42,7 @@ fi if test ! -f "$project_directory/gnome/lib/libxml2.a"; then cd $project_directory/src - libxml2="libxml2-2.6.30" + libxml2="libxml2-2.6.31" if test ! -f "$libxml2.tar.gz"; then echo "Downloading libxml [2 lib of 3]..." wget -c --passive-ftp ftp://xmlsoft.org/libxml2/$libxml2.tar.gz @@ -112,15 +112,18 @@ fi cd $parser3_directory + if test ! -f "Makefile"; then + options="" + options="$options --with-static-gc=$project_directory/gc/lib" + options="$options --with-static-xml=$project_directory/gnome" +# options="$options --disable-safe-mode" +# options="$options --with-dynamic-stdcpp" +# options="$options --disable-stringstream" + options="$options --silent" + echo "Configuring parser3..." - ./configure --prefix=$install_directory \ - "--with-sendmail=$sendmail_command" \ - --with-static-gc=$project_directory/gc/lib \ - --with-static-xml=$project_directory/gnome \ -# --disable-safe-mode \ -# --with-dynamic-stdcpp \ - --silent + ./configure --prefix=$install_directory "--with-sendmail=$sendmail_command" $options fi echo "Building parser3..." make install