# "configure" calls hdt-cpp's configure with suitable parameters. # TODO: The git commands should probably be in a "dependencies" # step; however, that requires adding # prolog:build_step(dependencies, make) to build/make.pl set -e -x HDTHOME=hdt-cpp # For development of hdt-cpp, comment out the following 2 lines: [ ! -f ${HDTHOME}/autogen.sh ] || (cd ${HDTHOME} && git reset --hard) git submodule update --init ${HDTHOME} cd ${HDTHOME} ./autogen.sh ./configure --prefix=${HOME}/.local CXXFLAGS='-fPIC -O2 -Wall' CFLAGS='-fPIC -O2 -Wall'