#!/usr/bin/env bash set -e if [[ -z $PGINSTALL ]]; then echo "ERROR: \$PGINSTALL environment variable is empty" exit 1 fi make distclean || true export PYTHON=/usr/bin/python CFLAGS="-O0" ./configure --prefix=$PGINSTALL \ --with-python --enable-tap-tests --enable-cassert --enable-debug \ --with-perl --with-tcl # This works but generates a lot of warnings on MacOS: # --with-gssapi --with-ldap echo '-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-' make -s -j4 echo '-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-' make check