diff options
| author | Joakim Verona | 2013-08-19 12:31:39 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-08-19 12:31:39 +0200 |
| commit | af31e21fc617018e7244fe0c9ceb43b1a5c0f52c (patch) | |
| tree | ded226aa97c527e815dbd7ed49272c7c183eb9ee | |
| parent | 851186e371a32446e3425360113009dbe3198537 (diff) | |
| parent | 6e64a12bd7e8f0d57b2612a471189bce3e8efaf0 (diff) | |
| download | emacs-af31e21fc617018e7244fe0c9ceb43b1a5c0f52c.tar.gz emacs-af31e21fc617018e7244fe0c9ceb43b1a5c0f52c.zip | |
merge from trunk
| -rwxr-xr-x | autogen/configure | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/autogen/configure b/autogen/configure index 8a0144e20ea..a82c52daf98 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -7920,6 +7920,10 @@ $as_echo "$gl_cv_cc_uninitialized_supported" >&6; } | |||
| 7920 | for w in $ws; do | 7920 | for w in $ws; do |
| 7921 | 7921 | ||
| 7922 | as_gl_Warn=`$as_echo "gl_cv_warn_c_$w" | $as_tr_sh` | 7922 | as_gl_Warn=`$as_echo "gl_cv_warn_c_$w" | $as_tr_sh` |
| 7923 | gl_positive="$w" | ||
| 7924 | case $gl_positive in | ||
| 7925 | -Wno-*) gl_positive=-W`expr "X$gl_positive" : 'X-Wno-\(.*\)'` ;; | ||
| 7926 | esac | ||
| 7923 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles $w" >&5 | 7927 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles $w" >&5 |
| 7924 | $as_echo_n "checking whether C compiler handles $w... " >&6; } | 7928 | $as_echo_n "checking whether C compiler handles $w... " >&6; } |
| 7925 | if { as_var=$as_gl_Warn; eval "test \"\${$as_var+set}\" = set"; }; then : | 7929 | if { as_var=$as_gl_Warn; eval "test \"\${$as_var+set}\" = set"; }; then : |
| @@ -7927,7 +7931,7 @@ if { as_var=$as_gl_Warn; eval "test \"\${$as_var+set}\" = set"; }; then : | |||
| 7927 | else | 7931 | else |
| 7928 | 7932 | ||
| 7929 | gl_save_compiler_FLAGS="$CFLAGS" | 7933 | gl_save_compiler_FLAGS="$CFLAGS" |
| 7930 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors $w" | 7934 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors $gl_positive" |
| 7931 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7935 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7932 | /* end confdefs.h. */ | 7936 | /* end confdefs.h. */ |
| 7933 | 7937 | ||
| @@ -7966,7 +7970,7 @@ if test "${gl_cv_warn_c__Wno_missing_field_initializers+set}" = set; then : | |||
| 7966 | else | 7970 | else |
| 7967 | 7971 | ||
| 7968 | gl_save_compiler_FLAGS="$CFLAGS" | 7972 | gl_save_compiler_FLAGS="$CFLAGS" |
| 7969 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-missing-field-initializers" | 7973 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-field-initializers" |
| 7970 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7974 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7971 | /* end confdefs.h. */ | 7975 | /* end confdefs.h. */ |
| 7972 | 7976 | ||
| @@ -8002,7 +8006,7 @@ if test "${gl_cv_warn_c__Wno_sign_compare+set}" = set; then : | |||
| 8002 | else | 8006 | else |
| 8003 | 8007 | ||
| 8004 | gl_save_compiler_FLAGS="$CFLAGS" | 8008 | gl_save_compiler_FLAGS="$CFLAGS" |
| 8005 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-sign-compare" | 8009 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare" |
| 8006 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8010 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8007 | /* end confdefs.h. */ | 8011 | /* end confdefs.h. */ |
| 8008 | 8012 | ||
| @@ -8038,7 +8042,7 @@ if test "${gl_cv_warn_c__Wno_type_limits+set}" = set; then : | |||
| 8038 | else | 8042 | else |
| 8039 | 8043 | ||
| 8040 | gl_save_compiler_FLAGS="$CFLAGS" | 8044 | gl_save_compiler_FLAGS="$CFLAGS" |
| 8041 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-type-limits" | 8045 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wtype-limits" |
| 8042 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8046 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8043 | /* end confdefs.h. */ | 8047 | /* end confdefs.h. */ |
| 8044 | 8048 | ||
| @@ -8074,7 +8078,7 @@ if test "${gl_cv_warn_c__Wno_switch+set}" = set; then : | |||
| 8074 | else | 8078 | else |
| 8075 | 8079 | ||
| 8076 | gl_save_compiler_FLAGS="$CFLAGS" | 8080 | gl_save_compiler_FLAGS="$CFLAGS" |
| 8077 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-switch" | 8081 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wswitch" |
| 8078 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8082 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8079 | /* end confdefs.h. */ | 8083 | /* end confdefs.h. */ |
| 8080 | 8084 | ||
| @@ -8110,7 +8114,7 @@ if test "${gl_cv_warn_c__Wno_unused_parameter+set}" = set; then : | |||
| 8110 | else | 8114 | else |
| 8111 | 8115 | ||
| 8112 | gl_save_compiler_FLAGS="$CFLAGS" | 8116 | gl_save_compiler_FLAGS="$CFLAGS" |
| 8113 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-unused-parameter" | 8117 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-parameter" |
| 8114 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8118 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8115 | /* end confdefs.h. */ | 8119 | /* end confdefs.h. */ |
| 8116 | 8120 | ||
| @@ -8146,7 +8150,7 @@ if test "${gl_cv_warn_c__Wno_format_nonliteral+set}" = set; then : | |||
| 8146 | else | 8150 | else |
| 8147 | 8151 | ||
| 8148 | gl_save_compiler_FLAGS="$CFLAGS" | 8152 | gl_save_compiler_FLAGS="$CFLAGS" |
| 8149 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-format-nonliteral" | 8153 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-nonliteral" |
| 8150 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8154 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8151 | /* end confdefs.h. */ | 8155 | /* end confdefs.h. */ |
| 8152 | 8156 | ||
| @@ -8185,7 +8189,7 @@ if test "${gl_cv_warn_c__Wno_logical_op+set}" = set; then : | |||
| 8185 | else | 8189 | else |
| 8186 | 8190 | ||
| 8187 | gl_save_compiler_FLAGS="$CFLAGS" | 8191 | gl_save_compiler_FLAGS="$CFLAGS" |
| 8188 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-logical-op" | 8192 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op" |
| 8189 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8193 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8190 | /* end confdefs.h. */ | 8194 | /* end confdefs.h. */ |
| 8191 | 8195 | ||
| @@ -8224,7 +8228,7 @@ if test "${gl_cv_warn_c__Wno_format_extra_args+set}" = set; then : | |||
| 8224 | else | 8228 | else |
| 8225 | 8229 | ||
| 8226 | gl_save_compiler_FLAGS="$CFLAGS" | 8230 | gl_save_compiler_FLAGS="$CFLAGS" |
| 8227 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-format-extra-args" | 8231 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-extra-args" |
| 8228 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8232 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8229 | /* end confdefs.h. */ | 8233 | /* end confdefs.h. */ |
| 8230 | 8234 | ||
| @@ -8260,7 +8264,7 @@ if test "${gl_cv_warn_c__Wno_tautological_constant_out_of_range_compare+set}" = | |||
| 8260 | else | 8264 | else |
| 8261 | 8265 | ||
| 8262 | gl_save_compiler_FLAGS="$CFLAGS" | 8266 | gl_save_compiler_FLAGS="$CFLAGS" |
| 8263 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-tautological-constant-out-of-range-compare" | 8267 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wtautological-constant-out-of-range-compare" |
| 8264 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8268 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8265 | /* end confdefs.h. */ | 8269 | /* end confdefs.h. */ |
| 8266 | 8270 | ||
| @@ -8296,7 +8300,7 @@ if test "${gl_cv_warn_c__Wno_unused_command_line_argument+set}" = set; then : | |||
| 8296 | else | 8300 | else |
| 8297 | 8301 | ||
| 8298 | gl_save_compiler_FLAGS="$CFLAGS" | 8302 | gl_save_compiler_FLAGS="$CFLAGS" |
| 8299 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-unused-command-line-argument" | 8303 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-command-line-argument" |
| 8300 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8304 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8301 | /* end confdefs.h. */ | 8305 | /* end confdefs.h. */ |
| 8302 | 8306 | ||
| @@ -8332,7 +8336,7 @@ if test "${gl_cv_warn_c__Wno_unused_value+set}" = set; then : | |||
| 8332 | else | 8336 | else |
| 8333 | 8337 | ||
| 8334 | gl_save_compiler_FLAGS="$CFLAGS" | 8338 | gl_save_compiler_FLAGS="$CFLAGS" |
| 8335 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-unused-value" | 8339 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-value" |
| 8336 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8340 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8337 | /* end confdefs.h. */ | 8341 | /* end confdefs.h. */ |
| 8338 | 8342 | ||