3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/x11/xorg/imake-setup-hook.sh

20 lines
403 B
Bash
Raw Normal View History

2018-11-28 01:48:07 +00:00
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
2018-11-28 01:48:07 +00:00
configurePhase=imakeConfigurePhase
fi