--- parser3/Attic/buildall-without-xml 2007/06/05 17:47:56 1.7 +++ parser3/Attic/buildall-without-xml 2007/10/25 13:38:43 1.12 @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: buildall-without-xml,v 1.7 2007/06/05 17:47:56 misha Exp $ +# $Id: buildall-without-xml,v 1.12 2007/10/25 13:38:43 misha Exp $ install_directory=$HOME/parser3install sendmail_command="/usr/sbin/sendmail -i -t -f postmaster" @@ -28,27 +28,36 @@ if test ! -f "$project_directory/gc/lib/ cd $libgc echo "Configuring libgc..." CPPFLAGS="-DUSE_LIBC_PRIVATES -DUSE_MMAP -DUSE_MUNMAP" \ - ./configure --prefix=$project_directory/gc --disable-threads --disable-shared --silent + ./configure --prefix=$project_directory/gc \ + --disable-threads \ + --disable-shared \ + --silent echo "Building libgc..." make make install -# rm -rf $libgc + cd .. + rm -rf $libgc fi cd $parser3_directory if test ! -f "Makefile"; then + options="" + options="$options --with-static-gc=$project_directory/gc/lib" +# options="$options --disable-safe-mode" +# options="$options --with-dynamic-stdcpp" + options="$options --silent" + echo "Configuring parser3..." - ./configure --prefix=$install_directory \ - "--with-sendmail=$sendmail_command" \ - --with-static-gc=$project_directory/gc/lib \ -# --disable-safe-mode \ -# --with-dynamic-stdcpp \ - --silent + ./configure --prefix=$install_directory "--with-sendmail=$sendmail_command" $options fi echo "Building parser3..." make install + +# remove debug info +# strip ${install_directory}/bin/parser3 + echo "DONE" echo