OLD | NEW |
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.64 for libdecnumber . | 3 # Generated by GNU Autoconf 2.64 for libdecnumber . |
4 # | 4 # |
5 # Report bugs to <gcc-bugs@gcc.gnu.org>. | 5 # Report bugs to <gcc-bugs@gcc.gnu.org>. |
6 # | 6 # |
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software | 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
9 # Foundation, Inc. | 9 # Foundation, Inc. |
10 # | 10 # |
(...skipping 3230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3241 done | 3241 done |
3242 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader" | 3242 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader" |
3243 | 3243 |
3244 | 3244 |
3245 # Figure out what compiler warnings we can enable. | 3245 # Figure out what compiler warnings we can enable. |
3246 # See config/warnings.m4 for details. | 3246 # See config/warnings.m4 for details. |
3247 | 3247 |
3248 | 3248 |
3249 WARN_CFLAGS= | 3249 WARN_CFLAGS= |
3250 save_CFLAGS="$CFLAGS" | 3250 save_CFLAGS="$CFLAGS" |
3251 for option in -W -Wall -Wwrite-strings -Wstrict-prototypes \ | 3251 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \ |
3252 -Wmissing-prototypes -Wold-style-definition \ | 3252 -Wmissing-prototypes -Wold-style-definition \ |
3253 -Wmissing-format-attribute -Wcast-qual; do | 3253 -Wmissing-format-attribute -Wcast-qual; do |
| 3254 # Do the check with the no- prefix removed since gcc silently |
| 3255 # accepts any -Wno-* option on purpose |
| 3256 case $real_option in |
| 3257 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;; |
| 3258 *) option=$real_option ;; |
| 3259 esac |
3254 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` | 3260 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` |
3255 | 3261 |
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option
" >&5 | 3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option
" >&5 |
3257 $as_echo_n "checking whether $CC supports $option... " >&6; } | 3263 $as_echo_n "checking whether $CC supports $option... " >&6; } |
3258 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then : | 3264 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then : |
3259 $as_echo_n "(cached) " >&6 | 3265 $as_echo_n "(cached) " >&6 |
3260 else | 3266 else |
3261 CFLAGS="$option" | 3267 CFLAGS="$option" |
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3263 /* end confdefs.h. */ | 3269 /* end confdefs.h. */ |
(...skipping 11 matching lines...) Expand all Loading... |
3275 else | 3281 else |
3276 eval "$as_acx_Woption=no" | 3282 eval "$as_acx_Woption=no" |
3277 fi | 3283 fi |
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3279 | 3285 |
3280 fi | 3286 fi |
3281 eval ac_res=\$$as_acx_Woption | 3287 eval ac_res=\$$as_acx_Woption |
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3283 $as_echo "$ac_res" >&6; } | 3289 $as_echo "$ac_res" >&6; } |
3284 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then : | 3290 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then : |
3285 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$option" | 3291 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option" |
3286 fi | 3292 fi |
3287 done | 3293 done |
3288 CFLAGS="$save_CFLAGS" | 3294 CFLAGS="$save_CFLAGS" |
3289 | 3295 |
3290 WARN_PEDANTIC= | 3296 WARN_PEDANTIC= |
| 3297 # Do the check with the no- prefix removed from the warning options |
| 3298 # since gcc silently accepts any -Wno-* option on purpose |
3291 if test "$GCC" = yes; then : | 3299 if test "$GCC" = yes; then : |
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedant
ic -Wno-long-long" >&5 | 3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedant
ic -Wlong-long" >&5 |
3293 $as_echo_n "checking whether $CC supports -pedantic -Wno-long-long... " >&6; } | 3301 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; } |
3294 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then : | 3302 if test "${acx_cv_prog_cc_pedantic__Wlong_long+set}" = set; then : |
3295 $as_echo_n "(cached) " >&6 | 3303 $as_echo_n "(cached) " >&6 |
3296 else | 3304 else |
3297 save_CFLAGS="$CFLAGS" | 3305 save_CFLAGS="$CFLAGS" |
3298 CFLAGS="-pedantic -Wno-long-long" | 3306 CFLAGS="-pedantic -Wlong-long" |
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3300 /* end confdefs.h. */ | 3308 /* end confdefs.h. */ |
3301 | 3309 |
3302 int | 3310 int |
3303 main () | 3311 main () |
3304 { | 3312 { |
3305 | 3313 |
3306 ; | 3314 ; |
3307 return 0; | 3315 return 0; |
3308 } | 3316 } |
3309 _ACEOF | 3317 _ACEOF |
3310 if ac_fn_c_try_compile "$LINENO"; then : | 3318 if ac_fn_c_try_compile "$LINENO"; then : |
3311 acx_cv_prog_cc_pedantic__Wno_long_long=yes | 3319 acx_cv_prog_cc_pedantic__Wlong_long=yes |
3312 else | 3320 else |
3313 acx_cv_prog_cc_pedantic__Wno_long_long=no | 3321 acx_cv_prog_cc_pedantic__Wlong_long=no |
3314 fi | 3322 fi |
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3316 CFLAGS="$save_CFLAGS" | 3324 CFLAGS="$save_CFLAGS" |
3317 fi | 3325 fi |
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wno_l
ong_long" >&5 | 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong
_long" >&5 |
3319 $as_echo "$acx_cv_prog_cc_pedantic__Wno_long_long" >&6; } | 3327 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; } |
3320 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then : | 3328 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then : |
3321 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long" | 3329 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long" |
3322 fi | 3330 fi |
3323 | 3331 |
3324 fi | 3332 fi |
3325 | 3333 |
3326 | 3334 |
3327 # Only enable with --enable-werror-always until existing warnings are | 3335 # Only enable with --enable-werror-always until existing warnings are |
3328 # corrected. | 3336 # corrected. |
3329 WERROR= | 3337 WERROR= |
3330 # Check whether --enable-werror-always was given. | 3338 # Check whether --enable-werror-always was given. |
(...skipping 3206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6537 exec 5>>config.log | 6545 exec 5>>config.log |
6538 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 6546 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6539 # would make configure fail if this is the last instruction. | 6547 # would make configure fail if this is the last instruction. |
6540 $ac_cs_success || as_fn_exit $? | 6548 $ac_cs_success || as_fn_exit $? |
6541 fi | 6549 fi |
6542 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 6550 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 | 6551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 |
6544 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 6552 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
6545 fi | 6553 fi |
6546 | 6554 |
OLD | NEW |