Patch installed for enum bitfields nit
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Mon Apr 24 11:24:00 GMT 2000
While doing some autoconf cleanup, I noticed that the enum bitfields
test was emitting the result of the test twice. E.g.:
> checking for unsigned enumerated bitfields... yes
> yes
This is because AC_MSG_RESULT is called explicitly and AC_CACHE_CHECK
(which the test uses) calls AC_MSG_RESULT also.
I installed the following obvious fix:
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.6332
diff -u -p -r1.6332 ChangeLog
--- ChangeLog 2000/04/24 18:03:41 1.6332
+++ ChangeLog 2000/04/24 18:19:31
@@ -1,3 +1,8 @@
+2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
+ call to AC_MSG_RESULT.
+
2000-04-24 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* invoke.texi: Correct grammatical errors, document
Index: configure.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/configure.in,v
retrieving revision 1.358
diff -u -p -r1.358 configure.in
--- configure.in 2000/04/24 17:45:50 1.358
+++ configure.in 2000/04/24 18:19:34
@@ -383,7 +383,6 @@ int main(void)
exit(0);
}, gcc_cv_enum_bf_unsigned=yes, gcc_cv_enum_bf_unsigned=no, gcc_cv_enum_bf_unsigned=yes)])
-AC_MSG_RESULT($gcc_cv_enum_bf_unsigned)
if test $gcc_cv_enum_bf_unsigned = yes; then
AC_DEFINE(ENUM_BITFIELDS_ARE_UNSIGNED, 1,
[Define if enumerated bitfields are treated as unsigned values.])
More information about the Gcc-patches
mailing list