Lines Matching refs:dc

58 	printf '       [--library|--bc-only --disable-dc|--dc-only --disable-bc|--coverage]  \\\n'
81 printf ' Build bc only. It is an error if "-d", "--dc-only", "-B", or\n'
84 printf ' Disable bc. It is an error if "-b", "--bc-only", "-D", or "--disable-dc"\n'
92 printf ' -d, --dc-only\n'
93 printf ' Build dc only. It is an error if "-b", "--bc-only", "-D", or\n'
94 printf ' "--disable-dc" are specified too.\n'
95 printf ' -D, --disable-dc\n'
96 printf ' Disable dc. It is an error if "-d", "--dc-only", "-B", or "--disable-bc"\n'
155 printf ' matching the BSD bc and BSD dc), "GNU" (for matching the GNU bc and\n'
156 printf ' dc), "GDH" (for the preferred build of the author, Gavin D. Howard),\n'
303 printf 'bc and dc have some settings that, while they cannot be removed by build time\n'
323 printf '| dc.sigint_reset | Whether SIGINT will | 1 | DC_SIGINT_RESET |\n'
324 printf '| | reset dc, instead of | | |\n'
332 printf '| dc.tty_mode | Whether TTY mode for | 0 | BC_TTY_MODE |\n'
333 printf '| | dc should be on when | | |\n'
340 printf '| dc.prompt | Whether the prompt | $DC_TTY_MODE | DC_PROMPT |\n'
341 printf '| | for dc should be on | | |\n'
350 printf '| dc.expr_exit | Whether to exit dc | 1 | DC_EXPR_EXIT |\n'
363 printf '| dc.digit_clamp | Whether to have dc | 0 | DC_DIGIT_CLAMP |\n'
372 printf 'that this bc and dc will conform to the expectations of the user on each\n'
685 dc.sigint_reset) dc_default_sigint_reset="$_set_default_on" ;;
687 dc.tty_mode) dc_default_tty_mode="$_set_default_on" ;;
689 dc.prompt) dc_default_prompt="$_set_default_on" ;;
691 dc.expr_exit) dc_default_expr_exit="$_set_default_on";;
693 dc.digit_clamp) dc_default_digit_clamp="$_set_default_on";;
965 dc-only) dc_only=1 ;;
1068 disable-dc) bc_only=1 ;;
1086 help* | bc-only* | dc-only* | coverage* | debug*)
1088 disable-bc* | disable-dc* | disable-clean*)
1124 # It is an error to say that bc only should be built and likewise for dc.
1228 dc_test="@export BC_TEST_OUTPUT_DIR=\"$builddir/tests\"; \$(TESTSDIR)/all.sh dc $extra_math 1 $generate_tests $problematic_tests $time_tests \$(DC_EXEC)"
1229 dc_test_np="@export BC_TEST_OUTPUT_DIR=\"$builddir/tests\"; \$(TESTSDIR)/all.sh -n dc $extra_math 1 $generate_tests $problematic_tests $time_tests \$(DC_EXEC)"
1249 karatsuba="@printf 'karatsuba cannot be run because one of bc or dc is not built\\\\n'"
1250 karatsuba_test="@printf 'karatsuba cannot be run because one of bc or dc is not built\\\\n'"
1265 # the library is being built, bc only, dc only, or both calculators.
1272 dc=1
1289 dc=0
1295 dc_test="@printf 'No dc tests to run\\\\n'"
1296 dc_test_np="@printf 'No dc tests to run\\\\n'"
1311 dc=1
1316 executables="dc"
1341 dc=1
1376 dc=1
1378 executables="bc and dc"
1539 flags="-DBC_ENABLE_NLS=1 -DBC_ENABLED=$bc -DDC_ENABLED=$dc"
1640 flags="-DBC_ENABLE_HISTORY=1 -DBC_ENABLED=$bc -DDC_ENABLED=$dc"
1687 history_tests="$history_tests \$(TESTSDIR)/history.sh dc -a \&\& printf"
1845 if [ "$dc" -eq 0 ]; then
1846 unneeded="$unneeded dc.c dc_lex.c dc_parse.c"
1860 unneeded="$unneeded dc.c dc_lex.c dc_parse.c"
1928 dc_tests=$(gen_std_test_targets dc)
1929 dc_script_tests=$(gen_script_test_targets dc)
1930 dc_err_tests=$(gen_err_test_targets dc)
1942 if [ "$dc" -ne 0 ]; then
1943 printf 'Building dc\n'
1945 printf 'Not building dc\n'
1984 printf 'dc.sigint_reset=%s\n' "$dc_default_sigint_reset"
1986 printf 'dc.tty_mode=%s\n' "$dc_default_tty_mode"
1988 printf 'dc.prompt=%s\n' "$dc_default_prompt"
1990 printf 'dc.expr_exit=%s\n' "$dc_default_expr_exit"
1992 printf 'dc.digit_clamp=%s\n' "$dc_default_digit_clamp"
2050 contents=$(replace "$contents" "DC_ENABLED" "$dc")
2179 if [ "$dc" -ne 0 ]; then
2180 gen_std_tests dc "$extra_math" "$time_tests" $dc_test_exec
2181 gen_script_tests dc "$extra_math" "$generate_tests" "$time_tests" $dc_test_exec
2182 gen_err_tests dc $dc_test_exec
2198 cp -f "$scriptdir/manuals/dc/$manpage_args.1.md" manuals/dc.1.md
2199 cp -f "$scriptdir/manuals/dc/$manpage_args.1" manuals/dc.1