diff options
| author | Glenn Morris | 2013-09-05 06:17:39 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-09-05 06:17:39 -0400 |
| commit | d04a2836141d7449da059ff730f1f21168ea6714 (patch) | |
| tree | a06bc104508e7543a4d88a128456ec1b72c676cd | |
| parent | 257b3b03cb1cff917e0b3b7832ad3eab5b59f257 (diff) | |
| download | emacs-d04a2836141d7449da059ff730f1f21168ea6714.tar.gz emacs-d04a2836141d7449da059ff730f1f21168ea6714.zip | |
Auto-commit of generated files.
| -rwxr-xr-x | autogen/configure | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/autogen/configure b/autogen/configure index 61c03785f61..7fe40f5bd51 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -10340,6 +10340,118 @@ fi | |||
| 10340 | ## $window_system is now set to the window system we will | 10340 | ## $window_system is now set to the window system we will |
| 10341 | ## ultimately use. | 10341 | ## ultimately use. |
| 10342 | 10342 | ||
| 10343 | if test "$window_system" = none && test "$gl_gcc_warnings" = yes; then | ||
| 10344 | # Too many warnings for now. | ||
| 10345 | |||
| 10346 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-variable" >&5 | ||
| 10347 | $as_echo_n "checking whether C compiler handles -Wno-unused-variable... " >&6; } | ||
| 10348 | if test "${gl_cv_warn_c__Wno_unused_variable+set}" = set; then : | ||
| 10349 | $as_echo_n "(cached) " >&6 | ||
| 10350 | else | ||
| 10351 | |||
| 10352 | gl_save_compiler_FLAGS="$CFLAGS" | ||
| 10353 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-variable" | ||
| 10354 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 10355 | /* end confdefs.h. */ | ||
| 10356 | |||
| 10357 | int | ||
| 10358 | main () | ||
| 10359 | { | ||
| 10360 | |||
| 10361 | ; | ||
| 10362 | return 0; | ||
| 10363 | } | ||
| 10364 | _ACEOF | ||
| 10365 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 10366 | gl_cv_warn_c__Wno_unused_variable=yes | ||
| 10367 | else | ||
| 10368 | gl_cv_warn_c__Wno_unused_variable=no | ||
| 10369 | fi | ||
| 10370 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 10371 | CFLAGS="$gl_save_compiler_FLAGS" | ||
| 10372 | |||
| 10373 | fi | ||
| 10374 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_variable" >&5 | ||
| 10375 | $as_echo "$gl_cv_warn_c__Wno_unused_variable" >&6; } | ||
| 10376 | if test "x$gl_cv_warn_c__Wno_unused_variable" = x""yes; then : | ||
| 10377 | as_fn_append WARN_CFLAGS " -Wno-unused-variable" | ||
| 10378 | fi | ||
| 10379 | |||
| 10380 | |||
| 10381 | |||
| 10382 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-but-set-variable" >&5 | ||
| 10383 | $as_echo_n "checking whether C compiler handles -Wno-unused-but-set-variable... " >&6; } | ||
| 10384 | if test "${gl_cv_warn_c__Wno_unused_but_set_variable+set}" = set; then : | ||
| 10385 | $as_echo_n "(cached) " >&6 | ||
| 10386 | else | ||
| 10387 | |||
| 10388 | gl_save_compiler_FLAGS="$CFLAGS" | ||
| 10389 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-but-set-variable" | ||
| 10390 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 10391 | /* end confdefs.h. */ | ||
| 10392 | |||
| 10393 | int | ||
| 10394 | main () | ||
| 10395 | { | ||
| 10396 | |||
| 10397 | ; | ||
| 10398 | return 0; | ||
| 10399 | } | ||
| 10400 | _ACEOF | ||
| 10401 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 10402 | gl_cv_warn_c__Wno_unused_but_set_variable=yes | ||
| 10403 | else | ||
| 10404 | gl_cv_warn_c__Wno_unused_but_set_variable=no | ||
| 10405 | fi | ||
| 10406 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 10407 | CFLAGS="$gl_save_compiler_FLAGS" | ||
| 10408 | |||
| 10409 | fi | ||
| 10410 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_but_set_variable" >&5 | ||
| 10411 | $as_echo "$gl_cv_warn_c__Wno_unused_but_set_variable" >&6; } | ||
| 10412 | if test "x$gl_cv_warn_c__Wno_unused_but_set_variable" = x""yes; then : | ||
| 10413 | as_fn_append WARN_CFLAGS " -Wno-unused-but-set-variable" | ||
| 10414 | fi | ||
| 10415 | |||
| 10416 | |||
| 10417 | |||
| 10418 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-but-set-parameter" >&5 | ||
| 10419 | $as_echo_n "checking whether C compiler handles -Wno-unused-but-set-parameter... " >&6; } | ||
| 10420 | if test "${gl_cv_warn_c__Wno_unused_but_set_parameter+set}" = set; then : | ||
| 10421 | $as_echo_n "(cached) " >&6 | ||
| 10422 | else | ||
| 10423 | |||
| 10424 | gl_save_compiler_FLAGS="$CFLAGS" | ||
| 10425 | as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-but-set-parameter" | ||
| 10426 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 10427 | /* end confdefs.h. */ | ||
| 10428 | |||
| 10429 | int | ||
| 10430 | main () | ||
| 10431 | { | ||
| 10432 | |||
| 10433 | ; | ||
| 10434 | return 0; | ||
| 10435 | } | ||
| 10436 | _ACEOF | ||
| 10437 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 10438 | gl_cv_warn_c__Wno_unused_but_set_parameter=yes | ||
| 10439 | else | ||
| 10440 | gl_cv_warn_c__Wno_unused_but_set_parameter=no | ||
| 10441 | fi | ||
| 10442 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 10443 | CFLAGS="$gl_save_compiler_FLAGS" | ||
| 10444 | |||
| 10445 | fi | ||
| 10446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_but_set_parameter" >&5 | ||
| 10447 | $as_echo "$gl_cv_warn_c__Wno_unused_but_set_parameter" >&6; } | ||
| 10448 | if test "x$gl_cv_warn_c__Wno_unused_but_set_parameter" = x""yes; then : | ||
| 10449 | as_fn_append WARN_CFLAGS " -Wno-unused-but-set-parameter" | ||
| 10450 | fi | ||
| 10451 | |||
| 10452 | |||
| 10453 | fi | ||
| 10454 | |||
| 10343 | term_header= | 10455 | term_header= |
| 10344 | HAVE_X_WINDOWS=no | 10456 | HAVE_X_WINDOWS=no |
| 10345 | HAVE_X11=no | 10457 | HAVE_X11=no |