--- parser3/buildall 2019/11/30 22:17:48 1.28 +++ parser3/buildall 2020/12/07 16:05:42 1.32 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: buildall,v 1.28 2019/11/30 22:17:48 moko Exp $ +# $Id: buildall,v 1.32 2020/12/07 16:05:42 moko Exp $ install_directory=$HOME/parser3install sendmail_command="/usr/sbin/sendmail -i -t -f postmaster" @@ -36,6 +36,10 @@ for PARAM in "$@"; do options="$options --with-mailreceive=$project_dir/gnome" build_gmime="yes" ;; + "--with-system-mailreceive") + printf ", with mail receiving" + options="$options --with-mailreceive" + ;; "--strip") printf ", without debug information" build_stripped="yes" @@ -46,7 +50,7 @@ for PARAM in "$@"; do ;; "--help") echo - echo "Usage: buildall [--without-xml] [--with-apache] [--with-mailreceive] [--strip] [--direct-download] [--disable-safe-mode] [other configure options ...]" + echo "Usage: buildall [--without-xml] [--with-apache] [--with-mailreceive] [--with-system-mailreceive] [--strip] [--direct-download] [--disable-safe-mode] [other configure options ...]" exit 1 ;; *) @@ -82,7 +86,7 @@ fi prepare () { cd $project_dir/src - if test ! -f "temp $1"; then + if test ! -f "$1"; then if test "$direct_download" = "yes"; then echo "Downloading $lib from $2..." $download $2$1 @@ -253,7 +257,11 @@ fi cd $parser3_dir if test ! -f "Makefile"; then echo "Configuring parser3..." - ./configure --prefix=$install_directory "--with-sendmail=$sendmail_command" $options --silent $cflags $gmime_cflags + ./configure --prefix=$install_directory \ + --sysconfdir=$install_directory/bin \ + --datadir=$install_directory/bin \ + --with-sendmail="$sendmail_command" \ + $options $cflags $gmime_cflags fi echo "Building parser3..."