~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_warnings.m4

  • Committer: Monty Taylor
  • Date: 2009-07-14 22:35:09 UTC
  • mto: (1093.1.16 captain)
  • mto: This revision was merged to the branch mainline in revision 1097.
  • Revision ID: mordred@inaugust.com-20090714223509-og937ckubmxomn89
pandora-buildĀ v0.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    AC_CACHE_CHECK([whether it is safe to use -fdiagnostics-show-option],
70
70
      [ac_cv_safe_to_use_fdiagnostics_show_option_],
71
71
      [save_CFLAGS="$CFLAGS"
72
 
       CFLAGS="-fdiagnostics-show-option ${AM_CFLAGS}"
 
72
       CFLAGS="-fdiagnostics-show-option ${AM_CFLAGS} ${CFLAGS}"
73
73
       AC_COMPILE_IFELSE(
74
74
         [AC_LANG_PROGRAM([],[])],
75
75
         [ac_cv_safe_to_use_fdiagnostics_show_option_=yes],
86
86
      [save_CFLAGS="$CFLAGS"
87
87
       dnl Use -Werror here instead of ${W_FAIL} so that we don't spew
88
88
       dnl conversion warnings to all the tarball folks
89
 
       CFLAGS="-Wconversion -Werror -pedantic ${AM_CFLAGS}"
 
89
       CFLAGS="-Wconversion -Werror -pedantic ${AM_CFLAGS} ${CFLAGS}"
90
90
       AC_COMPILE_IFELSE(
91
91
         [AC_LANG_PROGRAM([[
92
92
#include <stdbool.h>
108
108
        [save_CFLAGS="$CFLAGS"
109
109
         dnl Use -Werror here instead of ${W_FAIL} so that we don't spew
110
110
         dnl conversion warnings to all the tarball folks
111
 
         CFLAGS="-Wconversion -Werror -pedantic ${AM_CFLAGS}"
 
111
         CFLAGS="-Wconversion -Werror -pedantic ${AM_CFLAGS} ${CFLAGS}"
112
112
         AC_COMPILE_IFELSE(
113
113
           [AC_LANG_PROGRAM(
114
114
             [[
164
164
    AC_CACHE_CHECK([whether it is safe to use -Wlogical-op],
165
165
      [ac_cv_safe_to_use_Wlogical_op_],
166
166
      [save_CFLAGS="$CFLAGS"
167
 
       CFLAGS="${W_FAIL} -pedantic -Wlogical-op ${AM_CFLAGS}"
 
167
       CFLAGS="${W_FAIL} -pedantic -Wlogical-op ${AM_CFLAGS} ${CFLAGS}"
168
168
       AC_COMPILE_IFELSE([
169
169
         AC_LANG_PROGRAM(
170
170
         [[