2007-04-09 16:41:22 +00:00
|
|
|
--- evolution-data-server-1.10.1/configure.no-gnome-common 2007-04-09 12:15:42.000000000 -0400
|
|
|
|
+++ evolution-data-server-1.10.1/configure 2007-04-09 12:16:10.000000000 -0400
|
|
|
|
@@ -32298,154 +32298,6 @@
|
2007-01-22 03:35:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-09 16:41:22 +00:00
|
|
|
- # Check whether --enable-compile-warnings was given.
|
2007-01-22 03:35:03 +00:00
|
|
|
-if test "${enable_compile_warnings+set}" = set; then
|
2007-04-09 16:41:22 +00:00
|
|
|
- enableval=$enable_compile_warnings;
|
2007-01-22 03:35:03 +00:00
|
|
|
-else
|
|
|
|
- enable_compile_warnings="yes"
|
2007-04-09 16:41:22 +00:00
|
|
|
-fi
|
|
|
|
-
|
2007-01-22 03:35:03 +00:00
|
|
|
-
|
|
|
|
- warnCFLAGS=
|
|
|
|
- if test "x$GCC" != xyes; then
|
|
|
|
- enable_compile_warnings=no
|
|
|
|
- fi
|
|
|
|
-
|
|
|
|
- warning_flags=
|
|
|
|
- realsave_CFLAGS="$CFLAGS"
|
|
|
|
-
|
|
|
|
- case "$enable_compile_warnings" in
|
|
|
|
- no)
|
|
|
|
- warning_flags=
|
|
|
|
- ;;
|
|
|
|
- minimum)
|
|
|
|
- warning_flags="-Wall"
|
|
|
|
- ;;
|
|
|
|
- yes)
|
|
|
|
- warning_flags="-Wall -Wmissing-prototypes"
|
|
|
|
- ;;
|
|
|
|
- maximum|error)
|
|
|
|
- warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
|
|
|
|
- CFLAGS="$warning_flags $CFLAGS"
|
|
|
|
- for option in -Wno-sign-compare; do
|
|
|
|
- SAVE_CFLAGS="$CFLAGS"
|
|
|
|
- CFLAGS="$CFLAGS $option"
|
2007-04-09 16:41:22 +00:00
|
|
|
- { echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
|
|
|
|
-echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6; }
|
2007-01-22 03:35:03 +00:00
|
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
-/* confdefs.h. */
|
|
|
|
-_ACEOF
|
|
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
-/* end confdefs.h. */
|
|
|
|
-
|
|
|
|
-int
|
|
|
|
-main ()
|
|
|
|
-{
|
|
|
|
-
|
|
|
|
- ;
|
|
|
|
- return 0;
|
|
|
|
-}
|
|
|
|
-_ACEOF
|
|
|
|
-rm -f conftest.$ac_objext
|
2007-04-09 16:41:22 +00:00
|
|
|
-if { (ac_try="$ac_compile"
|
|
|
|
-case "(($ac_try" in
|
|
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
|
- *) ac_try_echo=$ac_try;;
|
|
|
|
-esac
|
|
|
|
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
- (eval "$ac_compile") 2>conftest.er1
|
2007-01-22 03:35:03 +00:00
|
|
|
- ac_status=$?
|
|
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
- rm -f conftest.er1
|
|
|
|
- cat conftest.err >&5
|
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
- (exit $ac_status); } &&
|
2007-04-09 16:41:22 +00:00
|
|
|
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
|
|
- { (case "(($ac_try" in
|
|
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
|
- *) ac_try_echo=$ac_try;;
|
|
|
|
-esac
|
|
|
|
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
- (eval "$ac_try") 2>&5
|
2007-01-22 03:35:03 +00:00
|
|
|
- ac_status=$?
|
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
- (exit $ac_status); }; } &&
|
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
2007-04-09 16:41:22 +00:00
|
|
|
- { (case "(($ac_try" in
|
|
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
|
- *) ac_try_echo=$ac_try;;
|
|
|
|
-esac
|
|
|
|
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
- (eval "$ac_try") 2>&5
|
2007-01-22 03:35:03 +00:00
|
|
|
- ac_status=$?
|
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
- (exit $ac_status); }; }; then
|
|
|
|
- has_option=yes
|
|
|
|
-else
|
|
|
|
- echo "$as_me: failed program was:" >&5
|
|
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
-
|
2007-04-09 16:41:22 +00:00
|
|
|
- has_option=no
|
2007-01-22 03:35:03 +00:00
|
|
|
-fi
|
2007-04-09 16:41:22 +00:00
|
|
|
-
|
|
|
|
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2007-01-22 03:35:03 +00:00
|
|
|
- CFLAGS="$SAVE_CFLAGS"
|
2007-04-09 16:41:22 +00:00
|
|
|
- { echo "$as_me:$LINENO: result: $has_option" >&5
|
|
|
|
-echo "${ECHO_T}$has_option" >&6; }
|
2007-01-22 03:35:03 +00:00
|
|
|
- if test $has_option = yes; then
|
|
|
|
- warning_flags="$warning_flags $option"
|
|
|
|
- fi
|
|
|
|
- unset has_option
|
|
|
|
- unset SAVE_CFLAGS
|
|
|
|
- done
|
|
|
|
- unset option
|
|
|
|
- if test "$enable_compile_warnings" = "error" ; then
|
|
|
|
- warning_flags="$warning_flags -Werror"
|
|
|
|
- fi
|
|
|
|
- ;;
|
|
|
|
- *)
|
|
|
|
- { { echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
|
|
|
|
-echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
|
|
|
|
- { (exit 1); exit 1; }; }
|
|
|
|
- ;;
|
|
|
|
- esac
|
|
|
|
- CFLAGS="$realsave_CFLAGS"
|
2007-04-09 16:41:22 +00:00
|
|
|
- { echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
|
|
|
|
-echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6; }
|
|
|
|
- { echo "$as_me:$LINENO: result: $warning_flags" >&5
|
|
|
|
-echo "${ECHO_T}$warning_flags" >&6; }
|
2007-01-22 03:35:03 +00:00
|
|
|
-
|
2007-04-09 16:41:22 +00:00
|
|
|
- # Check whether --enable-iso-c was given.
|
2007-01-22 03:35:03 +00:00
|
|
|
-if test "${enable_iso_c+set}" = set; then
|
2007-04-09 16:41:22 +00:00
|
|
|
- enableval=$enable_iso_c;
|
2007-01-22 03:35:03 +00:00
|
|
|
-else
|
|
|
|
- enable_iso_c=no
|
2007-04-09 16:41:22 +00:00
|
|
|
-fi
|
|
|
|
-
|
2007-01-22 03:35:03 +00:00
|
|
|
-
|
2007-04-09 16:41:22 +00:00
|
|
|
- { echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
|
|
|
|
-echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6; }
|
2007-01-22 03:35:03 +00:00
|
|
|
- complCFLAGS=
|
|
|
|
- if test "x$enable_iso_c" != "xno"; then
|
|
|
|
- if test "x$GCC" = "xyes"; then
|
|
|
|
- case " $CFLAGS " in
|
|
|
|
- *\ \ -ansi\ \ *) ;;
|
|
|
|
- *) complCFLAGS="$complCFLAGS -ansi" ;;
|
|
|
|
- esac
|
|
|
|
- case " $CFLAGS " in
|
|
|
|
- *\ \ -pedantic\ \ *) ;;
|
|
|
|
- *) complCFLAGS="$complCFLAGS -pedantic" ;;
|
|
|
|
- esac
|
|
|
|
- fi
|
|
|
|
- fi
|
2007-04-09 16:41:22 +00:00
|
|
|
- { echo "$as_me:$LINENO: result: $complCFLAGS" >&5
|
|
|
|
-echo "${ECHO_T}$complCFLAGS" >&6; }
|
2007-01-22 03:35:03 +00:00
|
|
|
-
|
|
|
|
- WARN_CFLAGS="$warning_flags $complCFLAGS"
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-CFLAGS="$CFLAGS $WARN_CFLAGS"
|
|
|
|
case $CFLAGS in
|
|
|
|
*-Wall*)
|
|
|
|
# Turn off the annoying "comparison between signed and unsigned"
|
2007-04-09 16:41:22 +00:00
|
|
|
--- evolution-data-server-1.10.1/configure.in.no-gnome-common 2007-04-09 08:44:46.000000000 -0400
|
|
|
|
+++ evolution-data-server-1.10.1/configure.in 2007-04-09 12:15:42.000000000 -0400
|
|
|
|
@@ -1209,8 +1209,6 @@
|
2006-09-05 03:25:40 +00:00
|
|
|
dnl CFLAGS and LIBS and stuff
|
|
|
|
dnl *************************
|
|
|
|
|
|
|
|
-GNOME_COMPILE_WARNINGS(yes)
|
|
|
|
-CFLAGS="$CFLAGS $WARN_CFLAGS"
|
|
|
|
case $CFLAGS in
|
|
|
|
*-Wall*)
|
|
|
|
# Turn off the annoying "comparison between signed and unsigned"
|