Lines Matching full:printf
46 printf '%s\n\n' "$1"
52 printf 'usage:\n'
53 printf ' %s -h\n' "$script"
54 printf ' %s --help\n' "$script"
55 printf ' %s [-a|-bD|-dB|-c] [-CeEfgGHilmMNPrtTvz] [-O OPT_LEVEL] [-k KARATSUBA_LEN]\\\n' "$script"
56 printf ' [-s SETTING] [-S SETTING] [-p TYPE]\n'
57 printf ' %s \\\n' "$script"
58 printf ' [--library|--bc-only --disable-dc|--dc-only --disable-bc|--coverage] \\\n'
59 printf ' [--force --debug --disable-extra-math --disable-generated-tests] \\\n'
60 printf ' [--disable-history --disable-man-pages --disable-nls --disable-strip] \\\n'
61 printf ' [--enable-editline] [--enable-readline] [--enable-internal-history] \\\n'
62 printf ' [--disable-problematic-tests] [--install-all-locales] \\\n'
63 printf ' [--opt=OPT_LEVEL] [--karatsuba-len=KARATSUBA_LEN] \\\n'
64 printf ' [--set-default-on=SETTING] [--set-default-off=SETTING] \\\n'
65 printf ' [--predefined-build-type=TYPE] \\\n'
66 printf ' [--prefix=PREFIX] [--bindir=BINDIR] [--datarootdir=DATAROOTDIR] \\\n'
67 printf ' [--datadir=DATADIR] [--mandir=MANDIR] [--man1dir=MAN1DIR] \\\n'
68 printf ' [--man3dir=MAN3DIR]\n'
74 printf '\n'
75 printf ' -a, --library\n'
76 printf ' Build the libbcl instead of the programs. This is meant to be used with\n'
77 printf ' Other software like programming languages that want to make use of the\n'
78 printf ' parsing and math capabilities. This option will install headers using\n'
79 printf ' `make install`.\n'
80 printf ' -b, --bc-only\n'
81 printf ' Build bc only. It is an error if "-d", "--dc-only", "-B", or\n'
82 printf ' "--disable-bc" are specified too.\n'
83 printf ' -B, --disable-bc\n'
84 printf ' Disable bc. It is an error if "-b", "--bc-only", "-D", or "--disable-dc"\n'
85 printf ' are specified too.\n'
86 printf ' -c, --coverage\n'
87 printf ' Generate test coverage code. Requires gcov and gcovr.\n'
88 printf ' It is an error if either "-b" ("-D") or "-d" ("-B") is specified.\n'
89 printf ' Requires a compiler that use gcc-compatible coverage options\n'
90 printf ' -C, --disable-clean\n'
91 printf ' Disable the clean that configure.sh does before configure.\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'
97 printf ' are specified too.\n'
98 printf ' -e, --enable-editline\n'
99 printf ' Enable the use of libedit/editline. This is meant for those users that\n'
100 printf ' want vi-like or Emacs-like behavior in history. This option is ignored\n'
101 printf ' if history is disabled. If the -r or -i options are given with this\n'
102 printf ' option, the last occurrence of all of the three is used.\n'
103 printf ' -E, --disable-extra-math\n'
104 printf ' Disable extra math. This includes: "$" operator (truncate to integer),\n'
105 printf ' "@" operator (set number of decimal places), and r(x, p) (rounding\n'
106 printf ' function). Additionally, this option disables the extra printing\n'
107 printf ' functions in the math library.\n'
108 printf ' -f, --force\n'
109 printf ' Force use of all enabled options, even if they do not work. This\n'
110 printf ' option is to allow the maintainer a way to test that certain options\n'
111 printf ' are not failing invisibly. (Development only.)\n'
112 printf ' -g, --debug\n'
113 printf ' Build in debug mode. Adds the "-g" flag, and if there are no\n'
114 printf ' other CFLAGS, and "-O" was not given, this also adds the "-O0"\n'
115 printf ' flag. If this flag is *not* given, "-DNDEBUG" is added to CPPFLAGS\n'
116 printf ' and a strip flag is added to the link stage.\n'
117 printf ' -G, --disable-generated-tests\n'
118 printf ' Disable generating tests. This is for platforms that do not have a\n'
119 printf ' GNU bc-compatible bc to generate tests.\n'
120 printf ' -h, --help\n'
121 printf ' Print this help message and exit.\n'
122 printf ' -H, --disable-history\n'
123 printf ' Disable history.\n'
124 printf ' -i, --enable-internal-history\n'
125 printf ' Enable the internal history implementation and do not depend on either\n'
126 printf ' editline or readline. This option is ignored if history is disabled.\n'
127 printf ' If this option is given along with -e and -r, the last occurrence of\n'
128 printf ' all of the three is used.\n'
129 printf ' -k KARATSUBA_LEN, --karatsuba-len KARATSUBA_LEN\n'
130 printf ' Set the karatsuba length to KARATSUBA_LEN (default is 32).\n'
131 printf ' It is an error if KARATSUBA_LEN is not a number or is less than 16.\n'
132 printf ' -l, --install-all-locales\n'
133 printf ' Installs all locales, regardless of how many are on the system. This\n'
134 printf ' option is useful for package maintainers who want to make sure that\n'
135 printf ' a package contains all of the locales that end users might need.\n'
136 printf ' -m, --enable-memcheck\n'
137 printf ' Enable memcheck mode, to ensure no memory leaks. For development only.\n'
138 printf ' -M, --disable-man-pages\n'
139 printf ' Disable installing manpages.\n'
140 printf ' -N, --disable-nls\n'
141 printf ' Disable POSIX locale (NLS) support.\n'
142 printf ' ***WARNING***: Locales ignore the prefix because they *must* be\n'
143 printf ' installed at a fixed location to work at all. If you do not want that\n'
144 printf ' to happen, you must disable locales (NLS) completely.\n'
145 printf ' -O OPT_LEVEL, --opt OPT_LEVEL\n'
146 printf ' Set the optimization level. This can also be included in the CFLAGS,\n'
147 printf ' but it is provided, so maintainers can build optimized debug builds.\n'
148 printf ' This is passed through to the compiler, so it must be supported.\n'
149 printf ' -p TYPE, --predefined-build-type=TYPE\n'
150 printf ' Sets a given predefined build type with specific defaults. This is for\n'
151 printf ' easy setting of predefined builds. For example, to get a build that\n'
152 printf ' acts like the GNU bc by default, TYPE should be "GNU" (without the\n'
153 printf ' quotes) This option *must* come before any others that might change the\n'
154 printf ' build options. Currently supported values for TYPE include: "BSD" (for\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'
157 printf ' and "DBG" (for the preferred debug build of the author). This will\n'
158 printf ' also automatically enable a release build (except for "DBG").\n'
159 printf ' -P, --disable-problematic-tests\n'
160 printf ' Disables problematic tests. These tests usually include tests that\n'
161 printf ' can cause a SIGKILL because of too much memory usage.\n'
162 printf ' -r, --enable-readline\n'
163 printf ' Enable the use of libreadline/readline. This is meant for those users\n'
164 printf ' that want vi-like or Emacs-like behavior in history. This option is\n'
165 printf ' ignored if history is disabled. If this option is given along with -e\n'
166 printf ' and -i, the last occurrence of all of the three is used.\n'
167 printf ' -s SETTING, --set-default-on SETTING\n'
168 printf ' Set the default named by SETTING to on. See below for possible values\n'
169 printf ' for SETTING. For multiple instances of the -s or -S for the the same\n'
170 printf ' setting, the last one is used.\n'
171 printf ' -S SETTING, --set-default-off SETTING\n'
172 printf ' Set the default named by SETTING to off. See below for possible values\n'
173 printf ' for SETTING. For multiple instances of the -s or -S for the the same\n'
174 printf ' setting, the last one is used.\n'
175 printf ' -t, --enable-test-timing\n'
176 printf ' Enable the timing of tests. This is for development only.\n'
177 printf ' -T, --disable-strip\n'
178 printf ' Disable stripping symbols from the compiled binary or binaries.\n'
179 printf ' Stripping symbols only happens when debug mode is off.\n'
180 printf ' -v, --enable-valgrind\n'
181 printf ' Enable a build appropriate for valgrind. For development only.\n'
182 printf ' -z, --enable-fuzz-mode\n'
183 printf ' Enable fuzzing mode. THIS IS FOR DEVELOPMENT ONLY.\n'
184 printf ' -Z, --enable-ossfuzz-mode\n'
185 printf ' Enable fuzzing mode for OSS-Fuzz. THIS IS FOR DEVELOPMENT ONLY.\n'
186 printf ' --prefix PREFIX\n'
187 printf ' The prefix to install to. Overrides "$PREFIX" if it exists.\n'
188 printf ' If PREFIX is "/usr", install path will be "/usr/bin".\n'
189 printf ' Default is "/usr/local".\n'
190 printf ' ***WARNING***: Locales ignore the prefix because they *must* be\n'
191 printf ' installed at a fixed location to work at all. If you do not want that to\n'
192 printf ' happen, you must disable locales (NLS) completely.\n'
193 printf ' --bindir BINDIR\n'
194 printf ' The directory to install binaries in. Overrides "$BINDIR" if it exists.\n'
195 printf ' Default is "$PREFIX/bin".\n'
196 printf ' --includedir INCLUDEDIR\n'
197 printf ' The directory to install headers in. Overrides "$INCLUDEDIR" if it\n'
198 printf ' exists. Default is "$PREFIX/include".\n'
199 printf ' --libdir LIBDIR\n'
200 printf ' The directory to install libraries in. Overrides "$LIBDIR" if it exists.\n'
201 printf ' Default is "$PREFIX/lib".\n'
202 printf ' --datarootdir DATAROOTDIR\n'
203 printf ' The root location for data files. Overrides "$DATAROOTDIR" if it exists.\n'
204 printf ' Default is "$PREFIX/share".\n'
205 printf ' --datadir DATADIR\n'
206 printf ' The location for data files. Overrides "$DATADIR" if it exists.\n'
207 printf ' Default is "$DATAROOTDIR".\n'
208 printf ' --mandir MANDIR\n'
209 printf ' The location to install manpages to. Overrides "$MANDIR" if it exists.\n'
210 printf ' Default is "$DATADIR/man".\n'
211 printf ' --man1dir MAN1DIR\n'
212 printf ' The location to install Section 1 manpages to. Overrides "$MAN1DIR" if\n'
213 printf ' it exists. Default is "$MANDIR/man1".\n'
214 printf ' --man3dir MAN3DIR\n'
215 printf ' The location to install Section 3 manpages to. Overrides "$MAN3DIR" if\n'
216 printf ' it exists. Default is "$MANDIR/man3".\n'
217 printf '\n'
218 printf 'In addition, the following environment variables are used:\n'
219 printf '\n'
220 printf ' CC C compiler. Must be compatible with POSIX c99. If there is a\n'
221 printf ' space in the basename of the compiler, the items after the\n'
222 printf ' first space are assumed to be compiler flags, and in that case,\n'
223 printf ' the flags are automatically moved into CFLAGS. Default is\n'
224 printf ' "c99".\n'
225 printf ' HOSTCC Host C compiler. Must be compatible with POSIX c99. If there is\n'
226 printf ' a space in the basename of the compiler, the items after the\n'
227 printf ' first space are assumed to be compiler flags, and in the case,\n'
228 printf ' the flags are automatically moved into HOSTCFLAGS. Default is\n'
229 printf ' "$CC".\n'
230 printf ' HOST_CC Same as HOSTCC. If HOSTCC also exists, it is used.\n'
231 printf ' CFLAGS C compiler flags.\n'
232 printf ' HOSTCFLAGS CFLAGS for HOSTCC. Default is "$CFLAGS".\n'
233 printf ' HOST_CFLAGS Same as HOST_CFLAGS. If HOST_CFLAGS also exists, it is used.\n'
234 printf ' CPPFLAGS C preprocessor flags. Default is "".\n'
235 printf ' LDFLAGS Linker flags. Default is "".\n'
236 printf ' PREFIX The prefix to install to. Default is "/usr/local".\n'
237 printf ' If PREFIX is "/usr", install path will be "/usr/bin".\n'
238 printf ' ***WARNING***: Locales ignore the prefix because they *must* be\n'
239 printf ' installed at a fixed location to work at all. If you do not\n'
240 printf ' want that to happen, you must disable locales (NLS) completely.\n'
241 printf ' BINDIR The directory to install binaries in. Default is "$PREFIX/bin".\n'
242 printf ' INCLUDEDIR The directory to install header files in. Default is\n'
243 printf ' "$PREFIX/include".\n'
244 printf ' LIBDIR The directory to install libraries in. Default is\n'
245 printf ' "$PREFIX/lib".\n'
246 printf ' DATAROOTDIR The root location for data files. Default is "$PREFIX/share".\n'
247 printf ' DATADIR The location for data files. Default is "$DATAROOTDIR".\n'
248 printf ' MANDIR The location to install manpages to. Default is "$DATADIR/man".\n'
249 printf ' MAN1DIR The location to install Section 1 manpages to. Default is\n'
250 printf ' "$MANDIR/man1".\n'
251 printf ' MAN3DIR The location to install Section 3 manpages to. Default is\n'
252 printf ' "$MANDIR/man3".\n'
253 printf ' NLSPATH The location to install locale catalogs to. Must be an absolute\n'
254 printf ' path (or contain one). This is treated the same as the POSIX\n'
255 printf ' definition of $NLSPATH (see POSIX environment variables for\n'
256 printf ' more information). Default is "/usr/share/locale/%%L/%%N".\n'
257 printf ' PC_PATH The location to install pkg-config files to. Must be an\n'
258 printf ' path or contain one. Default is the first path given by the\n'
259 printf ' output of `pkg-config --variable=pc_path pkg-config`.\n'
260 printf ' EXECSUFFIX The suffix to append to the executable names, used to not\n'
261 printf ' interfere with other installed bc executables. Default is "".\n'
262 printf ' EXECPREFIX The prefix to append to the executable names, used to not\n'
263 printf ' interfere with other installed bc executables. Default is "".\n'
264 printf ' DESTDIR For package creation. Default is "". If it is empty when\n'
265 printf ' `%s` is run, it can also be passed to `make install`\n' "$script"
266 printf ' later as an environment variable. If both are specified,\n'
267 printf ' the one given to `%s` takes precedence.\n' "$script"
268 printf ' LONG_BIT The number of bits in a C `long` type. This is mostly for the\n'
269 printf ' embedded space since this `bc` uses `long`s internally for\n'
270 printf ' overflow checking. In C99, a `long` is required to be 32 bits.\n'
271 printf ' For most normal desktop systems, setting this is unnecessary,\n'
272 printf ' except that 32-bit platforms with 64-bit longs may want to set\n'
273 printf ' it to `32`. Default is the default of `LONG_BIT` for the target\n'
274 printf ' platform. Minimum allowed is `32`. It is a build time error if\n'
275 printf ' the specified value of `LONG_BIT` is greater than the default\n'
276 printf ' value of `LONG_BIT` for the target platform.\n'
277 printf ' GEN_HOST Whether to use `gen/strgen.c`, instead of `gen/strgen.sh`, to\n'
278 printf ' produce the C files that contain the help texts as well as the\n'
279 printf ' math libraries. By default, `gen/strgen.c` is used, compiled by\n'
280 printf ' "$HOSTCC" and run on the host machine. Using `gen/strgen.sh`\n'
281 printf ' removes the need to compile and run an executable on the host\n'
282 printf ' machine since `gen/strgen.sh` is a POSIX shell script. However,\n'
283 printf ' `gen/lib2.bc` is over 4095 characters, the max supported length\n'
284 printf ' of a string literal in C99, and `gen/strgen.sh` generates a\n'
285 printf ' string literal instead of an array, as `gen/strgen.c` does. For\n'
286 printf ' most production-ready compilers, this limit probably is not\n'
287 printf ' enforced, but it could be. Both options are still available for\n'
288 printf ' this reason. If you are sure your compiler does not have the\n'
289 printf ' limit and do not want to compile and run a binary on the host\n'
290 printf ' machine, set this variable to "0". Any other value, or a\n'
291 printf ' non-existent value, will cause the build system to compile and\n'
292 printf ' run `gen/strgen.c`. Default is "".\n'
293 printf ' GEN_EMU Emulator to run string generator code under (leave empty if not\n'
294 printf ' necessary). This is not necessary when using `gen/strgen.sh`.\n'
295 printf ' Default is "".\n'
296 printf '\n'
297 printf 'WARNING: even though `configure.sh` supports both option types, short and\n'
298 printf 'long, it does not support handling both at the same time. Use only one type.\n'
299 printf '\n'
300 printf 'Settings\n'
301 printf '========\n'
302 printf '\n'
303 printf 'bc and dc have some settings that, while they cannot be removed by build time\n'
304 printf 'options, can have their defaults changed at build time by packagers. Users are\n'
305 printf 'also able to change each setting with environment variables.\n'
306 printf '\n'
307 printf 'The following is a table of settings, along with their default values and the\n'
308 printf 'environment variables users can use to change them. (For the defaults, non-zero\n'
309 printf 'means on, and zero means off.)\n'
310 printf '\n'
311 printf '| Setting | Description | Default | Env Variable |\n'
312 printf '| =============== | ==================== | ============ | ==================== |\n'
313 printf '| bc.banner | Whether to display | 0 | BC_BANNER |\n'
314 printf '| | the bc version | | |\n'
315 printf '| | banner when in | | |\n'
316 printf '| | interactive mode. | | |\n'
317 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
318 printf '| bc.sigint_reset | Whether SIGINT will | 1 | BC_SIGINT_RESET |\n'
319 printf '| | reset bc, instead of | | |\n'
320 printf '| | exiting, when in | | |\n'
321 printf '| | interactive mode. | | |\n'
322 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
323 printf '| dc.sigint_reset | Whether SIGINT will | 1 | DC_SIGINT_RESET |\n'
324 printf '| | reset dc, instead of | | |\n'
325 printf '| | exiting, when in | | |\n'
326 printf '| | interactive mode. | | |\n'
327 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
328 printf '| bc.tty_mode | Whether TTY mode for | 1 | BC_TTY_MODE |\n'
329 printf '| | bc should be on when | | |\n'
330 printf '| | available. | | |\n'
331 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
332 printf '| dc.tty_mode | Whether TTY mode for | 0 | BC_TTY_MODE |\n'
333 printf '| | dc should be on when | | |\n'
334 printf '| | available. | | |\n'
335 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
336 printf '| bc.prompt | Whether the prompt | $BC_TTY_MODE | BC_PROMPT |\n'
337 printf '| | for bc should be on | | |\n'
338 printf '| | in tty mode. | | |\n'
339 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
340 printf '| dc.prompt | Whether the prompt | $DC_TTY_MODE | DC_PROMPT |\n'
341 printf '| | for dc should be on | | |\n'
342 printf '| | in tty mode. | | |\n'
343 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
344 printf '| bc.expr_exit | Whether to exit bc | 1 | BC_EXPR_EXIT |\n'
345 printf '| | if an expression or | | |\n'
346 printf '| | expression file is | | |\n'
347 printf '| | given with the -e or | | |\n'
348 printf '| | -f options. | | |\n'
349 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
350 printf '| dc.expr_exit | Whether to exit dc | 1 | DC_EXPR_EXIT |\n'
351 printf '| | if an expression or | | |\n'
352 printf '| | expression file is | | |\n'
353 printf '| | given with the -e or | | |\n'
354 printf '| | -f options. | | |\n'
355 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
356 printf '| bc.digit_clamp | Whether to have bc | 0 | BC_DIGIT_CLAMP |\n'
357 printf '| | clamp digits that | | |\n'
358 printf '| | are greater than or | | |\n'
359 printf '| | equal to the current | | |\n'
360 printf '| | ibase when parsing | | |\n'
361 printf '| | numbers. | | |\n'
362 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
363 printf '| dc.digit_clamp | Whether to have dc | 0 | DC_DIGIT_CLAMP |\n'
364 printf '| | clamp digits that | | |\n'
365 printf '| | are greater than or | | |\n'
366 printf '| | equal to the current | | |\n'
367 printf '| | ibase when parsing | | |\n'
368 printf '| | numbers. | | |\n'
369 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
370 printf '\n'
371 printf 'These settings are not meant to be changed on a whim. They are meant to ensure\n'
372 printf 'that this bc and dc will conform to the expectations of the user on each\n'
373 printf 'platform.\n'
397 printf '%s\n' "$_replace_ext_result"
422 printf '%s\n' "$_replace_exts_result"
461 _find_src_files_args=$(printf '%s\n%s/src/%s\n' "$_find_src_files_args" "$scriptdir" "${_find_src_files_a}")
477 _find_src_files_result=$(printf '%s\n%s\n' "$_find_src_files_result" "$_find_src_files_f")
481 printf '%s\n' "$_find_src_files_result"
532 printf '%s\n' "$_gen_file_list_contents"
560 printf 'test_%s_%s:\n\t@printf "Skipping %s %s\\n"\n\n' \
568 printf 'test_%s_%s:\n\t@export BC_TEST_OUTPUT_DIR="%s/tests"; sh $(TESTSDIR)/test.sh %s %s %s %s %s\n\n' \
588 printf ' test_%s_%s' "$_gen_std_test_targets_name" "$_gen_std_test_targets_t"
591 printf '\n'
608 printf 'test_%s_error_%s:\n\t@export BC_TEST_OUTPUT_DIR="%s/tests"; sh $(TESTSDIR)/error.sh %s %s %s %s\n\n' \
628 printf ' test_%s_error_%s' "$_gen_err_test_targets_name" "$_gen_err_test_targets_t"
631 printf '\n'
662 printf 'test_%s_script_%s:\n\t@export BC_TEST_OUTPUT_DIR="%s/tests"; sh $(TESTSDIR)/script.sh %s %s %s 1 %s %s %s\n\n' \
869 printf ' test_%s_script_%s' "$_gen_script_test_targets_name" \
873 printf '\n'
1220 link="@printf 'No link necessary\\\\n'"
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'"
1295 dc_test="@printf 'No dc tests to run\\\\n'"
1296 dc_test_np="@printf 'No dc tests to run\\\\n'"
1321 bc_test="@printf 'No bc tests to run\\\\n'"
1322 bc_test_np="@printf 'No bc tests to run\\\\n'"
1325 timeconst="@printf 'timeconst cannot be run because bc is not built\\\\n'"
1448 COVERAGE_OUTPUT="@printf 'Coverage not generated\\\\n'"
1537 printf 'Testing NLS...\n'
1559 printf 'NLS does not work.\n'
1561 printf 'Disabling NLS...\n\n'
1564 printf 'Forcing NLS...\n\n'
1567 printf 'NLS works.\n\n'
1569 printf 'Testing gencat...\n'
1577 printf 'gencat does not work.\n'
1579 printf 'Disabling NLS...\n\n'
1582 printf 'Forcing NLS...\n\n'
1586 printf 'gencat works.\n\n'
1592 printf 'Cross-compile detected.\n\n'
1593 printf 'WARNING: Catalog files generated with gencat may not be portable\n'
1594 printf ' across different architectures.\n\n'
1638 printf 'Testing history...\n'
1655 printf 'History does not work.\n'
1657 printf 'Disabling history...\n\n'
1660 printf 'Forcing history...\n\n'
1663 printf 'History works.\n\n'
1680 history_tests="@printf 'Skipping history tests...\\\\n'"
1685 history_tests="@printf '\$(TEST_STARS)\\\\n\\\\nRunning history tests...\\\\n\\\\n'"
1687 history_tests="$history_tests \$(TESTSDIR)/history.sh dc -a \&\& printf"
1692 history_tests="@printf 'Skipping history tests...\\\\n'"
1713 printf 'Testing for FreeBSD...\n'
1721 printf 'On FreeBSD. Not using _POSIX_C_SOURCE and _XOPEN_SOURCE.\n\n'
1723 printf 'Not on FreeBSD. Using _POSIX_C_SOURCE and _XOPEN_SOURCE.\n\n'
1730 printf 'Testing for macOS...\n'
1738 printf 'On macOS. Using _DARWIN_C_SOURCE.\n\n'
1741 printf 'Not on macOS.\n\n'
1758 printf 'Testing for OpenBSD...\n'
1767 printf 'On OpenBSD. Using _BSD_SOURCE.\n\n'
1776 printf 'Not on OpenBSD.\n\n'
1805 GEN_EXEC_TARGET="@printf 'Do not need to build gen/strgen.c\\\\n'"
1871 printf '%s\n' "$contents" > "$scriptdir/bcl.pc"
1932 printf 'unneeded: %s\n' "$unneeded"
1935 printf 'Version: %s\n' "$version"
1938 printf 'Building bc\n'
1940 printf 'Not building bc\n'
1943 printf 'Building dc\n'
1945 printf 'Not building dc\n'
1947 printf '\n'
1948 printf 'BC_ENABLE_LIBRARY=%s\n\n' "$library"
1949 printf 'BC_ENABLE_HISTORY=%s\n' "$hist"
1950 printf 'BC_ENABLE_EXTRA_MATH=%s\n' "$extra_math"
1951 printf 'BC_ENABLE_NLS=%s\n\n' "$nls"
1952 printf 'BC_ENABLE_AFL=%s\n' "$fuzz"
1953 printf '\n'
1954 printf 'BC_NUM_KARATSUBA_LEN=%s\n' "$karatsuba_len"
1955 printf '\n'
1956 printf 'CC=%s\n' "$CC"
1957 printf 'CFLAGS=%s\n' "$CFLAGS"
1958 printf 'HOSTCC=%s\n' "$HOSTCC"
1959 printf 'HOSTCFLAGS=%s\n' "$HOSTCFLAGS"
1960 printf 'CPPFLAGS=%s\n' "$CPPFLAGS"
1961 printf 'LDFLAGS=%s\n' "$LDFLAGS"
1962 printf 'PREFIX=%s\n' "$PREFIX"
1963 printf 'BINDIR=%s\n' "$BINDIR"
1964 printf 'INCLUDEDIR=%s\n' "$INCLUDEDIR"
1965 printf 'LIBDIR=%s\n' "$LIBDIR"
1966 printf 'DATAROOTDIR=%s\n' "$DATAROOTDIR"
1967 printf 'DATADIR=%s\n' "$DATADIR"
1968 printf 'MANDIR=%s\n' "$MANDIR"
1969 printf 'MAN1DIR=%s\n' "$MAN1DIR"
1970 printf 'MAN3DIR=%s\n' "$MAN3DIR"
1971 printf 'NLSPATH=%s\n' "$NLSPATH"
1972 printf 'PC_PATH=%s\n' "$PC_PATH"
1973 printf 'EXECSUFFIX=%s\n' "$EXECSUFFIX"
1974 printf 'EXECPREFIX=%s\n' "$EXECPREFIX"
1975 printf 'DESTDIR=%s\n' "$DESTDIR"
1976 printf 'LONG_BIT=%s\n' "$LONG_BIT"
1977 printf 'GEN_HOST=%s\n' "$GEN_HOST"
1978 printf 'GEN_EMU=%s\n' "$GEN_EMU"
1979 printf '\n'
1980 printf 'Setting Defaults\n'
1981 printf '================\n'
1982 printf 'bc.banner=%s\n' "$bc_default_banner"
1983 printf 'bc.sigint_reset=%s\n' "$bc_default_sigint_reset"
1984 printf 'dc.sigint_reset=%s\n' "$dc_default_sigint_reset"
1985 printf 'bc.tty_mode=%s\n' "$bc_default_tty_mode"
1986 printf 'dc.tty_mode=%s\n' "$dc_default_tty_mode"
1987 printf 'bc.prompt=%s\n' "$bc_default_prompt"
1988 printf 'dc.prompt=%s\n' "$dc_default_prompt"
1989 printf 'bc.expr_exit=%s\n' "$bc_default_expr_exit"
1990 printf 'dc.expr_exit=%s\n' "$dc_default_expr_exit"
1991 printf 'bc.digit_clamp=%s\n' "$bc_default_digit_clamp"
1992 printf 'dc.digit_clamp=%s\n' "$dc_default_digit_clamp"
2000 printf '\n********************************************************************************\n\n'
2001 printf 'WARNING: Locales will *NOT* be installed in $PREFIX (%s).\n' "$PREFIX"
2002 printf '\n'
2003 printf ' This is because they *MUST* be installed at a fixed location to even\n'
2004 printf ' work, and that fixed location is $NLSPATH (%s).\n' "$NLSPATH"
2005 printf '\n'
2006 printf ' This location is *outside* of $PREFIX. If you do not wish to install\n'
2007 printf ' locales outside of $PREFIX, you must disable NLS with the -N or the\n'
2008 printf ' --disable-nls options.\n'
2009 printf '\n'
2010 printf ' The author apologizes for the inconvenience, but the need to install\n'
2011 printf ' the locales at a fixed location is mandated by POSIX, and it is not\n'
2012 printf ' possible for the author to change that requirement.\n'
2013 printf '\n********************************************************************************\n'
2039 SRC_TARGETS=$(printf '%s\n\nsrc/%s: src %s %s\n\t$(CC) $(CFLAGS) -o src/%s -c %s\n' \
2170 printf '%s\n%s\n\n' "$contents" "$SRC_TARGETS" > "Makefile"
2187 printf 'bc_fuzzer_c: $(BC_FUZZER)\n\tln -sf $(BC_FUZZER) bc_fuzzer_c\n' >> Makefile
2188 printf 'bc_fuzzer_C: $(BC_FUZZER)\n\tln -sf $(BC_FUZZER) bc_fuzzer_C\n' >> Makefile
2189 printf 'dc_fuzzer_c: $(DC_FUZZER)\n\tln -sf $(DC_FUZZER) dc_fuzzer_c\n' >> Makefile
2190 printf 'dc_fuzzer_C: $(DC_FUZZER)\n\tln -sf $(DC_FUZZER) dc_fuzzer_C\n' >> Makefile