trawick 2002/07/24 11:33:57
Modified: build apr_common.m4
Log:
use ac_cv_prog_gcc instead of GCC in APR_TRY_COMPILE_NO_WARNING
ac_cv_prog_gcc is set when appropriate in apr-util's configure,
so the check for the type of the inbuf parm to iconv works again
Revision Changes Path
1.37 +1 -1 apr/build/apr_common.m4
Index: apr_common.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_common.m4,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- apr_common.m4 21 Jul 2002 10:51:33 -0000 1.36
+++ apr_common.m4 24 Jul 2002 18:33:57 -0000 1.37
@@ -422,7 +422,7 @@
else
apr_tcnw_flags=$CFLAGS_WARN
fi
-if test "$GCC" = "yes"; then
+if test "$ac_cv_prog_gcc" = "yes"; then
apr_tcnw_flags="$apr_tcnw_flags -Werror"
fi
changequote(', ')