Update of /cvsroot/mahogany/M
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21110

Modified Files:
        configure configure.in 
Log Message:
suppress gcc warnings about [un]signed char * to char * casts in c-client code, 
there are just too many of them and we don't care anyhow

Index: configure
===================================================================
RCS file: /cvsroot/mahogany/M/configure,v
retrieving revision 1.329
retrieving revision 1.330
diff -b -u -2 -r1.329 -r1.330
--- configure   3 May 2006 17:18:00 -0000       1.329
+++ configure   3 May 2006 20:13:39 -0000       1.330
@@ -1287,39 +1287,9 @@
 
 
-IMAP_CPPFLAGS="${CPPFLAGS}"
-if test "$USE_OPT" != "1"; then
-    IMAP_CPPFLAGS="${IMAP_CPPFLAGS} -O0"
-fi
-IMAP_CFLAGS="${CFLAGS}"
-
-
-
-case "$OSTYPE" in
[...1345 lines suppressed...]
[EMAIL PROTECTED]@%$IMAP_CFLAGS%g
[EMAIL PROTECTED]@%$CFACE_CPPFLAGS%g
[EMAIL PROTECTED]@%$CFACE_CFLAGS%g
[EMAIL PROTECTED]@%$LIBMAL_CPPFLAGS%g
[EMAIL PROTECTED]@%$LIBMAL_CFLAGS%g
[EMAIL PROTECTED]@%$LIBMAL_CXXFLAGS%g
 [EMAIL PROTECTED]@%$CC%g
 [EMAIL PROTECTED]@%$CPP%g
@@ -5671,4 +5662,11 @@
 [EMAIL PROTECTED]@%$MAKE_HAVE_DOCTOOLS%g
 [EMAIL PROTECTED]@%$RESFLAGS%g
[EMAIL PROTECTED]@%$IMAP_CPPFLAGS%g
[EMAIL PROTECTED]@%$IMAP_CFLAGS%g
[EMAIL PROTECTED]@%$CFACE_CPPFLAGS%g
[EMAIL PROTECTED]@%$CFACE_CFLAGS%g
[EMAIL PROTECTED]@%$LIBMAL_CPPFLAGS%g
[EMAIL PROTECTED]@%$LIBMAL_CFLAGS%g
[EMAIL PROTECTED]@%$LIBMAL_CXXFLAGS%g
 [EMAIL PROTECTED]@%$CXXFLAGS_RELAXED%g
 

Index: configure.in
===================================================================
RCS file: /cvsroot/mahogany/M/configure.in,v
retrieving revision 1.314
retrieving revision 1.315
diff -b -u -2 -r1.314 -r1.315
--- configure.in        3 May 2006 17:18:01 -0000       1.314
+++ configure.in        3 May 2006 20:13:39 -0000       1.315
@@ -198,37 +198,4 @@
 AC_DEFINE_UNQUOTED(M_TOP_BUILDDIR, _T("$BUILDDIR"))
 
-dnl instead of invoking subsidary configures, we accumulate the flags
-dnl here for some third-party sources, since they would otherwise have
-dnl to repeat much of the same logic just to set a few compiler flags.
-
-IMAP_CPPFLAGS="${CPPFLAGS}"
-if test "$USE_OPT" != "1"; then
-    IMAP_CPPFLAGS="${IMAP_CPPFLAGS} -O0"
-fi
-IMAP_CFLAGS="${CFLAGS}"
-AC_SUBST(IMAP_CPPFLAGS)
-AC_SUBST(IMAP_CFLAGS)
-
-case "$OSTYPE" in
-    darwin* | Darwin*)
-       # Apple gcc version is buggy and requires this switch to compile
-       # compface sources and twofish.c (at least for 3.1 from Dec 2002 dev
-       # tools)
-       CFLAGS="${CFLAGS} -no-cpp-precomp"
-       ;;
-esac
-
-CFACE_CPPFLAGS="${CPPFLAGS}"
-CFACE_CFLAGS="${CFLAGS}"
-AC_SUBST(CFACE_CPPFLAGS)
-AC_SUBST(CFACE_CFLAGS)
-
-LIBMAL_CPPFLAGS="${CPPFLAGS}"
-LIBMAL_CFLAGS="${CFLAGS}"
-LIBMAL_CXXFLAGS="${CXXFLAGS}"
-AC_SUBST(LIBMAL_CPPFLAGS)
-AC_SUBST(LIBMAL_CFLAGS)
-AC_SUBST(LIBMAL_CXXFLAGS)
-
 dnl C-compiler checks
 dnl =================
@@ -690,5 +657,4 @@
        ssl_option=no ;;
 esac
-IMAP_CPPFLAGS=
 
 if test "$ssl_option" = "yes"; then
@@ -1325,4 +1291,38 @@
 LIBS="$LIBS $PYTHON_LIBS $LIB_EFENCE $LIB_DMALLOC $LIB_PAM"
 
+dnl imap
+IMAP_CFLAGS="$CFLAGS"
+IMAP_CPPFLAGS="$IMAP_CPPFLAGS $CPPFLAGS"
+if test "$GCC" = "yes"; then
+    dnl there are too many warnings in c-client sources which its author
+    dnl refuses to fix, suppress them when using gcc
+    IMAP_CPPFLAGS="$IMAP_CPPFLAGS -Wno-pointer-sign"
+fi
+AC_SUBST(IMAP_CPPFLAGS)
+AC_SUBST(IMAP_CFLAGS)
+
+dnl compface
+CFACE_CPPFLAGS="${CPPFLAGS}"
+CFACE_CFLAGS="${CFLAGS}"
+case "$OSTYPE" in
+    darwin* | Darwin*)
+       # Apple gcc version is buggy and requires this switch to compile
+       # compface sources and twofish.c (at least for 3.1 from Dec 2002 dev
+       # tools)
+       CFACE_CFLAGS="${CFACE_CFLAGS} -no-cpp-precomp"
+       ;;
+esac
+
+AC_SUBST(CFACE_CPPFLAGS)
+AC_SUBST(CFACE_CFLAGS)
+
+dnl libmal
+LIBMAL_CPPFLAGS="${CPPFLAGS}"
+LIBMAL_CFLAGS="${CFLAGS}"
+LIBMAL_CXXFLAGS="${CXXFLAGS}"
+AC_SUBST(LIBMAL_CPPFLAGS)
+AC_SUBST(LIBMAL_CFLAGS)
+AC_SUBST(LIBMAL_CXXFLAGS)
+
 dnl Only now can we add them, or otherwise some tests would have failed
 case "$GCC" in yes)



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to