summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Graveley <alex@ximian.com>2001-07-19 21:23:57 +0000
committerAlex Graveley <orph@src.gnome.org>2001-07-19 21:23:57 +0000
commit954fd1a60d149eb183b1fb1cd1f687ae5020f4e2 (patch)
treed08febad2cffa422514b0b8bb68f3b82fac55d29
parent0e0b97ccc2da4b2248f54eacb840a3388fb390db (diff)
downloadlibsoup-954fd1a60d149eb183b1fb1cd1f687ae5020f4e2.tar.gz
Remove -Werror from WSDL_CFLAGS as this ills on so many redhat distros.
2001-07-19 Alex Graveley <alex@ximian.com> * configure.in: Remove -Werror from WSDL_CFLAGS as this ills on so many redhat distros. Remove unused ISO C99 IEEE754 section. Set the default to hide more warnings. * src/soup-wsdl-runtime/wsdl-typecodes.c: Remove \r from end of lines. * src/soup-wsdl/Makefile.am: Formatting. * src/soup-wsdl-runtime/Makefile.am: Formatting.
-rw-r--r--ChangeLog12
-rw-r--r--configure.in47
2 files changed, 20 insertions, 39 deletions
diff --git a/ChangeLog b/ChangeLog
index 7108a3f5..9cc96ee1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2001-07-19 Alex Graveley <alex@ximian.com>
+
+ * configure.in: Remove -Werror from WSDL_CFLAGS as this ills on so
+ many redhat distros. Remove unused ISO C99 IEEE754 section. Set
+ the default to hide more warnings.
+
+ * src/soup-wsdl-runtime/wsdl-typecodes.c: Remove \r from end of
+ lines.
+
+ * src/soup-wsdl/Makefile.am: Formatting.
+ * src/soup-wsdl-runtime/Makefile.am: Formatting.
+
2001-07-17 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-context.c (soup_context_uri_hash): Add
diff --git a/configure.in b/configure.in
index edd424f1..d7eec6a5 100644
--- a/configure.in
+++ b/configure.in
@@ -458,39 +458,6 @@ AC_CHECK_ALIGNOF(gstruct)
CPPFLAGS=$orig_CPPFLAGS
-dnl ***********************************************************************
-dnl *** Add any preprocessor options needed for ISO C99 IEEE754 support ***
-dnl ***********************************************************************
-
-ISO_CFLAGS=""
-orig_CPPFLAGS=$CPPFLAGS
-AC_MSG_CHECKING(if ISO C99 IEEE754 support is enabled by default)
-AC_TRY_COMPILE([ #include <math.h>], [
- fpclassify(INFINITY)==FP_INFINITE;
- ], [
- dnl Nothing special needed
- AC_MSG_RESULT(ok)
- ], [
- AC_MSG_RESULT(no)
-
- dnl On glibc _GNU_SOURCE includes _ISOC99_SOURCE
- AC_MSG_CHECKING(whether _GNU_SOURCE is needed for ISO C99 IEEE754 support)
- CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
- AC_TRY_COMPILE([ #include <math.h>], [
- fpclassify(INFINITY)==FP_INFINITE;
- ], [
- AC_MSG_RESULT(ok)
- ISO_CFLAGS="-D_GNU_SOURCE"
- ], [
- AC_MSG_RESULT(no)
- dnl Add other variants here
- AC_MSG_ERROR(No IEEE754 support)
- ])
- ])
-CPPFLAGS=$orig_CPPFLAGS
-CFLAGS="$CFLAGS $ISO_CFLAGS"
-
-
dnl *************************************
dnl *** Warnings to show if using GCC ***
dnl *************************************
@@ -498,20 +465,22 @@ dnl *************************************
AC_ARG_ENABLE(more-warnings,
[ --enable-more-warnings Maximum compiler warnings],
set_more_warnings="$enableval",
- set_more_warnings=yes)
+ set_more_warnings=no)
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
CFLAGS="$CFLAGS \
- -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes \
- -Wnested-externs -Wpointer-arith"
+ -Wall -Wstrict-prototypes -Wmissing-declarations \
+ -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
# -Wredundant-decls warns about libxml headers
# -Wwrite-strings warns when defining GDebugKey structs (solved by
# casting the strings in wsdl-trace.c and leaving out -Wcast-qual)
- WSDL_CFLAGS="-Werror -W -Wundef -Wshadow -Wbad-function-cast -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wmissing-noreturn"
-fi
+ WSDL_CFLAGS="-W -Wundef -Wshadow -Wbad-function-cast \
+ -Wcast-align -Wwrite-strings -Wconversion \
+ -Waggregate-return -Wmissing-noreturn"
-AC_SUBST(WSDL_CFLAGS)
+ AC_SUBST(WSDL_CFLAGS)
+fi
# Use reentrant functions
CFLAGS="$CFLAGS -D_REENTRANT"