Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
19 lines
403 B
Bash
19 lines
403 B
Bash
export IMAKECPP="@tradcpp@/bin/tradcpp"
|
|
|
|
imakeConfigurePhase() {
|
|
runHook preConfigure
|
|
|
|
echoCmd 'configuring with imake'
|
|
|
|
if [ -z "${imakefile:-}" -a ! -e Imakefile ]; then
|
|
echo "no Imakefile, doing nothing"
|
|
else
|
|
xmkmf -a
|
|
fi
|
|
|
|
runHook postConfigure
|
|
}
|
|
|
|
if [ -z "${dontUseImakeConfigure-}" -a -z "${configurePhase-}" ]; then
|
|
configurePhase=imakeConfigurePhase
|
|
fi
|