--- parser3/buildall 2019/12/01 00:12:19 1.29 +++ parser3/buildall 2020/12/11 14:31:24 1.33 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: buildall,v 1.29 2019/12/01 00:12:19 moko Exp $ +# $Id: buildall,v 1.33 2020/12/11 14:31:24 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 ;; *) @@ -125,7 +129,6 @@ if test ! -f "$project_dir/gc/lib/libgc. echo "Configuring $lib..." CPPFLAGS="-DUSE_MMAP -DDONT_ADD_BYTE_AT_END" \ ./configure --prefix=$project_dir/gc \ - --disable-threads \ --disable-shared \ --silent $cflags echo "Building $lib..." @@ -159,7 +162,6 @@ if test "$build_xml" = "yes" -a ! -f "$p ./configure --prefix=$project_dir/gnome \ --without-catalog \ --without-iconv \ - --without-threads \ --without-debug \ --without-iso8859x \ --without-legacy \ @@ -253,7 +255,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..."