1 2 3 4 5 6 7 8 9 10 11 12 13
expect_configuration always common_setup make configure bindir='${prefix}/special' make clean expected='bindir = ${prefix}/special' conf=$(make show_configuration --no-print-directory) if [ "${conf}" != "${expected}" ] ; then echo "Expected configuration:" >&2 echo "${expected}" >&2 echo "Configuration found:" >&2 echo "${conf}" >&2 exit 1 fi