# Hack up ldmain compile.
/^"{o}"ldmain.c.o \\Option-f .* config.status$/,/^$/c\
"{o}"ldmain.c.o \\Option-f "{s}"ldmain.c\
- {CC} @DASH_C_FLAG@ -d DEFAULT_EMULATION='"'{EMUL}'"' -d SCRIPTDIR='"'{scriptdir}'"' {ALL_CFLAGS} "{s}"ldmain.c -o "{o}"ldmain.c.o\
+ {CC} @DASH_C_FLAG@ -d DEFAULT_EMULATION={dq}{EMUL}{dq} -d SCRIPTDIR={dq}{scriptdir}{dq} {ALL_CFLAGS} "{s}"ldmain.c -o "{o}"ldmain.c.o\
# Remove ldemul-list.h build, rely on configure to make one.
install \\Option-f all install-only\
\
install-only \\Option-f\
- If "`Exists "{prefix}"`" == ""\
- Echo "{prefix}" does not exist, cannot install anything\
- Exit 1\
- End If\
- If "`Exists "{bindir}"`" == ""\
- NewFolder "{bindir}"\
- End If\
+ NewFolderRecursive "{bindir}"\
Duplicate -y :ld.new "{bindir}"ld\