We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ee53f commit 7eb0255Copy full SHA for 7eb0255
configure.ac
@@ -117,7 +117,8 @@ AM_MAINTAINER_MODE
117
118
dnl GNU and BSD make are okay with the syntax, but Sun make/dmake are not:
119
AC_MSG_CHECKING([whether this make implementation supports export VAR=VAL syntax])
120
-nut_am_output="`printf 'export VAR=VAL\ntest:\n\t@echo "VAR=\$(VAR)"\n' | ${MAKE-make} -f - test`"
+dnl # using printf formatting for some funniner shells out there
121
+nut_am_output="`printf 'export VAR=VAL\ntest:\n\t@echo "VAR=%s%sVAR%s"\n' '\$' '(' ')' | ${MAKE-make} -f - test`"
122
nut_am_result="$?"
123
AS_IF([test x"${nut_am_result}" = x0 -a x"${nut_am_output}" = x"VAR=VAL"], [
124
NUT_AM_MAKE_CAN_EXPORT=""
0 commit comments