--- parser3/buildall 2012/10/19 10:47:24 1.6 +++ parser3/buildall 2012/10/22 20:54:53 1.7 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: buildall,v 1.6 2012/10/19 10:47:24 moko Exp $ +# $Id: buildall,v 1.7 2012/10/22 20:54:53 moko Exp $ install_directory=$HOME/parser3install sendmail_command="/usr/sbin/sendmail -i -t -f postmaster" @@ -18,25 +18,25 @@ options="$options --with-gc=$project_dir options="$options --with-pcre=$project_dir/pcre" #options="$options --disable-stringstream" -echo -n "Building statically linked parser3" -for PARAM; do +echo "Building statically linked parser3\c" +for PARAM in "$@"; do case "$PARAM" in "--without-xml") - echo -n ", without xml" + echo ", without xml\c" build_xml="" ;; "--with-apache") - echo -n ", with apache module" + echo ", with apache module\c" options="$options --with-apache" build_apache="yes" ;; "--with-mailreceive") - echo -n ", with mail receiving" + echo ", with mail receiving\c" options="$options --with-mailreceive=$project_dir/gnome" build_gmime="yes" ;; "--strip") - echo -n ", without debug information" + echo ", without debug information\c" build_stripped="yes" ;; "--help")