3 ?RCS: Copyright (c) 1999 Jarkko Hietaniemi
5 ?RCS: You may distribute under the terms of either the GNU General Public
6 ?RCS: License or the Artistic License, as specified in the README file.
8 ?MAKE:ivdformat uvuformat uvoformat uvxformat uvXUformat \
9 nvEUformat nvFUformat nvGUformat \
10 nveformat nvfformat nvgformat: \
11 ivsize longsize intsize shortsize \
12 sPRId64 sPRIu64 sPRIo64 sPRIx64 sPRIXU64 \
13 uselongdouble d_longdbl usequadmath d_PRIgldbl \
14 sPRIEUldbl sPRIFUldbl sPRIGUldbl sPRIeldbl sPRIfldbl sPRIgldbl \
16 ?MAKE: -pick add $@ %<
18 ?S: This variable contains the format string used for printing
19 ?S: a Perl IV as a signed decimal integer.
22 ?S: This variable contains the format string used for printing
23 ?S: a Perl UV as an unsigned decimal integer.
26 ?S: This variable contains the format string used for printing
27 ?S: a Perl UV as an unsigned octal integer.
30 ?S: This variable contains the format string used for printing
31 ?S: a Perl UV as an unsigned hexadecimal integer in lowercase abcdef.
34 ?S: This variable contains the format string used for printing
35 ?S: a Perl UV as an unsigned hexadecimal integer in uppercase ABCDEF.
38 ?S: This variable contains the format string used for printing
39 ?S: a Perl NV using %e-ish floating point format.
42 ?S: This variable contains the format string used for printing
43 ?S: a Perl NV using %f-ish floating point format.
46 ?S: This variable contains the format string used for printing
47 ?S: a Perl NV using %g-ish floating point format.
50 ?S: This variable contains the format string used for printing
51 ?S: a Perl NV using %E-ish floating point format.
54 ?S: This variable contains the format string used for printing
55 ?S: a Perl NV using %F-ish floating point format.
58 ?S: This variable contains the format string used for printing
59 ?S: a Perl NV using %G-ish floating point format.
62 ?C: This symbol defines the format string used for printing a Perl IV
63 ?C: as a signed decimal integer.
66 ?C: This symbol defines the format string used for printing a Perl UV
67 ?C: as an unsigned decimal integer.
70 ?C: This symbol defines the format string used for printing a Perl UV
71 ?C: as an unsigned octal integer.
74 ?C: This symbol defines the format string used for printing a Perl UV
75 ?C: as an unsigned hexadecimal integer in lowercase abcdef.
78 ?C: This symbol defines the format string used for printing a Perl UV
79 ?C: as an unsigned hexadecimal integer in uppercase ABCDEF.
82 ?C: This symbol defines the format string used for printing a Perl NV
83 ?C: using %e-ish floating point format.
86 ?C: This symbol defines the format string used for printing a Perl NV
87 ?C: using %f-ish floating point format.
90 ?C: This symbol defines the format string used for printing a Perl NV
91 ?C: using %g-ish floating point format.
94 ?C: This symbol defines the format string used for printing a Perl NV
95 ?C: using %E-ish floating point format.
98 ?C: This symbol defines the format string used for printing a Perl NV
99 ?C: using %F-ish floating point format.
102 ?C: This symbol defines the format string used for printing a Perl NV
103 ?C: using %G-ish floating point format.
105 ?H:#define IVdf $ivdformat /**/
106 ?H:#define UVuf $uvuformat /**/
107 ?H:#define UVof $uvoformat /**/
108 ?H:#define UVxf $uvxformat /**/
109 ?H:#define UVXf $uvXUformat /**/
110 ?H:#define NVef $nveformat /**/
111 ?H:#define NVff $nvfformat /**/
112 ?H:#define NVgf $nvgformat /**/
113 ?H:#define NVEf $nvEUformat /**/
114 ?H:#define NVFf $nvFUformat /**/
115 ?H:#define NVGf $nvGUformat /**/
117 : Check format strings for internal types
119 $echo "Checking the format strings to be used for Perl's internal types..." >&4
121 if $test X"$ivsize" = X8; then
126 uvXUformat="$sPRIXU64"
128 if $test X"$ivsize" = X"$longsize"; then
135 if $test X"$ivsize" = X"$intsize"; then
143 if $test X"$ivsize" = X"$shortsize"; then
154 if $test X"$usequadmath" = X"$define"; then
162 if $test X"$uselongdouble" = X"$define" -a X"$d_longdbl" = X"$define" -a X"$d_PRIgldbl" = X"$define"; then
163 nveformat="$sPRIeldbl"
164 nvfformat="$sPRIfldbl"
165 nvgformat="$sPRIgldbl"
166 nvEUformat="$sPRIEUldbl"
167 nvFUformat="$sPRIFUldbl"
168 nvGUformat="$sPRIGUldbl"
180 '') echo "$0: Fatal: failed to find format strings, cannot continue." >&4