@@ -86,19 +86,19 @@ test_varargs (const char *format, ...)
8686 while (*format)
8787 {
8888 switch (*format++)
89- {
90- case 's': // string
91- str = va_arg (args_copy, const char *);
92- break;
93- case 'd': // int
94- number = va_arg (args_copy, int);
95- break;
96- case 'f': // float
97- fnumber = va_arg (args_copy, double);
98- break;
99- default:
100- break;
101- }
89+ {
90+ case 's': // string
91+ str = va_arg (args_copy, const char *);
92+ break;
93+ case 'd': // int
94+ number = va_arg (args_copy, int);
95+ break;
96+ case 'f': // float
97+ fnumber = va_arg (args_copy, double);
98+ break;
99+ default:
100+ break;
101+ }
102102 }
103103 va_end (args_copy);
104104 va_end (args);
@@ -138,22 +138,22 @@ test_varargs (const char *format, ...)
138138
139139 // work around unused variable warnings
140140 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[ 0] == 'x'
141- || dynamic_array[ ni.number - 1] != 543);
141+ || dynamic_array[ ni.number - 1] != 543);
142142] ] ,
143143dnl Try
144- dnl GCC -std=gnu99 (unused restrictive modes: -std=c99 -std=iso9899:1999)
145- dnl AIX -qlanglvl=extc99 (unused restrictive mode: -qlanglvl=stdc99)
146- dnl Intel ICC -c99
147- dnl IRIX -c99
148- dnl Solaris (unused because it causes the compiler to assume C99 semantics for
149- dnl library functions, and this is invalid before Solaris 10: -xc99)
150- dnl Tru64 -c99
144+ dnl GCC -std=gnu99 (unused restrictive modes: -std=c99 -std=iso9899:1999)
145+ dnl AIX -qlanglvl=extc99 (unused restrictive mode: -qlanglvl=stdc99)
146+ dnl Intel ICC -c99
147+ dnl IRIX -c99
148+ dnl Solaris (unused because it causes the compiler to assume C99 semantics for
149+ dnl library functions, and this is invalid before Solaris 10: -xc99)
150+ dnl Tru64 -c99
151151dnl with extended modes being tried first.
152152[ [ -std=gnu99 -c99 -qlanglvl=extc99] ] , [ $1 ] , [ $2 ] )[ ] dnl
153153] ) # AC_PROG_CC_C99
154154
155155# AC_C_STD_TRY(STANDARD, TEST-PROLOGUE, TEST-BODY, OPTION-LIST,
156- # ACTION-IF-AVAILABLE, ACTION-IF-UNAVAILABLE)
156+ # ACTION-IF-AVAILABLE, ACTION-IF-UNAVAILABLE)
157157# --------------------------------------------------------------
158158# Check whether the C compiler accepts features of STANDARD (e.g `c89', `c99')
159159# by trying to compile a program of TEST-PROLOGUE and TEST-BODY. If this fails,
0 commit comments