Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing escapes in configure script #164

Open
ThomasDickey opened this issue Mar 8, 2024 · 1 comment
Open

missing escapes in configure script #164

ThomasDickey opened this issue Mar 8, 2024 · 1 comment

Comments

@ThomasDickey
Copy link

in x11/aclocal.m4, I see

if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
        O2SAVE=""
        SAVE2O=""
        CC2O="-o $"'@'
        AC_MSG_RESULT(yes)
else
        O2SAVE="-mv \`basename "$'@'" .sho\`.o \`basename "$'@'" .sho\`.o.save;"
        SAVE2O="-mv \`basename "$'@'" .sho\`.o "$'@'"; mv \`basename "$'@'" .sho\`.o.save \`basename "$'@'" .sho\`.o"
        CC2O=""
        AC_MSG_RESULT(no)
fi

Those dollar-signs in the else-branch are discarded. You can fix this by putting a backslash before each.

@ThomasDickey
Copy link
Author

I forgot to mention that this feeds into the configure script, which was last generated by autoconf 2.69 (but in a quick check with 2.71 and seeing the warning messages, I chose to just edit the copy which I use - ymmv).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant