• Home
  • Raw
  • Download

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 64).\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 -r, 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 ' --prefix PREFIX\n'
185 printf ' The prefix to install to. Overrides "$PREFIX" if it exists.\n'
186 printf ' If PREFIX is "/usr", install path will be "/usr/bin".\n'
187 printf ' Default is "/usr/local".\n'
188 printf ' ***WARNING***: Locales ignore the prefix because they *must* be\n'
189 printf ' installed at a fixed location to work at all. If you do not want that to\n'
190 printf ' happen, you must disable locales (NLS) completely.\n'
191 printf ' --bindir BINDIR\n'
192 printf ' The directory to install binaries in. Overrides "$BINDIR" if it exists.\n'
193 printf ' Default is "$PREFIX/bin".\n'
194 printf ' --includedir INCLUDEDIR\n'
195 printf ' The directory to install headers in. Overrides "$INCLUDEDIR" if it\n'
196 printf ' exists. Default is "$PREFIX/include".\n'
197 printf ' --libdir LIBDIR\n'
198 printf ' The directory to install libraries in. Overrides "$LIBDIR" if it exists.\n'
199 printf ' Default is "$PREFIX/lib".\n'
200 printf ' --datarootdir DATAROOTDIR\n'
201 printf ' The root location for data files. Overrides "$DATAROOTDIR" if it exists.\n'
202 printf ' Default is "$PREFIX/share".\n'
203 printf ' --datadir DATADIR\n'
204 printf ' The location for data files. Overrides "$DATADIR" if it exists.\n'
205 printf ' Default is "$DATAROOTDIR".\n'
206 printf ' --mandir MANDIR\n'
207 printf ' The location to install manpages to. Overrides "$MANDIR" if it exists.\n'
208 printf ' Default is "$DATADIR/man".\n'
209 printf ' --man1dir MAN1DIR\n'
210 printf ' The location to install Section 1 manpages to. Overrides "$MAN1DIR" if\n'
211 printf ' it exists. Default is "$MANDIR/man1".\n'
212 printf ' --man3dir MAN3DIR\n'
213 printf ' The location to install Section 3 manpages to. Overrides "$MAN3DIR" if\n'
214 printf ' it exists. Default is "$MANDIR/man3".\n'
215 printf '\n'
216 printf 'In addition, the following environment variables are used:\n'
217 printf '\n'
218 printf ' CC C compiler. Must be compatible with POSIX c99. If there is a\n'
219 printf ' space in the basename of the compiler, the items after the\n'
220 printf ' first space are assumed to be compiler flags, and in that case,\n'
221 printf ' the flags are automatically moved into CFLAGS. Default is\n'
222 printf ' "c99".\n'
223 printf ' HOSTCC Host C compiler. Must be compatible with POSIX c99. If there is\n'
224 printf ' a space in the basename of the compiler, the items after the\n'
225 printf ' first space are assumed to be compiler flags, and in the case,\n'
226 printf ' the flags are automatically moved into HOSTCFLAGS. Default is\n'
227 printf ' "$CC".\n'
228 printf ' HOST_CC Same as HOSTCC. If HOSTCC also exists, it is used.\n'
229 printf ' CFLAGS C compiler flags.\n'
230 printf ' HOSTCFLAGS CFLAGS for HOSTCC. Default is "$CFLAGS".\n'
231 printf ' HOST_CFLAGS Same as HOST_CFLAGS. If HOST_CFLAGS also exists, it is used.\n'
232 printf ' CPPFLAGS C preprocessor flags. Default is "".\n'
233 printf ' LDFLAGS Linker flags. Default is "".\n'
234 printf ' PREFIX The prefix to install to. Default is "/usr/local".\n'
235 printf ' If PREFIX is "/usr", install path will be "/usr/bin".\n'
236 printf ' ***WARNING***: Locales ignore the prefix because they *must* be\n'
237 printf ' installed at a fixed location to work at all. If you do not\n'
238 printf ' want that to happen, you must disable locales (NLS) completely.\n'
239 printf ' BINDIR The directory to install binaries in. Default is "$PREFIX/bin".\n'
240 printf ' INCLUDEDIR The directory to install header files in. Default is\n'
241 printf ' "$PREFIX/include".\n'
242 printf ' LIBDIR The directory to install libraries in. Default is\n'
243 printf ' "$PREFIX/lib".\n'
244 printf ' DATAROOTDIR The root location for data files. Default is "$PREFIX/share".\n'
245 printf ' DATADIR The location for data files. Default is "$DATAROOTDIR".\n'
246 printf ' MANDIR The location to install manpages to. Default is "$DATADIR/man".\n'
247 printf ' MAN1DIR The location to install Section 1 manpages to. Default is\n'
248 printf ' "$MANDIR/man1".\n'
249 printf ' MAN3DIR The location to install Section 3 manpages to. Default is\n'
250 printf ' "$MANDIR/man3".\n'
251 printf ' NLSPATH The location to install locale catalogs to. Must be an absolute\n'
252 printf ' path (or contain one). This is treated the same as the POSIX\n'
253 printf ' definition of $NLSPATH (see POSIX environment variables for\n'
254 printf ' more information). Default is "/usr/share/locale/%%L/%%N".\n'
255 printf ' PC_PATH The location to install pkg-config files to. Must be an\n'
256 printf ' path or contain one. Default is the first path given by the\n'
257 printf ' output of `pkg-config --variable=pc_path pkg-config`.\n'
258 printf ' EXECSUFFIX The suffix to append to the executable names, used to not\n'
259 printf ' interfere with other installed bc executables. Default is "".\n'
260 printf ' EXECPREFIX The prefix to append to the executable names, used to not\n'
261 printf ' interfere with other installed bc executables. Default is "".\n'
262 printf ' DESTDIR For package creation. Default is "". If it is empty when\n'
263 printf ' `%s` is run, it can also be passed to `make install`\n' "$script"
264 printf ' later as an environment variable. If both are specified,\n'
265 printf ' the one given to `%s` takes precedence.\n' "$script"
266 printf ' LONG_BIT The number of bits in a C `long` type. This is mostly for the\n'
267 printf ' embedded space since this `bc` uses `long`s internally for\n'
268 printf ' overflow checking. In C99, a `long` is required to be 32 bits.\n'
269 printf ' For most normal desktop systems, setting this is unnecessary,\n'
270 printf ' except that 32-bit platforms with 64-bit longs may want to set\n'
271 printf ' it to `32`. Default is the default of `LONG_BIT` for the target\n'
272 printf ' platform. Minimum allowed is `32`. It is a build time error if\n'
273 printf ' the specified value of `LONG_BIT` is greater than the default\n'
274 printf ' value of `LONG_BIT` for the target platform.\n'
275 printf ' GEN_HOST Whether to use `gen/strgen.c`, instead of `gen/strgen.sh`, to\n'
276 printf ' produce the C files that contain the help texts as well as the\n'
277 printf ' math libraries. By default, `gen/strgen.c` is used, compiled by\n'
278 printf ' "$HOSTCC" and run on the host machine. Using `gen/strgen.sh`\n'
279 printf ' removes the need to compile and run an executable on the host\n'
280 printf ' machine since `gen/strgen.sh` is a POSIX shell script. However,\n'
281 printf ' `gen/lib2.bc` is over 4095 characters, the max supported length\n'
282 printf ' of a string literal in C99, and `gen/strgen.sh` generates a\n'
283 printf ' string literal instead of an array, as `gen/strgen.c` does. For\n'
284 printf ' most production-ready compilers, this limit probably is not\n'
285 printf ' enforced, but it could be. Both options are still available for\n'
286 printf ' this reason. If you are sure your compiler does not have the\n'
287 printf ' limit and do not want to compile and run a binary on the host\n'
288 printf ' machine, set this variable to "0". Any other value, or a\n'
289 printf ' non-existent value, will cause the build system to compile and\n'
290 printf ' run `gen/strgen.c`. Default is "".\n'
291 printf ' GEN_EMU Emulator to run string generator code under (leave empty if not\n'
292 printf ' necessary). This is not necessary when using `gen/strgen.sh`.\n'
293 printf ' Default is "".\n'
294 printf '\n'
295 printf 'WARNING: even though `configure.sh` supports both option types, short and\n'
296 printf 'long, it does not support handling both at the same time. Use only one type.\n'
297 printf '\n'
298 printf 'Settings\n'
299 printf '========\n'
300 printf '\n'
301 printf 'bc and dc have some settings that, while they cannot be removed by build time\n'
302 printf 'options, can have their defaults changed at build time by packagers. Users are\n'
303 printf 'also able to change each setting with environment variables.\n'
304 printf '\n'
305 printf 'The following is a table of settings, along with their default values and the\n'
306 printf 'environment variables users can use to change them. (For the defaults, non-zero\n'
307 printf 'means on, and zero means off.)\n'
308 printf '\n'
309 printf '| Setting | Description | Default | Env Variable |\n'
310 printf '| =============== | ==================== | ============ | ==================== |\n'
311 printf '| bc.banner | Whether to display | 0 | BC_BANNER |\n'
312 printf '| | the bc version | | |\n'
313 printf '| | banner when in | | |\n'
314 printf '| | interactive mode. | | |\n'
315 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
316 printf '| bc.sigint_reset | Whether SIGINT will | 1 | BC_SIGINT_RESET |\n'
317 printf '| | reset bc, instead of | | |\n'
318 printf '| | exiting, when in | | |\n'
319 printf '| | interactive mode. | | |\n'
320 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
321 printf '| dc.sigint_reset | Whether SIGINT will | 1 | DC_SIGINT_RESET |\n'
322 printf '| | reset dc, instead of | | |\n'
323 printf '| | exiting, when in | | |\n'
324 printf '| | interactive mode. | | |\n'
325 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
326 printf '| bc.tty_mode | Whether TTY mode for | 1 | BC_TTY_MODE |\n'
327 printf '| | bc should be on when | | |\n'
328 printf '| | available. | | |\n'
329 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
330 printf '| dc.tty_mode | Whether TTY mode for | 0 | BC_TTY_MODE |\n'
331 printf '| | dc should be on when | | |\n'
332 printf '| | available. | | |\n'
333 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
334 printf '| bc.prompt | Whether the prompt | $BC_TTY_MODE | BC_PROMPT |\n'
335 printf '| | for bc should be on | | |\n'
336 printf '| | in tty mode. | | |\n'
337 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
338 printf '| dc.prompt | Whether the prompt | $DC_TTY_MODE | DC_PROMPT |\n'
339 printf '| | for dc should be on | | |\n'
340 printf '| | in tty mode. | | |\n'
341 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
342 printf '| bc.expr_exit | Whether to exit bc | 1 | BC_EXPR_EXIT |\n'
343 printf '| | if an expression or | | |\n'
344 printf '| | expression file is | | |\n'
345 printf '| | given with the -e or | | |\n'
346 printf '| | -f options. | | |\n'
347 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
348 printf '| dc.expr_exit | Whether to exit dc | 1 | DC_EXPR_EXIT |\n'
349 printf '| | if an expression or | | |\n'
350 printf '| | expression file is | | |\n'
351 printf '| | given with the -e or | | |\n'
352 printf '| | -f options. | | |\n'
353 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
354 printf '| bc.digit_clamp | Whether to have bc | 0 | BC_DIGIT_CLAMP |\n'
355 printf '| | clamp digits that | | |\n'
356 printf '| | are greater than or | | |\n'
357 printf '| | equal to the current | | |\n'
358 printf '| | ibase when parsing | | |\n'
359 printf '| | numbers. | | |\n'
360 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
361 printf '| dc.digit_clamp | Whether to have dc | 0 | DC_DIGIT_CLAMP |\n'
362 printf '| | clamp digits that | | |\n'
363 printf '| | are greater than or | | |\n'
364 printf '| | equal to the current | | |\n'
365 printf '| | ibase when parsing | | |\n'
366 printf '| | numbers. | | |\n'
367 printf '| --------------- | -------------------- | ------------ | -------------------- |\n'
368 printf '\n'
369 printf 'These settings are not meant to be changed on a whim. They are meant to ensure\n'
370 printf 'that this bc and dc will conform to the expectations of the user on each\n'
371 printf 'platform.\n'
395 printf '%s\n' "$_replace_ext_result"
420 printf '%s\n' "$_replace_exts_result"
459 _find_src_files_args=$(printf '%s\n%s/src/%s\n' "$_find_src_files_args" "$scriptdir" "${_find_src_files_a}")
475 _find_src_files_result=$(printf '%s\n%s\n' "$_find_src_files_result" "$_find_src_files_f")
479 printf '%s\n' "$_find_src_files_result"
530 printf '%s\n' "$_gen_file_list_contents"
558 printf 'test_%s_%s:\n\t@printf "Skipping %s %s\\n"\n\n' \
566 printf 'test_%s_%s:\n\t@export BC_TEST_OUTPUT_DIR="%s/tests"; sh $(TESTSDIR)/test.sh %s %s %s %s %s\n\n' \
586 printf ' test_%s_%s' "$_gen_std_test_targets_name" "$_gen_std_test_targets_t"
589 printf '\n'
606 printf 'test_%s_error_%s:\n\t@export BC_TEST_OUTPUT_DIR="%s/tests"; sh $(TESTSDIR)/error.sh %s %s %s %s\n\n' \
626 printf ' test_%s_error_%s' "$_gen_err_test_targets_name" "$_gen_err_test_targets_t"
629 printf '\n'
660 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' \
861 printf ' test_%s_script_%s' "$_gen_script_test_targets_name" \
865 printf '\n'
1209 link="@printf 'No link necessary\\\\n'"
1238 karatsuba="@printf 'karatsuba cannot be run because one of bc or dc is not built\\\\n'"
1239 karatsuba_test="@printf 'karatsuba cannot be run because one of bc or dc is not built\\\\n'"
1284 dc_test="@printf 'No dc tests to run\\\\n'"
1285 dc_test_np="@printf 'No dc tests to run\\\\n'"
1310 bc_test="@printf 'No bc tests to run\\\\n'"
1311 bc_test_np="@printf 'No bc tests to run\\\\n'"
1314 timeconst="@printf 'timeconst cannot be run because bc is not built\\\\n'"
1405 COVERAGE_OUTPUT="@printf 'Coverage not generated\\\\n'"
1495 printf 'Testing NLS...\n'
1517 printf 'NLS does not work.\n'
1519 printf 'Disabling NLS...\n\n'
1522 printf 'Forcing NLS...\n\n'
1525 printf 'NLS works.\n\n'
1527 printf 'Testing gencat...\n'
1535 printf 'gencat does not work.\n'
1537 printf 'Disabling NLS...\n\n'
1540 printf 'Forcing NLS...\n\n'
1544 printf 'gencat works.\n\n'
1550 printf 'Cross-compile detected.\n\n'
1551 printf 'WARNING: Catalog files generated with gencat may not be portable\n'
1552 printf ' across different architectures.\n\n'
1596 printf 'Testing history...\n'
1613 printf 'History does not work.\n'
1615 printf 'Disabling history...\n\n'
1618 printf 'Forcing history...\n\n'
1621 printf 'History works.\n\n'
1638 history_tests="@printf 'Skipping history tests...\\\\n'"
1643 history_tests="@printf '\$(TEST_STARS)\\\\n\\\\nRunning history tests...\\\\n\\\\n'"
1645 history_tests="$history_tests \$(TESTSDIR)/history.sh dc -a \&\& printf"
1650 history_tests="@printf 'Skipping history tests...\\\\n'"
1671 printf 'Testing for FreeBSD...\n'
1679 printf 'On FreeBSD. Not using _POSIX_C_SOURCE and _XOPEN_SOURCE.\n\n'
1681 printf 'Not on FreeBSD. Using _POSIX_C_SOURCE and _XOPEN_SOURCE.\n\n'
1688 printf 'Testing for Mac OSX...\n'
1696 printf 'On Mac OSX. Using _DARWIN_C_SOURCE.\n\n'
1699 printf 'Not on Mac OSX.\n\n'
1711 printf 'Testing for OpenBSD...\n'
1720 printf 'On OpenBSD. Using _BSD_SOURCE.\n\n'
1729 printf 'Not on OpenBSD.\n\n'
1758 GEN_EXEC_TARGET="@printf 'Do not need to build gen/strgen.c\\\\n'"
1823 printf '%s\n' "$contents" > "$scriptdir/bcl.pc"
1876 printf 'Version: %s\n' "$version"
1879 printf 'Building bc\n'
1881 printf 'Not building bc\n'
1884 printf 'Building dc\n'
1886 printf 'Not building dc\n'
1888 printf '\n'
1889 printf 'BC_ENABLE_LIBRARY=%s\n\n' "$library"
1890 printf 'BC_ENABLE_HISTORY=%s\n' "$hist"
1891 printf 'BC_ENABLE_EXTRA_MATH=%s\n' "$extra_math"
1892 printf 'BC_ENABLE_NLS=%s\n\n' "$nls"
1893 printf 'BC_ENABLE_AFL=%s\n' "$fuzz"
1894 printf '\n'
1895 printf 'BC_NUM_KARATSUBA_LEN=%s\n' "$karatsuba_len"
1896 printf '\n'
1897 printf 'CC=%s\n' "$CC"
1898 printf 'CFLAGS=%s\n' "$CFLAGS"
1899 printf 'HOSTCC=%s\n' "$HOSTCC"
1900 printf 'HOSTCFLAGS=%s\n' "$HOSTCFLAGS"
1901 printf 'CPPFLAGS=%s\n' "$CPPFLAGS"
1902 printf 'LDFLAGS=%s\n' "$LDFLAGS"
1903 printf 'PREFIX=%s\n' "$PREFIX"
1904 printf 'BINDIR=%s\n' "$BINDIR"
1905 printf 'INCLUDEDIR=%s\n' "$INCLUDEDIR"
1906 printf 'LIBDIR=%s\n' "$LIBDIR"
1907 printf 'DATAROOTDIR=%s\n' "$DATAROOTDIR"
1908 printf 'DATADIR=%s\n' "$DATADIR"
1909 printf 'MANDIR=%s\n' "$MANDIR"
1910 printf 'MAN1DIR=%s\n' "$MAN1DIR"
1911 printf 'MAN3DIR=%s\n' "$MAN3DIR"
1912 printf 'NLSPATH=%s\n' "$NLSPATH"
1913 printf 'PC_PATH=%s\n' "$PC_PATH"
1914 printf 'EXECSUFFIX=%s\n' "$EXECSUFFIX"
1915 printf 'EXECPREFIX=%s\n' "$EXECPREFIX"
1916 printf 'DESTDIR=%s\n' "$DESTDIR"
1917 printf 'LONG_BIT=%s\n' "$LONG_BIT"
1918 printf 'GEN_HOST=%s\n' "$GEN_HOST"
1919 printf 'GEN_EMU=%s\n' "$GEN_EMU"
1920 printf '\n'
1921 printf 'Setting Defaults\n'
1922 printf '================\n'
1923 printf 'bc.banner=%s\n' "$bc_default_banner"
1924 printf 'bc.sigint_reset=%s\n' "$bc_default_sigint_reset"
1925 printf 'dc.sigint_reset=%s\n' "$dc_default_sigint_reset"
1926 printf 'bc.tty_mode=%s\n' "$bc_default_tty_mode"
1927 printf 'dc.tty_mode=%s\n' "$dc_default_tty_mode"
1928 printf 'bc.prompt=%s\n' "$bc_default_prompt"
1929 printf 'dc.prompt=%s\n' "$dc_default_prompt"
1930 printf 'bc.expr_exit=%s\n' "$bc_default_expr_exit"
1931 printf 'dc.expr_exit=%s\n' "$dc_default_expr_exit"
1932 printf 'bc.digit_clamp=%s\n' "$bc_default_digit_clamp"
1933 printf 'dc.digit_clamp=%s\n' "$dc_default_digit_clamp"
1941 printf '\n********************************************************************************\n\n'
1942 printf 'WARNING: Locales will *NOT* be installed in $PREFIX (%s).\n' "$PREFIX"
1943 printf '\n'
1944 printf ' This is because they *MUST* be installed at a fixed location to even\n'
1945 printf ' work, and that fixed location is $NLSPATH (%s).\n' "$NLSPATH"
1946 printf '\n'
1947 printf ' This location is *outside* of $PREFIX. If you do not wish to install\n'
1948 printf ' locales outside of $PREFIX, you must disable NLS with the -N or the\n'
1949 printf ' --disable-nls options.\n'
1950 printf '\n'
1951 printf ' The author apologizes for the inconvenience, but the need to install\n'
1952 printf ' the locales at a fixed location is mandated by POSIX, and it is not\n'
1953 printf ' possible for the author to change that requirement.\n'
1954 printf '\n********************************************************************************\n'
1980 SRC_TARGETS=$(printf '%s\n\nsrc/%s: src %s %s\n\t$(CC) $(CFLAGS) -o src/%s -c %s\n' \
2109 printf '%s\n%s\n\n' "$contents" "$SRC_TARGETS" > "Makefile"