configure revision 01395c31
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for encodings 1.0.5. 4# 5# Report bugs to <https://gitlab.freedesktop.org/xorg/font/encodings/issues>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204else 205 as_have_required=no 206fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211as_found=false 212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227fi 228fi 229 done;; 230 esac 231 as_found=false 232done 233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236fi; } 237IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243# neutralization value for shells without unset; and this also 244# works around shells that cannot unset nonexistent variables. 245# Preserve -v and -x to the replacement shell. 246BASH_ENV=/dev/null 247ENV=/dev/null 248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254esac 255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256# Admittedly, this is quite paranoid, since all the known shells bail 257# out after a failed `exec'. 258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259exit 255 260fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270$0: https://gitlab.freedesktop.org/xorg/font/encodings/issues 271$0: about your system, including any error possibly output 272$0: before this message. Then install a modern shell, or 273$0: manually run the script under such a shell if you do 274$0: have one." 275 fi 276 exit 1 277fi 278fi 279fi 280SHELL=${CONFIG_SHELL-/bin/sh} 281export SHELL 282# Unset more variables known to interfere with behavior of common tools. 283CLICOLOR_FORCE= GREP_OPTIONS= 284unset CLICOLOR_FORCE GREP_OPTIONS 285 286## --------------------- ## 287## M4sh Shell Functions. ## 288## --------------------- ## 289# as_fn_unset VAR 290# --------------- 291# Portably unset VAR. 292as_fn_unset () 293{ 294 { eval $1=; unset $1;} 295} 296as_unset=as_fn_unset 297 298# as_fn_set_status STATUS 299# ----------------------- 300# Set $? to STATUS, without forking. 301as_fn_set_status () 302{ 303 return $1 304} # as_fn_set_status 305 306# as_fn_exit STATUS 307# ----------------- 308# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 309as_fn_exit () 310{ 311 set +e 312 as_fn_set_status $1 313 exit $1 314} # as_fn_exit 315 316# as_fn_mkdir_p 317# ------------- 318# Create "$as_dir" as a directory, including parents if necessary. 319as_fn_mkdir_p () 320{ 321 322 case $as_dir in #( 323 -*) as_dir=./$as_dir;; 324 esac 325 test -d "$as_dir" || eval $as_mkdir_p || { 326 as_dirs= 327 while :; do 328 case $as_dir in #( 329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 330 *) as_qdir=$as_dir;; 331 esac 332 as_dirs="'$as_qdir' $as_dirs" 333 as_dir=`$as_dirname -- "$as_dir" || 334$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 335 X"$as_dir" : 'X\(//\)[^/]' \| \ 336 X"$as_dir" : 'X\(//\)$' \| \ 337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 338$as_echo X"$as_dir" | 339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)[^/].*/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)$/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\).*/{ 352 s//\1/ 353 q 354 } 355 s/.*/./; q'` 356 test -d "$as_dir" && break 357 done 358 test -z "$as_dirs" || eval "mkdir $as_dirs" 359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 360 361 362} # as_fn_mkdir_p 363 364# as_fn_executable_p FILE 365# ----------------------- 366# Test if FILE is an executable regular file. 367as_fn_executable_p () 368{ 369 test -f "$1" && test -x "$1" 370} # as_fn_executable_p 371# as_fn_append VAR VALUE 372# ---------------------- 373# Append the text in VALUE to the end of the definition contained in VAR. Take 374# advantage of any shell optimizations that allow amortized linear growth over 375# repeated appends, instead of the typical quadratic growth present in naive 376# implementations. 377if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 378 eval 'as_fn_append () 379 { 380 eval $1+=\$2 381 }' 382else 383 as_fn_append () 384 { 385 eval $1=\$$1\$2 386 } 387fi # as_fn_append 388 389# as_fn_arith ARG... 390# ------------------ 391# Perform arithmetic evaluation on the ARGs, and store the result in the 392# global $as_val. Take advantage of shells that can avoid forks. The arguments 393# must be portable across $(()) and expr. 394if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 395 eval 'as_fn_arith () 396 { 397 as_val=$(( $* )) 398 }' 399else 400 as_fn_arith () 401 { 402 as_val=`expr "$@" || test $? -eq 1` 403 } 404fi # as_fn_arith 405 406 407# as_fn_error STATUS ERROR [LINENO LOG_FD] 408# ---------------------------------------- 409# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 410# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 411# script with STATUS, using 1 if that was 0. 412as_fn_error () 413{ 414 as_status=$1; test $as_status -eq 0 && as_status=1 415 if test "$4"; then 416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 418 fi 419 $as_echo "$as_me: error: $2" >&2 420 as_fn_exit $as_status 421} # as_fn_error 422 423if expr a : '\(a\)' >/dev/null 2>&1 && 424 test "X`expr 00001 : '.*\(...\)'`" = X001; then 425 as_expr=expr 426else 427 as_expr=false 428fi 429 430if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 431 as_basename=basename 432else 433 as_basename=false 434fi 435 436if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 437 as_dirname=dirname 438else 439 as_dirname=false 440fi 441 442as_me=`$as_basename -- "$0" || 443$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 444 X"$0" : 'X\(//\)$' \| \ 445 X"$0" : 'X\(/\)' \| . 2>/dev/null || 446$as_echo X/"$0" | 447 sed '/^.*\/\([^/][^/]*\)\/*$/{ 448 s//\1/ 449 q 450 } 451 /^X\/\(\/\/\)$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\).*/{ 456 s//\1/ 457 q 458 } 459 s/.*/./; q'` 460 461# Avoid depending upon Character Ranges. 462as_cr_letters='abcdefghijklmnopqrstuvwxyz' 463as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 464as_cr_Letters=$as_cr_letters$as_cr_LETTERS 465as_cr_digits='0123456789' 466as_cr_alnum=$as_cr_Letters$as_cr_digits 467 468 469 as_lineno_1=$LINENO as_lineno_1a=$LINENO 470 as_lineno_2=$LINENO as_lineno_2a=$LINENO 471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 474 sed -n ' 475 p 476 /[$]LINENO/= 477 ' <$as_myself | 478 sed ' 479 s/[$]LINENO.*/&-/ 480 t lineno 481 b 482 :lineno 483 N 484 :loop 485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 486 t loop 487 s/-\n.*// 488 ' >$as_me.lineno && 489 chmod +x "$as_me.lineno" || 490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 491 492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 493 # already done that, so ensure we don't try to do so again and fall 494 # in an infinite loop. This has already happened in practice. 495 _as_can_reexec=no; export _as_can_reexec 496 # Don't try to exec as it changes $[0], causing all sort of problems 497 # (the dirname of $[0] is not the place where we might find the 498 # original and so on. Autoconf is especially sensitive to this). 499 . "./$as_me.lineno" 500 # Exit status is that of the last command. 501 exit 502} 503 504ECHO_C= ECHO_N= ECHO_T= 505case `echo -n x` in #((((( 506-n*) 507 case `echo 'xy\c'` in 508 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 509 xy) ECHO_C='\c';; 510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 511 ECHO_T=' ';; 512 esac;; 513*) 514 ECHO_N='-n';; 515esac 516 517rm -f conf$$ conf$$.exe conf$$.file 518if test -d conf$$.dir; then 519 rm -f conf$$.dir/conf$$.file 520else 521 rm -f conf$$.dir 522 mkdir conf$$.dir 2>/dev/null 523fi 524if (echo >conf$$.file) 2>/dev/null; then 525 if ln -s conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s='ln -s' 527 # ... but there are two gotchas: 528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 530 # In both cases, we have to default to `cp -pR'. 531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 532 as_ln_s='cp -pR' 533 elif ln conf$$.file conf$$ 2>/dev/null; then 534 as_ln_s=ln 535 else 536 as_ln_s='cp -pR' 537 fi 538else 539 as_ln_s='cp -pR' 540fi 541rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 542rmdir conf$$.dir 2>/dev/null 543 544if mkdir -p . 2>/dev/null; then 545 as_mkdir_p='mkdir -p "$as_dir"' 546else 547 test -d ./-p && rmdir ./-p 548 as_mkdir_p=false 549fi 550 551as_test_x='test -x' 552as_executable_p=as_fn_executable_p 553 554# Sed expression to map a string onto a valid CPP name. 555as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 556 557# Sed expression to map a string onto a valid variable name. 558as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 559 560 561test -n "$DJDIR" || exec 7<&0 </dev/null 562exec 6>&1 563 564# Name of the host. 565# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 566# so uname gets run too. 567ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 568 569# 570# Initializations. 571# 572ac_default_prefix=/usr/local 573ac_clean_files= 574ac_config_libobj_dir=. 575LIBOBJS= 576cross_compiling=no 577subdirs= 578MFLAGS= 579MAKEFLAGS= 580 581# Identity of this package. 582PACKAGE_NAME='encodings' 583PACKAGE_TARNAME='encodings' 584PACKAGE_VERSION='1.0.5' 585PACKAGE_STRING='encodings 1.0.5' 586PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/encodings/issues' 587PACKAGE_URL='' 588 589# Factoring default headers for most tests. 590ac_includes_default="\ 591#include <stdio.h> 592#ifdef HAVE_SYS_TYPES_H 593# include <sys/types.h> 594#endif 595#ifdef HAVE_SYS_STAT_H 596# include <sys/stat.h> 597#endif 598#ifdef STDC_HEADERS 599# include <stdlib.h> 600# include <stddef.h> 601#else 602# ifdef HAVE_STDLIB_H 603# include <stdlib.h> 604# endif 605#endif 606#ifdef HAVE_STRING_H 607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 608# include <memory.h> 609# endif 610# include <string.h> 611#endif 612#ifdef HAVE_STRINGS_H 613# include <strings.h> 614#endif 615#ifdef HAVE_INTTYPES_H 616# include <inttypes.h> 617#endif 618#ifdef HAVE_STDINT_H 619# include <stdint.h> 620#endif 621#ifdef HAVE_UNISTD_H 622# include <unistd.h> 623#endif" 624 625ac_subst_vars='am__EXEEXT_FALSE 626am__EXEEXT_TRUE 627LTLIBOBJS 628LIBOBJS 629ENCODINGSDIR 630FONTROOTDIR 631GZIP 632GZIP_LARGE_FALSE 633GZIP_LARGE_TRUE 634GZIP_SMALL_FALSE 635GZIP_SMALL_TRUE 636MKFONTSCALE 637MAN_SUBSTS 638XORG_MAN_PAGE 639ADMIN_MAN_DIR 640DRIVER_MAN_DIR 641MISC_MAN_DIR 642FILE_MAN_DIR 643LIB_MAN_DIR 644APP_MAN_DIR 645ADMIN_MAN_SUFFIX 646DRIVER_MAN_SUFFIX 647MISC_MAN_SUFFIX 648FILE_MAN_SUFFIX 649LIB_MAN_SUFFIX 650APP_MAN_SUFFIX 651SED 652host_os 653host_vendor 654host_cpu 655host 656build_os 657build_vendor 658build_cpu 659build 660INSTALL_CMD 661PKG_CONFIG_LIBDIR 662PKG_CONFIG_PATH 663PKG_CONFIG 664CHANGELOG_CMD 665STRICT_CFLAGS 666CWARNFLAGS 667BASE_CFLAGS 668EGREP 669GREP 670CPP 671am__fastdepCC_FALSE 672am__fastdepCC_TRUE 673CCDEPMODE 674am__nodep 675AMDEPBACKSLASH 676AMDEP_FALSE 677AMDEP_TRUE 678am__include 679DEPDIR 680OBJEXT 681EXEEXT 682ac_ct_CC 683CPPFLAGS 684LDFLAGS 685CFLAGS 686CC 687AM_BACKSLASH 688AM_DEFAULT_VERBOSITY 689AM_DEFAULT_V 690AM_V 691am__untar 692am__tar 693AMTAR 694am__leading_dot 695SET_MAKE 696AWK 697mkdir_p 698MKDIR_P 699INSTALL_STRIP_PROGRAM 700STRIP 701install_sh 702MAKEINFO 703AUTOHEADER 704AUTOMAKE 705AUTOCONF 706ACLOCAL 707VERSION 708PACKAGE 709CYGPATH_W 710am__isrc 711INSTALL_DATA 712INSTALL_SCRIPT 713INSTALL_PROGRAM 714target_alias 715host_alias 716build_alias 717LIBS 718ECHO_T 719ECHO_N 720ECHO_C 721DEFS 722mandir 723localedir 724libdir 725psdir 726pdfdir 727dvidir 728htmldir 729infodir 730docdir 731oldincludedir 732includedir 733localstatedir 734sharedstatedir 735sysconfdir 736datadir 737datarootdir 738libexecdir 739sbindir 740bindir 741program_transform_name 742prefix 743exec_prefix 744PACKAGE_URL 745PACKAGE_BUGREPORT 746PACKAGE_STRING 747PACKAGE_VERSION 748PACKAGE_TARNAME 749PACKAGE_NAME 750PATH_SEPARATOR 751SHELL 752am__quote' 753ac_subst_files='' 754ac_user_opts=' 755enable_option_checking 756enable_silent_rules 757enable_dependency_tracking 758enable_selective_werror 759enable_strict_compilation 760enable_gzip_small_encodings 761enable_gzip_large_encodings 762with_fontrootdir 763with_encodingsdir 764' 765 ac_precious_vars='build_alias 766host_alias 767target_alias 768CC 769CFLAGS 770LDFLAGS 771LIBS 772CPPFLAGS 773CPP 774PKG_CONFIG 775PKG_CONFIG_PATH 776PKG_CONFIG_LIBDIR' 777 778 779# Initialize some variables set by options. 780ac_init_help= 781ac_init_version=false 782ac_unrecognized_opts= 783ac_unrecognized_sep= 784# The variables have the same names as the options, with 785# dashes changed to underlines. 786cache_file=/dev/null 787exec_prefix=NONE 788no_create= 789no_recursion= 790prefix=NONE 791program_prefix=NONE 792program_suffix=NONE 793program_transform_name=s,x,x, 794silent= 795site= 796srcdir= 797verbose= 798x_includes=NONE 799x_libraries=NONE 800 801# Installation directory options. 802# These are left unexpanded so users can "make install exec_prefix=/foo" 803# and all the variables that are supposed to be based on exec_prefix 804# by default will actually change. 805# Use braces instead of parens because sh, perl, etc. also accept them. 806# (The list follows the same order as the GNU Coding Standards.) 807bindir='${exec_prefix}/bin' 808sbindir='${exec_prefix}/sbin' 809libexecdir='${exec_prefix}/libexec' 810datarootdir='${prefix}/share' 811datadir='${datarootdir}' 812sysconfdir='${prefix}/etc' 813sharedstatedir='${prefix}/com' 814localstatedir='${prefix}/var' 815includedir='${prefix}/include' 816oldincludedir='/usr/include' 817docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 818infodir='${datarootdir}/info' 819htmldir='${docdir}' 820dvidir='${docdir}' 821pdfdir='${docdir}' 822psdir='${docdir}' 823libdir='${exec_prefix}/lib' 824localedir='${datarootdir}/locale' 825mandir='${datarootdir}/man' 826 827ac_prev= 828ac_dashdash= 829for ac_option 830do 831 # If the previous option needs an argument, assign it. 832 if test -n "$ac_prev"; then 833 eval $ac_prev=\$ac_option 834 ac_prev= 835 continue 836 fi 837 838 case $ac_option in 839 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 840 *=) ac_optarg= ;; 841 *) ac_optarg=yes ;; 842 esac 843 844 # Accept the important Cygnus configure options, so we can diagnose typos. 845 846 case $ac_dashdash$ac_option in 847 --) 848 ac_dashdash=yes ;; 849 850 -bindir | --bindir | --bindi | --bind | --bin | --bi) 851 ac_prev=bindir ;; 852 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 853 bindir=$ac_optarg ;; 854 855 -build | --build | --buil | --bui | --bu) 856 ac_prev=build_alias ;; 857 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 858 build_alias=$ac_optarg ;; 859 860 -cache-file | --cache-file | --cache-fil | --cache-fi \ 861 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 862 ac_prev=cache_file ;; 863 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 864 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 865 cache_file=$ac_optarg ;; 866 867 --config-cache | -C) 868 cache_file=config.cache ;; 869 870 -datadir | --datadir | --datadi | --datad) 871 ac_prev=datadir ;; 872 -datadir=* | --datadir=* | --datadi=* | --datad=*) 873 datadir=$ac_optarg ;; 874 875 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 876 | --dataroo | --dataro | --datar) 877 ac_prev=datarootdir ;; 878 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 879 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 880 datarootdir=$ac_optarg ;; 881 882 -disable-* | --disable-*) 883 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 884 # Reject names that are not valid shell variable names. 885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 886 as_fn_error $? "invalid feature name: $ac_useropt" 887 ac_useropt_orig=$ac_useropt 888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 889 case $ac_user_opts in 890 *" 891"enable_$ac_useropt" 892"*) ;; 893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 894 ac_unrecognized_sep=', ';; 895 esac 896 eval enable_$ac_useropt=no ;; 897 898 -docdir | --docdir | --docdi | --doc | --do) 899 ac_prev=docdir ;; 900 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 901 docdir=$ac_optarg ;; 902 903 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 904 ac_prev=dvidir ;; 905 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 906 dvidir=$ac_optarg ;; 907 908 -enable-* | --enable-*) 909 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 910 # Reject names that are not valid shell variable names. 911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 912 as_fn_error $? "invalid feature name: $ac_useropt" 913 ac_useropt_orig=$ac_useropt 914 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 915 case $ac_user_opts in 916 *" 917"enable_$ac_useropt" 918"*) ;; 919 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 920 ac_unrecognized_sep=', ';; 921 esac 922 eval enable_$ac_useropt=\$ac_optarg ;; 923 924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 926 | --exec | --exe | --ex) 927 ac_prev=exec_prefix ;; 928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 930 | --exec=* | --exe=* | --ex=*) 931 exec_prefix=$ac_optarg ;; 932 933 -gas | --gas | --ga | --g) 934 # Obsolete; use --with-gas. 935 with_gas=yes ;; 936 937 -help | --help | --hel | --he | -h) 938 ac_init_help=long ;; 939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 940 ac_init_help=recursive ;; 941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 942 ac_init_help=short ;; 943 944 -host | --host | --hos | --ho) 945 ac_prev=host_alias ;; 946 -host=* | --host=* | --hos=* | --ho=*) 947 host_alias=$ac_optarg ;; 948 949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 950 ac_prev=htmldir ;; 951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 952 | --ht=*) 953 htmldir=$ac_optarg ;; 954 955 -includedir | --includedir | --includedi | --included | --include \ 956 | --includ | --inclu | --incl | --inc) 957 ac_prev=includedir ;; 958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 959 | --includ=* | --inclu=* | --incl=* | --inc=*) 960 includedir=$ac_optarg ;; 961 962 -infodir | --infodir | --infodi | --infod | --info | --inf) 963 ac_prev=infodir ;; 964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 965 infodir=$ac_optarg ;; 966 967 -libdir | --libdir | --libdi | --libd) 968 ac_prev=libdir ;; 969 -libdir=* | --libdir=* | --libdi=* | --libd=*) 970 libdir=$ac_optarg ;; 971 972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 973 | --libexe | --libex | --libe) 974 ac_prev=libexecdir ;; 975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 976 | --libexe=* | --libex=* | --libe=*) 977 libexecdir=$ac_optarg ;; 978 979 -localedir | --localedir | --localedi | --localed | --locale) 980 ac_prev=localedir ;; 981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 982 localedir=$ac_optarg ;; 983 984 -localstatedir | --localstatedir | --localstatedi | --localstated \ 985 | --localstate | --localstat | --localsta | --localst | --locals) 986 ac_prev=localstatedir ;; 987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 989 localstatedir=$ac_optarg ;; 990 991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 992 ac_prev=mandir ;; 993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 994 mandir=$ac_optarg ;; 995 996 -nfp | --nfp | --nf) 997 # Obsolete; use --without-fp. 998 with_fp=no ;; 999 1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1001 | --no-cr | --no-c | -n) 1002 no_create=yes ;; 1003 1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1006 no_recursion=yes ;; 1007 1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1010 | --oldin | --oldi | --old | --ol | --o) 1011 ac_prev=oldincludedir ;; 1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1015 oldincludedir=$ac_optarg ;; 1016 1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1018 ac_prev=prefix ;; 1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1020 prefix=$ac_optarg ;; 1021 1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1023 | --program-pre | --program-pr | --program-p) 1024 ac_prev=program_prefix ;; 1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1027 program_prefix=$ac_optarg ;; 1028 1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1030 | --program-suf | --program-su | --program-s) 1031 ac_prev=program_suffix ;; 1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1034 program_suffix=$ac_optarg ;; 1035 1036 -program-transform-name | --program-transform-name \ 1037 | --program-transform-nam | --program-transform-na \ 1038 | --program-transform-n | --program-transform- \ 1039 | --program-transform | --program-transfor \ 1040 | --program-transfo | --program-transf \ 1041 | --program-trans | --program-tran \ 1042 | --progr-tra | --program-tr | --program-t) 1043 ac_prev=program_transform_name ;; 1044 -program-transform-name=* | --program-transform-name=* \ 1045 | --program-transform-nam=* | --program-transform-na=* \ 1046 | --program-transform-n=* | --program-transform-=* \ 1047 | --program-transform=* | --program-transfor=* \ 1048 | --program-transfo=* | --program-transf=* \ 1049 | --program-trans=* | --program-tran=* \ 1050 | --progr-tra=* | --program-tr=* | --program-t=*) 1051 program_transform_name=$ac_optarg ;; 1052 1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1054 ac_prev=pdfdir ;; 1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1056 pdfdir=$ac_optarg ;; 1057 1058 -psdir | --psdir | --psdi | --psd | --ps) 1059 ac_prev=psdir ;; 1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1061 psdir=$ac_optarg ;; 1062 1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1064 | -silent | --silent | --silen | --sile | --sil) 1065 silent=yes ;; 1066 1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1068 ac_prev=sbindir ;; 1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1070 | --sbi=* | --sb=*) 1071 sbindir=$ac_optarg ;; 1072 1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1075 | --sharedst | --shareds | --shared | --share | --shar \ 1076 | --sha | --sh) 1077 ac_prev=sharedstatedir ;; 1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1081 | --sha=* | --sh=*) 1082 sharedstatedir=$ac_optarg ;; 1083 1084 -site | --site | --sit) 1085 ac_prev=site ;; 1086 -site=* | --site=* | --sit=*) 1087 site=$ac_optarg ;; 1088 1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1090 ac_prev=srcdir ;; 1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1092 srcdir=$ac_optarg ;; 1093 1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1095 | --syscon | --sysco | --sysc | --sys | --sy) 1096 ac_prev=sysconfdir ;; 1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1099 sysconfdir=$ac_optarg ;; 1100 1101 -target | --target | --targe | --targ | --tar | --ta | --t) 1102 ac_prev=target_alias ;; 1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1104 target_alias=$ac_optarg ;; 1105 1106 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1107 verbose=yes ;; 1108 1109 -version | --version | --versio | --versi | --vers | -V) 1110 ac_init_version=: ;; 1111 1112 -with-* | --with-*) 1113 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1114 # Reject names that are not valid shell variable names. 1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1116 as_fn_error $? "invalid package name: $ac_useropt" 1117 ac_useropt_orig=$ac_useropt 1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1119 case $ac_user_opts in 1120 *" 1121"with_$ac_useropt" 1122"*) ;; 1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1124 ac_unrecognized_sep=', ';; 1125 esac 1126 eval with_$ac_useropt=\$ac_optarg ;; 1127 1128 -without-* | --without-*) 1129 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1130 # Reject names that are not valid shell variable names. 1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1132 as_fn_error $? "invalid package name: $ac_useropt" 1133 ac_useropt_orig=$ac_useropt 1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1135 case $ac_user_opts in 1136 *" 1137"with_$ac_useropt" 1138"*) ;; 1139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1140 ac_unrecognized_sep=', ';; 1141 esac 1142 eval with_$ac_useropt=no ;; 1143 1144 --x) 1145 # Obsolete; use --with-x. 1146 with_x=yes ;; 1147 1148 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1149 | --x-incl | --x-inc | --x-in | --x-i) 1150 ac_prev=x_includes ;; 1151 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1152 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1153 x_includes=$ac_optarg ;; 1154 1155 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1156 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1157 ac_prev=x_libraries ;; 1158 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1159 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1160 x_libraries=$ac_optarg ;; 1161 1162 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1163Try \`$0 --help' for more information" 1164 ;; 1165 1166 *=*) 1167 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1168 # Reject names that are not valid shell variable names. 1169 case $ac_envvar in #( 1170 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1171 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1172 esac 1173 eval $ac_envvar=\$ac_optarg 1174 export $ac_envvar ;; 1175 1176 *) 1177 # FIXME: should be removed in autoconf 3.0. 1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1181 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1182 ;; 1183 1184 esac 1185done 1186 1187if test -n "$ac_prev"; then 1188 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1189 as_fn_error $? "missing argument to $ac_option" 1190fi 1191 1192if test -n "$ac_unrecognized_opts"; then 1193 case $enable_option_checking in 1194 no) ;; 1195 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1197 esac 1198fi 1199 1200# Check all directory arguments for consistency. 1201for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1202 datadir sysconfdir sharedstatedir localstatedir includedir \ 1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1204 libdir localedir mandir 1205do 1206 eval ac_val=\$$ac_var 1207 # Remove trailing slashes. 1208 case $ac_val in 1209 */ ) 1210 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1211 eval $ac_var=\$ac_val;; 1212 esac 1213 # Be sure to have absolute directory names. 1214 case $ac_val in 1215 [\\/$]* | ?:[\\/]* ) continue;; 1216 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1217 esac 1218 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1219done 1220 1221# There might be people who depend on the old broken behavior: `$host' 1222# used to hold the argument of --host etc. 1223# FIXME: To remove some day. 1224build=$build_alias 1225host=$host_alias 1226target=$target_alias 1227 1228# FIXME: To remove some day. 1229if test "x$host_alias" != x; then 1230 if test "x$build_alias" = x; then 1231 cross_compiling=maybe 1232 elif test "x$build_alias" != "x$host_alias"; then 1233 cross_compiling=yes 1234 fi 1235fi 1236 1237ac_tool_prefix= 1238test -n "$host_alias" && ac_tool_prefix=$host_alias- 1239 1240test "$silent" = yes && exec 6>/dev/null 1241 1242 1243ac_pwd=`pwd` && test -n "$ac_pwd" && 1244ac_ls_di=`ls -di .` && 1245ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1246 as_fn_error $? "working directory cannot be determined" 1247test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1248 as_fn_error $? "pwd does not report name of working directory" 1249 1250 1251# Find the source files, if location was not specified. 1252if test -z "$srcdir"; then 1253 ac_srcdir_defaulted=yes 1254 # Try the directory containing this script, then the parent directory. 1255 ac_confdir=`$as_dirname -- "$as_myself" || 1256$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1257 X"$as_myself" : 'X\(//\)[^/]' \| \ 1258 X"$as_myself" : 'X\(//\)$' \| \ 1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1260$as_echo X"$as_myself" | 1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1262 s//\1/ 1263 q 1264 } 1265 /^X\(\/\/\)[^/].*/{ 1266 s//\1/ 1267 q 1268 } 1269 /^X\(\/\/\)$/{ 1270 s//\1/ 1271 q 1272 } 1273 /^X\(\/\).*/{ 1274 s//\1/ 1275 q 1276 } 1277 s/.*/./; q'` 1278 srcdir=$ac_confdir 1279 if test ! -r "$srcdir/$ac_unique_file"; then 1280 srcdir=.. 1281 fi 1282else 1283 ac_srcdir_defaulted=no 1284fi 1285if test ! -r "$srcdir/$ac_unique_file"; then 1286 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1287 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1288fi 1289ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1290ac_abs_confdir=`( 1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1292 pwd)` 1293# When building in place, set srcdir=. 1294if test "$ac_abs_confdir" = "$ac_pwd"; then 1295 srcdir=. 1296fi 1297# Remove unnecessary trailing slashes from srcdir. 1298# Double slashes in file names in object file debugging info 1299# mess up M-x gdb in Emacs. 1300case $srcdir in 1301*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1302esac 1303for ac_var in $ac_precious_vars; do 1304 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1305 eval ac_env_${ac_var}_value=\$${ac_var} 1306 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1307 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1308done 1309 1310# 1311# Report the --help message. 1312# 1313if test "$ac_init_help" = "long"; then 1314 # Omit some internal or obsolete options to make the list less imposing. 1315 # This message is too long to be a string in the A/UX 3.1 sh. 1316 cat <<_ACEOF 1317\`configure' configures encodings 1.0.5 to adapt to many kinds of systems. 1318 1319Usage: $0 [OPTION]... [VAR=VALUE]... 1320 1321To assign environment variables (e.g., CC, CFLAGS...), specify them as 1322VAR=VALUE. See below for descriptions of some of the useful variables. 1323 1324Defaults for the options are specified in brackets. 1325 1326Configuration: 1327 -h, --help display this help and exit 1328 --help=short display options specific to this package 1329 --help=recursive display the short help of all the included packages 1330 -V, --version display version information and exit 1331 -q, --quiet, --silent do not print \`checking ...' messages 1332 --cache-file=FILE cache test results in FILE [disabled] 1333 -C, --config-cache alias for \`--cache-file=config.cache' 1334 -n, --no-create do not create output files 1335 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1336 1337Installation directories: 1338 --prefix=PREFIX install architecture-independent files in PREFIX 1339 [$ac_default_prefix] 1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1341 [PREFIX] 1342 1343By default, \`make install' will install all the files in 1344\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1345an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1346for instance \`--prefix=\$HOME'. 1347 1348For better control, use the options below. 1349 1350Fine tuning of the installation directories: 1351 --bindir=DIR user executables [EPREFIX/bin] 1352 --sbindir=DIR system admin executables [EPREFIX/sbin] 1353 --libexecdir=DIR program executables [EPREFIX/libexec] 1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1357 --libdir=DIR object code libraries [EPREFIX/lib] 1358 --includedir=DIR C header files [PREFIX/include] 1359 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1362 --infodir=DIR info documentation [DATAROOTDIR/info] 1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1364 --mandir=DIR man documentation [DATAROOTDIR/man] 1365 --docdir=DIR documentation root [DATAROOTDIR/doc/encodings] 1366 --htmldir=DIR html documentation [DOCDIR] 1367 --dvidir=DIR dvi documentation [DOCDIR] 1368 --pdfdir=DIR pdf documentation [DOCDIR] 1369 --psdir=DIR ps documentation [DOCDIR] 1370_ACEOF 1371 1372 cat <<\_ACEOF 1373 1374Program names: 1375 --program-prefix=PREFIX prepend PREFIX to installed program names 1376 --program-suffix=SUFFIX append SUFFIX to installed program names 1377 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1378 1379System types: 1380 --build=BUILD configure for building on BUILD [guessed] 1381 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1382_ACEOF 1383fi 1384 1385if test -n "$ac_init_help"; then 1386 case $ac_init_help in 1387 short | recursive ) echo "Configuration of encodings 1.0.5:";; 1388 esac 1389 cat <<\_ACEOF 1390 1391Optional Features: 1392 --disable-option-checking ignore unrecognized --enable/--with options 1393 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1394 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1395 --enable-silent-rules less verbose build output (undo: "make V=1") 1396 --disable-silent-rules verbose build output (undo: "make V=0") 1397 --enable-dependency-tracking 1398 do not reject slow dependency extractors 1399 --disable-dependency-tracking 1400 speeds up one-time build 1401 --disable-selective-werror 1402 Turn off selective compiler errors. (default: 1403 enabled) 1404 --enable-strict-compilation 1405 Enable all warnings from compiler and make them 1406 errors (default: disabled) 1407 --disable-gzip-small-encodings 1408 Disable compression of small encoding files 1409 --disable-gzip-large-encodings 1410 Disable compression of large encoding files 1411 1412Optional Packages: 1413 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1414 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1415 --with-fontrootdir=DIR Path to root directory for font files 1416 --with-encodingsdir=DIR Path to encodings files [FONTROOTDIR/encodings] 1417 1418Some influential environment variables: 1419 CC C compiler command 1420 CFLAGS C compiler flags 1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1422 nonstandard directory <lib dir> 1423 LIBS libraries to pass to the linker, e.g. -l<library> 1424 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1425 you have headers in a nonstandard directory <include dir> 1426 CPP C preprocessor 1427 PKG_CONFIG path to pkg-config utility 1428 PKG_CONFIG_PATH 1429 directories to add to pkg-config's search path 1430 PKG_CONFIG_LIBDIR 1431 path overriding pkg-config's built-in search path 1432 1433Use these variables to override the choices made by `configure' or to help 1434it to find libraries and programs with nonstandard names/locations. 1435 1436Report bugs to <https://gitlab.freedesktop.org/xorg/font/encodings/issues>. 1437_ACEOF 1438ac_status=$? 1439fi 1440 1441if test "$ac_init_help" = "recursive"; then 1442 # If there are subdirs, report their specific --help. 1443 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1444 test -d "$ac_dir" || 1445 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1446 continue 1447 ac_builddir=. 1448 1449case "$ac_dir" in 1450.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1451*) 1452 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1453 # A ".." for each directory in $ac_dir_suffix. 1454 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1455 case $ac_top_builddir_sub in 1456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1457 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1458 esac ;; 1459esac 1460ac_abs_top_builddir=$ac_pwd 1461ac_abs_builddir=$ac_pwd$ac_dir_suffix 1462# for backward compatibility: 1463ac_top_builddir=$ac_top_build_prefix 1464 1465case $srcdir in 1466 .) # We are building in place. 1467 ac_srcdir=. 1468 ac_top_srcdir=$ac_top_builddir_sub 1469 ac_abs_top_srcdir=$ac_pwd ;; 1470 [\\/]* | ?:[\\/]* ) # Absolute name. 1471 ac_srcdir=$srcdir$ac_dir_suffix; 1472 ac_top_srcdir=$srcdir 1473 ac_abs_top_srcdir=$srcdir ;; 1474 *) # Relative name. 1475 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1476 ac_top_srcdir=$ac_top_build_prefix$srcdir 1477 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1478esac 1479ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1480 1481 cd "$ac_dir" || { ac_status=$?; continue; } 1482 # Check for guested configure. 1483 if test -f "$ac_srcdir/configure.gnu"; then 1484 echo && 1485 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1486 elif test -f "$ac_srcdir/configure"; then 1487 echo && 1488 $SHELL "$ac_srcdir/configure" --help=recursive 1489 else 1490 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1491 fi || ac_status=$? 1492 cd "$ac_pwd" || { ac_status=$?; break; } 1493 done 1494fi 1495 1496test -n "$ac_init_help" && exit $ac_status 1497if $ac_init_version; then 1498 cat <<\_ACEOF 1499encodings configure 1.0.5 1500generated by GNU Autoconf 2.69 1501 1502Copyright (C) 2012 Free Software Foundation, Inc. 1503This configure script is free software; the Free Software Foundation 1504gives unlimited permission to copy, distribute and modify it. 1505_ACEOF 1506 exit 1507fi 1508 1509## ------------------------ ## 1510## Autoconf initialization. ## 1511## ------------------------ ## 1512 1513# ac_fn_c_try_compile LINENO 1514# -------------------------- 1515# Try to compile conftest.$ac_ext, and return whether this succeeded. 1516ac_fn_c_try_compile () 1517{ 1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1519 rm -f conftest.$ac_objext 1520 if { { ac_try="$ac_compile" 1521case "(($ac_try" in 1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1523 *) ac_try_echo=$ac_try;; 1524esac 1525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1526$as_echo "$ac_try_echo"; } >&5 1527 (eval "$ac_compile") 2>conftest.err 1528 ac_status=$? 1529 if test -s conftest.err; then 1530 grep -v '^ *+' conftest.err >conftest.er1 1531 cat conftest.er1 >&5 1532 mv -f conftest.er1 conftest.err 1533 fi 1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1535 test $ac_status = 0; } && { 1536 test -z "$ac_c_werror_flag" || 1537 test ! -s conftest.err 1538 } && test -s conftest.$ac_objext; then : 1539 ac_retval=0 1540else 1541 $as_echo "$as_me: failed program was:" >&5 1542sed 's/^/| /' conftest.$ac_ext >&5 1543 1544 ac_retval=1 1545fi 1546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1547 as_fn_set_status $ac_retval 1548 1549} # ac_fn_c_try_compile 1550 1551# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1552# --------------------------------------------- 1553# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1554# accordingly. 1555ac_fn_c_check_decl () 1556{ 1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1558 as_decl_name=`echo $2|sed 's/ *(.*//'` 1559 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1561$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1562if eval \${$3+:} false; then : 1563 $as_echo_n "(cached) " >&6 1564else 1565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1566/* end confdefs.h. */ 1567$4 1568int 1569main () 1570{ 1571#ifndef $as_decl_name 1572#ifdef __cplusplus 1573 (void) $as_decl_use; 1574#else 1575 (void) $as_decl_name; 1576#endif 1577#endif 1578 1579 ; 1580 return 0; 1581} 1582_ACEOF 1583if ac_fn_c_try_compile "$LINENO"; then : 1584 eval "$3=yes" 1585else 1586 eval "$3=no" 1587fi 1588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1589fi 1590eval ac_res=\$$3 1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1592$as_echo "$ac_res" >&6; } 1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1594 1595} # ac_fn_c_check_decl 1596 1597# ac_fn_c_try_cpp LINENO 1598# ---------------------- 1599# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1600ac_fn_c_try_cpp () 1601{ 1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1603 if { { ac_try="$ac_cpp conftest.$ac_ext" 1604case "(($ac_try" in 1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1606 *) ac_try_echo=$ac_try;; 1607esac 1608eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1609$as_echo "$ac_try_echo"; } >&5 1610 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1611 ac_status=$? 1612 if test -s conftest.err; then 1613 grep -v '^ *+' conftest.err >conftest.er1 1614 cat conftest.er1 >&5 1615 mv -f conftest.er1 conftest.err 1616 fi 1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1618 test $ac_status = 0; } > conftest.i && { 1619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1620 test ! -s conftest.err 1621 }; then : 1622 ac_retval=0 1623else 1624 $as_echo "$as_me: failed program was:" >&5 1625sed 's/^/| /' conftest.$ac_ext >&5 1626 1627 ac_retval=1 1628fi 1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1630 as_fn_set_status $ac_retval 1631 1632} # ac_fn_c_try_cpp 1633 1634# ac_fn_c_try_run LINENO 1635# ---------------------- 1636# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1637# that executables *can* be run. 1638ac_fn_c_try_run () 1639{ 1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1641 if { { ac_try="$ac_link" 1642case "(($ac_try" in 1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1644 *) ac_try_echo=$ac_try;; 1645esac 1646eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1647$as_echo "$ac_try_echo"; } >&5 1648 (eval "$ac_link") 2>&5 1649 ac_status=$? 1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1651 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1652 { { case "(($ac_try" in 1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1654 *) ac_try_echo=$ac_try;; 1655esac 1656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1657$as_echo "$ac_try_echo"; } >&5 1658 (eval "$ac_try") 2>&5 1659 ac_status=$? 1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 test $ac_status = 0; }; }; then : 1662 ac_retval=0 1663else 1664 $as_echo "$as_me: program exited with status $ac_status" >&5 1665 $as_echo "$as_me: failed program was:" >&5 1666sed 's/^/| /' conftest.$ac_ext >&5 1667 1668 ac_retval=$ac_status 1669fi 1670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1672 as_fn_set_status $ac_retval 1673 1674} # ac_fn_c_try_run 1675 1676# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1677# ------------------------------------------------------- 1678# Tests whether HEADER exists and can be compiled using the include files in 1679# INCLUDES, setting the cache variable VAR accordingly. 1680ac_fn_c_check_header_compile () 1681{ 1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1684$as_echo_n "checking for $2... " >&6; } 1685if eval \${$3+:} false; then : 1686 $as_echo_n "(cached) " >&6 1687else 1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1689/* end confdefs.h. */ 1690$4 1691#include <$2> 1692_ACEOF 1693if ac_fn_c_try_compile "$LINENO"; then : 1694 eval "$3=yes" 1695else 1696 eval "$3=no" 1697fi 1698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1699fi 1700eval ac_res=\$$3 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1702$as_echo "$ac_res" >&6; } 1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1704 1705} # ac_fn_c_check_header_compile 1706 1707# ac_fn_c_try_link LINENO 1708# ----------------------- 1709# Try to link conftest.$ac_ext, and return whether this succeeded. 1710ac_fn_c_try_link () 1711{ 1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1713 rm -f conftest.$ac_objext conftest$ac_exeext 1714 if { { ac_try="$ac_link" 1715case "(($ac_try" in 1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1717 *) ac_try_echo=$ac_try;; 1718esac 1719eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1720$as_echo "$ac_try_echo"; } >&5 1721 (eval "$ac_link") 2>conftest.err 1722 ac_status=$? 1723 if test -s conftest.err; then 1724 grep -v '^ *+' conftest.err >conftest.er1 1725 cat conftest.er1 >&5 1726 mv -f conftest.er1 conftest.err 1727 fi 1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1729 test $ac_status = 0; } && { 1730 test -z "$ac_c_werror_flag" || 1731 test ! -s conftest.err 1732 } && test -s conftest$ac_exeext && { 1733 test "$cross_compiling" = yes || 1734 test -x conftest$ac_exeext 1735 }; then : 1736 ac_retval=0 1737else 1738 $as_echo "$as_me: failed program was:" >&5 1739sed 's/^/| /' conftest.$ac_ext >&5 1740 1741 ac_retval=1 1742fi 1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1745 # interfere with the next link command; also delete a directory that is 1746 # left behind by Apple's compiler. We do this before executing the actions. 1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1749 as_fn_set_status $ac_retval 1750 1751} # ac_fn_c_try_link 1752cat >config.log <<_ACEOF 1753This file contains any messages produced by compilers while 1754running configure, to aid debugging if configure makes a mistake. 1755 1756It was created by encodings $as_me 1.0.5, which was 1757generated by GNU Autoconf 2.69. Invocation command line was 1758 1759 $ $0 $@ 1760 1761_ACEOF 1762exec 5>>config.log 1763{ 1764cat <<_ASUNAME 1765## --------- ## 1766## Platform. ## 1767## --------- ## 1768 1769hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1770uname -m = `(uname -m) 2>/dev/null || echo unknown` 1771uname -r = `(uname -r) 2>/dev/null || echo unknown` 1772uname -s = `(uname -s) 2>/dev/null || echo unknown` 1773uname -v = `(uname -v) 2>/dev/null || echo unknown` 1774 1775/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1776/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1777 1778/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1779/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1780/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1781/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1782/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1783/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1784/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1785 1786_ASUNAME 1787 1788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1789for as_dir in $PATH 1790do 1791 IFS=$as_save_IFS 1792 test -z "$as_dir" && as_dir=. 1793 $as_echo "PATH: $as_dir" 1794 done 1795IFS=$as_save_IFS 1796 1797} >&5 1798 1799cat >&5 <<_ACEOF 1800 1801 1802## ----------- ## 1803## Core tests. ## 1804## ----------- ## 1805 1806_ACEOF 1807 1808 1809# Keep a trace of the command line. 1810# Strip out --no-create and --no-recursion so they do not pile up. 1811# Strip out --silent because we don't want to record it for future runs. 1812# Also quote any args containing shell meta-characters. 1813# Make two passes to allow for proper duplicate-argument suppression. 1814ac_configure_args= 1815ac_configure_args0= 1816ac_configure_args1= 1817ac_must_keep_next=false 1818for ac_pass in 1 2 1819do 1820 for ac_arg 1821 do 1822 case $ac_arg in 1823 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1824 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1825 | -silent | --silent | --silen | --sile | --sil) 1826 continue ;; 1827 *\'*) 1828 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1829 esac 1830 case $ac_pass in 1831 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1832 2) 1833 as_fn_append ac_configure_args1 " '$ac_arg'" 1834 if test $ac_must_keep_next = true; then 1835 ac_must_keep_next=false # Got value, back to normal. 1836 else 1837 case $ac_arg in 1838 *=* | --config-cache | -C | -disable-* | --disable-* \ 1839 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1840 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1841 | -with-* | --with-* | -without-* | --without-* | --x) 1842 case "$ac_configure_args0 " in 1843 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1844 esac 1845 ;; 1846 -* ) ac_must_keep_next=true ;; 1847 esac 1848 fi 1849 as_fn_append ac_configure_args " '$ac_arg'" 1850 ;; 1851 esac 1852 done 1853done 1854{ ac_configure_args0=; unset ac_configure_args0;} 1855{ ac_configure_args1=; unset ac_configure_args1;} 1856 1857# When interrupted or exit'd, cleanup temporary files, and complete 1858# config.log. We remove comments because anyway the quotes in there 1859# would cause problems or look ugly. 1860# WARNING: Use '\'' to represent an apostrophe within the trap. 1861# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1862trap 'exit_status=$? 1863 # Save into config.log some information that might help in debugging. 1864 { 1865 echo 1866 1867 $as_echo "## ---------------- ## 1868## Cache variables. ## 1869## ---------------- ##" 1870 echo 1871 # The following way of writing the cache mishandles newlines in values, 1872( 1873 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1874 eval ac_val=\$$ac_var 1875 case $ac_val in #( 1876 *${as_nl}*) 1877 case $ac_var in #( 1878 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1879$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1880 esac 1881 case $ac_var in #( 1882 _ | IFS | as_nl) ;; #( 1883 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1884 *) { eval $ac_var=; unset $ac_var;} ;; 1885 esac ;; 1886 esac 1887 done 1888 (set) 2>&1 | 1889 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1890 *${as_nl}ac_space=\ *) 1891 sed -n \ 1892 "s/'\''/'\''\\\\'\'''\''/g; 1893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1894 ;; #( 1895 *) 1896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1897 ;; 1898 esac | 1899 sort 1900) 1901 echo 1902 1903 $as_echo "## ----------------- ## 1904## Output variables. ## 1905## ----------------- ##" 1906 echo 1907 for ac_var in $ac_subst_vars 1908 do 1909 eval ac_val=\$$ac_var 1910 case $ac_val in 1911 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1912 esac 1913 $as_echo "$ac_var='\''$ac_val'\''" 1914 done | sort 1915 echo 1916 1917 if test -n "$ac_subst_files"; then 1918 $as_echo "## ------------------- ## 1919## File substitutions. ## 1920## ------------------- ##" 1921 echo 1922 for ac_var in $ac_subst_files 1923 do 1924 eval ac_val=\$$ac_var 1925 case $ac_val in 1926 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1927 esac 1928 $as_echo "$ac_var='\''$ac_val'\''" 1929 done | sort 1930 echo 1931 fi 1932 1933 if test -s confdefs.h; then 1934 $as_echo "## ----------- ## 1935## confdefs.h. ## 1936## ----------- ##" 1937 echo 1938 cat confdefs.h 1939 echo 1940 fi 1941 test "$ac_signal" != 0 && 1942 $as_echo "$as_me: caught signal $ac_signal" 1943 $as_echo "$as_me: exit $exit_status" 1944 } >&5 1945 rm -f core *.core core.conftest.* && 1946 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1947 exit $exit_status 1948' 0 1949for ac_signal in 1 2 13 15; do 1950 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1951done 1952ac_signal=0 1953 1954# confdefs.h avoids OS command line length limits that DEFS can exceed. 1955rm -f -r conftest* confdefs.h 1956 1957$as_echo "/* confdefs.h */" > confdefs.h 1958 1959# Predefined preprocessor variables. 1960 1961cat >>confdefs.h <<_ACEOF 1962#define PACKAGE_NAME "$PACKAGE_NAME" 1963_ACEOF 1964 1965cat >>confdefs.h <<_ACEOF 1966#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1967_ACEOF 1968 1969cat >>confdefs.h <<_ACEOF 1970#define PACKAGE_VERSION "$PACKAGE_VERSION" 1971_ACEOF 1972 1973cat >>confdefs.h <<_ACEOF 1974#define PACKAGE_STRING "$PACKAGE_STRING" 1975_ACEOF 1976 1977cat >>confdefs.h <<_ACEOF 1978#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1979_ACEOF 1980 1981cat >>confdefs.h <<_ACEOF 1982#define PACKAGE_URL "$PACKAGE_URL" 1983_ACEOF 1984 1985 1986# Let the site file select an alternate cache file if it wants to. 1987# Prefer an explicitly selected file to automatically selected ones. 1988ac_site_file1=NONE 1989ac_site_file2=NONE 1990if test -n "$CONFIG_SITE"; then 1991 # We do not want a PATH search for config.site. 1992 case $CONFIG_SITE in #(( 1993 -*) ac_site_file1=./$CONFIG_SITE;; 1994 */*) ac_site_file1=$CONFIG_SITE;; 1995 *) ac_site_file1=./$CONFIG_SITE;; 1996 esac 1997elif test "x$prefix" != xNONE; then 1998 ac_site_file1=$prefix/share/config.site 1999 ac_site_file2=$prefix/etc/config.site 2000else 2001 ac_site_file1=$ac_default_prefix/share/config.site 2002 ac_site_file2=$ac_default_prefix/etc/config.site 2003fi 2004for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2005do 2006 test "x$ac_site_file" = xNONE && continue 2007 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2008 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2009$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2010 sed 's/^/| /' "$ac_site_file" >&5 2011 . "$ac_site_file" \ 2012 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2014as_fn_error $? "failed to load site script $ac_site_file 2015See \`config.log' for more details" "$LINENO" 5; } 2016 fi 2017done 2018 2019if test -r "$cache_file"; then 2020 # Some versions of bash will fail to source /dev/null (special files 2021 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2022 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2024$as_echo "$as_me: loading cache $cache_file" >&6;} 2025 case $cache_file in 2026 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2027 *) . "./$cache_file";; 2028 esac 2029 fi 2030else 2031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2032$as_echo "$as_me: creating cache $cache_file" >&6;} 2033 >$cache_file 2034fi 2035 2036# Check that the precious variables saved in the cache have kept the same 2037# value. 2038ac_cache_corrupted=false 2039for ac_var in $ac_precious_vars; do 2040 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2041 eval ac_new_set=\$ac_env_${ac_var}_set 2042 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2043 eval ac_new_val=\$ac_env_${ac_var}_value 2044 case $ac_old_set,$ac_new_set in 2045 set,) 2046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2047$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2048 ac_cache_corrupted=: ;; 2049 ,set) 2050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2051$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2052 ac_cache_corrupted=: ;; 2053 ,);; 2054 *) 2055 if test "x$ac_old_val" != "x$ac_new_val"; then 2056 # differences in whitespace do not lead to failure. 2057 ac_old_val_w=`echo x $ac_old_val` 2058 ac_new_val_w=`echo x $ac_new_val` 2059 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2061$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2062 ac_cache_corrupted=: 2063 else 2064 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2065$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2066 eval $ac_var=\$ac_old_val 2067 fi 2068 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2069$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2070 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2071$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2072 fi;; 2073 esac 2074 # Pass precious variables to config.status. 2075 if test "$ac_new_set" = set; then 2076 case $ac_new_val in 2077 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2078 *) ac_arg=$ac_var=$ac_new_val ;; 2079 esac 2080 case " $ac_configure_args " in 2081 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2082 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2083 esac 2084 fi 2085done 2086if $ac_cache_corrupted; then 2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2090$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2091 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2092fi 2093## -------------------- ## 2094## Main body of script. ## 2095## -------------------- ## 2096 2097ac_ext=c 2098ac_cpp='$CPP $CPPFLAGS' 2099ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2100ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2101ac_compiler_gnu=$ac_cv_c_compiler_gnu 2102 2103 2104am__api_version='1.16' 2105 2106ac_aux_dir= 2107for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2108 if test -f "$ac_dir/install-sh"; then 2109 ac_aux_dir=$ac_dir 2110 ac_install_sh="$ac_aux_dir/install-sh -c" 2111 break 2112 elif test -f "$ac_dir/install.sh"; then 2113 ac_aux_dir=$ac_dir 2114 ac_install_sh="$ac_aux_dir/install.sh -c" 2115 break 2116 elif test -f "$ac_dir/shtool"; then 2117 ac_aux_dir=$ac_dir 2118 ac_install_sh="$ac_aux_dir/shtool install -c" 2119 break 2120 fi 2121done 2122if test -z "$ac_aux_dir"; then 2123 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2124fi 2125 2126# These three variables are undocumented and unsupported, 2127# and are intended to be withdrawn in a future Autoconf release. 2128# They can cause serious problems if a builder's source tree is in a directory 2129# whose full name contains unusual characters. 2130ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2131ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2132ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2133 2134 2135# Find a good install program. We prefer a C program (faster), 2136# so one script is as good as another. But avoid the broken or 2137# incompatible versions: 2138# SysV /etc/install, /usr/sbin/install 2139# SunOS /usr/etc/install 2140# IRIX /sbin/install 2141# AIX /bin/install 2142# AmigaOS /C/install, which installs bootblocks on floppy discs 2143# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2144# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2145# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2146# OS/2's system install, which has a completely different semantic 2147# ./install, which can be erroneously created by make from ./install.sh. 2148# Reject install programs that cannot install multiple files. 2149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2150$as_echo_n "checking for a BSD-compatible install... " >&6; } 2151if test -z "$INSTALL"; then 2152if ${ac_cv_path_install+:} false; then : 2153 $as_echo_n "(cached) " >&6 2154else 2155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2156for as_dir in $PATH 2157do 2158 IFS=$as_save_IFS 2159 test -z "$as_dir" && as_dir=. 2160 # Account for people who put trailing slashes in PATH elements. 2161case $as_dir/ in #(( 2162 ./ | .// | /[cC]/* | \ 2163 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2164 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2165 /usr/ucb/* ) ;; 2166 *) 2167 # OSF1 and SCO ODT 3.0 have their own names for install. 2168 # Don't use installbsd from OSF since it installs stuff as root 2169 # by default. 2170 for ac_prog in ginstall scoinst install; do 2171 for ac_exec_ext in '' $ac_executable_extensions; do 2172 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2173 if test $ac_prog = install && 2174 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2175 # AIX install. It has an incompatible calling convention. 2176 : 2177 elif test $ac_prog = install && 2178 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2179 # program-specific install script used by HP pwplus--don't use. 2180 : 2181 else 2182 rm -rf conftest.one conftest.two conftest.dir 2183 echo one > conftest.one 2184 echo two > conftest.two 2185 mkdir conftest.dir 2186 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2187 test -s conftest.one && test -s conftest.two && 2188 test -s conftest.dir/conftest.one && 2189 test -s conftest.dir/conftest.two 2190 then 2191 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2192 break 3 2193 fi 2194 fi 2195 fi 2196 done 2197 done 2198 ;; 2199esac 2200 2201 done 2202IFS=$as_save_IFS 2203 2204rm -rf conftest.one conftest.two conftest.dir 2205 2206fi 2207 if test "${ac_cv_path_install+set}" = set; then 2208 INSTALL=$ac_cv_path_install 2209 else 2210 # As a last resort, use the slow shell script. Don't cache a 2211 # value for INSTALL within a source directory, because that will 2212 # break other packages using the cache if that directory is 2213 # removed, or if the value is a relative name. 2214 INSTALL=$ac_install_sh 2215 fi 2216fi 2217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2218$as_echo "$INSTALL" >&6; } 2219 2220# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2221# It thinks the first close brace ends the variable substitution. 2222test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2223 2224test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2225 2226test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2227 2228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2229$as_echo_n "checking whether build environment is sane... " >&6; } 2230# Reject unsafe characters in $srcdir or the absolute working directory 2231# name. Accept space and tab only in the latter. 2232am_lf=' 2233' 2234case `pwd` in 2235 *[\\\"\#\$\&\'\`$am_lf]*) 2236 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2237esac 2238case $srcdir in 2239 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2240 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2241esac 2242 2243# Do 'set' in a subshell so we don't clobber the current shell's 2244# arguments. Must try -L first in case configure is actually a 2245# symlink; some systems play weird games with the mod time of symlinks 2246# (eg FreeBSD returns the mod time of the symlink's containing 2247# directory). 2248if ( 2249 am_has_slept=no 2250 for am_try in 1 2; do 2251 echo "timestamp, slept: $am_has_slept" > conftest.file 2252 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2253 if test "$*" = "X"; then 2254 # -L didn't work. 2255 set X `ls -t "$srcdir/configure" conftest.file` 2256 fi 2257 if test "$*" != "X $srcdir/configure conftest.file" \ 2258 && test "$*" != "X conftest.file $srcdir/configure"; then 2259 2260 # If neither matched, then we have a broken ls. This can happen 2261 # if, for instance, CONFIG_SHELL is bash and it inherits a 2262 # broken ls alias from the environment. This has actually 2263 # happened. Such a system could not be considered "sane". 2264 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2265 alias in your environment" "$LINENO" 5 2266 fi 2267 if test "$2" = conftest.file || test $am_try -eq 2; then 2268 break 2269 fi 2270 # Just in case. 2271 sleep 1 2272 am_has_slept=yes 2273 done 2274 test "$2" = conftest.file 2275 ) 2276then 2277 # Ok. 2278 : 2279else 2280 as_fn_error $? "newly created file is older than distributed files! 2281Check your system clock" "$LINENO" 5 2282fi 2283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2284$as_echo "yes" >&6; } 2285# If we didn't sleep, we still need to ensure time stamps of config.status and 2286# generated files are strictly newer. 2287am_sleep_pid= 2288if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2289 ( sleep 1 ) & 2290 am_sleep_pid=$! 2291fi 2292 2293rm -f conftest.file 2294 2295test "$program_prefix" != NONE && 2296 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2297# Use a double $ so make ignores it. 2298test "$program_suffix" != NONE && 2299 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2300# Double any \ or $. 2301# By default was `s,x,x', remove it if useless. 2302ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2303program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2304 2305# Expand $ac_aux_dir to an absolute path. 2306am_aux_dir=`cd "$ac_aux_dir" && pwd` 2307 2308if test x"${MISSING+set}" != xset; then 2309 case $am_aux_dir in 2310 *\ * | *\ *) 2311 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2312 *) 2313 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2314 esac 2315fi 2316# Use eval to expand $SHELL 2317if eval "$MISSING --is-lightweight"; then 2318 am_missing_run="$MISSING " 2319else 2320 am_missing_run= 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2322$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2323fi 2324 2325if test x"${install_sh+set}" != xset; then 2326 case $am_aux_dir in 2327 *\ * | *\ *) 2328 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2329 *) 2330 install_sh="\${SHELL} $am_aux_dir/install-sh" 2331 esac 2332fi 2333 2334# Installed binaries are usually stripped using 'strip' when the user 2335# run "make install-strip". However 'strip' might not be the right 2336# tool to use in cross-compilation environments, therefore Automake 2337# will honor the 'STRIP' environment variable to overrule this program. 2338if test "$cross_compiling" != no; then 2339 if test -n "$ac_tool_prefix"; then 2340 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2341set dummy ${ac_tool_prefix}strip; ac_word=$2 2342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2343$as_echo_n "checking for $ac_word... " >&6; } 2344if ${ac_cv_prog_STRIP+:} false; then : 2345 $as_echo_n "(cached) " >&6 2346else 2347 if test -n "$STRIP"; then 2348 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2349else 2350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2351for as_dir in $PATH 2352do 2353 IFS=$as_save_IFS 2354 test -z "$as_dir" && as_dir=. 2355 for ac_exec_ext in '' $ac_executable_extensions; do 2356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2357 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2359 break 2 2360 fi 2361done 2362 done 2363IFS=$as_save_IFS 2364 2365fi 2366fi 2367STRIP=$ac_cv_prog_STRIP 2368if test -n "$STRIP"; then 2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2370$as_echo "$STRIP" >&6; } 2371else 2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2373$as_echo "no" >&6; } 2374fi 2375 2376 2377fi 2378if test -z "$ac_cv_prog_STRIP"; then 2379 ac_ct_STRIP=$STRIP 2380 # Extract the first word of "strip", so it can be a program name with args. 2381set dummy strip; ac_word=$2 2382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2383$as_echo_n "checking for $ac_word... " >&6; } 2384if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2385 $as_echo_n "(cached) " >&6 2386else 2387 if test -n "$ac_ct_STRIP"; then 2388 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2389else 2390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2391for as_dir in $PATH 2392do 2393 IFS=$as_save_IFS 2394 test -z "$as_dir" && as_dir=. 2395 for ac_exec_ext in '' $ac_executable_extensions; do 2396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2397 ac_cv_prog_ac_ct_STRIP="strip" 2398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2399 break 2 2400 fi 2401done 2402 done 2403IFS=$as_save_IFS 2404 2405fi 2406fi 2407ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2408if test -n "$ac_ct_STRIP"; then 2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2410$as_echo "$ac_ct_STRIP" >&6; } 2411else 2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2413$as_echo "no" >&6; } 2414fi 2415 2416 if test "x$ac_ct_STRIP" = x; then 2417 STRIP=":" 2418 else 2419 case $cross_compiling:$ac_tool_warned in 2420yes:) 2421{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2422$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2423ac_tool_warned=yes ;; 2424esac 2425 STRIP=$ac_ct_STRIP 2426 fi 2427else 2428 STRIP="$ac_cv_prog_STRIP" 2429fi 2430 2431fi 2432INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2433 2434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2435$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2436if test -z "$MKDIR_P"; then 2437 if ${ac_cv_path_mkdir+:} false; then : 2438 $as_echo_n "(cached) " >&6 2439else 2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2441for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2442do 2443 IFS=$as_save_IFS 2444 test -z "$as_dir" && as_dir=. 2445 for ac_prog in mkdir gmkdir; do 2446 for ac_exec_ext in '' $ac_executable_extensions; do 2447 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2448 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2449 'mkdir (GNU coreutils) '* | \ 2450 'mkdir (coreutils) '* | \ 2451 'mkdir (fileutils) '4.1*) 2452 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2453 break 3;; 2454 esac 2455 done 2456 done 2457 done 2458IFS=$as_save_IFS 2459 2460fi 2461 2462 test -d ./--version && rmdir ./--version 2463 if test "${ac_cv_path_mkdir+set}" = set; then 2464 MKDIR_P="$ac_cv_path_mkdir -p" 2465 else 2466 # As a last resort, use the slow shell script. Don't cache a 2467 # value for MKDIR_P within a source directory, because that will 2468 # break other packages using the cache if that directory is 2469 # removed, or if the value is a relative name. 2470 MKDIR_P="$ac_install_sh -d" 2471 fi 2472fi 2473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2474$as_echo "$MKDIR_P" >&6; } 2475 2476for ac_prog in gawk mawk nawk awk 2477do 2478 # Extract the first word of "$ac_prog", so it can be a program name with args. 2479set dummy $ac_prog; ac_word=$2 2480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2481$as_echo_n "checking for $ac_word... " >&6; } 2482if ${ac_cv_prog_AWK+:} false; then : 2483 $as_echo_n "(cached) " >&6 2484else 2485 if test -n "$AWK"; then 2486 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2487else 2488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2489for as_dir in $PATH 2490do 2491 IFS=$as_save_IFS 2492 test -z "$as_dir" && as_dir=. 2493 for ac_exec_ext in '' $ac_executable_extensions; do 2494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2495 ac_cv_prog_AWK="$ac_prog" 2496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2497 break 2 2498 fi 2499done 2500 done 2501IFS=$as_save_IFS 2502 2503fi 2504fi 2505AWK=$ac_cv_prog_AWK 2506if test -n "$AWK"; then 2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2508$as_echo "$AWK" >&6; } 2509else 2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2511$as_echo "no" >&6; } 2512fi 2513 2514 2515 test -n "$AWK" && break 2516done 2517 2518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2519$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2520set x ${MAKE-make} 2521ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2522if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2523 $as_echo_n "(cached) " >&6 2524else 2525 cat >conftest.make <<\_ACEOF 2526SHELL = /bin/sh 2527all: 2528 @echo '@@@%%%=$(MAKE)=@@@%%%' 2529_ACEOF 2530# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2531case `${MAKE-make} -f conftest.make 2>/dev/null` in 2532 *@@@%%%=?*=@@@%%%*) 2533 eval ac_cv_prog_make_${ac_make}_set=yes;; 2534 *) 2535 eval ac_cv_prog_make_${ac_make}_set=no;; 2536esac 2537rm -f conftest.make 2538fi 2539if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2541$as_echo "yes" >&6; } 2542 SET_MAKE= 2543else 2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2545$as_echo "no" >&6; } 2546 SET_MAKE="MAKE=${MAKE-make}" 2547fi 2548 2549rm -rf .tst 2>/dev/null 2550mkdir .tst 2>/dev/null 2551if test -d .tst; then 2552 am__leading_dot=. 2553else 2554 am__leading_dot=_ 2555fi 2556rmdir .tst 2>/dev/null 2557 2558# Check whether --enable-silent-rules was given. 2559if test "${enable_silent_rules+set}" = set; then : 2560 enableval=$enable_silent_rules; 2561fi 2562 2563case $enable_silent_rules in # ((( 2564 yes) AM_DEFAULT_VERBOSITY=0;; 2565 no) AM_DEFAULT_VERBOSITY=1;; 2566 *) AM_DEFAULT_VERBOSITY=1;; 2567esac 2568am_make=${MAKE-make} 2569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2570$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2571if ${am_cv_make_support_nested_variables+:} false; then : 2572 $as_echo_n "(cached) " >&6 2573else 2574 if $as_echo 'TRUE=$(BAR$(V)) 2575BAR0=false 2576BAR1=true 2577V=1 2578am__doit: 2579 @$(TRUE) 2580.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2581 am_cv_make_support_nested_variables=yes 2582else 2583 am_cv_make_support_nested_variables=no 2584fi 2585fi 2586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2587$as_echo "$am_cv_make_support_nested_variables" >&6; } 2588if test $am_cv_make_support_nested_variables = yes; then 2589 AM_V='$(V)' 2590 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2591else 2592 AM_V=$AM_DEFAULT_VERBOSITY 2593 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2594fi 2595AM_BACKSLASH='\' 2596 2597if test "`cd $srcdir && pwd`" != "`pwd`"; then 2598 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2599 # is not polluted with repeated "-I." 2600 am__isrc=' -I$(srcdir)' 2601 # test to see if srcdir already configured 2602 if test -f $srcdir/config.status; then 2603 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2604 fi 2605fi 2606 2607# test whether we have cygpath 2608if test -z "$CYGPATH_W"; then 2609 if (cygpath --version) >/dev/null 2>/dev/null; then 2610 CYGPATH_W='cygpath -w' 2611 else 2612 CYGPATH_W=echo 2613 fi 2614fi 2615 2616 2617# Define the identity of the package. 2618 PACKAGE='encodings' 2619 VERSION='1.0.5' 2620 2621 2622cat >>confdefs.h <<_ACEOF 2623#define PACKAGE "$PACKAGE" 2624_ACEOF 2625 2626 2627cat >>confdefs.h <<_ACEOF 2628#define VERSION "$VERSION" 2629_ACEOF 2630 2631# Some tools Automake needs. 2632 2633ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2634 2635 2636AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2637 2638 2639AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2640 2641 2642AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2643 2644 2645MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2646 2647# For better backward compatibility. To be removed once Automake 1.9.x 2648# dies out for good. For more background, see: 2649# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2650# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2651mkdir_p='$(MKDIR_P)' 2652 2653# We need awk for the "check" target (and possibly the TAP driver). The 2654# system "awk" is bad on some platforms. 2655# Always define AMTAR for backward compatibility. Yes, it's still used 2656# in the wild :-( We should find a proper way to deprecate it ... 2657AMTAR='$${TAR-tar}' 2658 2659 2660# We'll loop over all known methods to create a tar archive until one works. 2661_am_tools='gnutar pax cpio none' 2662 2663am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2664 2665 2666 2667 2668 2669 2670# POSIX will say in a future version that running "rm -f" with no argument 2671# is OK; and we want to be able to make that assumption in our Makefile 2672# recipes. So use an aggressive probe to check that the usage we want is 2673# actually supported "in the wild" to an acceptable degree. 2674# See automake bug#10828. 2675# To make any issue more visible, cause the running configure to be aborted 2676# by default if the 'rm' program in use doesn't match our expectations; the 2677# user can still override this though. 2678if rm -f && rm -fr && rm -rf; then : OK; else 2679 cat >&2 <<'END' 2680Oops! 2681 2682Your 'rm' program seems unable to run without file operands specified 2683on the command line, even when the '-f' option is present. This is contrary 2684to the behaviour of most rm programs out there, and not conforming with 2685the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2686 2687Please tell bug-automake@gnu.org about your system, including the value 2688of your $PATH and any error possibly output before this message. This 2689can help us improve future automake versions. 2690 2691END 2692 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2693 echo 'Configuration will proceed anyway, since you have set the' >&2 2694 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2695 echo >&2 2696 else 2697 cat >&2 <<'END' 2698Aborting the configuration process, to ensure you take notice of the issue. 2699 2700You can download and install GNU coreutils to get an 'rm' implementation 2701that behaves properly: <https://www.gnu.org/software/coreutils/>. 2702 2703If you want to complete the configuration process using your problematic 2704'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2705to "yes", and re-run configure. 2706 2707END 2708 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2709 fi 2710fi 2711 2712 2713# Require xorg-macros: XORG_DEFAULT_OPTIONS 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725DEPDIR="${am__leading_dot}deps" 2726 2727ac_config_commands="$ac_config_commands depfiles" 2728 2729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 2730$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 2731cat > confinc.mk << 'END' 2732am__doit: 2733 @echo this is the am__doit target >confinc.out 2734.PHONY: am__doit 2735END 2736am__include="#" 2737am__quote= 2738# BSD make does it like this. 2739echo '.include "confinc.mk" # ignored' > confmf.BSD 2740# Other make implementations (GNU, Solaris 10, AIX) do it like this. 2741echo 'include confinc.mk # ignored' > confmf.GNU 2742_am_result=no 2743for s in GNU BSD; do 2744 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 2745 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 2746 ac_status=$? 2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2748 (exit $ac_status); } 2749 case $?:`cat confinc.out 2>/dev/null` in #( 2750 '0:this is the am__doit target') : 2751 case $s in #( 2752 BSD) : 2753 am__include='.include' am__quote='"' ;; #( 2754 *) : 2755 am__include='include' am__quote='' ;; 2756esac ;; #( 2757 *) : 2758 ;; 2759esac 2760 if test "$am__include" != "#"; then 2761 _am_result="yes ($s style)" 2762 break 2763 fi 2764done 2765rm -f confinc.* confmf.* 2766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 2767$as_echo "${_am_result}" >&6; } 2768 2769# Check whether --enable-dependency-tracking was given. 2770if test "${enable_dependency_tracking+set}" = set; then : 2771 enableval=$enable_dependency_tracking; 2772fi 2773 2774if test "x$enable_dependency_tracking" != xno; then 2775 am_depcomp="$ac_aux_dir/depcomp" 2776 AMDEPBACKSLASH='\' 2777 am__nodep='_no' 2778fi 2779 if test "x$enable_dependency_tracking" != xno; then 2780 AMDEP_TRUE= 2781 AMDEP_FALSE='#' 2782else 2783 AMDEP_TRUE='#' 2784 AMDEP_FALSE= 2785fi 2786 2787 2788ac_ext=c 2789ac_cpp='$CPP $CPPFLAGS' 2790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2792ac_compiler_gnu=$ac_cv_c_compiler_gnu 2793if test -n "$ac_tool_prefix"; then 2794 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2795set dummy ${ac_tool_prefix}gcc; ac_word=$2 2796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2797$as_echo_n "checking for $ac_word... " >&6; } 2798if ${ac_cv_prog_CC+:} false; then : 2799 $as_echo_n "(cached) " >&6 2800else 2801 if test -n "$CC"; then 2802 ac_cv_prog_CC="$CC" # Let the user override the test. 2803else 2804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2805for as_dir in $PATH 2806do 2807 IFS=$as_save_IFS 2808 test -z "$as_dir" && as_dir=. 2809 for ac_exec_ext in '' $ac_executable_extensions; do 2810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2811 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2813 break 2 2814 fi 2815done 2816 done 2817IFS=$as_save_IFS 2818 2819fi 2820fi 2821CC=$ac_cv_prog_CC 2822if test -n "$CC"; then 2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2824$as_echo "$CC" >&6; } 2825else 2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2827$as_echo "no" >&6; } 2828fi 2829 2830 2831fi 2832if test -z "$ac_cv_prog_CC"; then 2833 ac_ct_CC=$CC 2834 # Extract the first word of "gcc", so it can be a program name with args. 2835set dummy gcc; ac_word=$2 2836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2837$as_echo_n "checking for $ac_word... " >&6; } 2838if ${ac_cv_prog_ac_ct_CC+:} false; then : 2839 $as_echo_n "(cached) " >&6 2840else 2841 if test -n "$ac_ct_CC"; then 2842 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2843else 2844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2845for as_dir in $PATH 2846do 2847 IFS=$as_save_IFS 2848 test -z "$as_dir" && as_dir=. 2849 for ac_exec_ext in '' $ac_executable_extensions; do 2850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2851 ac_cv_prog_ac_ct_CC="gcc" 2852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2853 break 2 2854 fi 2855done 2856 done 2857IFS=$as_save_IFS 2858 2859fi 2860fi 2861ac_ct_CC=$ac_cv_prog_ac_ct_CC 2862if test -n "$ac_ct_CC"; then 2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2864$as_echo "$ac_ct_CC" >&6; } 2865else 2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2867$as_echo "no" >&6; } 2868fi 2869 2870 if test "x$ac_ct_CC" = x; then 2871 CC="" 2872 else 2873 case $cross_compiling:$ac_tool_warned in 2874yes:) 2875{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2876$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2877ac_tool_warned=yes ;; 2878esac 2879 CC=$ac_ct_CC 2880 fi 2881else 2882 CC="$ac_cv_prog_CC" 2883fi 2884 2885if test -z "$CC"; then 2886 if test -n "$ac_tool_prefix"; then 2887 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2888set dummy ${ac_tool_prefix}cc; ac_word=$2 2889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2890$as_echo_n "checking for $ac_word... " >&6; } 2891if ${ac_cv_prog_CC+:} false; then : 2892 $as_echo_n "(cached) " >&6 2893else 2894 if test -n "$CC"; then 2895 ac_cv_prog_CC="$CC" # Let the user override the test. 2896else 2897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2898for as_dir in $PATH 2899do 2900 IFS=$as_save_IFS 2901 test -z "$as_dir" && as_dir=. 2902 for ac_exec_ext in '' $ac_executable_extensions; do 2903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2904 ac_cv_prog_CC="${ac_tool_prefix}cc" 2905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2906 break 2 2907 fi 2908done 2909 done 2910IFS=$as_save_IFS 2911 2912fi 2913fi 2914CC=$ac_cv_prog_CC 2915if test -n "$CC"; then 2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2917$as_echo "$CC" >&6; } 2918else 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2920$as_echo "no" >&6; } 2921fi 2922 2923 2924 fi 2925fi 2926if test -z "$CC"; then 2927 # Extract the first word of "cc", so it can be a program name with args. 2928set dummy cc; ac_word=$2 2929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2930$as_echo_n "checking for $ac_word... " >&6; } 2931if ${ac_cv_prog_CC+:} false; then : 2932 $as_echo_n "(cached) " >&6 2933else 2934 if test -n "$CC"; then 2935 ac_cv_prog_CC="$CC" # Let the user override the test. 2936else 2937 ac_prog_rejected=no 2938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2939for as_dir in $PATH 2940do 2941 IFS=$as_save_IFS 2942 test -z "$as_dir" && as_dir=. 2943 for ac_exec_ext in '' $ac_executable_extensions; do 2944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2945 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2946 ac_prog_rejected=yes 2947 continue 2948 fi 2949 ac_cv_prog_CC="cc" 2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2951 break 2 2952 fi 2953done 2954 done 2955IFS=$as_save_IFS 2956 2957if test $ac_prog_rejected = yes; then 2958 # We found a bogon in the path, so make sure we never use it. 2959 set dummy $ac_cv_prog_CC 2960 shift 2961 if test $# != 0; then 2962 # We chose a different compiler from the bogus one. 2963 # However, it has the same basename, so the bogon will be chosen 2964 # first if we set CC to just the basename; use the full file name. 2965 shift 2966 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2967 fi 2968fi 2969fi 2970fi 2971CC=$ac_cv_prog_CC 2972if test -n "$CC"; then 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2974$as_echo "$CC" >&6; } 2975else 2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2977$as_echo "no" >&6; } 2978fi 2979 2980 2981fi 2982if test -z "$CC"; then 2983 if test -n "$ac_tool_prefix"; then 2984 for ac_prog in cl.exe 2985 do 2986 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2987set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2989$as_echo_n "checking for $ac_word... " >&6; } 2990if ${ac_cv_prog_CC+:} false; then : 2991 $as_echo_n "(cached) " >&6 2992else 2993 if test -n "$CC"; then 2994 ac_cv_prog_CC="$CC" # Let the user override the test. 2995else 2996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2997for as_dir in $PATH 2998do 2999 IFS=$as_save_IFS 3000 test -z "$as_dir" && as_dir=. 3001 for ac_exec_ext in '' $ac_executable_extensions; do 3002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3003 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3005 break 2 3006 fi 3007done 3008 done 3009IFS=$as_save_IFS 3010 3011fi 3012fi 3013CC=$ac_cv_prog_CC 3014if test -n "$CC"; then 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3016$as_echo "$CC" >&6; } 3017else 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3019$as_echo "no" >&6; } 3020fi 3021 3022 3023 test -n "$CC" && break 3024 done 3025fi 3026if test -z "$CC"; then 3027 ac_ct_CC=$CC 3028 for ac_prog in cl.exe 3029do 3030 # Extract the first word of "$ac_prog", so it can be a program name with args. 3031set dummy $ac_prog; ac_word=$2 3032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3033$as_echo_n "checking for $ac_word... " >&6; } 3034if ${ac_cv_prog_ac_ct_CC+:} false; then : 3035 $as_echo_n "(cached) " >&6 3036else 3037 if test -n "$ac_ct_CC"; then 3038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3039else 3040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3041for as_dir in $PATH 3042do 3043 IFS=$as_save_IFS 3044 test -z "$as_dir" && as_dir=. 3045 for ac_exec_ext in '' $ac_executable_extensions; do 3046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3047 ac_cv_prog_ac_ct_CC="$ac_prog" 3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3049 break 2 3050 fi 3051done 3052 done 3053IFS=$as_save_IFS 3054 3055fi 3056fi 3057ac_ct_CC=$ac_cv_prog_ac_ct_CC 3058if test -n "$ac_ct_CC"; then 3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3060$as_echo "$ac_ct_CC" >&6; } 3061else 3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3063$as_echo "no" >&6; } 3064fi 3065 3066 3067 test -n "$ac_ct_CC" && break 3068done 3069 3070 if test "x$ac_ct_CC" = x; then 3071 CC="" 3072 else 3073 case $cross_compiling:$ac_tool_warned in 3074yes:) 3075{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3076$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3077ac_tool_warned=yes ;; 3078esac 3079 CC=$ac_ct_CC 3080 fi 3081fi 3082 3083fi 3084 3085 3086test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3087$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3088as_fn_error $? "no acceptable C compiler found in \$PATH 3089See \`config.log' for more details" "$LINENO" 5; } 3090 3091# Provide some information about the compiler. 3092$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3093set X $ac_compile 3094ac_compiler=$2 3095for ac_option in --version -v -V -qversion; do 3096 { { ac_try="$ac_compiler $ac_option >&5" 3097case "(($ac_try" in 3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3099 *) ac_try_echo=$ac_try;; 3100esac 3101eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3102$as_echo "$ac_try_echo"; } >&5 3103 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3104 ac_status=$? 3105 if test -s conftest.err; then 3106 sed '10a\ 3107... rest of stderr output deleted ... 3108 10q' conftest.err >conftest.er1 3109 cat conftest.er1 >&5 3110 fi 3111 rm -f conftest.er1 conftest.err 3112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3113 test $ac_status = 0; } 3114done 3115 3116cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3117/* end confdefs.h. */ 3118 3119int 3120main () 3121{ 3122 3123 ; 3124 return 0; 3125} 3126_ACEOF 3127ac_clean_files_save=$ac_clean_files 3128ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3129# Try to create an executable without -o first, disregard a.out. 3130# It will help us diagnose broken compilers, and finding out an intuition 3131# of exeext. 3132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3133$as_echo_n "checking whether the C compiler works... " >&6; } 3134ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3135 3136# The possible output files: 3137ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3138 3139ac_rmfiles= 3140for ac_file in $ac_files 3141do 3142 case $ac_file in 3143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3144 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3145 esac 3146done 3147rm -f $ac_rmfiles 3148 3149if { { ac_try="$ac_link_default" 3150case "(($ac_try" in 3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3152 *) ac_try_echo=$ac_try;; 3153esac 3154eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3155$as_echo "$ac_try_echo"; } >&5 3156 (eval "$ac_link_default") 2>&5 3157 ac_status=$? 3158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3159 test $ac_status = 0; }; then : 3160 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3161# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3162# in a Makefile. We should not override ac_cv_exeext if it was cached, 3163# so that the user can short-circuit this test for compilers unknown to 3164# Autoconf. 3165for ac_file in $ac_files '' 3166do 3167 test -f "$ac_file" || continue 3168 case $ac_file in 3169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3170 ;; 3171 [ab].out ) 3172 # We found the default executable, but exeext='' is most 3173 # certainly right. 3174 break;; 3175 *.* ) 3176 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3177 then :; else 3178 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3179 fi 3180 # We set ac_cv_exeext here because the later test for it is not 3181 # safe: cross compilers may not add the suffix if given an `-o' 3182 # argument, so we may need to know it at that point already. 3183 # Even if this section looks crufty: it has the advantage of 3184 # actually working. 3185 break;; 3186 * ) 3187 break;; 3188 esac 3189done 3190test "$ac_cv_exeext" = no && ac_cv_exeext= 3191 3192else 3193 ac_file='' 3194fi 3195if test -z "$ac_file"; then : 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3197$as_echo "no" >&6; } 3198$as_echo "$as_me: failed program was:" >&5 3199sed 's/^/| /' conftest.$ac_ext >&5 3200 3201{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3203as_fn_error 77 "C compiler cannot create executables 3204See \`config.log' for more details" "$LINENO" 5; } 3205else 3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3207$as_echo "yes" >&6; } 3208fi 3209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3210$as_echo_n "checking for C compiler default output file name... " >&6; } 3211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3212$as_echo "$ac_file" >&6; } 3213ac_exeext=$ac_cv_exeext 3214 3215rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3216ac_clean_files=$ac_clean_files_save 3217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3218$as_echo_n "checking for suffix of executables... " >&6; } 3219if { { ac_try="$ac_link" 3220case "(($ac_try" in 3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3222 *) ac_try_echo=$ac_try;; 3223esac 3224eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3225$as_echo "$ac_try_echo"; } >&5 3226 (eval "$ac_link") 2>&5 3227 ac_status=$? 3228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3229 test $ac_status = 0; }; then : 3230 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3231# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3232# work properly (i.e., refer to `conftest.exe'), while it won't with 3233# `rm'. 3234for ac_file in conftest.exe conftest conftest.*; do 3235 test -f "$ac_file" || continue 3236 case $ac_file in 3237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3238 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3239 break;; 3240 * ) break;; 3241 esac 3242done 3243else 3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3246as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3247See \`config.log' for more details" "$LINENO" 5; } 3248fi 3249rm -f conftest conftest$ac_cv_exeext 3250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3251$as_echo "$ac_cv_exeext" >&6; } 3252 3253rm -f conftest.$ac_ext 3254EXEEXT=$ac_cv_exeext 3255ac_exeext=$EXEEXT 3256cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3257/* end confdefs.h. */ 3258#include <stdio.h> 3259int 3260main () 3261{ 3262FILE *f = fopen ("conftest.out", "w"); 3263 return ferror (f) || fclose (f) != 0; 3264 3265 ; 3266 return 0; 3267} 3268_ACEOF 3269ac_clean_files="$ac_clean_files conftest.out" 3270# Check that the compiler produces executables we can run. If not, either 3271# the compiler is broken, or we cross compile. 3272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3273$as_echo_n "checking whether we are cross compiling... " >&6; } 3274if test "$cross_compiling" != yes; then 3275 { { ac_try="$ac_link" 3276case "(($ac_try" in 3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3278 *) ac_try_echo=$ac_try;; 3279esac 3280eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3281$as_echo "$ac_try_echo"; } >&5 3282 (eval "$ac_link") 2>&5 3283 ac_status=$? 3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3285 test $ac_status = 0; } 3286 if { ac_try='./conftest$ac_cv_exeext' 3287 { { case "(($ac_try" in 3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3289 *) ac_try_echo=$ac_try;; 3290esac 3291eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3292$as_echo "$ac_try_echo"; } >&5 3293 (eval "$ac_try") 2>&5 3294 ac_status=$? 3295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3296 test $ac_status = 0; }; }; then 3297 cross_compiling=no 3298 else 3299 if test "$cross_compiling" = maybe; then 3300 cross_compiling=yes 3301 else 3302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3303$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3304as_fn_error $? "cannot run C compiled programs. 3305If you meant to cross compile, use \`--host'. 3306See \`config.log' for more details" "$LINENO" 5; } 3307 fi 3308 fi 3309fi 3310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3311$as_echo "$cross_compiling" >&6; } 3312 3313rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3314ac_clean_files=$ac_clean_files_save 3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3316$as_echo_n "checking for suffix of object files... " >&6; } 3317if ${ac_cv_objext+:} false; then : 3318 $as_echo_n "(cached) " >&6 3319else 3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3321/* end confdefs.h. */ 3322 3323int 3324main () 3325{ 3326 3327 ; 3328 return 0; 3329} 3330_ACEOF 3331rm -f conftest.o conftest.obj 3332if { { ac_try="$ac_compile" 3333case "(($ac_try" in 3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3335 *) ac_try_echo=$ac_try;; 3336esac 3337eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3338$as_echo "$ac_try_echo"; } >&5 3339 (eval "$ac_compile") 2>&5 3340 ac_status=$? 3341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3342 test $ac_status = 0; }; then : 3343 for ac_file in conftest.o conftest.obj conftest.*; do 3344 test -f "$ac_file" || continue; 3345 case $ac_file in 3346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3347 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3348 break;; 3349 esac 3350done 3351else 3352 $as_echo "$as_me: failed program was:" >&5 3353sed 's/^/| /' conftest.$ac_ext >&5 3354 3355{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3357as_fn_error $? "cannot compute suffix of object files: cannot compile 3358See \`config.log' for more details" "$LINENO" 5; } 3359fi 3360rm -f conftest.$ac_cv_objext conftest.$ac_ext 3361fi 3362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3363$as_echo "$ac_cv_objext" >&6; } 3364OBJEXT=$ac_cv_objext 3365ac_objext=$OBJEXT 3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3367$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3368if ${ac_cv_c_compiler_gnu+:} false; then : 3369 $as_echo_n "(cached) " >&6 3370else 3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3372/* end confdefs.h. */ 3373 3374int 3375main () 3376{ 3377#ifndef __GNUC__ 3378 choke me 3379#endif 3380 3381 ; 3382 return 0; 3383} 3384_ACEOF 3385if ac_fn_c_try_compile "$LINENO"; then : 3386 ac_compiler_gnu=yes 3387else 3388 ac_compiler_gnu=no 3389fi 3390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3391ac_cv_c_compiler_gnu=$ac_compiler_gnu 3392 3393fi 3394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3395$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3396if test $ac_compiler_gnu = yes; then 3397 GCC=yes 3398else 3399 GCC= 3400fi 3401ac_test_CFLAGS=${CFLAGS+set} 3402ac_save_CFLAGS=$CFLAGS 3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3404$as_echo_n "checking whether $CC accepts -g... " >&6; } 3405if ${ac_cv_prog_cc_g+:} false; then : 3406 $as_echo_n "(cached) " >&6 3407else 3408 ac_save_c_werror_flag=$ac_c_werror_flag 3409 ac_c_werror_flag=yes 3410 ac_cv_prog_cc_g=no 3411 CFLAGS="-g" 3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3413/* end confdefs.h. */ 3414 3415int 3416main () 3417{ 3418 3419 ; 3420 return 0; 3421} 3422_ACEOF 3423if ac_fn_c_try_compile "$LINENO"; then : 3424 ac_cv_prog_cc_g=yes 3425else 3426 CFLAGS="" 3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3428/* end confdefs.h. */ 3429 3430int 3431main () 3432{ 3433 3434 ; 3435 return 0; 3436} 3437_ACEOF 3438if ac_fn_c_try_compile "$LINENO"; then : 3439 3440else 3441 ac_c_werror_flag=$ac_save_c_werror_flag 3442 CFLAGS="-g" 3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3444/* end confdefs.h. */ 3445 3446int 3447main () 3448{ 3449 3450 ; 3451 return 0; 3452} 3453_ACEOF 3454if ac_fn_c_try_compile "$LINENO"; then : 3455 ac_cv_prog_cc_g=yes 3456fi 3457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3458fi 3459rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3460fi 3461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3462 ac_c_werror_flag=$ac_save_c_werror_flag 3463fi 3464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3465$as_echo "$ac_cv_prog_cc_g" >&6; } 3466if test "$ac_test_CFLAGS" = set; then 3467 CFLAGS=$ac_save_CFLAGS 3468elif test $ac_cv_prog_cc_g = yes; then 3469 if test "$GCC" = yes; then 3470 CFLAGS="-g -O2" 3471 else 3472 CFLAGS="-g" 3473 fi 3474else 3475 if test "$GCC" = yes; then 3476 CFLAGS="-O2" 3477 else 3478 CFLAGS= 3479 fi 3480fi 3481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3482$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3483if ${ac_cv_prog_cc_c89+:} false; then : 3484 $as_echo_n "(cached) " >&6 3485else 3486 ac_cv_prog_cc_c89=no 3487ac_save_CC=$CC 3488cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3489/* end confdefs.h. */ 3490#include <stdarg.h> 3491#include <stdio.h> 3492struct stat; 3493/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3494struct buf { int x; }; 3495FILE * (*rcsopen) (struct buf *, struct stat *, int); 3496static char *e (p, i) 3497 char **p; 3498 int i; 3499{ 3500 return p[i]; 3501} 3502static char *f (char * (*g) (char **, int), char **p, ...) 3503{ 3504 char *s; 3505 va_list v; 3506 va_start (v,p); 3507 s = g (p, va_arg (v,int)); 3508 va_end (v); 3509 return s; 3510} 3511 3512/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3513 function prototypes and stuff, but not '\xHH' hex character constants. 3514 These don't provoke an error unfortunately, instead are silently treated 3515 as 'x'. The following induces an error, until -std is added to get 3516 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3517 array size at least. It's necessary to write '\x00'==0 to get something 3518 that's true only with -std. */ 3519int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3520 3521/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3522 inside strings and character constants. */ 3523#define FOO(x) 'x' 3524int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3525 3526int test (int i, double x); 3527struct s1 {int (*f) (int a);}; 3528struct s2 {int (*f) (double a);}; 3529int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3530int argc; 3531char **argv; 3532int 3533main () 3534{ 3535return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3536 ; 3537 return 0; 3538} 3539_ACEOF 3540for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3541 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3542do 3543 CC="$ac_save_CC $ac_arg" 3544 if ac_fn_c_try_compile "$LINENO"; then : 3545 ac_cv_prog_cc_c89=$ac_arg 3546fi 3547rm -f core conftest.err conftest.$ac_objext 3548 test "x$ac_cv_prog_cc_c89" != "xno" && break 3549done 3550rm -f conftest.$ac_ext 3551CC=$ac_save_CC 3552 3553fi 3554# AC_CACHE_VAL 3555case "x$ac_cv_prog_cc_c89" in 3556 x) 3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3558$as_echo "none needed" >&6; } ;; 3559 xno) 3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3561$as_echo "unsupported" >&6; } ;; 3562 *) 3563 CC="$CC $ac_cv_prog_cc_c89" 3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3565$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3566esac 3567if test "x$ac_cv_prog_cc_c89" != xno; then : 3568 3569fi 3570 3571ac_ext=c 3572ac_cpp='$CPP $CPPFLAGS' 3573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3575ac_compiler_gnu=$ac_cv_c_compiler_gnu 3576 3577ac_ext=c 3578ac_cpp='$CPP $CPPFLAGS' 3579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3581ac_compiler_gnu=$ac_cv_c_compiler_gnu 3582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3583$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3584if ${am_cv_prog_cc_c_o+:} false; then : 3585 $as_echo_n "(cached) " >&6 3586else 3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3588/* end confdefs.h. */ 3589 3590int 3591main () 3592{ 3593 3594 ; 3595 return 0; 3596} 3597_ACEOF 3598 # Make sure it works both with $CC and with simple cc. 3599 # Following AC_PROG_CC_C_O, we do the test twice because some 3600 # compilers refuse to overwrite an existing .o file with -o, 3601 # though they will create one. 3602 am_cv_prog_cc_c_o=yes 3603 for am_i in 1 2; do 3604 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3605 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3606 ac_status=$? 3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3608 (exit $ac_status); } \ 3609 && test -f conftest2.$ac_objext; then 3610 : OK 3611 else 3612 am_cv_prog_cc_c_o=no 3613 break 3614 fi 3615 done 3616 rm -f core conftest* 3617 unset am_i 3618fi 3619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3620$as_echo "$am_cv_prog_cc_c_o" >&6; } 3621if test "$am_cv_prog_cc_c_o" != yes; then 3622 # Losing compiler, so override with the script. 3623 # FIXME: It is wrong to rewrite CC. 3624 # But if we don't then we get into trouble of one sort or another. 3625 # A longer-term fix would be to have automake use am__CC in this case, 3626 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3627 CC="$am_aux_dir/compile $CC" 3628fi 3629ac_ext=c 3630ac_cpp='$CPP $CPPFLAGS' 3631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3633ac_compiler_gnu=$ac_cv_c_compiler_gnu 3634 3635 3636depcc="$CC" am_compiler_list= 3637 3638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3639$as_echo_n "checking dependency style of $depcc... " >&6; } 3640if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3641 $as_echo_n "(cached) " >&6 3642else 3643 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3644 # We make a subdir and do the tests there. Otherwise we can end up 3645 # making bogus files that we don't know about and never remove. For 3646 # instance it was reported that on HP-UX the gcc test will end up 3647 # making a dummy file named 'D' -- because '-MD' means "put the output 3648 # in D". 3649 rm -rf conftest.dir 3650 mkdir conftest.dir 3651 # Copy depcomp to subdir because otherwise we won't find it if we're 3652 # using a relative directory. 3653 cp "$am_depcomp" conftest.dir 3654 cd conftest.dir 3655 # We will build objects and dependencies in a subdirectory because 3656 # it helps to detect inapplicable dependency modes. For instance 3657 # both Tru64's cc and ICC support -MD to output dependencies as a 3658 # side effect of compilation, but ICC will put the dependencies in 3659 # the current directory while Tru64 will put them in the object 3660 # directory. 3661 mkdir sub 3662 3663 am_cv_CC_dependencies_compiler_type=none 3664 if test "$am_compiler_list" = ""; then 3665 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3666 fi 3667 am__universal=false 3668 case " $depcc " in #( 3669 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3670 esac 3671 3672 for depmode in $am_compiler_list; do 3673 # Setup a source with many dependencies, because some compilers 3674 # like to wrap large dependency lists on column 80 (with \), and 3675 # we should not choose a depcomp mode which is confused by this. 3676 # 3677 # We need to recreate these files for each test, as the compiler may 3678 # overwrite some of them when testing with obscure command lines. 3679 # This happens at least with the AIX C compiler. 3680 : > sub/conftest.c 3681 for i in 1 2 3 4 5 6; do 3682 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3683 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3684 # Solaris 10 /bin/sh. 3685 echo '/* dummy */' > sub/conftst$i.h 3686 done 3687 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3688 3689 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3690 # mode. It turns out that the SunPro C++ compiler does not properly 3691 # handle '-M -o', and we need to detect this. Also, some Intel 3692 # versions had trouble with output in subdirs. 3693 am__obj=sub/conftest.${OBJEXT-o} 3694 am__minus_obj="-o $am__obj" 3695 case $depmode in 3696 gcc) 3697 # This depmode causes a compiler race in universal mode. 3698 test "$am__universal" = false || continue 3699 ;; 3700 nosideeffect) 3701 # After this tag, mechanisms are not by side-effect, so they'll 3702 # only be used when explicitly requested. 3703 if test "x$enable_dependency_tracking" = xyes; then 3704 continue 3705 else 3706 break 3707 fi 3708 ;; 3709 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3710 # This compiler won't grok '-c -o', but also, the minuso test has 3711 # not run yet. These depmodes are late enough in the game, and 3712 # so weak that their functioning should not be impacted. 3713 am__obj=conftest.${OBJEXT-o} 3714 am__minus_obj= 3715 ;; 3716 none) break ;; 3717 esac 3718 if depmode=$depmode \ 3719 source=sub/conftest.c object=$am__obj \ 3720 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3721 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3722 >/dev/null 2>conftest.err && 3723 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3724 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3725 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3726 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3727 # icc doesn't choke on unknown options, it will just issue warnings 3728 # or remarks (even with -Werror). So we grep stderr for any message 3729 # that says an option was ignored or not supported. 3730 # When given -MP, icc 7.0 and 7.1 complain thusly: 3731 # icc: Command line warning: ignoring option '-M'; no argument required 3732 # The diagnosis changed in icc 8.0: 3733 # icc: Command line remark: option '-MP' not supported 3734 if (grep 'ignoring option' conftest.err || 3735 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3736 am_cv_CC_dependencies_compiler_type=$depmode 3737 break 3738 fi 3739 fi 3740 done 3741 3742 cd .. 3743 rm -rf conftest.dir 3744else 3745 am_cv_CC_dependencies_compiler_type=none 3746fi 3747 3748fi 3749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3750$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3751CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3752 3753 if 3754 test "x$enable_dependency_tracking" != xno \ 3755 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3756 am__fastdepCC_TRUE= 3757 am__fastdepCC_FALSE='#' 3758else 3759 am__fastdepCC_TRUE='#' 3760 am__fastdepCC_FALSE= 3761fi 3762 3763 3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3765$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3766if ${ac_cv_prog_cc_c99+:} false; then : 3767 $as_echo_n "(cached) " >&6 3768else 3769 ac_cv_prog_cc_c99=no 3770ac_save_CC=$CC 3771cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3772/* end confdefs.h. */ 3773#include <stdarg.h> 3774#include <stdbool.h> 3775#include <stdlib.h> 3776#include <wchar.h> 3777#include <stdio.h> 3778 3779// Check varargs macros. These examples are taken from C99 6.10.3.5. 3780#define debug(...) fprintf (stderr, __VA_ARGS__) 3781#define showlist(...) puts (#__VA_ARGS__) 3782#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3783static void 3784test_varargs_macros (void) 3785{ 3786 int x = 1234; 3787 int y = 5678; 3788 debug ("Flag"); 3789 debug ("X = %d\n", x); 3790 showlist (The first, second, and third items.); 3791 report (x>y, "x is %d but y is %d", x, y); 3792} 3793 3794// Check long long types. 3795#define BIG64 18446744073709551615ull 3796#define BIG32 4294967295ul 3797#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3798#if !BIG_OK 3799 your preprocessor is broken; 3800#endif 3801#if BIG_OK 3802#else 3803 your preprocessor is broken; 3804#endif 3805static long long int bignum = -9223372036854775807LL; 3806static unsigned long long int ubignum = BIG64; 3807 3808struct incomplete_array 3809{ 3810 int datasize; 3811 double data[]; 3812}; 3813 3814struct named_init { 3815 int number; 3816 const wchar_t *name; 3817 double average; 3818}; 3819 3820typedef const char *ccp; 3821 3822static inline int 3823test_restrict (ccp restrict text) 3824{ 3825 // See if C++-style comments work. 3826 // Iterate through items via the restricted pointer. 3827 // Also check for declarations in for loops. 3828 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3829 continue; 3830 return 0; 3831} 3832 3833// Check varargs and va_copy. 3834static void 3835test_varargs (const char *format, ...) 3836{ 3837 va_list args; 3838 va_start (args, format); 3839 va_list args_copy; 3840 va_copy (args_copy, args); 3841 3842 const char *str; 3843 int number; 3844 float fnumber; 3845 3846 while (*format) 3847 { 3848 switch (*format++) 3849 { 3850 case 's': // string 3851 str = va_arg (args_copy, const char *); 3852 break; 3853 case 'd': // int 3854 number = va_arg (args_copy, int); 3855 break; 3856 case 'f': // float 3857 fnumber = va_arg (args_copy, double); 3858 break; 3859 default: 3860 break; 3861 } 3862 } 3863 va_end (args_copy); 3864 va_end (args); 3865} 3866 3867int 3868main () 3869{ 3870 3871 // Check bool. 3872 _Bool success = false; 3873 3874 // Check restrict. 3875 if (test_restrict ("String literal") == 0) 3876 success = true; 3877 char *restrict newvar = "Another string"; 3878 3879 // Check varargs. 3880 test_varargs ("s, d' f .", "string", 65, 34.234); 3881 test_varargs_macros (); 3882 3883 // Check flexible array members. 3884 struct incomplete_array *ia = 3885 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3886 ia->datasize = 10; 3887 for (int i = 0; i < ia->datasize; ++i) 3888 ia->data[i] = i * 1.234; 3889 3890 // Check named initializers. 3891 struct named_init ni = { 3892 .number = 34, 3893 .name = L"Test wide string", 3894 .average = 543.34343, 3895 }; 3896 3897 ni.number = 58; 3898 3899 int dynamic_array[ni.number]; 3900 dynamic_array[ni.number - 1] = 543; 3901 3902 // work around unused variable warnings 3903 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3904 || dynamic_array[ni.number - 1] != 543); 3905 3906 ; 3907 return 0; 3908} 3909_ACEOF 3910for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 3911do 3912 CC="$ac_save_CC $ac_arg" 3913 if ac_fn_c_try_compile "$LINENO"; then : 3914 ac_cv_prog_cc_c99=$ac_arg 3915fi 3916rm -f core conftest.err conftest.$ac_objext 3917 test "x$ac_cv_prog_cc_c99" != "xno" && break 3918done 3919rm -f conftest.$ac_ext 3920CC=$ac_save_CC 3921 3922fi 3923# AC_CACHE_VAL 3924case "x$ac_cv_prog_cc_c99" in 3925 x) 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3927$as_echo "none needed" >&6; } ;; 3928 xno) 3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3930$as_echo "unsupported" >&6; } ;; 3931 *) 3932 CC="$CC $ac_cv_prog_cc_c99" 3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3934$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3935esac 3936if test "x$ac_cv_prog_cc_c99" != xno; then : 3937 3938fi 3939 3940 3941 3942ac_ext=c 3943ac_cpp='$CPP $CPPFLAGS' 3944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3946ac_compiler_gnu=$ac_cv_c_compiler_gnu 3947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3948$as_echo_n "checking how to run the C preprocessor... " >&6; } 3949# On Suns, sometimes $CPP names a directory. 3950if test -n "$CPP" && test -d "$CPP"; then 3951 CPP= 3952fi 3953if test -z "$CPP"; then 3954 if ${ac_cv_prog_CPP+:} false; then : 3955 $as_echo_n "(cached) " >&6 3956else 3957 # Double quotes because CPP needs to be expanded 3958 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3959 do 3960 ac_preproc_ok=false 3961for ac_c_preproc_warn_flag in '' yes 3962do 3963 # Use a header file that comes with gcc, so configuring glibc 3964 # with a fresh cross-compiler works. 3965 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3966 # <limits.h> exists even on freestanding compilers. 3967 # On the NeXT, cc -E runs the code through the compiler's parser, 3968 # not just through cpp. "Syntax error" is here to catch this case. 3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3970/* end confdefs.h. */ 3971#ifdef __STDC__ 3972# include <limits.h> 3973#else 3974# include <assert.h> 3975#endif 3976 Syntax error 3977_ACEOF 3978if ac_fn_c_try_cpp "$LINENO"; then : 3979 3980else 3981 # Broken: fails on valid input. 3982continue 3983fi 3984rm -f conftest.err conftest.i conftest.$ac_ext 3985 3986 # OK, works on sane cases. Now check whether nonexistent headers 3987 # can be detected and how. 3988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3989/* end confdefs.h. */ 3990#include <ac_nonexistent.h> 3991_ACEOF 3992if ac_fn_c_try_cpp "$LINENO"; then : 3993 # Broken: success on invalid input. 3994continue 3995else 3996 # Passes both tests. 3997ac_preproc_ok=: 3998break 3999fi 4000rm -f conftest.err conftest.i conftest.$ac_ext 4001 4002done 4003# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4004rm -f conftest.i conftest.err conftest.$ac_ext 4005if $ac_preproc_ok; then : 4006 break 4007fi 4008 4009 done 4010 ac_cv_prog_CPP=$CPP 4011 4012fi 4013 CPP=$ac_cv_prog_CPP 4014else 4015 ac_cv_prog_CPP=$CPP 4016fi 4017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4018$as_echo "$CPP" >&6; } 4019ac_preproc_ok=false 4020for ac_c_preproc_warn_flag in '' yes 4021do 4022 # Use a header file that comes with gcc, so configuring glibc 4023 # with a fresh cross-compiler works. 4024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4025 # <limits.h> exists even on freestanding compilers. 4026 # On the NeXT, cc -E runs the code through the compiler's parser, 4027 # not just through cpp. "Syntax error" is here to catch this case. 4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4029/* end confdefs.h. */ 4030#ifdef __STDC__ 4031# include <limits.h> 4032#else 4033# include <assert.h> 4034#endif 4035 Syntax error 4036_ACEOF 4037if ac_fn_c_try_cpp "$LINENO"; then : 4038 4039else 4040 # Broken: fails on valid input. 4041continue 4042fi 4043rm -f conftest.err conftest.i conftest.$ac_ext 4044 4045 # OK, works on sane cases. Now check whether nonexistent headers 4046 # can be detected and how. 4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4048/* end confdefs.h. */ 4049#include <ac_nonexistent.h> 4050_ACEOF 4051if ac_fn_c_try_cpp "$LINENO"; then : 4052 # Broken: success on invalid input. 4053continue 4054else 4055 # Passes both tests. 4056ac_preproc_ok=: 4057break 4058fi 4059rm -f conftest.err conftest.i conftest.$ac_ext 4060 4061done 4062# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4063rm -f conftest.i conftest.err conftest.$ac_ext 4064if $ac_preproc_ok; then : 4065 4066else 4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4068$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4069as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4070See \`config.log' for more details" "$LINENO" 5; } 4071fi 4072 4073ac_ext=c 4074ac_cpp='$CPP $CPPFLAGS' 4075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4077ac_compiler_gnu=$ac_cv_c_compiler_gnu 4078 4079 4080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4081$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4082if ${ac_cv_path_GREP+:} false; then : 4083 $as_echo_n "(cached) " >&6 4084else 4085 if test -z "$GREP"; then 4086 ac_path_GREP_found=false 4087 # Loop through the user's path and test for each of PROGNAME-LIST 4088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4089for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4090do 4091 IFS=$as_save_IFS 4092 test -z "$as_dir" && as_dir=. 4093 for ac_prog in grep ggrep; do 4094 for ac_exec_ext in '' $ac_executable_extensions; do 4095 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4096 as_fn_executable_p "$ac_path_GREP" || continue 4097# Check for GNU ac_path_GREP and select it if it is found. 4098 # Check for GNU $ac_path_GREP 4099case `"$ac_path_GREP" --version 2>&1` in 4100*GNU*) 4101 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4102*) 4103 ac_count=0 4104 $as_echo_n 0123456789 >"conftest.in" 4105 while : 4106 do 4107 cat "conftest.in" "conftest.in" >"conftest.tmp" 4108 mv "conftest.tmp" "conftest.in" 4109 cp "conftest.in" "conftest.nl" 4110 $as_echo 'GREP' >> "conftest.nl" 4111 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4112 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4113 as_fn_arith $ac_count + 1 && ac_count=$as_val 4114 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4115 # Best one so far, save it but keep looking for a better one 4116 ac_cv_path_GREP="$ac_path_GREP" 4117 ac_path_GREP_max=$ac_count 4118 fi 4119 # 10*(2^10) chars as input seems more than enough 4120 test $ac_count -gt 10 && break 4121 done 4122 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4123esac 4124 4125 $ac_path_GREP_found && break 3 4126 done 4127 done 4128 done 4129IFS=$as_save_IFS 4130 if test -z "$ac_cv_path_GREP"; then 4131 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4132 fi 4133else 4134 ac_cv_path_GREP=$GREP 4135fi 4136 4137fi 4138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4139$as_echo "$ac_cv_path_GREP" >&6; } 4140 GREP="$ac_cv_path_GREP" 4141 4142 4143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4144$as_echo_n "checking for egrep... " >&6; } 4145if ${ac_cv_path_EGREP+:} false; then : 4146 $as_echo_n "(cached) " >&6 4147else 4148 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4149 then ac_cv_path_EGREP="$GREP -E" 4150 else 4151 if test -z "$EGREP"; then 4152 ac_path_EGREP_found=false 4153 # Loop through the user's path and test for each of PROGNAME-LIST 4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4155for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4156do 4157 IFS=$as_save_IFS 4158 test -z "$as_dir" && as_dir=. 4159 for ac_prog in egrep; do 4160 for ac_exec_ext in '' $ac_executable_extensions; do 4161 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4162 as_fn_executable_p "$ac_path_EGREP" || continue 4163# Check for GNU ac_path_EGREP and select it if it is found. 4164 # Check for GNU $ac_path_EGREP 4165case `"$ac_path_EGREP" --version 2>&1` in 4166*GNU*) 4167 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4168*) 4169 ac_count=0 4170 $as_echo_n 0123456789 >"conftest.in" 4171 while : 4172 do 4173 cat "conftest.in" "conftest.in" >"conftest.tmp" 4174 mv "conftest.tmp" "conftest.in" 4175 cp "conftest.in" "conftest.nl" 4176 $as_echo 'EGREP' >> "conftest.nl" 4177 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4178 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4179 as_fn_arith $ac_count + 1 && ac_count=$as_val 4180 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4181 # Best one so far, save it but keep looking for a better one 4182 ac_cv_path_EGREP="$ac_path_EGREP" 4183 ac_path_EGREP_max=$ac_count 4184 fi 4185 # 10*(2^10) chars as input seems more than enough 4186 test $ac_count -gt 10 && break 4187 done 4188 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4189esac 4190 4191 $ac_path_EGREP_found && break 3 4192 done 4193 done 4194 done 4195IFS=$as_save_IFS 4196 if test -z "$ac_cv_path_EGREP"; then 4197 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4198 fi 4199else 4200 ac_cv_path_EGREP=$EGREP 4201fi 4202 4203 fi 4204fi 4205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4206$as_echo "$ac_cv_path_EGREP" >&6; } 4207 EGREP="$ac_cv_path_EGREP" 4208 4209 4210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4211$as_echo_n "checking for ANSI C header files... " >&6; } 4212if ${ac_cv_header_stdc+:} false; then : 4213 $as_echo_n "(cached) " >&6 4214else 4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4216/* end confdefs.h. */ 4217#include <stdlib.h> 4218#include <stdarg.h> 4219#include <string.h> 4220#include <float.h> 4221 4222int 4223main () 4224{ 4225 4226 ; 4227 return 0; 4228} 4229_ACEOF 4230if ac_fn_c_try_compile "$LINENO"; then : 4231 ac_cv_header_stdc=yes 4232else 4233 ac_cv_header_stdc=no 4234fi 4235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4236 4237if test $ac_cv_header_stdc = yes; then 4238 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4240/* end confdefs.h. */ 4241#include <string.h> 4242 4243_ACEOF 4244if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4245 $EGREP "memchr" >/dev/null 2>&1; then : 4246 4247else 4248 ac_cv_header_stdc=no 4249fi 4250rm -f conftest* 4251 4252fi 4253 4254if test $ac_cv_header_stdc = yes; then 4255 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4257/* end confdefs.h. */ 4258#include <stdlib.h> 4259 4260_ACEOF 4261if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4262 $EGREP "free" >/dev/null 2>&1; then : 4263 4264else 4265 ac_cv_header_stdc=no 4266fi 4267rm -f conftest* 4268 4269fi 4270 4271if test $ac_cv_header_stdc = yes; then 4272 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4273 if test "$cross_compiling" = yes; then : 4274 : 4275else 4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4277/* end confdefs.h. */ 4278#include <ctype.h> 4279#include <stdlib.h> 4280#if ((' ' & 0x0FF) == 0x020) 4281# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4282# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4283#else 4284# define ISLOWER(c) \ 4285 (('a' <= (c) && (c) <= 'i') \ 4286 || ('j' <= (c) && (c) <= 'r') \ 4287 || ('s' <= (c) && (c) <= 'z')) 4288# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4289#endif 4290 4291#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4292int 4293main () 4294{ 4295 int i; 4296 for (i = 0; i < 256; i++) 4297 if (XOR (islower (i), ISLOWER (i)) 4298 || toupper (i) != TOUPPER (i)) 4299 return 2; 4300 return 0; 4301} 4302_ACEOF 4303if ac_fn_c_try_run "$LINENO"; then : 4304 4305else 4306 ac_cv_header_stdc=no 4307fi 4308rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4309 conftest.$ac_objext conftest.beam conftest.$ac_ext 4310fi 4311 4312fi 4313fi 4314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4315$as_echo "$ac_cv_header_stdc" >&6; } 4316if test $ac_cv_header_stdc = yes; then 4317 4318$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4319 4320fi 4321 4322# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4323for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4324 inttypes.h stdint.h unistd.h 4325do : 4326 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4327ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4328" 4329if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4330 cat >>confdefs.h <<_ACEOF 4331#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4332_ACEOF 4333 4334fi 4335 4336done 4337 4338 4339 4340 4341 4342 4343ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" 4344if test "x$ac_cv_have_decl___clang__" = xyes; then : 4345 CLANGCC="yes" 4346else 4347 CLANGCC="no" 4348fi 4349 4350ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4351if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4352 INTELCC="yes" 4353else 4354 INTELCC="no" 4355fi 4356 4357ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4358if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4359 SUNCC="yes" 4360else 4361 SUNCC="no" 4362fi 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4373 if test -n "$ac_tool_prefix"; then 4374 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4375set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4377$as_echo_n "checking for $ac_word... " >&6; } 4378if ${ac_cv_path_PKG_CONFIG+:} false; then : 4379 $as_echo_n "(cached) " >&6 4380else 4381 case $PKG_CONFIG in 4382 [\\/]* | ?:[\\/]*) 4383 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4384 ;; 4385 *) 4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4387for as_dir in $PATH 4388do 4389 IFS=$as_save_IFS 4390 test -z "$as_dir" && as_dir=. 4391 for ac_exec_ext in '' $ac_executable_extensions; do 4392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4393 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4395 break 2 4396 fi 4397done 4398 done 4399IFS=$as_save_IFS 4400 4401 ;; 4402esac 4403fi 4404PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4405if test -n "$PKG_CONFIG"; then 4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4407$as_echo "$PKG_CONFIG" >&6; } 4408else 4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4410$as_echo "no" >&6; } 4411fi 4412 4413 4414fi 4415if test -z "$ac_cv_path_PKG_CONFIG"; then 4416 ac_pt_PKG_CONFIG=$PKG_CONFIG 4417 # Extract the first word of "pkg-config", so it can be a program name with args. 4418set dummy pkg-config; ac_word=$2 4419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4420$as_echo_n "checking for $ac_word... " >&6; } 4421if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4422 $as_echo_n "(cached) " >&6 4423else 4424 case $ac_pt_PKG_CONFIG in 4425 [\\/]* | ?:[\\/]*) 4426 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4427 ;; 4428 *) 4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4430for as_dir in $PATH 4431do 4432 IFS=$as_save_IFS 4433 test -z "$as_dir" && as_dir=. 4434 for ac_exec_ext in '' $ac_executable_extensions; do 4435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4436 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4438 break 2 4439 fi 4440done 4441 done 4442IFS=$as_save_IFS 4443 4444 ;; 4445esac 4446fi 4447ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4448if test -n "$ac_pt_PKG_CONFIG"; then 4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4450$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4451else 4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4453$as_echo "no" >&6; } 4454fi 4455 4456 if test "x$ac_pt_PKG_CONFIG" = x; then 4457 PKG_CONFIG="" 4458 else 4459 case $cross_compiling:$ac_tool_warned in 4460yes:) 4461{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4462$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4463ac_tool_warned=yes ;; 4464esac 4465 PKG_CONFIG=$ac_pt_PKG_CONFIG 4466 fi 4467else 4468 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4469fi 4470 4471fi 4472if test -n "$PKG_CONFIG"; then 4473 _pkg_min_version=0.9.0 4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4475$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4476 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4478$as_echo "yes" >&6; } 4479 else 4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4481$as_echo "no" >&6; } 4482 PKG_CONFIG="" 4483 fi 4484fi 4485# Make sure we can run config.sub. 4486$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4487 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4488 4489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4490$as_echo_n "checking build system type... " >&6; } 4491if ${ac_cv_build+:} false; then : 4492 $as_echo_n "(cached) " >&6 4493else 4494 ac_build_alias=$build_alias 4495test "x$ac_build_alias" = x && 4496 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4497test "x$ac_build_alias" = x && 4498 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4499ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4500 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4501 4502fi 4503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4504$as_echo "$ac_cv_build" >&6; } 4505case $ac_cv_build in 4506*-*-*) ;; 4507*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4508esac 4509build=$ac_cv_build 4510ac_save_IFS=$IFS; IFS='-' 4511set x $ac_cv_build 4512shift 4513build_cpu=$1 4514build_vendor=$2 4515shift; shift 4516# Remember, the first character of IFS is used to create $*, 4517# except with old shells: 4518build_os=$* 4519IFS=$ac_save_IFS 4520case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4521 4522 4523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4524$as_echo_n "checking host system type... " >&6; } 4525if ${ac_cv_host+:} false; then : 4526 $as_echo_n "(cached) " >&6 4527else 4528 if test "x$host_alias" = x; then 4529 ac_cv_host=$ac_cv_build 4530else 4531 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4532 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4533fi 4534 4535fi 4536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4537$as_echo "$ac_cv_host" >&6; } 4538case $ac_cv_host in 4539*-*-*) ;; 4540*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4541esac 4542host=$ac_cv_host 4543ac_save_IFS=$IFS; IFS='-' 4544set x $ac_cv_host 4545shift 4546host_cpu=$1 4547host_vendor=$2 4548shift; shift 4549# Remember, the first character of IFS is used to create $*, 4550# except with old shells: 4551host_os=$* 4552IFS=$ac_save_IFS 4553case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4554 4555 4556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4557$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4558if ${ac_cv_path_SED+:} false; then : 4559 $as_echo_n "(cached) " >&6 4560else 4561 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4562 for ac_i in 1 2 3 4 5 6 7; do 4563 ac_script="$ac_script$as_nl$ac_script" 4564 done 4565 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4566 { ac_script=; unset ac_script;} 4567 if test -z "$SED"; then 4568 ac_path_SED_found=false 4569 # Loop through the user's path and test for each of PROGNAME-LIST 4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4571for as_dir in $PATH 4572do 4573 IFS=$as_save_IFS 4574 test -z "$as_dir" && as_dir=. 4575 for ac_prog in sed gsed; do 4576 for ac_exec_ext in '' $ac_executable_extensions; do 4577 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4578 as_fn_executable_p "$ac_path_SED" || continue 4579# Check for GNU ac_path_SED and select it if it is found. 4580 # Check for GNU $ac_path_SED 4581case `"$ac_path_SED" --version 2>&1` in 4582*GNU*) 4583 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4584*) 4585 ac_count=0 4586 $as_echo_n 0123456789 >"conftest.in" 4587 while : 4588 do 4589 cat "conftest.in" "conftest.in" >"conftest.tmp" 4590 mv "conftest.tmp" "conftest.in" 4591 cp "conftest.in" "conftest.nl" 4592 $as_echo '' >> "conftest.nl" 4593 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4594 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4595 as_fn_arith $ac_count + 1 && ac_count=$as_val 4596 if test $ac_count -gt ${ac_path_SED_max-0}; then 4597 # Best one so far, save it but keep looking for a better one 4598 ac_cv_path_SED="$ac_path_SED" 4599 ac_path_SED_max=$ac_count 4600 fi 4601 # 10*(2^10) chars as input seems more than enough 4602 test $ac_count -gt 10 && break 4603 done 4604 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4605esac 4606 4607 $ac_path_SED_found && break 3 4608 done 4609 done 4610 done 4611IFS=$as_save_IFS 4612 if test -z "$ac_cv_path_SED"; then 4613 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4614 fi 4615else 4616 ac_cv_path_SED=$SED 4617fi 4618 4619fi 4620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4621$as_echo "$ac_cv_path_SED" >&6; } 4622 SED="$ac_cv_path_SED" 4623 rm -f conftest.sed 4624 4625 4626 4627 4628 4629 4630# Check whether --enable-selective-werror was given. 4631if test "${enable_selective_werror+set}" = set; then : 4632 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval 4633else 4634 SELECTIVE_WERROR=yes 4635fi 4636 4637 4638 4639 4640 4641# -v is too short to test reliably with XORG_TESTSET_CFLAG 4642if test "x$SUNCC" = "xyes"; then 4643 BASE_CFLAGS="-v" 4644else 4645 BASE_CFLAGS="" 4646fi 4647 4648# This chunk of warnings were those that existed in the legacy CWARNFLAGS 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662xorg_testset_save_CFLAGS="$CFLAGS" 4663 4664if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4665 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4667$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4668if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4669 $as_echo_n "(cached) " >&6 4670else 4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4672/* end confdefs.h. */ 4673int i; 4674_ACEOF 4675if ac_fn_c_try_compile "$LINENO"; then : 4676 xorg_cv_cc_flag_unknown_warning_option=yes 4677else 4678 xorg_cv_cc_flag_unknown_warning_option=no 4679fi 4680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4681fi 4682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4683$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4684 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4685 CFLAGS="$xorg_testset_save_CFLAGS" 4686fi 4687 4688if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 4689 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 4690 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4691 fi 4692 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4694$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4695if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4696 $as_echo_n "(cached) " >&6 4697else 4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4699/* end confdefs.h. */ 4700int i; 4701_ACEOF 4702if ac_fn_c_try_compile "$LINENO"; then : 4703 xorg_cv_cc_flag_unused_command_line_argument=yes 4704else 4705 xorg_cv_cc_flag_unused_command_line_argument=no 4706fi 4707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4708fi 4709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4710$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4711 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4712 CFLAGS="$xorg_testset_save_CFLAGS" 4713fi 4714 4715found="no" 4716 4717 if test $found = "no" ; then 4718 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 4719 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4720 fi 4721 4722 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 4723 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4724 fi 4725 4726 CFLAGS="$CFLAGS -Wall" 4727 4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4729$as_echo_n "checking if $CC supports -Wall... " >&6; } 4730 cacheid=xorg_cv_cc_flag__Wall 4731 if eval \${$cacheid+:} false; then : 4732 $as_echo_n "(cached) " >&6 4733else 4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4735/* end confdefs.h. */ 4736int i; 4737int 4738main () 4739{ 4740 4741 ; 4742 return 0; 4743} 4744_ACEOF 4745if ac_fn_c_try_link "$LINENO"; then : 4746 eval $cacheid=yes 4747else 4748 eval $cacheid=no 4749fi 4750rm -f core conftest.err conftest.$ac_objext \ 4751 conftest$ac_exeext conftest.$ac_ext 4752fi 4753 4754 4755 CFLAGS="$xorg_testset_save_CFLAGS" 4756 4757 eval supported=\$$cacheid 4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4759$as_echo "$supported" >&6; } 4760 if test "$supported" = "yes" ; then 4761 BASE_CFLAGS="$BASE_CFLAGS -Wall" 4762 found="yes" 4763 fi 4764 fi 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780xorg_testset_save_CFLAGS="$CFLAGS" 4781 4782if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4783 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4785$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4786if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4787 $as_echo_n "(cached) " >&6 4788else 4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4790/* end confdefs.h. */ 4791int i; 4792_ACEOF 4793if ac_fn_c_try_compile "$LINENO"; then : 4794 xorg_cv_cc_flag_unknown_warning_option=yes 4795else 4796 xorg_cv_cc_flag_unknown_warning_option=no 4797fi 4798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4799fi 4800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4801$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4802 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4803 CFLAGS="$xorg_testset_save_CFLAGS" 4804fi 4805 4806if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 4807 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 4808 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4809 fi 4810 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4812$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4813if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4814 $as_echo_n "(cached) " >&6 4815else 4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4817/* end confdefs.h. */ 4818int i; 4819_ACEOF 4820if ac_fn_c_try_compile "$LINENO"; then : 4821 xorg_cv_cc_flag_unused_command_line_argument=yes 4822else 4823 xorg_cv_cc_flag_unused_command_line_argument=no 4824fi 4825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4826fi 4827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4828$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4829 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4830 CFLAGS="$xorg_testset_save_CFLAGS" 4831fi 4832 4833found="no" 4834 4835 if test $found = "no" ; then 4836 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 4837 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4838 fi 4839 4840 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 4841 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4842 fi 4843 4844 CFLAGS="$CFLAGS -Wpointer-arith" 4845 4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4847$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; } 4848 cacheid=xorg_cv_cc_flag__Wpointer_arith 4849 if eval \${$cacheid+:} false; then : 4850 $as_echo_n "(cached) " >&6 4851else 4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4853/* end confdefs.h. */ 4854int i; 4855int 4856main () 4857{ 4858 4859 ; 4860 return 0; 4861} 4862_ACEOF 4863if ac_fn_c_try_link "$LINENO"; then : 4864 eval $cacheid=yes 4865else 4866 eval $cacheid=no 4867fi 4868rm -f core conftest.err conftest.$ac_objext \ 4869 conftest$ac_exeext conftest.$ac_ext 4870fi 4871 4872 4873 CFLAGS="$xorg_testset_save_CFLAGS" 4874 4875 eval supported=\$$cacheid 4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4877$as_echo "$supported" >&6; } 4878 if test "$supported" = "yes" ; then 4879 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith" 4880 found="yes" 4881 fi 4882 fi 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898xorg_testset_save_CFLAGS="$CFLAGS" 4899 4900if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4901 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4903$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4904if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4905 $as_echo_n "(cached) " >&6 4906else 4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4908/* end confdefs.h. */ 4909int i; 4910_ACEOF 4911if ac_fn_c_try_compile "$LINENO"; then : 4912 xorg_cv_cc_flag_unknown_warning_option=yes 4913else 4914 xorg_cv_cc_flag_unknown_warning_option=no 4915fi 4916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4917fi 4918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4919$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4920 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4921 CFLAGS="$xorg_testset_save_CFLAGS" 4922fi 4923 4924if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 4925 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 4926 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4927 fi 4928 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4930$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4931if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4932 $as_echo_n "(cached) " >&6 4933else 4934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4935/* end confdefs.h. */ 4936int i; 4937_ACEOF 4938if ac_fn_c_try_compile "$LINENO"; then : 4939 xorg_cv_cc_flag_unused_command_line_argument=yes 4940else 4941 xorg_cv_cc_flag_unused_command_line_argument=no 4942fi 4943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4944fi 4945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4946$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4947 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4948 CFLAGS="$xorg_testset_save_CFLAGS" 4949fi 4950 4951found="no" 4952 4953 if test $found = "no" ; then 4954 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 4955 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4956 fi 4957 4958 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 4959 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4960 fi 4961 4962 CFLAGS="$CFLAGS -Wmissing-declarations" 4963 4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 4965$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; } 4966 cacheid=xorg_cv_cc_flag__Wmissing_declarations 4967 if eval \${$cacheid+:} false; then : 4968 $as_echo_n "(cached) " >&6 4969else 4970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4971/* end confdefs.h. */ 4972int i; 4973int 4974main () 4975{ 4976 4977 ; 4978 return 0; 4979} 4980_ACEOF 4981if ac_fn_c_try_link "$LINENO"; then : 4982 eval $cacheid=yes 4983else 4984 eval $cacheid=no 4985fi 4986rm -f core conftest.err conftest.$ac_objext \ 4987 conftest$ac_exeext conftest.$ac_ext 4988fi 4989 4990 4991 CFLAGS="$xorg_testset_save_CFLAGS" 4992 4993 eval supported=\$$cacheid 4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4995$as_echo "$supported" >&6; } 4996 if test "$supported" = "yes" ; then 4997 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations" 4998 found="yes" 4999 fi 5000 fi 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016xorg_testset_save_CFLAGS="$CFLAGS" 5017 5018if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5019 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5021$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5022if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5023 $as_echo_n "(cached) " >&6 5024else 5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5026/* end confdefs.h. */ 5027int i; 5028_ACEOF 5029if ac_fn_c_try_compile "$LINENO"; then : 5030 xorg_cv_cc_flag_unknown_warning_option=yes 5031else 5032 xorg_cv_cc_flag_unknown_warning_option=no 5033fi 5034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5035fi 5036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5037$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5038 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5039 CFLAGS="$xorg_testset_save_CFLAGS" 5040fi 5041 5042if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 5043 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5044 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5045 fi 5046 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5048$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5049if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5050 $as_echo_n "(cached) " >&6 5051else 5052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5053/* end confdefs.h. */ 5054int i; 5055_ACEOF 5056if ac_fn_c_try_compile "$LINENO"; then : 5057 xorg_cv_cc_flag_unused_command_line_argument=yes 5058else 5059 xorg_cv_cc_flag_unused_command_line_argument=no 5060fi 5061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5062fi 5063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5064$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5065 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5066 CFLAGS="$xorg_testset_save_CFLAGS" 5067fi 5068 5069found="no" 5070 5071 if test $found = "no" ; then 5072 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5073 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5074 fi 5075 5076 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 5077 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5078 fi 5079 5080 CFLAGS="$CFLAGS -Wformat=2" 5081 5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 5083$as_echo_n "checking if $CC supports -Wformat=2... " >&6; } 5084 cacheid=xorg_cv_cc_flag__Wformat_2 5085 if eval \${$cacheid+:} false; then : 5086 $as_echo_n "(cached) " >&6 5087else 5088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5089/* end confdefs.h. */ 5090int i; 5091int 5092main () 5093{ 5094 5095 ; 5096 return 0; 5097} 5098_ACEOF 5099if ac_fn_c_try_link "$LINENO"; then : 5100 eval $cacheid=yes 5101else 5102 eval $cacheid=no 5103fi 5104rm -f core conftest.err conftest.$ac_objext \ 5105 conftest$ac_exeext conftest.$ac_ext 5106fi 5107 5108 5109 CFLAGS="$xorg_testset_save_CFLAGS" 5110 5111 eval supported=\$$cacheid 5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5113$as_echo "$supported" >&6; } 5114 if test "$supported" = "yes" ; then 5115 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2" 5116 found="yes" 5117 fi 5118 fi 5119 5120 if test $found = "no" ; then 5121 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5122 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5123 fi 5124 5125 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 5126 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5127 fi 5128 5129 CFLAGS="$CFLAGS -Wformat" 5130 5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5132$as_echo_n "checking if $CC supports -Wformat... " >&6; } 5133 cacheid=xorg_cv_cc_flag__Wformat 5134 if eval \${$cacheid+:} false; then : 5135 $as_echo_n "(cached) " >&6 5136else 5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5138/* end confdefs.h. */ 5139int i; 5140int 5141main () 5142{ 5143 5144 ; 5145 return 0; 5146} 5147_ACEOF 5148if ac_fn_c_try_link "$LINENO"; then : 5149 eval $cacheid=yes 5150else 5151 eval $cacheid=no 5152fi 5153rm -f core conftest.err conftest.$ac_objext \ 5154 conftest$ac_exeext conftest.$ac_ext 5155fi 5156 5157 5158 CFLAGS="$xorg_testset_save_CFLAGS" 5159 5160 eval supported=\$$cacheid 5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5162$as_echo "$supported" >&6; } 5163 if test "$supported" = "yes" ; then 5164 BASE_CFLAGS="$BASE_CFLAGS -Wformat" 5165 found="yes" 5166 fi 5167 fi 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185xorg_testset_save_CFLAGS="$CFLAGS" 5186 5187if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5188 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5190$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5191if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5192 $as_echo_n "(cached) " >&6 5193else 5194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5195/* end confdefs.h. */ 5196int i; 5197_ACEOF 5198if ac_fn_c_try_compile "$LINENO"; then : 5199 xorg_cv_cc_flag_unknown_warning_option=yes 5200else 5201 xorg_cv_cc_flag_unknown_warning_option=no 5202fi 5203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5204fi 5205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5206$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5207 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5208 CFLAGS="$xorg_testset_save_CFLAGS" 5209fi 5210 5211if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 5212 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5213 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5214 fi 5215 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5217$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5218if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5219 $as_echo_n "(cached) " >&6 5220else 5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5222/* end confdefs.h. */ 5223int i; 5224_ACEOF 5225if ac_fn_c_try_compile "$LINENO"; then : 5226 xorg_cv_cc_flag_unused_command_line_argument=yes 5227else 5228 xorg_cv_cc_flag_unused_command_line_argument=no 5229fi 5230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5231fi 5232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5233$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5234 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5235 CFLAGS="$xorg_testset_save_CFLAGS" 5236fi 5237 5238found="no" 5239 5240 if test $found = "no" ; then 5241 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5242 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5243 fi 5244 5245 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 5246 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5247 fi 5248 5249 CFLAGS="$CFLAGS -Wstrict-prototypes" 5250 5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5252$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; } 5253 cacheid=xorg_cv_cc_flag__Wstrict_prototypes 5254 if eval \${$cacheid+:} false; then : 5255 $as_echo_n "(cached) " >&6 5256else 5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5258/* end confdefs.h. */ 5259int i; 5260int 5261main () 5262{ 5263 5264 ; 5265 return 0; 5266} 5267_ACEOF 5268if ac_fn_c_try_link "$LINENO"; then : 5269 eval $cacheid=yes 5270else 5271 eval $cacheid=no 5272fi 5273rm -f core conftest.err conftest.$ac_objext \ 5274 conftest$ac_exeext conftest.$ac_ext 5275fi 5276 5277 5278 CFLAGS="$xorg_testset_save_CFLAGS" 5279 5280 eval supported=\$$cacheid 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5282$as_echo "$supported" >&6; } 5283 if test "$supported" = "yes" ; then 5284 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes" 5285 found="yes" 5286 fi 5287 fi 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303xorg_testset_save_CFLAGS="$CFLAGS" 5304 5305if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5306 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5308$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5309if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5310 $as_echo_n "(cached) " >&6 5311else 5312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5313/* end confdefs.h. */ 5314int i; 5315_ACEOF 5316if ac_fn_c_try_compile "$LINENO"; then : 5317 xorg_cv_cc_flag_unknown_warning_option=yes 5318else 5319 xorg_cv_cc_flag_unknown_warning_option=no 5320fi 5321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5322fi 5323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5324$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5325 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5326 CFLAGS="$xorg_testset_save_CFLAGS" 5327fi 5328 5329if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 5330 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5331 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5332 fi 5333 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5335$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5336if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5337 $as_echo_n "(cached) " >&6 5338else 5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5340/* end confdefs.h. */ 5341int i; 5342_ACEOF 5343if ac_fn_c_try_compile "$LINENO"; then : 5344 xorg_cv_cc_flag_unused_command_line_argument=yes 5345else 5346 xorg_cv_cc_flag_unused_command_line_argument=no 5347fi 5348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5349fi 5350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5351$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5352 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5353 CFLAGS="$xorg_testset_save_CFLAGS" 5354fi 5355 5356found="no" 5357 5358 if test $found = "no" ; then 5359 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5360 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5361 fi 5362 5363 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 5364 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5365 fi 5366 5367 CFLAGS="$CFLAGS -Wmissing-prototypes" 5368 5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5370$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; } 5371 cacheid=xorg_cv_cc_flag__Wmissing_prototypes 5372 if eval \${$cacheid+:} false; then : 5373 $as_echo_n "(cached) " >&6 5374else 5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5376/* end confdefs.h. */ 5377int i; 5378int 5379main () 5380{ 5381 5382 ; 5383 return 0; 5384} 5385_ACEOF 5386if ac_fn_c_try_link "$LINENO"; then : 5387 eval $cacheid=yes 5388else 5389 eval $cacheid=no 5390fi 5391rm -f core conftest.err conftest.$ac_objext \ 5392 conftest$ac_exeext conftest.$ac_ext 5393fi 5394 5395 5396 CFLAGS="$xorg_testset_save_CFLAGS" 5397 5398 eval supported=\$$cacheid 5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5400$as_echo "$supported" >&6; } 5401 if test "$supported" = "yes" ; then 5402 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes" 5403 found="yes" 5404 fi 5405 fi 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421xorg_testset_save_CFLAGS="$CFLAGS" 5422 5423if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5424 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5426$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5427if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5428 $as_echo_n "(cached) " >&6 5429else 5430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5431/* end confdefs.h. */ 5432int i; 5433_ACEOF 5434if ac_fn_c_try_compile "$LINENO"; then : 5435 xorg_cv_cc_flag_unknown_warning_option=yes 5436else 5437 xorg_cv_cc_flag_unknown_warning_option=no 5438fi 5439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5440fi 5441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5442$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5443 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5444 CFLAGS="$xorg_testset_save_CFLAGS" 5445fi 5446 5447if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 5448 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5449 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5450 fi 5451 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5453$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5454if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5455 $as_echo_n "(cached) " >&6 5456else 5457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5458/* end confdefs.h. */ 5459int i; 5460_ACEOF 5461if ac_fn_c_try_compile "$LINENO"; then : 5462 xorg_cv_cc_flag_unused_command_line_argument=yes 5463else 5464 xorg_cv_cc_flag_unused_command_line_argument=no 5465fi 5466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5467fi 5468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5469$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5470 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5471 CFLAGS="$xorg_testset_save_CFLAGS" 5472fi 5473 5474found="no" 5475 5476 if test $found = "no" ; then 5477 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5478 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5479 fi 5480 5481 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 5482 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5483 fi 5484 5485 CFLAGS="$CFLAGS -Wnested-externs" 5486 5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5488$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; } 5489 cacheid=xorg_cv_cc_flag__Wnested_externs 5490 if eval \${$cacheid+:} false; then : 5491 $as_echo_n "(cached) " >&6 5492else 5493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5494/* end confdefs.h. */ 5495int i; 5496int 5497main () 5498{ 5499 5500 ; 5501 return 0; 5502} 5503_ACEOF 5504if ac_fn_c_try_link "$LINENO"; then : 5505 eval $cacheid=yes 5506else 5507 eval $cacheid=no 5508fi 5509rm -f core conftest.err conftest.$ac_objext \ 5510 conftest$ac_exeext conftest.$ac_ext 5511fi 5512 5513 5514 CFLAGS="$xorg_testset_save_CFLAGS" 5515 5516 eval supported=\$$cacheid 5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5518$as_echo "$supported" >&6; } 5519 if test "$supported" = "yes" ; then 5520 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs" 5521 found="yes" 5522 fi 5523 fi 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539xorg_testset_save_CFLAGS="$CFLAGS" 5540 5541if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5542 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5544$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5545if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5546 $as_echo_n "(cached) " >&6 5547else 5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5549/* end confdefs.h. */ 5550int i; 5551_ACEOF 5552if ac_fn_c_try_compile "$LINENO"; then : 5553 xorg_cv_cc_flag_unknown_warning_option=yes 5554else 5555 xorg_cv_cc_flag_unknown_warning_option=no 5556fi 5557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5558fi 5559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5560$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5561 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5562 CFLAGS="$xorg_testset_save_CFLAGS" 5563fi 5564 5565if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 5566 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5567 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5568 fi 5569 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5571$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5572if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5573 $as_echo_n "(cached) " >&6 5574else 5575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5576/* end confdefs.h. */ 5577int i; 5578_ACEOF 5579if ac_fn_c_try_compile "$LINENO"; then : 5580 xorg_cv_cc_flag_unused_command_line_argument=yes 5581else 5582 xorg_cv_cc_flag_unused_command_line_argument=no 5583fi 5584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5585fi 5586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5587$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5588 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5589 CFLAGS="$xorg_testset_save_CFLAGS" 5590fi 5591 5592found="no" 5593 5594 if test $found = "no" ; then 5595 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5596 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5597 fi 5598 5599 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 5600 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5601 fi 5602 5603 CFLAGS="$CFLAGS -Wbad-function-cast" 5604 5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5606$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; } 5607 cacheid=xorg_cv_cc_flag__Wbad_function_cast 5608 if eval \${$cacheid+:} false; then : 5609 $as_echo_n "(cached) " >&6 5610else 5611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5612/* end confdefs.h. */ 5613int i; 5614int 5615main () 5616{ 5617 5618 ; 5619 return 0; 5620} 5621_ACEOF 5622if ac_fn_c_try_link "$LINENO"; then : 5623 eval $cacheid=yes 5624else 5625 eval $cacheid=no 5626fi 5627rm -f core conftest.err conftest.$ac_objext \ 5628 conftest$ac_exeext conftest.$ac_ext 5629fi 5630 5631 5632 CFLAGS="$xorg_testset_save_CFLAGS" 5633 5634 eval supported=\$$cacheid 5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5636$as_echo "$supported" >&6; } 5637 if test "$supported" = "yes" ; then 5638 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast" 5639 found="yes" 5640 fi 5641 fi 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657xorg_testset_save_CFLAGS="$CFLAGS" 5658 5659if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5660 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5662$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5663if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5664 $as_echo_n "(cached) " >&6 5665else 5666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5667/* end confdefs.h. */ 5668int i; 5669_ACEOF 5670if ac_fn_c_try_compile "$LINENO"; then : 5671 xorg_cv_cc_flag_unknown_warning_option=yes 5672else 5673 xorg_cv_cc_flag_unknown_warning_option=no 5674fi 5675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5676fi 5677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5678$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5679 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5680 CFLAGS="$xorg_testset_save_CFLAGS" 5681fi 5682 5683if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 5684 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5685 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5686 fi 5687 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5689$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5690if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5691 $as_echo_n "(cached) " >&6 5692else 5693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5694/* end confdefs.h. */ 5695int i; 5696_ACEOF 5697if ac_fn_c_try_compile "$LINENO"; then : 5698 xorg_cv_cc_flag_unused_command_line_argument=yes 5699else 5700 xorg_cv_cc_flag_unused_command_line_argument=no 5701fi 5702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5703fi 5704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5705$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5706 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5707 CFLAGS="$xorg_testset_save_CFLAGS" 5708fi 5709 5710found="no" 5711 5712 if test $found = "no" ; then 5713 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5714 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5715 fi 5716 5717 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 5718 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5719 fi 5720 5721 CFLAGS="$CFLAGS -Wold-style-definition" 5722 5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5724$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; } 5725 cacheid=xorg_cv_cc_flag__Wold_style_definition 5726 if eval \${$cacheid+:} false; then : 5727 $as_echo_n "(cached) " >&6 5728else 5729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5730/* end confdefs.h. */ 5731int i; 5732int 5733main () 5734{ 5735 5736 ; 5737 return 0; 5738} 5739_ACEOF 5740if ac_fn_c_try_link "$LINENO"; then : 5741 eval $cacheid=yes 5742else 5743 eval $cacheid=no 5744fi 5745rm -f core conftest.err conftest.$ac_objext \ 5746 conftest$ac_exeext conftest.$ac_ext 5747fi 5748 5749 5750 CFLAGS="$xorg_testset_save_CFLAGS" 5751 5752 eval supported=\$$cacheid 5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5754$as_echo "$supported" >&6; } 5755 if test "$supported" = "yes" ; then 5756 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition" 5757 found="yes" 5758 fi 5759 fi 5760 5761 if test $found = "no" ; then 5762 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5763 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5764 fi 5765 5766 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 5767 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5768 fi 5769 5770 CFLAGS="$CFLAGS -fd" 5771 5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5773$as_echo_n "checking if $CC supports -fd... " >&6; } 5774 cacheid=xorg_cv_cc_flag__fd 5775 if eval \${$cacheid+:} false; then : 5776 $as_echo_n "(cached) " >&6 5777else 5778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5779/* end confdefs.h. */ 5780int i; 5781int 5782main () 5783{ 5784 5785 ; 5786 return 0; 5787} 5788_ACEOF 5789if ac_fn_c_try_link "$LINENO"; then : 5790 eval $cacheid=yes 5791else 5792 eval $cacheid=no 5793fi 5794rm -f core conftest.err conftest.$ac_objext \ 5795 conftest$ac_exeext conftest.$ac_ext 5796fi 5797 5798 5799 CFLAGS="$xorg_testset_save_CFLAGS" 5800 5801 eval supported=\$$cacheid 5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5803$as_echo "$supported" >&6; } 5804 if test "$supported" = "yes" ; then 5805 BASE_CFLAGS="$BASE_CFLAGS -fd" 5806 found="yes" 5807 fi 5808 fi 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824xorg_testset_save_CFLAGS="$CFLAGS" 5825 5826if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5827 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5829$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5830if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5831 $as_echo_n "(cached) " >&6 5832else 5833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5834/* end confdefs.h. */ 5835int i; 5836_ACEOF 5837if ac_fn_c_try_compile "$LINENO"; then : 5838 xorg_cv_cc_flag_unknown_warning_option=yes 5839else 5840 xorg_cv_cc_flag_unknown_warning_option=no 5841fi 5842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5843fi 5844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5845$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5846 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5847 CFLAGS="$xorg_testset_save_CFLAGS" 5848fi 5849 5850if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 5851 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5852 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5853 fi 5854 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5856$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5857if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5858 $as_echo_n "(cached) " >&6 5859else 5860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5861/* end confdefs.h. */ 5862int i; 5863_ACEOF 5864if ac_fn_c_try_compile "$LINENO"; then : 5865 xorg_cv_cc_flag_unused_command_line_argument=yes 5866else 5867 xorg_cv_cc_flag_unused_command_line_argument=no 5868fi 5869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5870fi 5871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5872$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5873 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5874 CFLAGS="$xorg_testset_save_CFLAGS" 5875fi 5876 5877found="no" 5878 5879 if test $found = "no" ; then 5880 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5881 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5882 fi 5883 5884 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 5885 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5886 fi 5887 5888 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 5889 5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 5891$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 5892 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement 5893 if eval \${$cacheid+:} false; then : 5894 $as_echo_n "(cached) " >&6 5895else 5896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5897/* end confdefs.h. */ 5898int i; 5899int 5900main () 5901{ 5902 5903 ; 5904 return 0; 5905} 5906_ACEOF 5907if ac_fn_c_try_link "$LINENO"; then : 5908 eval $cacheid=yes 5909else 5910 eval $cacheid=no 5911fi 5912rm -f core conftest.err conftest.$ac_objext \ 5913 conftest$ac_exeext conftest.$ac_ext 5914fi 5915 5916 5917 CFLAGS="$xorg_testset_save_CFLAGS" 5918 5919 eval supported=\$$cacheid 5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5921$as_echo "$supported" >&6; } 5922 if test "$supported" = "yes" ; then 5923 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement" 5924 found="yes" 5925 fi 5926 fi 5927 5928 5929 5930 5931 5932# This chunk adds additional warnings that could catch undesired effects. 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946xorg_testset_save_CFLAGS="$CFLAGS" 5947 5948if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5949 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5951$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5952if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5953 $as_echo_n "(cached) " >&6 5954else 5955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5956/* end confdefs.h. */ 5957int i; 5958_ACEOF 5959if ac_fn_c_try_compile "$LINENO"; then : 5960 xorg_cv_cc_flag_unknown_warning_option=yes 5961else 5962 xorg_cv_cc_flag_unknown_warning_option=no 5963fi 5964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5965fi 5966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5967$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5968 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5969 CFLAGS="$xorg_testset_save_CFLAGS" 5970fi 5971 5972if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 5973 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 5974 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5975 fi 5976 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5978$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5979if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5980 $as_echo_n "(cached) " >&6 5981else 5982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5983/* end confdefs.h. */ 5984int i; 5985_ACEOF 5986if ac_fn_c_try_compile "$LINENO"; then : 5987 xorg_cv_cc_flag_unused_command_line_argument=yes 5988else 5989 xorg_cv_cc_flag_unused_command_line_argument=no 5990fi 5991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5992fi 5993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5994$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5995 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5996 CFLAGS="$xorg_testset_save_CFLAGS" 5997fi 5998 5999found="no" 6000 6001 if test $found = "no" ; then 6002 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6003 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6004 fi 6005 6006 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 6007 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6008 fi 6009 6010 CFLAGS="$CFLAGS -Wunused" 6011 6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 6013$as_echo_n "checking if $CC supports -Wunused... " >&6; } 6014 cacheid=xorg_cv_cc_flag__Wunused 6015 if eval \${$cacheid+:} false; then : 6016 $as_echo_n "(cached) " >&6 6017else 6018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6019/* end confdefs.h. */ 6020int i; 6021int 6022main () 6023{ 6024 6025 ; 6026 return 0; 6027} 6028_ACEOF 6029if ac_fn_c_try_link "$LINENO"; then : 6030 eval $cacheid=yes 6031else 6032 eval $cacheid=no 6033fi 6034rm -f core conftest.err conftest.$ac_objext \ 6035 conftest$ac_exeext conftest.$ac_ext 6036fi 6037 6038 6039 CFLAGS="$xorg_testset_save_CFLAGS" 6040 6041 eval supported=\$$cacheid 6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6043$as_echo "$supported" >&6; } 6044 if test "$supported" = "yes" ; then 6045 BASE_CFLAGS="$BASE_CFLAGS -Wunused" 6046 found="yes" 6047 fi 6048 fi 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064xorg_testset_save_CFLAGS="$CFLAGS" 6065 6066if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6067 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6069$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6070if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6071 $as_echo_n "(cached) " >&6 6072else 6073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6074/* end confdefs.h. */ 6075int i; 6076_ACEOF 6077if ac_fn_c_try_compile "$LINENO"; then : 6078 xorg_cv_cc_flag_unknown_warning_option=yes 6079else 6080 xorg_cv_cc_flag_unknown_warning_option=no 6081fi 6082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6083fi 6084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6085$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6086 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6087 CFLAGS="$xorg_testset_save_CFLAGS" 6088fi 6089 6090if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 6091 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6092 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6093 fi 6094 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6096$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6097if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6098 $as_echo_n "(cached) " >&6 6099else 6100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6101/* end confdefs.h. */ 6102int i; 6103_ACEOF 6104if ac_fn_c_try_compile "$LINENO"; then : 6105 xorg_cv_cc_flag_unused_command_line_argument=yes 6106else 6107 xorg_cv_cc_flag_unused_command_line_argument=no 6108fi 6109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6110fi 6111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6112$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6113 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6114 CFLAGS="$xorg_testset_save_CFLAGS" 6115fi 6116 6117found="no" 6118 6119 if test $found = "no" ; then 6120 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6121 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6122 fi 6123 6124 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 6125 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6126 fi 6127 6128 CFLAGS="$CFLAGS -Wuninitialized" 6129 6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6131$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; } 6132 cacheid=xorg_cv_cc_flag__Wuninitialized 6133 if eval \${$cacheid+:} false; then : 6134 $as_echo_n "(cached) " >&6 6135else 6136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6137/* end confdefs.h. */ 6138int i; 6139int 6140main () 6141{ 6142 6143 ; 6144 return 0; 6145} 6146_ACEOF 6147if ac_fn_c_try_link "$LINENO"; then : 6148 eval $cacheid=yes 6149else 6150 eval $cacheid=no 6151fi 6152rm -f core conftest.err conftest.$ac_objext \ 6153 conftest$ac_exeext conftest.$ac_ext 6154fi 6155 6156 6157 CFLAGS="$xorg_testset_save_CFLAGS" 6158 6159 eval supported=\$$cacheid 6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6161$as_echo "$supported" >&6; } 6162 if test "$supported" = "yes" ; then 6163 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized" 6164 found="yes" 6165 fi 6166 fi 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182xorg_testset_save_CFLAGS="$CFLAGS" 6183 6184if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6185 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6187$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6188if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6189 $as_echo_n "(cached) " >&6 6190else 6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6192/* end confdefs.h. */ 6193int i; 6194_ACEOF 6195if ac_fn_c_try_compile "$LINENO"; then : 6196 xorg_cv_cc_flag_unknown_warning_option=yes 6197else 6198 xorg_cv_cc_flag_unknown_warning_option=no 6199fi 6200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6201fi 6202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6203$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6204 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6205 CFLAGS="$xorg_testset_save_CFLAGS" 6206fi 6207 6208if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 6209 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6210 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6211 fi 6212 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6214$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6215if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6216 $as_echo_n "(cached) " >&6 6217else 6218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6219/* end confdefs.h. */ 6220int i; 6221_ACEOF 6222if ac_fn_c_try_compile "$LINENO"; then : 6223 xorg_cv_cc_flag_unused_command_line_argument=yes 6224else 6225 xorg_cv_cc_flag_unused_command_line_argument=no 6226fi 6227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6228fi 6229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6230$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6231 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6232 CFLAGS="$xorg_testset_save_CFLAGS" 6233fi 6234 6235found="no" 6236 6237 if test $found = "no" ; then 6238 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6239 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6240 fi 6241 6242 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 6243 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6244 fi 6245 6246 CFLAGS="$CFLAGS -Wshadow" 6247 6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6249$as_echo_n "checking if $CC supports -Wshadow... " >&6; } 6250 cacheid=xorg_cv_cc_flag__Wshadow 6251 if eval \${$cacheid+:} false; then : 6252 $as_echo_n "(cached) " >&6 6253else 6254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6255/* end confdefs.h. */ 6256int i; 6257int 6258main () 6259{ 6260 6261 ; 6262 return 0; 6263} 6264_ACEOF 6265if ac_fn_c_try_link "$LINENO"; then : 6266 eval $cacheid=yes 6267else 6268 eval $cacheid=no 6269fi 6270rm -f core conftest.err conftest.$ac_objext \ 6271 conftest$ac_exeext conftest.$ac_ext 6272fi 6273 6274 6275 CFLAGS="$xorg_testset_save_CFLAGS" 6276 6277 eval supported=\$$cacheid 6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6279$as_echo "$supported" >&6; } 6280 if test "$supported" = "yes" ; then 6281 BASE_CFLAGS="$BASE_CFLAGS -Wshadow" 6282 found="yes" 6283 fi 6284 fi 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300xorg_testset_save_CFLAGS="$CFLAGS" 6301 6302if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6303 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6305$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6306if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6307 $as_echo_n "(cached) " >&6 6308else 6309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6310/* end confdefs.h. */ 6311int i; 6312_ACEOF 6313if ac_fn_c_try_compile "$LINENO"; then : 6314 xorg_cv_cc_flag_unknown_warning_option=yes 6315else 6316 xorg_cv_cc_flag_unknown_warning_option=no 6317fi 6318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6319fi 6320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6321$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6322 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6323 CFLAGS="$xorg_testset_save_CFLAGS" 6324fi 6325 6326if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 6327 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6328 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6329 fi 6330 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6332$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6333if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6334 $as_echo_n "(cached) " >&6 6335else 6336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6337/* end confdefs.h. */ 6338int i; 6339_ACEOF 6340if ac_fn_c_try_compile "$LINENO"; then : 6341 xorg_cv_cc_flag_unused_command_line_argument=yes 6342else 6343 xorg_cv_cc_flag_unused_command_line_argument=no 6344fi 6345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6346fi 6347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6348$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6349 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6350 CFLAGS="$xorg_testset_save_CFLAGS" 6351fi 6352 6353found="no" 6354 6355 if test $found = "no" ; then 6356 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6357 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6358 fi 6359 6360 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 6361 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6362 fi 6363 6364 CFLAGS="$CFLAGS -Wmissing-noreturn" 6365 6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6367$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; } 6368 cacheid=xorg_cv_cc_flag__Wmissing_noreturn 6369 if eval \${$cacheid+:} false; then : 6370 $as_echo_n "(cached) " >&6 6371else 6372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6373/* end confdefs.h. */ 6374int i; 6375int 6376main () 6377{ 6378 6379 ; 6380 return 0; 6381} 6382_ACEOF 6383if ac_fn_c_try_link "$LINENO"; then : 6384 eval $cacheid=yes 6385else 6386 eval $cacheid=no 6387fi 6388rm -f core conftest.err conftest.$ac_objext \ 6389 conftest$ac_exeext conftest.$ac_ext 6390fi 6391 6392 6393 CFLAGS="$xorg_testset_save_CFLAGS" 6394 6395 eval supported=\$$cacheid 6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6397$as_echo "$supported" >&6; } 6398 if test "$supported" = "yes" ; then 6399 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn" 6400 found="yes" 6401 fi 6402 fi 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418xorg_testset_save_CFLAGS="$CFLAGS" 6419 6420if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6421 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6423$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6424if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6425 $as_echo_n "(cached) " >&6 6426else 6427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6428/* end confdefs.h. */ 6429int i; 6430_ACEOF 6431if ac_fn_c_try_compile "$LINENO"; then : 6432 xorg_cv_cc_flag_unknown_warning_option=yes 6433else 6434 xorg_cv_cc_flag_unknown_warning_option=no 6435fi 6436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6437fi 6438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6439$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6440 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6441 CFLAGS="$xorg_testset_save_CFLAGS" 6442fi 6443 6444if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 6445 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6446 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6447 fi 6448 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6450$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6451if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6452 $as_echo_n "(cached) " >&6 6453else 6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6455/* end confdefs.h. */ 6456int i; 6457_ACEOF 6458if ac_fn_c_try_compile "$LINENO"; then : 6459 xorg_cv_cc_flag_unused_command_line_argument=yes 6460else 6461 xorg_cv_cc_flag_unused_command_line_argument=no 6462fi 6463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6464fi 6465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6466$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6467 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6468 CFLAGS="$xorg_testset_save_CFLAGS" 6469fi 6470 6471found="no" 6472 6473 if test $found = "no" ; then 6474 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6475 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6476 fi 6477 6478 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 6479 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6480 fi 6481 6482 CFLAGS="$CFLAGS -Wmissing-format-attribute" 6483 6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6485$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6486 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute 6487 if eval \${$cacheid+:} false; then : 6488 $as_echo_n "(cached) " >&6 6489else 6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6491/* end confdefs.h. */ 6492int i; 6493int 6494main () 6495{ 6496 6497 ; 6498 return 0; 6499} 6500_ACEOF 6501if ac_fn_c_try_link "$LINENO"; then : 6502 eval $cacheid=yes 6503else 6504 eval $cacheid=no 6505fi 6506rm -f core conftest.err conftest.$ac_objext \ 6507 conftest$ac_exeext conftest.$ac_ext 6508fi 6509 6510 6511 CFLAGS="$xorg_testset_save_CFLAGS" 6512 6513 eval supported=\$$cacheid 6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6515$as_echo "$supported" >&6; } 6516 if test "$supported" = "yes" ; then 6517 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute" 6518 found="yes" 6519 fi 6520 fi 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536xorg_testset_save_CFLAGS="$CFLAGS" 6537 6538if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6539 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6541$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6542if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6543 $as_echo_n "(cached) " >&6 6544else 6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6546/* end confdefs.h. */ 6547int i; 6548_ACEOF 6549if ac_fn_c_try_compile "$LINENO"; then : 6550 xorg_cv_cc_flag_unknown_warning_option=yes 6551else 6552 xorg_cv_cc_flag_unknown_warning_option=no 6553fi 6554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6555fi 6556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6557$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6558 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6559 CFLAGS="$xorg_testset_save_CFLAGS" 6560fi 6561 6562if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 6563 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6564 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6565 fi 6566 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6568$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6569if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6570 $as_echo_n "(cached) " >&6 6571else 6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6573/* end confdefs.h. */ 6574int i; 6575_ACEOF 6576if ac_fn_c_try_compile "$LINENO"; then : 6577 xorg_cv_cc_flag_unused_command_line_argument=yes 6578else 6579 xorg_cv_cc_flag_unused_command_line_argument=no 6580fi 6581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6582fi 6583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6584$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6585 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6586 CFLAGS="$xorg_testset_save_CFLAGS" 6587fi 6588 6589found="no" 6590 6591 if test $found = "no" ; then 6592 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6593 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6594 fi 6595 6596 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 6597 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6598 fi 6599 6600 CFLAGS="$CFLAGS -Wredundant-decls" 6601 6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5 6603$as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; } 6604 cacheid=xorg_cv_cc_flag__Wredundant_decls 6605 if eval \${$cacheid+:} false; then : 6606 $as_echo_n "(cached) " >&6 6607else 6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6609/* end confdefs.h. */ 6610int i; 6611int 6612main () 6613{ 6614 6615 ; 6616 return 0; 6617} 6618_ACEOF 6619if ac_fn_c_try_link "$LINENO"; then : 6620 eval $cacheid=yes 6621else 6622 eval $cacheid=no 6623fi 6624rm -f core conftest.err conftest.$ac_objext \ 6625 conftest$ac_exeext conftest.$ac_ext 6626fi 6627 6628 6629 CFLAGS="$xorg_testset_save_CFLAGS" 6630 6631 eval supported=\$$cacheid 6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6633$as_echo "$supported" >&6; } 6634 if test "$supported" = "yes" ; then 6635 BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls" 6636 found="yes" 6637 fi 6638 fi 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654xorg_testset_save_CFLAGS="$CFLAGS" 6655 6656if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6657 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6659$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6660if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6661 $as_echo_n "(cached) " >&6 6662else 6663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6664/* end confdefs.h. */ 6665int i; 6666_ACEOF 6667if ac_fn_c_try_compile "$LINENO"; then : 6668 xorg_cv_cc_flag_unknown_warning_option=yes 6669else 6670 xorg_cv_cc_flag_unknown_warning_option=no 6671fi 6672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6673fi 6674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6675$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6676 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6677 CFLAGS="$xorg_testset_save_CFLAGS" 6678fi 6679 6680if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 6681 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6682 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6683 fi 6684 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6686$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6687if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6688 $as_echo_n "(cached) " >&6 6689else 6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6691/* end confdefs.h. */ 6692int i; 6693_ACEOF 6694if ac_fn_c_try_compile "$LINENO"; then : 6695 xorg_cv_cc_flag_unused_command_line_argument=yes 6696else 6697 xorg_cv_cc_flag_unused_command_line_argument=no 6698fi 6699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6700fi 6701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6702$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6703 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6704 CFLAGS="$xorg_testset_save_CFLAGS" 6705fi 6706 6707found="no" 6708 6709 if test $found = "no" ; then 6710 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6711 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6712 fi 6713 6714 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 6715 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6716 fi 6717 6718 CFLAGS="$CFLAGS -Wlogical-op" 6719 6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6721$as_echo_n "checking if $CC supports -Wlogical-op... " >&6; } 6722 cacheid=xorg_cv_cc_flag__Wlogical_op 6723 if eval \${$cacheid+:} false; then : 6724 $as_echo_n "(cached) " >&6 6725else 6726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6727/* end confdefs.h. */ 6728int i; 6729int 6730main () 6731{ 6732 6733 ; 6734 return 0; 6735} 6736_ACEOF 6737if ac_fn_c_try_link "$LINENO"; then : 6738 eval $cacheid=yes 6739else 6740 eval $cacheid=no 6741fi 6742rm -f core conftest.err conftest.$ac_objext \ 6743 conftest$ac_exeext conftest.$ac_ext 6744fi 6745 6746 6747 CFLAGS="$xorg_testset_save_CFLAGS" 6748 6749 eval supported=\$$cacheid 6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6751$as_echo "$supported" >&6; } 6752 if test "$supported" = "yes" ; then 6753 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op" 6754 found="yes" 6755 fi 6756 fi 6757 6758 6759 6760# These are currently disabled because they are noisy. They will be enabled 6761# in the future once the codebase is sufficiently modernized to silence 6762# them. For now, I don't want them to drown out the other warnings. 6763# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses]) 6764# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 6765# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 6766 6767# Turn some warnings into errors, so we don't accidently get successful builds 6768# when there are problems that should be fixed. 6769 6770if test "x$SELECTIVE_WERROR" = "xyes" ; then 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784xorg_testset_save_CFLAGS="$CFLAGS" 6785 6786if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6787 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6789$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6790if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6791 $as_echo_n "(cached) " >&6 6792else 6793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6794/* end confdefs.h. */ 6795int i; 6796_ACEOF 6797if ac_fn_c_try_compile "$LINENO"; then : 6798 xorg_cv_cc_flag_unknown_warning_option=yes 6799else 6800 xorg_cv_cc_flag_unknown_warning_option=no 6801fi 6802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6803fi 6804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6805$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6806 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6807 CFLAGS="$xorg_testset_save_CFLAGS" 6808fi 6809 6810if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 6811 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6812 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6813 fi 6814 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6816$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6817if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6818 $as_echo_n "(cached) " >&6 6819else 6820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6821/* end confdefs.h. */ 6822int i; 6823_ACEOF 6824if ac_fn_c_try_compile "$LINENO"; then : 6825 xorg_cv_cc_flag_unused_command_line_argument=yes 6826else 6827 xorg_cv_cc_flag_unused_command_line_argument=no 6828fi 6829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6830fi 6831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6832$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6833 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6834 CFLAGS="$xorg_testset_save_CFLAGS" 6835fi 6836 6837found="no" 6838 6839 if test $found = "no" ; then 6840 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6841 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6842 fi 6843 6844 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 6845 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6846 fi 6847 6848 CFLAGS="$CFLAGS -Werror=implicit" 6849 6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6851$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; } 6852 cacheid=xorg_cv_cc_flag__Werror_implicit 6853 if eval \${$cacheid+:} false; then : 6854 $as_echo_n "(cached) " >&6 6855else 6856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6857/* end confdefs.h. */ 6858int i; 6859int 6860main () 6861{ 6862 6863 ; 6864 return 0; 6865} 6866_ACEOF 6867if ac_fn_c_try_link "$LINENO"; then : 6868 eval $cacheid=yes 6869else 6870 eval $cacheid=no 6871fi 6872rm -f core conftest.err conftest.$ac_objext \ 6873 conftest$ac_exeext conftest.$ac_ext 6874fi 6875 6876 6877 CFLAGS="$xorg_testset_save_CFLAGS" 6878 6879 eval supported=\$$cacheid 6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6881$as_echo "$supported" >&6; } 6882 if test "$supported" = "yes" ; then 6883 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit" 6884 found="yes" 6885 fi 6886 fi 6887 6888 if test $found = "no" ; then 6889 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6890 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6891 fi 6892 6893 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 6894 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6895 fi 6896 6897 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6898 6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 6900$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6901 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED 6902 if eval \${$cacheid+:} false; then : 6903 $as_echo_n "(cached) " >&6 6904else 6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6906/* end confdefs.h. */ 6907int i; 6908int 6909main () 6910{ 6911 6912 ; 6913 return 0; 6914} 6915_ACEOF 6916if ac_fn_c_try_link "$LINENO"; then : 6917 eval $cacheid=yes 6918else 6919 eval $cacheid=no 6920fi 6921rm -f core conftest.err conftest.$ac_objext \ 6922 conftest$ac_exeext conftest.$ac_ext 6923fi 6924 6925 6926 CFLAGS="$xorg_testset_save_CFLAGS" 6927 6928 eval supported=\$$cacheid 6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6930$as_echo "$supported" >&6; } 6931 if test "$supported" = "yes" ; then 6932 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6933 found="yes" 6934 fi 6935 fi 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951xorg_testset_save_CFLAGS="$CFLAGS" 6952 6953if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6954 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6956$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6957if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6958 $as_echo_n "(cached) " >&6 6959else 6960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6961/* end confdefs.h. */ 6962int i; 6963_ACEOF 6964if ac_fn_c_try_compile "$LINENO"; then : 6965 xorg_cv_cc_flag_unknown_warning_option=yes 6966else 6967 xorg_cv_cc_flag_unknown_warning_option=no 6968fi 6969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6970fi 6971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6972$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6973 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6974 CFLAGS="$xorg_testset_save_CFLAGS" 6975fi 6976 6977if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 6978 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6979 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6980 fi 6981 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6983$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6984if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6985 $as_echo_n "(cached) " >&6 6986else 6987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6988/* end confdefs.h. */ 6989int i; 6990_ACEOF 6991if ac_fn_c_try_compile "$LINENO"; then : 6992 xorg_cv_cc_flag_unused_command_line_argument=yes 6993else 6994 xorg_cv_cc_flag_unused_command_line_argument=no 6995fi 6996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6997fi 6998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6999$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7000 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7001 CFLAGS="$xorg_testset_save_CFLAGS" 7002fi 7003 7004found="no" 7005 7006 if test $found = "no" ; then 7007 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7008 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7009 fi 7010 7011 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 7012 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7013 fi 7014 7015 CFLAGS="$CFLAGS -Werror=nonnull" 7016 7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 7018$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; } 7019 cacheid=xorg_cv_cc_flag__Werror_nonnull 7020 if eval \${$cacheid+:} false; then : 7021 $as_echo_n "(cached) " >&6 7022else 7023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7024/* end confdefs.h. */ 7025int i; 7026int 7027main () 7028{ 7029 7030 ; 7031 return 0; 7032} 7033_ACEOF 7034if ac_fn_c_try_link "$LINENO"; then : 7035 eval $cacheid=yes 7036else 7037 eval $cacheid=no 7038fi 7039rm -f core conftest.err conftest.$ac_objext \ 7040 conftest$ac_exeext conftest.$ac_ext 7041fi 7042 7043 7044 CFLAGS="$xorg_testset_save_CFLAGS" 7045 7046 eval supported=\$$cacheid 7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7048$as_echo "$supported" >&6; } 7049 if test "$supported" = "yes" ; then 7050 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull" 7051 found="yes" 7052 fi 7053 fi 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069xorg_testset_save_CFLAGS="$CFLAGS" 7070 7071if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7072 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7074$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7075if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7076 $as_echo_n "(cached) " >&6 7077else 7078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7079/* end confdefs.h. */ 7080int i; 7081_ACEOF 7082if ac_fn_c_try_compile "$LINENO"; then : 7083 xorg_cv_cc_flag_unknown_warning_option=yes 7084else 7085 xorg_cv_cc_flag_unknown_warning_option=no 7086fi 7087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7088fi 7089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7090$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7091 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7092 CFLAGS="$xorg_testset_save_CFLAGS" 7093fi 7094 7095if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 7096 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7097 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7098 fi 7099 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7101$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7102if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7103 $as_echo_n "(cached) " >&6 7104else 7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7106/* end confdefs.h. */ 7107int i; 7108_ACEOF 7109if ac_fn_c_try_compile "$LINENO"; then : 7110 xorg_cv_cc_flag_unused_command_line_argument=yes 7111else 7112 xorg_cv_cc_flag_unused_command_line_argument=no 7113fi 7114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7115fi 7116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7117$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7118 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7119 CFLAGS="$xorg_testset_save_CFLAGS" 7120fi 7121 7122found="no" 7123 7124 if test $found = "no" ; then 7125 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7126 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7127 fi 7128 7129 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 7130 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7131 fi 7132 7133 CFLAGS="$CFLAGS -Werror=init-self" 7134 7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 7136$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; } 7137 cacheid=xorg_cv_cc_flag__Werror_init_self 7138 if eval \${$cacheid+:} false; then : 7139 $as_echo_n "(cached) " >&6 7140else 7141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7142/* end confdefs.h. */ 7143int i; 7144int 7145main () 7146{ 7147 7148 ; 7149 return 0; 7150} 7151_ACEOF 7152if ac_fn_c_try_link "$LINENO"; then : 7153 eval $cacheid=yes 7154else 7155 eval $cacheid=no 7156fi 7157rm -f core conftest.err conftest.$ac_objext \ 7158 conftest$ac_exeext conftest.$ac_ext 7159fi 7160 7161 7162 CFLAGS="$xorg_testset_save_CFLAGS" 7163 7164 eval supported=\$$cacheid 7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7166$as_echo "$supported" >&6; } 7167 if test "$supported" = "yes" ; then 7168 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self" 7169 found="yes" 7170 fi 7171 fi 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187xorg_testset_save_CFLAGS="$CFLAGS" 7188 7189if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7190 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7192$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7193if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7194 $as_echo_n "(cached) " >&6 7195else 7196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7197/* end confdefs.h. */ 7198int i; 7199_ACEOF 7200if ac_fn_c_try_compile "$LINENO"; then : 7201 xorg_cv_cc_flag_unknown_warning_option=yes 7202else 7203 xorg_cv_cc_flag_unknown_warning_option=no 7204fi 7205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7206fi 7207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7208$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7209 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7210 CFLAGS="$xorg_testset_save_CFLAGS" 7211fi 7212 7213if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 7214 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7215 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7216 fi 7217 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7219$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7220if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7221 $as_echo_n "(cached) " >&6 7222else 7223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7224/* end confdefs.h. */ 7225int i; 7226_ACEOF 7227if ac_fn_c_try_compile "$LINENO"; then : 7228 xorg_cv_cc_flag_unused_command_line_argument=yes 7229else 7230 xorg_cv_cc_flag_unused_command_line_argument=no 7231fi 7232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7233fi 7234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7235$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7236 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7237 CFLAGS="$xorg_testset_save_CFLAGS" 7238fi 7239 7240found="no" 7241 7242 if test $found = "no" ; then 7243 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7244 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7245 fi 7246 7247 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 7248 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7249 fi 7250 7251 CFLAGS="$CFLAGS -Werror=main" 7252 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7254$as_echo_n "checking if $CC supports -Werror=main... " >&6; } 7255 cacheid=xorg_cv_cc_flag__Werror_main 7256 if eval \${$cacheid+:} false; then : 7257 $as_echo_n "(cached) " >&6 7258else 7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7260/* end confdefs.h. */ 7261int i; 7262int 7263main () 7264{ 7265 7266 ; 7267 return 0; 7268} 7269_ACEOF 7270if ac_fn_c_try_link "$LINENO"; then : 7271 eval $cacheid=yes 7272else 7273 eval $cacheid=no 7274fi 7275rm -f core conftest.err conftest.$ac_objext \ 7276 conftest$ac_exeext conftest.$ac_ext 7277fi 7278 7279 7280 CFLAGS="$xorg_testset_save_CFLAGS" 7281 7282 eval supported=\$$cacheid 7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7284$as_echo "$supported" >&6; } 7285 if test "$supported" = "yes" ; then 7286 BASE_CFLAGS="$BASE_CFLAGS -Werror=main" 7287 found="yes" 7288 fi 7289 fi 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305xorg_testset_save_CFLAGS="$CFLAGS" 7306 7307if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7308 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7310$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7311if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7312 $as_echo_n "(cached) " >&6 7313else 7314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7315/* end confdefs.h. */ 7316int i; 7317_ACEOF 7318if ac_fn_c_try_compile "$LINENO"; then : 7319 xorg_cv_cc_flag_unknown_warning_option=yes 7320else 7321 xorg_cv_cc_flag_unknown_warning_option=no 7322fi 7323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7324fi 7325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7326$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7327 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7328 CFLAGS="$xorg_testset_save_CFLAGS" 7329fi 7330 7331if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 7332 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7333 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7334 fi 7335 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7337$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7338if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7339 $as_echo_n "(cached) " >&6 7340else 7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7342/* end confdefs.h. */ 7343int i; 7344_ACEOF 7345if ac_fn_c_try_compile "$LINENO"; then : 7346 xorg_cv_cc_flag_unused_command_line_argument=yes 7347else 7348 xorg_cv_cc_flag_unused_command_line_argument=no 7349fi 7350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7351fi 7352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7353$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7354 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7355 CFLAGS="$xorg_testset_save_CFLAGS" 7356fi 7357 7358found="no" 7359 7360 if test $found = "no" ; then 7361 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7362 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7363 fi 7364 7365 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 7366 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7367 fi 7368 7369 CFLAGS="$CFLAGS -Werror=missing-braces" 7370 7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7372$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; } 7373 cacheid=xorg_cv_cc_flag__Werror_missing_braces 7374 if eval \${$cacheid+:} false; then : 7375 $as_echo_n "(cached) " >&6 7376else 7377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7378/* end confdefs.h. */ 7379int i; 7380int 7381main () 7382{ 7383 7384 ; 7385 return 0; 7386} 7387_ACEOF 7388if ac_fn_c_try_link "$LINENO"; then : 7389 eval $cacheid=yes 7390else 7391 eval $cacheid=no 7392fi 7393rm -f core conftest.err conftest.$ac_objext \ 7394 conftest$ac_exeext conftest.$ac_ext 7395fi 7396 7397 7398 CFLAGS="$xorg_testset_save_CFLAGS" 7399 7400 eval supported=\$$cacheid 7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7402$as_echo "$supported" >&6; } 7403 if test "$supported" = "yes" ; then 7404 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces" 7405 found="yes" 7406 fi 7407 fi 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423xorg_testset_save_CFLAGS="$CFLAGS" 7424 7425if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7426 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7428$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7429if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7430 $as_echo_n "(cached) " >&6 7431else 7432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7433/* end confdefs.h. */ 7434int i; 7435_ACEOF 7436if ac_fn_c_try_compile "$LINENO"; then : 7437 xorg_cv_cc_flag_unknown_warning_option=yes 7438else 7439 xorg_cv_cc_flag_unknown_warning_option=no 7440fi 7441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7442fi 7443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7444$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7445 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7446 CFLAGS="$xorg_testset_save_CFLAGS" 7447fi 7448 7449if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 7450 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7451 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7452 fi 7453 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7455$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7456if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7457 $as_echo_n "(cached) " >&6 7458else 7459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7460/* end confdefs.h. */ 7461int i; 7462_ACEOF 7463if ac_fn_c_try_compile "$LINENO"; then : 7464 xorg_cv_cc_flag_unused_command_line_argument=yes 7465else 7466 xorg_cv_cc_flag_unused_command_line_argument=no 7467fi 7468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7469fi 7470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7471$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7472 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7473 CFLAGS="$xorg_testset_save_CFLAGS" 7474fi 7475 7476found="no" 7477 7478 if test $found = "no" ; then 7479 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7480 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7481 fi 7482 7483 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 7484 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7485 fi 7486 7487 CFLAGS="$CFLAGS -Werror=sequence-point" 7488 7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7490$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; } 7491 cacheid=xorg_cv_cc_flag__Werror_sequence_point 7492 if eval \${$cacheid+:} false; then : 7493 $as_echo_n "(cached) " >&6 7494else 7495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7496/* end confdefs.h. */ 7497int i; 7498int 7499main () 7500{ 7501 7502 ; 7503 return 0; 7504} 7505_ACEOF 7506if ac_fn_c_try_link "$LINENO"; then : 7507 eval $cacheid=yes 7508else 7509 eval $cacheid=no 7510fi 7511rm -f core conftest.err conftest.$ac_objext \ 7512 conftest$ac_exeext conftest.$ac_ext 7513fi 7514 7515 7516 CFLAGS="$xorg_testset_save_CFLAGS" 7517 7518 eval supported=\$$cacheid 7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7520$as_echo "$supported" >&6; } 7521 if test "$supported" = "yes" ; then 7522 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point" 7523 found="yes" 7524 fi 7525 fi 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541xorg_testset_save_CFLAGS="$CFLAGS" 7542 7543if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7544 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7546$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7547if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7548 $as_echo_n "(cached) " >&6 7549else 7550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7551/* end confdefs.h. */ 7552int i; 7553_ACEOF 7554if ac_fn_c_try_compile "$LINENO"; then : 7555 xorg_cv_cc_flag_unknown_warning_option=yes 7556else 7557 xorg_cv_cc_flag_unknown_warning_option=no 7558fi 7559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7560fi 7561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7562$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7563 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7564 CFLAGS="$xorg_testset_save_CFLAGS" 7565fi 7566 7567if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 7568 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7569 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7570 fi 7571 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7573$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7574if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7575 $as_echo_n "(cached) " >&6 7576else 7577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7578/* end confdefs.h. */ 7579int i; 7580_ACEOF 7581if ac_fn_c_try_compile "$LINENO"; then : 7582 xorg_cv_cc_flag_unused_command_line_argument=yes 7583else 7584 xorg_cv_cc_flag_unused_command_line_argument=no 7585fi 7586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7587fi 7588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7589$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7590 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7591 CFLAGS="$xorg_testset_save_CFLAGS" 7592fi 7593 7594found="no" 7595 7596 if test $found = "no" ; then 7597 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7598 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7599 fi 7600 7601 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 7602 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7603 fi 7604 7605 CFLAGS="$CFLAGS -Werror=return-type" 7606 7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7608$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; } 7609 cacheid=xorg_cv_cc_flag__Werror_return_type 7610 if eval \${$cacheid+:} false; then : 7611 $as_echo_n "(cached) " >&6 7612else 7613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7614/* end confdefs.h. */ 7615int i; 7616int 7617main () 7618{ 7619 7620 ; 7621 return 0; 7622} 7623_ACEOF 7624if ac_fn_c_try_link "$LINENO"; then : 7625 eval $cacheid=yes 7626else 7627 eval $cacheid=no 7628fi 7629rm -f core conftest.err conftest.$ac_objext \ 7630 conftest$ac_exeext conftest.$ac_ext 7631fi 7632 7633 7634 CFLAGS="$xorg_testset_save_CFLAGS" 7635 7636 eval supported=\$$cacheid 7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7638$as_echo "$supported" >&6; } 7639 if test "$supported" = "yes" ; then 7640 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type" 7641 found="yes" 7642 fi 7643 fi 7644 7645 if test $found = "no" ; then 7646 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7647 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7648 fi 7649 7650 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 7651 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7652 fi 7653 7654 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7655 7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7657$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7658 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT 7659 if eval \${$cacheid+:} false; then : 7660 $as_echo_n "(cached) " >&6 7661else 7662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7663/* end confdefs.h. */ 7664int i; 7665int 7666main () 7667{ 7668 7669 ; 7670 return 0; 7671} 7672_ACEOF 7673if ac_fn_c_try_link "$LINENO"; then : 7674 eval $cacheid=yes 7675else 7676 eval $cacheid=no 7677fi 7678rm -f core conftest.err conftest.$ac_objext \ 7679 conftest$ac_exeext conftest.$ac_ext 7680fi 7681 7682 7683 CFLAGS="$xorg_testset_save_CFLAGS" 7684 7685 eval supported=\$$cacheid 7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7687$as_echo "$supported" >&6; } 7688 if test "$supported" = "yes" ; then 7689 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7690 found="yes" 7691 fi 7692 fi 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708xorg_testset_save_CFLAGS="$CFLAGS" 7709 7710if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7711 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7713$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7714if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7715 $as_echo_n "(cached) " >&6 7716else 7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7718/* end confdefs.h. */ 7719int i; 7720_ACEOF 7721if ac_fn_c_try_compile "$LINENO"; then : 7722 xorg_cv_cc_flag_unknown_warning_option=yes 7723else 7724 xorg_cv_cc_flag_unknown_warning_option=no 7725fi 7726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7727fi 7728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7729$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7730 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7731 CFLAGS="$xorg_testset_save_CFLAGS" 7732fi 7733 7734if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 7735 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7736 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7737 fi 7738 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7740$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7741if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7742 $as_echo_n "(cached) " >&6 7743else 7744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7745/* end confdefs.h. */ 7746int i; 7747_ACEOF 7748if ac_fn_c_try_compile "$LINENO"; then : 7749 xorg_cv_cc_flag_unused_command_line_argument=yes 7750else 7751 xorg_cv_cc_flag_unused_command_line_argument=no 7752fi 7753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7754fi 7755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7756$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7757 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7758 CFLAGS="$xorg_testset_save_CFLAGS" 7759fi 7760 7761found="no" 7762 7763 if test $found = "no" ; then 7764 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7765 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7766 fi 7767 7768 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 7769 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7770 fi 7771 7772 CFLAGS="$CFLAGS -Werror=trigraphs" 7773 7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7775$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; } 7776 cacheid=xorg_cv_cc_flag__Werror_trigraphs 7777 if eval \${$cacheid+:} false; then : 7778 $as_echo_n "(cached) " >&6 7779else 7780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7781/* end confdefs.h. */ 7782int i; 7783int 7784main () 7785{ 7786 7787 ; 7788 return 0; 7789} 7790_ACEOF 7791if ac_fn_c_try_link "$LINENO"; then : 7792 eval $cacheid=yes 7793else 7794 eval $cacheid=no 7795fi 7796rm -f core conftest.err conftest.$ac_objext \ 7797 conftest$ac_exeext conftest.$ac_ext 7798fi 7799 7800 7801 CFLAGS="$xorg_testset_save_CFLAGS" 7802 7803 eval supported=\$$cacheid 7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7805$as_echo "$supported" >&6; } 7806 if test "$supported" = "yes" ; then 7807 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs" 7808 found="yes" 7809 fi 7810 fi 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826xorg_testset_save_CFLAGS="$CFLAGS" 7827 7828if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7829 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7831$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7832if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7833 $as_echo_n "(cached) " >&6 7834else 7835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7836/* end confdefs.h. */ 7837int i; 7838_ACEOF 7839if ac_fn_c_try_compile "$LINENO"; then : 7840 xorg_cv_cc_flag_unknown_warning_option=yes 7841else 7842 xorg_cv_cc_flag_unknown_warning_option=no 7843fi 7844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7845fi 7846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7847$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7848 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7849 CFLAGS="$xorg_testset_save_CFLAGS" 7850fi 7851 7852if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 7853 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7854 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7855 fi 7856 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7858$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7859if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7860 $as_echo_n "(cached) " >&6 7861else 7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7863/* end confdefs.h. */ 7864int i; 7865_ACEOF 7866if ac_fn_c_try_compile "$LINENO"; then : 7867 xorg_cv_cc_flag_unused_command_line_argument=yes 7868else 7869 xorg_cv_cc_flag_unused_command_line_argument=no 7870fi 7871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7872fi 7873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7874$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7875 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7876 CFLAGS="$xorg_testset_save_CFLAGS" 7877fi 7878 7879found="no" 7880 7881 if test $found = "no" ; then 7882 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7883 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7884 fi 7885 7886 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 7887 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7888 fi 7889 7890 CFLAGS="$CFLAGS -Werror=array-bounds" 7891 7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7893$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; } 7894 cacheid=xorg_cv_cc_flag__Werror_array_bounds 7895 if eval \${$cacheid+:} false; then : 7896 $as_echo_n "(cached) " >&6 7897else 7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7899/* end confdefs.h. */ 7900int i; 7901int 7902main () 7903{ 7904 7905 ; 7906 return 0; 7907} 7908_ACEOF 7909if ac_fn_c_try_link "$LINENO"; then : 7910 eval $cacheid=yes 7911else 7912 eval $cacheid=no 7913fi 7914rm -f core conftest.err conftest.$ac_objext \ 7915 conftest$ac_exeext conftest.$ac_ext 7916fi 7917 7918 7919 CFLAGS="$xorg_testset_save_CFLAGS" 7920 7921 eval supported=\$$cacheid 7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7923$as_echo "$supported" >&6; } 7924 if test "$supported" = "yes" ; then 7925 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds" 7926 found="yes" 7927 fi 7928 fi 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944xorg_testset_save_CFLAGS="$CFLAGS" 7945 7946if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7947 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7949$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7950if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7951 $as_echo_n "(cached) " >&6 7952else 7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7954/* end confdefs.h. */ 7955int i; 7956_ACEOF 7957if ac_fn_c_try_compile "$LINENO"; then : 7958 xorg_cv_cc_flag_unknown_warning_option=yes 7959else 7960 xorg_cv_cc_flag_unknown_warning_option=no 7961fi 7962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7963fi 7964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7965$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7966 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7967 CFLAGS="$xorg_testset_save_CFLAGS" 7968fi 7969 7970if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 7971 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 7972 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7973 fi 7974 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7976$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7977if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7978 $as_echo_n "(cached) " >&6 7979else 7980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7981/* end confdefs.h. */ 7982int i; 7983_ACEOF 7984if ac_fn_c_try_compile "$LINENO"; then : 7985 xorg_cv_cc_flag_unused_command_line_argument=yes 7986else 7987 xorg_cv_cc_flag_unused_command_line_argument=no 7988fi 7989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7990fi 7991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7992$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7993 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7994 CFLAGS="$xorg_testset_save_CFLAGS" 7995fi 7996 7997found="no" 7998 7999 if test $found = "no" ; then 8000 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8001 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8002 fi 8003 8004 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 8005 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8006 fi 8007 8008 CFLAGS="$CFLAGS -Werror=write-strings" 8009 8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 8011$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; } 8012 cacheid=xorg_cv_cc_flag__Werror_write_strings 8013 if eval \${$cacheid+:} false; then : 8014 $as_echo_n "(cached) " >&6 8015else 8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8017/* end confdefs.h. */ 8018int i; 8019int 8020main () 8021{ 8022 8023 ; 8024 return 0; 8025} 8026_ACEOF 8027if ac_fn_c_try_link "$LINENO"; then : 8028 eval $cacheid=yes 8029else 8030 eval $cacheid=no 8031fi 8032rm -f core conftest.err conftest.$ac_objext \ 8033 conftest$ac_exeext conftest.$ac_ext 8034fi 8035 8036 8037 CFLAGS="$xorg_testset_save_CFLAGS" 8038 8039 eval supported=\$$cacheid 8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8041$as_echo "$supported" >&6; } 8042 if test "$supported" = "yes" ; then 8043 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings" 8044 found="yes" 8045 fi 8046 fi 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062xorg_testset_save_CFLAGS="$CFLAGS" 8063 8064if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8065 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8067$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8068if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8069 $as_echo_n "(cached) " >&6 8070else 8071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8072/* end confdefs.h. */ 8073int i; 8074_ACEOF 8075if ac_fn_c_try_compile "$LINENO"; then : 8076 xorg_cv_cc_flag_unknown_warning_option=yes 8077else 8078 xorg_cv_cc_flag_unknown_warning_option=no 8079fi 8080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8081fi 8082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8083$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8084 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8085 CFLAGS="$xorg_testset_save_CFLAGS" 8086fi 8087 8088if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 8089 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8090 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8091 fi 8092 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8094$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8095if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8096 $as_echo_n "(cached) " >&6 8097else 8098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8099/* end confdefs.h. */ 8100int i; 8101_ACEOF 8102if ac_fn_c_try_compile "$LINENO"; then : 8103 xorg_cv_cc_flag_unused_command_line_argument=yes 8104else 8105 xorg_cv_cc_flag_unused_command_line_argument=no 8106fi 8107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8108fi 8109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8110$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8111 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8112 CFLAGS="$xorg_testset_save_CFLAGS" 8113fi 8114 8115found="no" 8116 8117 if test $found = "no" ; then 8118 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8119 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8120 fi 8121 8122 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 8123 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8124 fi 8125 8126 CFLAGS="$CFLAGS -Werror=address" 8127 8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 8129$as_echo_n "checking if $CC supports -Werror=address... " >&6; } 8130 cacheid=xorg_cv_cc_flag__Werror_address 8131 if eval \${$cacheid+:} false; then : 8132 $as_echo_n "(cached) " >&6 8133else 8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8135/* end confdefs.h. */ 8136int i; 8137int 8138main () 8139{ 8140 8141 ; 8142 return 0; 8143} 8144_ACEOF 8145if ac_fn_c_try_link "$LINENO"; then : 8146 eval $cacheid=yes 8147else 8148 eval $cacheid=no 8149fi 8150rm -f core conftest.err conftest.$ac_objext \ 8151 conftest$ac_exeext conftest.$ac_ext 8152fi 8153 8154 8155 CFLAGS="$xorg_testset_save_CFLAGS" 8156 8157 eval supported=\$$cacheid 8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8159$as_echo "$supported" >&6; } 8160 if test "$supported" = "yes" ; then 8161 BASE_CFLAGS="$BASE_CFLAGS -Werror=address" 8162 found="yes" 8163 fi 8164 fi 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180xorg_testset_save_CFLAGS="$CFLAGS" 8181 8182if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8183 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8185$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8186if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8187 $as_echo_n "(cached) " >&6 8188else 8189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8190/* end confdefs.h. */ 8191int i; 8192_ACEOF 8193if ac_fn_c_try_compile "$LINENO"; then : 8194 xorg_cv_cc_flag_unknown_warning_option=yes 8195else 8196 xorg_cv_cc_flag_unknown_warning_option=no 8197fi 8198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8199fi 8200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8201$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8202 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8203 CFLAGS="$xorg_testset_save_CFLAGS" 8204fi 8205 8206if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 8207 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8208 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8209 fi 8210 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8212$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8213if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8214 $as_echo_n "(cached) " >&6 8215else 8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8217/* end confdefs.h. */ 8218int i; 8219_ACEOF 8220if ac_fn_c_try_compile "$LINENO"; then : 8221 xorg_cv_cc_flag_unused_command_line_argument=yes 8222else 8223 xorg_cv_cc_flag_unused_command_line_argument=no 8224fi 8225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8226fi 8227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8228$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8229 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8230 CFLAGS="$xorg_testset_save_CFLAGS" 8231fi 8232 8233found="no" 8234 8235 if test $found = "no" ; then 8236 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8237 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8238 fi 8239 8240 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 8241 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8242 fi 8243 8244 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast" 8245 8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8247$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8248 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast 8249 if eval \${$cacheid+:} false; then : 8250 $as_echo_n "(cached) " >&6 8251else 8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8253/* end confdefs.h. */ 8254int i; 8255int 8256main () 8257{ 8258 8259 ; 8260 return 0; 8261} 8262_ACEOF 8263if ac_fn_c_try_link "$LINENO"; then : 8264 eval $cacheid=yes 8265else 8266 eval $cacheid=no 8267fi 8268rm -f core conftest.err conftest.$ac_objext \ 8269 conftest$ac_exeext conftest.$ac_ext 8270fi 8271 8272 8273 CFLAGS="$xorg_testset_save_CFLAGS" 8274 8275 eval supported=\$$cacheid 8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8277$as_echo "$supported" >&6; } 8278 if test "$supported" = "yes" ; then 8279 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast" 8280 found="yes" 8281 fi 8282 fi 8283 8284 if test $found = "no" ; then 8285 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8286 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8287 fi 8288 8289 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 8290 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8291 fi 8292 8293 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8294 8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8296$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8297 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION 8298 if eval \${$cacheid+:} false; then : 8299 $as_echo_n "(cached) " >&6 8300else 8301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8302/* end confdefs.h. */ 8303int i; 8304int 8305main () 8306{ 8307 8308 ; 8309 return 0; 8310} 8311_ACEOF 8312if ac_fn_c_try_link "$LINENO"; then : 8313 eval $cacheid=yes 8314else 8315 eval $cacheid=no 8316fi 8317rm -f core conftest.err conftest.$ac_objext \ 8318 conftest$ac_exeext conftest.$ac_ext 8319fi 8320 8321 8322 CFLAGS="$xorg_testset_save_CFLAGS" 8323 8324 eval supported=\$$cacheid 8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8326$as_echo "$supported" >&6; } 8327 if test "$supported" = "yes" ; then 8328 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8329 found="yes" 8330 fi 8331 fi 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347xorg_testset_save_CFLAGS="$CFLAGS" 8348 8349if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8350 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8352$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8353if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8354 $as_echo_n "(cached) " >&6 8355else 8356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8357/* end confdefs.h. */ 8358int i; 8359_ACEOF 8360if ac_fn_c_try_compile "$LINENO"; then : 8361 xorg_cv_cc_flag_unknown_warning_option=yes 8362else 8363 xorg_cv_cc_flag_unknown_warning_option=no 8364fi 8365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8366fi 8367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8368$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8369 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8370 CFLAGS="$xorg_testset_save_CFLAGS" 8371fi 8372 8373if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 8374 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8375 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8376 fi 8377 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8379$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8380if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8381 $as_echo_n "(cached) " >&6 8382else 8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8384/* end confdefs.h. */ 8385int i; 8386_ACEOF 8387if ac_fn_c_try_compile "$LINENO"; then : 8388 xorg_cv_cc_flag_unused_command_line_argument=yes 8389else 8390 xorg_cv_cc_flag_unused_command_line_argument=no 8391fi 8392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8393fi 8394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8395$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8396 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8397 CFLAGS="$xorg_testset_save_CFLAGS" 8398fi 8399 8400found="no" 8401 8402 if test $found = "no" ; then 8403 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8404 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8405 fi 8406 8407 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 8408 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8409 fi 8410 8411 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast" 8412 8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8414$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8415 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast 8416 if eval \${$cacheid+:} false; then : 8417 $as_echo_n "(cached) " >&6 8418else 8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8420/* end confdefs.h. */ 8421int i; 8422int 8423main () 8424{ 8425 8426 ; 8427 return 0; 8428} 8429_ACEOF 8430if ac_fn_c_try_link "$LINENO"; then : 8431 eval $cacheid=yes 8432else 8433 eval $cacheid=no 8434fi 8435rm -f core conftest.err conftest.$ac_objext \ 8436 conftest$ac_exeext conftest.$ac_ext 8437fi 8438 8439 8440 CFLAGS="$xorg_testset_save_CFLAGS" 8441 8442 eval supported=\$$cacheid 8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8444$as_echo "$supported" >&6; } 8445 if test "$supported" = "yes" ; then 8446 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast" 8447 found="yes" 8448 fi 8449 fi 8450 8451 # Also -errwarn=E_BAD_PTR_INT_COMBINATION 8452else 8453{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5 8454$as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;} 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468xorg_testset_save_CFLAGS="$CFLAGS" 8469 8470if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8471 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8473$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8474if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8475 $as_echo_n "(cached) " >&6 8476else 8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8478/* end confdefs.h. */ 8479int i; 8480_ACEOF 8481if ac_fn_c_try_compile "$LINENO"; then : 8482 xorg_cv_cc_flag_unknown_warning_option=yes 8483else 8484 xorg_cv_cc_flag_unknown_warning_option=no 8485fi 8486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8487fi 8488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8489$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8490 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8491 CFLAGS="$xorg_testset_save_CFLAGS" 8492fi 8493 8494if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 8495 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8496 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8497 fi 8498 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8500$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8501if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8502 $as_echo_n "(cached) " >&6 8503else 8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8505/* end confdefs.h. */ 8506int i; 8507_ACEOF 8508if ac_fn_c_try_compile "$LINENO"; then : 8509 xorg_cv_cc_flag_unused_command_line_argument=yes 8510else 8511 xorg_cv_cc_flag_unused_command_line_argument=no 8512fi 8513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8514fi 8515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8516$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8517 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8518 CFLAGS="$xorg_testset_save_CFLAGS" 8519fi 8520 8521found="no" 8522 8523 if test $found = "no" ; then 8524 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8525 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8526 fi 8527 8528 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 8529 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8530 fi 8531 8532 CFLAGS="$CFLAGS -Wimplicit" 8533 8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8535$as_echo_n "checking if $CC supports -Wimplicit... " >&6; } 8536 cacheid=xorg_cv_cc_flag__Wimplicit 8537 if eval \${$cacheid+:} false; then : 8538 $as_echo_n "(cached) " >&6 8539else 8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8541/* end confdefs.h. */ 8542int i; 8543int 8544main () 8545{ 8546 8547 ; 8548 return 0; 8549} 8550_ACEOF 8551if ac_fn_c_try_link "$LINENO"; then : 8552 eval $cacheid=yes 8553else 8554 eval $cacheid=no 8555fi 8556rm -f core conftest.err conftest.$ac_objext \ 8557 conftest$ac_exeext conftest.$ac_ext 8558fi 8559 8560 8561 CFLAGS="$xorg_testset_save_CFLAGS" 8562 8563 eval supported=\$$cacheid 8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8565$as_echo "$supported" >&6; } 8566 if test "$supported" = "yes" ; then 8567 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit" 8568 found="yes" 8569 fi 8570 fi 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586xorg_testset_save_CFLAGS="$CFLAGS" 8587 8588if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8589 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8591$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8592if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8593 $as_echo_n "(cached) " >&6 8594else 8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8596/* end confdefs.h. */ 8597int i; 8598_ACEOF 8599if ac_fn_c_try_compile "$LINENO"; then : 8600 xorg_cv_cc_flag_unknown_warning_option=yes 8601else 8602 xorg_cv_cc_flag_unknown_warning_option=no 8603fi 8604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8605fi 8606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8607$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8608 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8609 CFLAGS="$xorg_testset_save_CFLAGS" 8610fi 8611 8612if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 8613 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8614 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8615 fi 8616 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8618$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8619if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8620 $as_echo_n "(cached) " >&6 8621else 8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8623/* end confdefs.h. */ 8624int i; 8625_ACEOF 8626if ac_fn_c_try_compile "$LINENO"; then : 8627 xorg_cv_cc_flag_unused_command_line_argument=yes 8628else 8629 xorg_cv_cc_flag_unused_command_line_argument=no 8630fi 8631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8632fi 8633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8634$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8635 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8636 CFLAGS="$xorg_testset_save_CFLAGS" 8637fi 8638 8639found="no" 8640 8641 if test $found = "no" ; then 8642 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8643 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8644 fi 8645 8646 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 8647 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8648 fi 8649 8650 CFLAGS="$CFLAGS -Wnonnull" 8651 8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8653$as_echo_n "checking if $CC supports -Wnonnull... " >&6; } 8654 cacheid=xorg_cv_cc_flag__Wnonnull 8655 if eval \${$cacheid+:} false; then : 8656 $as_echo_n "(cached) " >&6 8657else 8658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8659/* end confdefs.h. */ 8660int i; 8661int 8662main () 8663{ 8664 8665 ; 8666 return 0; 8667} 8668_ACEOF 8669if ac_fn_c_try_link "$LINENO"; then : 8670 eval $cacheid=yes 8671else 8672 eval $cacheid=no 8673fi 8674rm -f core conftest.err conftest.$ac_objext \ 8675 conftest$ac_exeext conftest.$ac_ext 8676fi 8677 8678 8679 CFLAGS="$xorg_testset_save_CFLAGS" 8680 8681 eval supported=\$$cacheid 8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8683$as_echo "$supported" >&6; } 8684 if test "$supported" = "yes" ; then 8685 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull" 8686 found="yes" 8687 fi 8688 fi 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704xorg_testset_save_CFLAGS="$CFLAGS" 8705 8706if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8707 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8709$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8710if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8711 $as_echo_n "(cached) " >&6 8712else 8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8714/* end confdefs.h. */ 8715int i; 8716_ACEOF 8717if ac_fn_c_try_compile "$LINENO"; then : 8718 xorg_cv_cc_flag_unknown_warning_option=yes 8719else 8720 xorg_cv_cc_flag_unknown_warning_option=no 8721fi 8722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8723fi 8724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8725$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8726 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8727 CFLAGS="$xorg_testset_save_CFLAGS" 8728fi 8729 8730if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 8731 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8732 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8733 fi 8734 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8736$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8737if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8738 $as_echo_n "(cached) " >&6 8739else 8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8741/* end confdefs.h. */ 8742int i; 8743_ACEOF 8744if ac_fn_c_try_compile "$LINENO"; then : 8745 xorg_cv_cc_flag_unused_command_line_argument=yes 8746else 8747 xorg_cv_cc_flag_unused_command_line_argument=no 8748fi 8749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8750fi 8751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8752$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8753 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8754 CFLAGS="$xorg_testset_save_CFLAGS" 8755fi 8756 8757found="no" 8758 8759 if test $found = "no" ; then 8760 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8761 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8762 fi 8763 8764 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 8765 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8766 fi 8767 8768 CFLAGS="$CFLAGS -Winit-self" 8769 8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8771$as_echo_n "checking if $CC supports -Winit-self... " >&6; } 8772 cacheid=xorg_cv_cc_flag__Winit_self 8773 if eval \${$cacheid+:} false; then : 8774 $as_echo_n "(cached) " >&6 8775else 8776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8777/* end confdefs.h. */ 8778int i; 8779int 8780main () 8781{ 8782 8783 ; 8784 return 0; 8785} 8786_ACEOF 8787if ac_fn_c_try_link "$LINENO"; then : 8788 eval $cacheid=yes 8789else 8790 eval $cacheid=no 8791fi 8792rm -f core conftest.err conftest.$ac_objext \ 8793 conftest$ac_exeext conftest.$ac_ext 8794fi 8795 8796 8797 CFLAGS="$xorg_testset_save_CFLAGS" 8798 8799 eval supported=\$$cacheid 8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8801$as_echo "$supported" >&6; } 8802 if test "$supported" = "yes" ; then 8803 BASE_CFLAGS="$BASE_CFLAGS -Winit-self" 8804 found="yes" 8805 fi 8806 fi 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822xorg_testset_save_CFLAGS="$CFLAGS" 8823 8824if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8825 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8827$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8828if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8829 $as_echo_n "(cached) " >&6 8830else 8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8832/* end confdefs.h. */ 8833int i; 8834_ACEOF 8835if ac_fn_c_try_compile "$LINENO"; then : 8836 xorg_cv_cc_flag_unknown_warning_option=yes 8837else 8838 xorg_cv_cc_flag_unknown_warning_option=no 8839fi 8840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8841fi 8842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8843$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8844 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8845 CFLAGS="$xorg_testset_save_CFLAGS" 8846fi 8847 8848if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 8849 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8850 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8851 fi 8852 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8854$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8855if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8856 $as_echo_n "(cached) " >&6 8857else 8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8859/* end confdefs.h. */ 8860int i; 8861_ACEOF 8862if ac_fn_c_try_compile "$LINENO"; then : 8863 xorg_cv_cc_flag_unused_command_line_argument=yes 8864else 8865 xorg_cv_cc_flag_unused_command_line_argument=no 8866fi 8867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8868fi 8869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8870$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8871 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8872 CFLAGS="$xorg_testset_save_CFLAGS" 8873fi 8874 8875found="no" 8876 8877 if test $found = "no" ; then 8878 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8879 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8880 fi 8881 8882 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 8883 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8884 fi 8885 8886 CFLAGS="$CFLAGS -Wmain" 8887 8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 8889$as_echo_n "checking if $CC supports -Wmain... " >&6; } 8890 cacheid=xorg_cv_cc_flag__Wmain 8891 if eval \${$cacheid+:} false; then : 8892 $as_echo_n "(cached) " >&6 8893else 8894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8895/* end confdefs.h. */ 8896int i; 8897int 8898main () 8899{ 8900 8901 ; 8902 return 0; 8903} 8904_ACEOF 8905if ac_fn_c_try_link "$LINENO"; then : 8906 eval $cacheid=yes 8907else 8908 eval $cacheid=no 8909fi 8910rm -f core conftest.err conftest.$ac_objext \ 8911 conftest$ac_exeext conftest.$ac_ext 8912fi 8913 8914 8915 CFLAGS="$xorg_testset_save_CFLAGS" 8916 8917 eval supported=\$$cacheid 8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8919$as_echo "$supported" >&6; } 8920 if test "$supported" = "yes" ; then 8921 BASE_CFLAGS="$BASE_CFLAGS -Wmain" 8922 found="yes" 8923 fi 8924 fi 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940xorg_testset_save_CFLAGS="$CFLAGS" 8941 8942if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8943 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8945$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8946if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8947 $as_echo_n "(cached) " >&6 8948else 8949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8950/* end confdefs.h. */ 8951int i; 8952_ACEOF 8953if ac_fn_c_try_compile "$LINENO"; then : 8954 xorg_cv_cc_flag_unknown_warning_option=yes 8955else 8956 xorg_cv_cc_flag_unknown_warning_option=no 8957fi 8958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8959fi 8960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8961$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8962 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8963 CFLAGS="$xorg_testset_save_CFLAGS" 8964fi 8965 8966if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 8967 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8968 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8969 fi 8970 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8972$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8973if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8974 $as_echo_n "(cached) " >&6 8975else 8976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8977/* end confdefs.h. */ 8978int i; 8979_ACEOF 8980if ac_fn_c_try_compile "$LINENO"; then : 8981 xorg_cv_cc_flag_unused_command_line_argument=yes 8982else 8983 xorg_cv_cc_flag_unused_command_line_argument=no 8984fi 8985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8986fi 8987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8988$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8989 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8990 CFLAGS="$xorg_testset_save_CFLAGS" 8991fi 8992 8993found="no" 8994 8995 if test $found = "no" ; then 8996 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 8997 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8998 fi 8999 9000 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 9001 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9002 fi 9003 9004 CFLAGS="$CFLAGS -Wmissing-braces" 9005 9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 9007$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; } 9008 cacheid=xorg_cv_cc_flag__Wmissing_braces 9009 if eval \${$cacheid+:} false; then : 9010 $as_echo_n "(cached) " >&6 9011else 9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9013/* end confdefs.h. */ 9014int i; 9015int 9016main () 9017{ 9018 9019 ; 9020 return 0; 9021} 9022_ACEOF 9023if ac_fn_c_try_link "$LINENO"; then : 9024 eval $cacheid=yes 9025else 9026 eval $cacheid=no 9027fi 9028rm -f core conftest.err conftest.$ac_objext \ 9029 conftest$ac_exeext conftest.$ac_ext 9030fi 9031 9032 9033 CFLAGS="$xorg_testset_save_CFLAGS" 9034 9035 eval supported=\$$cacheid 9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9037$as_echo "$supported" >&6; } 9038 if test "$supported" = "yes" ; then 9039 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces" 9040 found="yes" 9041 fi 9042 fi 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058xorg_testset_save_CFLAGS="$CFLAGS" 9059 9060if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9061 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9063$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9064if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9065 $as_echo_n "(cached) " >&6 9066else 9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9068/* end confdefs.h. */ 9069int i; 9070_ACEOF 9071if ac_fn_c_try_compile "$LINENO"; then : 9072 xorg_cv_cc_flag_unknown_warning_option=yes 9073else 9074 xorg_cv_cc_flag_unknown_warning_option=no 9075fi 9076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9077fi 9078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9079$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9080 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9081 CFLAGS="$xorg_testset_save_CFLAGS" 9082fi 9083 9084if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 9085 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9086 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9087 fi 9088 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9090$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9091if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9092 $as_echo_n "(cached) " >&6 9093else 9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9095/* end confdefs.h. */ 9096int i; 9097_ACEOF 9098if ac_fn_c_try_compile "$LINENO"; then : 9099 xorg_cv_cc_flag_unused_command_line_argument=yes 9100else 9101 xorg_cv_cc_flag_unused_command_line_argument=no 9102fi 9103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9104fi 9105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9106$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9107 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9108 CFLAGS="$xorg_testset_save_CFLAGS" 9109fi 9110 9111found="no" 9112 9113 if test $found = "no" ; then 9114 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9115 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9116 fi 9117 9118 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 9119 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9120 fi 9121 9122 CFLAGS="$CFLAGS -Wsequence-point" 9123 9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 9125$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; } 9126 cacheid=xorg_cv_cc_flag__Wsequence_point 9127 if eval \${$cacheid+:} false; then : 9128 $as_echo_n "(cached) " >&6 9129else 9130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9131/* end confdefs.h. */ 9132int i; 9133int 9134main () 9135{ 9136 9137 ; 9138 return 0; 9139} 9140_ACEOF 9141if ac_fn_c_try_link "$LINENO"; then : 9142 eval $cacheid=yes 9143else 9144 eval $cacheid=no 9145fi 9146rm -f core conftest.err conftest.$ac_objext \ 9147 conftest$ac_exeext conftest.$ac_ext 9148fi 9149 9150 9151 CFLAGS="$xorg_testset_save_CFLAGS" 9152 9153 eval supported=\$$cacheid 9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9155$as_echo "$supported" >&6; } 9156 if test "$supported" = "yes" ; then 9157 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point" 9158 found="yes" 9159 fi 9160 fi 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176xorg_testset_save_CFLAGS="$CFLAGS" 9177 9178if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9179 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9181$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9182if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9183 $as_echo_n "(cached) " >&6 9184else 9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9186/* end confdefs.h. */ 9187int i; 9188_ACEOF 9189if ac_fn_c_try_compile "$LINENO"; then : 9190 xorg_cv_cc_flag_unknown_warning_option=yes 9191else 9192 xorg_cv_cc_flag_unknown_warning_option=no 9193fi 9194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9195fi 9196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9197$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9198 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9199 CFLAGS="$xorg_testset_save_CFLAGS" 9200fi 9201 9202if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 9203 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9204 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9205 fi 9206 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9208$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9209if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9210 $as_echo_n "(cached) " >&6 9211else 9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9213/* end confdefs.h. */ 9214int i; 9215_ACEOF 9216if ac_fn_c_try_compile "$LINENO"; then : 9217 xorg_cv_cc_flag_unused_command_line_argument=yes 9218else 9219 xorg_cv_cc_flag_unused_command_line_argument=no 9220fi 9221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9222fi 9223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9224$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9225 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9226 CFLAGS="$xorg_testset_save_CFLAGS" 9227fi 9228 9229found="no" 9230 9231 if test $found = "no" ; then 9232 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9233 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9234 fi 9235 9236 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 9237 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9238 fi 9239 9240 CFLAGS="$CFLAGS -Wreturn-type" 9241 9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9243$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; } 9244 cacheid=xorg_cv_cc_flag__Wreturn_type 9245 if eval \${$cacheid+:} false; then : 9246 $as_echo_n "(cached) " >&6 9247else 9248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9249/* end confdefs.h. */ 9250int i; 9251int 9252main () 9253{ 9254 9255 ; 9256 return 0; 9257} 9258_ACEOF 9259if ac_fn_c_try_link "$LINENO"; then : 9260 eval $cacheid=yes 9261else 9262 eval $cacheid=no 9263fi 9264rm -f core conftest.err conftest.$ac_objext \ 9265 conftest$ac_exeext conftest.$ac_ext 9266fi 9267 9268 9269 CFLAGS="$xorg_testset_save_CFLAGS" 9270 9271 eval supported=\$$cacheid 9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9273$as_echo "$supported" >&6; } 9274 if test "$supported" = "yes" ; then 9275 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type" 9276 found="yes" 9277 fi 9278 fi 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294xorg_testset_save_CFLAGS="$CFLAGS" 9295 9296if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9297 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9299$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9300if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9301 $as_echo_n "(cached) " >&6 9302else 9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9304/* end confdefs.h. */ 9305int i; 9306_ACEOF 9307if ac_fn_c_try_compile "$LINENO"; then : 9308 xorg_cv_cc_flag_unknown_warning_option=yes 9309else 9310 xorg_cv_cc_flag_unknown_warning_option=no 9311fi 9312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9313fi 9314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9315$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9316 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9317 CFLAGS="$xorg_testset_save_CFLAGS" 9318fi 9319 9320if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 9321 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9322 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9323 fi 9324 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9326$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9327if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9328 $as_echo_n "(cached) " >&6 9329else 9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9331/* end confdefs.h. */ 9332int i; 9333_ACEOF 9334if ac_fn_c_try_compile "$LINENO"; then : 9335 xorg_cv_cc_flag_unused_command_line_argument=yes 9336else 9337 xorg_cv_cc_flag_unused_command_line_argument=no 9338fi 9339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9340fi 9341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9342$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9343 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9344 CFLAGS="$xorg_testset_save_CFLAGS" 9345fi 9346 9347found="no" 9348 9349 if test $found = "no" ; then 9350 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9351 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9352 fi 9353 9354 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 9355 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9356 fi 9357 9358 CFLAGS="$CFLAGS -Wtrigraphs" 9359 9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9361$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; } 9362 cacheid=xorg_cv_cc_flag__Wtrigraphs 9363 if eval \${$cacheid+:} false; then : 9364 $as_echo_n "(cached) " >&6 9365else 9366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9367/* end confdefs.h. */ 9368int i; 9369int 9370main () 9371{ 9372 9373 ; 9374 return 0; 9375} 9376_ACEOF 9377if ac_fn_c_try_link "$LINENO"; then : 9378 eval $cacheid=yes 9379else 9380 eval $cacheid=no 9381fi 9382rm -f core conftest.err conftest.$ac_objext \ 9383 conftest$ac_exeext conftest.$ac_ext 9384fi 9385 9386 9387 CFLAGS="$xorg_testset_save_CFLAGS" 9388 9389 eval supported=\$$cacheid 9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9391$as_echo "$supported" >&6; } 9392 if test "$supported" = "yes" ; then 9393 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs" 9394 found="yes" 9395 fi 9396 fi 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412xorg_testset_save_CFLAGS="$CFLAGS" 9413 9414if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9415 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9417$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9418if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9419 $as_echo_n "(cached) " >&6 9420else 9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9422/* end confdefs.h. */ 9423int i; 9424_ACEOF 9425if ac_fn_c_try_compile "$LINENO"; then : 9426 xorg_cv_cc_flag_unknown_warning_option=yes 9427else 9428 xorg_cv_cc_flag_unknown_warning_option=no 9429fi 9430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9431fi 9432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9433$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9434 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9435 CFLAGS="$xorg_testset_save_CFLAGS" 9436fi 9437 9438if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 9439 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9440 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9441 fi 9442 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9444$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9445if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9446 $as_echo_n "(cached) " >&6 9447else 9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9449/* end confdefs.h. */ 9450int i; 9451_ACEOF 9452if ac_fn_c_try_compile "$LINENO"; then : 9453 xorg_cv_cc_flag_unused_command_line_argument=yes 9454else 9455 xorg_cv_cc_flag_unused_command_line_argument=no 9456fi 9457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9458fi 9459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9460$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9461 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9462 CFLAGS="$xorg_testset_save_CFLAGS" 9463fi 9464 9465found="no" 9466 9467 if test $found = "no" ; then 9468 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9469 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9470 fi 9471 9472 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 9473 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9474 fi 9475 9476 CFLAGS="$CFLAGS -Warray-bounds" 9477 9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9479$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; } 9480 cacheid=xorg_cv_cc_flag__Warray_bounds 9481 if eval \${$cacheid+:} false; then : 9482 $as_echo_n "(cached) " >&6 9483else 9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9485/* end confdefs.h. */ 9486int i; 9487int 9488main () 9489{ 9490 9491 ; 9492 return 0; 9493} 9494_ACEOF 9495if ac_fn_c_try_link "$LINENO"; then : 9496 eval $cacheid=yes 9497else 9498 eval $cacheid=no 9499fi 9500rm -f core conftest.err conftest.$ac_objext \ 9501 conftest$ac_exeext conftest.$ac_ext 9502fi 9503 9504 9505 CFLAGS="$xorg_testset_save_CFLAGS" 9506 9507 eval supported=\$$cacheid 9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9509$as_echo "$supported" >&6; } 9510 if test "$supported" = "yes" ; then 9511 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds" 9512 found="yes" 9513 fi 9514 fi 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530xorg_testset_save_CFLAGS="$CFLAGS" 9531 9532if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9533 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9535$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9536if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9537 $as_echo_n "(cached) " >&6 9538else 9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9540/* end confdefs.h. */ 9541int i; 9542_ACEOF 9543if ac_fn_c_try_compile "$LINENO"; then : 9544 xorg_cv_cc_flag_unknown_warning_option=yes 9545else 9546 xorg_cv_cc_flag_unknown_warning_option=no 9547fi 9548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9549fi 9550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9551$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9552 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9553 CFLAGS="$xorg_testset_save_CFLAGS" 9554fi 9555 9556if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 9557 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9558 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9559 fi 9560 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9562$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9563if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9564 $as_echo_n "(cached) " >&6 9565else 9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9567/* end confdefs.h. */ 9568int i; 9569_ACEOF 9570if ac_fn_c_try_compile "$LINENO"; then : 9571 xorg_cv_cc_flag_unused_command_line_argument=yes 9572else 9573 xorg_cv_cc_flag_unused_command_line_argument=no 9574fi 9575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9576fi 9577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9578$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9579 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9580 CFLAGS="$xorg_testset_save_CFLAGS" 9581fi 9582 9583found="no" 9584 9585 if test $found = "no" ; then 9586 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9587 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9588 fi 9589 9590 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 9591 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9592 fi 9593 9594 CFLAGS="$CFLAGS -Wwrite-strings" 9595 9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9597$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; } 9598 cacheid=xorg_cv_cc_flag__Wwrite_strings 9599 if eval \${$cacheid+:} false; then : 9600 $as_echo_n "(cached) " >&6 9601else 9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9603/* end confdefs.h. */ 9604int i; 9605int 9606main () 9607{ 9608 9609 ; 9610 return 0; 9611} 9612_ACEOF 9613if ac_fn_c_try_link "$LINENO"; then : 9614 eval $cacheid=yes 9615else 9616 eval $cacheid=no 9617fi 9618rm -f core conftest.err conftest.$ac_objext \ 9619 conftest$ac_exeext conftest.$ac_ext 9620fi 9621 9622 9623 CFLAGS="$xorg_testset_save_CFLAGS" 9624 9625 eval supported=\$$cacheid 9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9627$as_echo "$supported" >&6; } 9628 if test "$supported" = "yes" ; then 9629 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings" 9630 found="yes" 9631 fi 9632 fi 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648xorg_testset_save_CFLAGS="$CFLAGS" 9649 9650if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9651 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9653$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9654if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9655 $as_echo_n "(cached) " >&6 9656else 9657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9658/* end confdefs.h. */ 9659int i; 9660_ACEOF 9661if ac_fn_c_try_compile "$LINENO"; then : 9662 xorg_cv_cc_flag_unknown_warning_option=yes 9663else 9664 xorg_cv_cc_flag_unknown_warning_option=no 9665fi 9666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9667fi 9668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9669$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9670 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9671 CFLAGS="$xorg_testset_save_CFLAGS" 9672fi 9673 9674if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 9675 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9676 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9677 fi 9678 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9680$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9681if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9682 $as_echo_n "(cached) " >&6 9683else 9684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9685/* end confdefs.h. */ 9686int i; 9687_ACEOF 9688if ac_fn_c_try_compile "$LINENO"; then : 9689 xorg_cv_cc_flag_unused_command_line_argument=yes 9690else 9691 xorg_cv_cc_flag_unused_command_line_argument=no 9692fi 9693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9694fi 9695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9696$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9697 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9698 CFLAGS="$xorg_testset_save_CFLAGS" 9699fi 9700 9701found="no" 9702 9703 if test $found = "no" ; then 9704 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9705 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9706 fi 9707 9708 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 9709 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9710 fi 9711 9712 CFLAGS="$CFLAGS -Waddress" 9713 9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9715$as_echo_n "checking if $CC supports -Waddress... " >&6; } 9716 cacheid=xorg_cv_cc_flag__Waddress 9717 if eval \${$cacheid+:} false; then : 9718 $as_echo_n "(cached) " >&6 9719else 9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9721/* end confdefs.h. */ 9722int i; 9723int 9724main () 9725{ 9726 9727 ; 9728 return 0; 9729} 9730_ACEOF 9731if ac_fn_c_try_link "$LINENO"; then : 9732 eval $cacheid=yes 9733else 9734 eval $cacheid=no 9735fi 9736rm -f core conftest.err conftest.$ac_objext \ 9737 conftest$ac_exeext conftest.$ac_ext 9738fi 9739 9740 9741 CFLAGS="$xorg_testset_save_CFLAGS" 9742 9743 eval supported=\$$cacheid 9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9745$as_echo "$supported" >&6; } 9746 if test "$supported" = "yes" ; then 9747 BASE_CFLAGS="$BASE_CFLAGS -Waddress" 9748 found="yes" 9749 fi 9750 fi 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766xorg_testset_save_CFLAGS="$CFLAGS" 9767 9768if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9769 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9771$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9772if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9773 $as_echo_n "(cached) " >&6 9774else 9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9776/* end confdefs.h. */ 9777int i; 9778_ACEOF 9779if ac_fn_c_try_compile "$LINENO"; then : 9780 xorg_cv_cc_flag_unknown_warning_option=yes 9781else 9782 xorg_cv_cc_flag_unknown_warning_option=no 9783fi 9784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9785fi 9786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9787$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9788 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9789 CFLAGS="$xorg_testset_save_CFLAGS" 9790fi 9791 9792if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 9793 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9794 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9795 fi 9796 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9798$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9799if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9800 $as_echo_n "(cached) " >&6 9801else 9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9803/* end confdefs.h. */ 9804int i; 9805_ACEOF 9806if ac_fn_c_try_compile "$LINENO"; then : 9807 xorg_cv_cc_flag_unused_command_line_argument=yes 9808else 9809 xorg_cv_cc_flag_unused_command_line_argument=no 9810fi 9811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9812fi 9813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9814$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9815 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9816 CFLAGS="$xorg_testset_save_CFLAGS" 9817fi 9818 9819found="no" 9820 9821 if test $found = "no" ; then 9822 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9823 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9824 fi 9825 9826 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 9827 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9828 fi 9829 9830 CFLAGS="$CFLAGS -Wint-to-pointer-cast" 9831 9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 9833$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 9834 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast 9835 if eval \${$cacheid+:} false; then : 9836 $as_echo_n "(cached) " >&6 9837else 9838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9839/* end confdefs.h. */ 9840int i; 9841int 9842main () 9843{ 9844 9845 ; 9846 return 0; 9847} 9848_ACEOF 9849if ac_fn_c_try_link "$LINENO"; then : 9850 eval $cacheid=yes 9851else 9852 eval $cacheid=no 9853fi 9854rm -f core conftest.err conftest.$ac_objext \ 9855 conftest$ac_exeext conftest.$ac_ext 9856fi 9857 9858 9859 CFLAGS="$xorg_testset_save_CFLAGS" 9860 9861 eval supported=\$$cacheid 9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9863$as_echo "$supported" >&6; } 9864 if test "$supported" = "yes" ; then 9865 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast" 9866 found="yes" 9867 fi 9868 fi 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884xorg_testset_save_CFLAGS="$CFLAGS" 9885 9886if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9887 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9889$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9890if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9891 $as_echo_n "(cached) " >&6 9892else 9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9894/* end confdefs.h. */ 9895int i; 9896_ACEOF 9897if ac_fn_c_try_compile "$LINENO"; then : 9898 xorg_cv_cc_flag_unknown_warning_option=yes 9899else 9900 xorg_cv_cc_flag_unknown_warning_option=no 9901fi 9902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9903fi 9904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9905$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9906 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9907 CFLAGS="$xorg_testset_save_CFLAGS" 9908fi 9909 9910if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 9911 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9912 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9913 fi 9914 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9916$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9917if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9918 $as_echo_n "(cached) " >&6 9919else 9920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9921/* end confdefs.h. */ 9922int i; 9923_ACEOF 9924if ac_fn_c_try_compile "$LINENO"; then : 9925 xorg_cv_cc_flag_unused_command_line_argument=yes 9926else 9927 xorg_cv_cc_flag_unused_command_line_argument=no 9928fi 9929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9930fi 9931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9932$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9933 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9934 CFLAGS="$xorg_testset_save_CFLAGS" 9935fi 9936 9937found="no" 9938 9939 if test $found = "no" ; then 9940 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 9941 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9942 fi 9943 9944 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 9945 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9946 fi 9947 9948 CFLAGS="$CFLAGS -Wpointer-to-int-cast" 9949 9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 9951$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 9952 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast 9953 if eval \${$cacheid+:} false; then : 9954 $as_echo_n "(cached) " >&6 9955else 9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9957/* end confdefs.h. */ 9958int i; 9959int 9960main () 9961{ 9962 9963 ; 9964 return 0; 9965} 9966_ACEOF 9967if ac_fn_c_try_link "$LINENO"; then : 9968 eval $cacheid=yes 9969else 9970 eval $cacheid=no 9971fi 9972rm -f core conftest.err conftest.$ac_objext \ 9973 conftest$ac_exeext conftest.$ac_ext 9974fi 9975 9976 9977 CFLAGS="$xorg_testset_save_CFLAGS" 9978 9979 eval supported=\$$cacheid 9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9981$as_echo "$supported" >&6; } 9982 if test "$supported" = "yes" ; then 9983 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast" 9984 found="yes" 9985 fi 9986 fi 9987 9988 9989fi 9990 9991 9992 9993 9994 9995 9996 9997 CWARNFLAGS="$BASE_CFLAGS" 9998 if test "x$GCC" = xyes ; then 9999 CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing" 10000 fi 10001 10002 10003 10004 10005 10006 10007 10008 10009# Check whether --enable-strict-compilation was given. 10010if test "${enable_strict_compilation+set}" = set; then : 10011 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 10012else 10013 STRICT_COMPILE=no 10014fi 10015 10016 10017 10018 10019 10020 10021STRICT_CFLAGS="" 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035xorg_testset_save_CFLAGS="$CFLAGS" 10036 10037if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 10038 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10040$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10041if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 10042 $as_echo_n "(cached) " >&6 10043else 10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10045/* end confdefs.h. */ 10046int i; 10047_ACEOF 10048if ac_fn_c_try_compile "$LINENO"; then : 10049 xorg_cv_cc_flag_unknown_warning_option=yes 10050else 10051 xorg_cv_cc_flag_unknown_warning_option=no 10052fi 10053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10054fi 10055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10056$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10057 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 10058 CFLAGS="$xorg_testset_save_CFLAGS" 10059fi 10060 10061if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 10062 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 10063 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10064 fi 10065 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10067$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10068if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 10069 $as_echo_n "(cached) " >&6 10070else 10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10072/* end confdefs.h. */ 10073int i; 10074_ACEOF 10075if ac_fn_c_try_compile "$LINENO"; then : 10076 xorg_cv_cc_flag_unused_command_line_argument=yes 10077else 10078 xorg_cv_cc_flag_unused_command_line_argument=no 10079fi 10080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10081fi 10082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10083$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10084 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 10085 CFLAGS="$xorg_testset_save_CFLAGS" 10086fi 10087 10088found="no" 10089 10090 if test $found = "no" ; then 10091 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 10092 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10093 fi 10094 10095 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 10096 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10097 fi 10098 10099 CFLAGS="$CFLAGS -pedantic" 10100 10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 10102$as_echo_n "checking if $CC supports -pedantic... " >&6; } 10103 cacheid=xorg_cv_cc_flag__pedantic 10104 if eval \${$cacheid+:} false; then : 10105 $as_echo_n "(cached) " >&6 10106else 10107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10108/* end confdefs.h. */ 10109int i; 10110int 10111main () 10112{ 10113 10114 ; 10115 return 0; 10116} 10117_ACEOF 10118if ac_fn_c_try_link "$LINENO"; then : 10119 eval $cacheid=yes 10120else 10121 eval $cacheid=no 10122fi 10123rm -f core conftest.err conftest.$ac_objext \ 10124 conftest$ac_exeext conftest.$ac_ext 10125fi 10126 10127 10128 CFLAGS="$xorg_testset_save_CFLAGS" 10129 10130 eval supported=\$$cacheid 10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10132$as_echo "$supported" >&6; } 10133 if test "$supported" = "yes" ; then 10134 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic" 10135 found="yes" 10136 fi 10137 fi 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153xorg_testset_save_CFLAGS="$CFLAGS" 10154 10155if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 10156 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10158$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10159if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 10160 $as_echo_n "(cached) " >&6 10161else 10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10163/* end confdefs.h. */ 10164int i; 10165_ACEOF 10166if ac_fn_c_try_compile "$LINENO"; then : 10167 xorg_cv_cc_flag_unknown_warning_option=yes 10168else 10169 xorg_cv_cc_flag_unknown_warning_option=no 10170fi 10171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10172fi 10173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10174$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10175 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 10176 CFLAGS="$xorg_testset_save_CFLAGS" 10177fi 10178 10179if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 10180 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 10181 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10182 fi 10183 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10185$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10186if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 10187 $as_echo_n "(cached) " >&6 10188else 10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10190/* end confdefs.h. */ 10191int i; 10192_ACEOF 10193if ac_fn_c_try_compile "$LINENO"; then : 10194 xorg_cv_cc_flag_unused_command_line_argument=yes 10195else 10196 xorg_cv_cc_flag_unused_command_line_argument=no 10197fi 10198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10199fi 10200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10201$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10202 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 10203 CFLAGS="$xorg_testset_save_CFLAGS" 10204fi 10205 10206found="no" 10207 10208 if test $found = "no" ; then 10209 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 10210 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10211 fi 10212 10213 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 10214 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10215 fi 10216 10217 CFLAGS="$CFLAGS -Werror" 10218 10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 10220$as_echo_n "checking if $CC supports -Werror... " >&6; } 10221 cacheid=xorg_cv_cc_flag__Werror 10222 if eval \${$cacheid+:} false; then : 10223 $as_echo_n "(cached) " >&6 10224else 10225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10226/* end confdefs.h. */ 10227int i; 10228int 10229main () 10230{ 10231 10232 ; 10233 return 0; 10234} 10235_ACEOF 10236if ac_fn_c_try_link "$LINENO"; then : 10237 eval $cacheid=yes 10238else 10239 eval $cacheid=no 10240fi 10241rm -f core conftest.err conftest.$ac_objext \ 10242 conftest$ac_exeext conftest.$ac_ext 10243fi 10244 10245 10246 CFLAGS="$xorg_testset_save_CFLAGS" 10247 10248 eval supported=\$$cacheid 10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10250$as_echo "$supported" >&6; } 10251 if test "$supported" = "yes" ; then 10252 STRICT_CFLAGS="$STRICT_CFLAGS -Werror" 10253 found="yes" 10254 fi 10255 fi 10256 10257 if test $found = "no" ; then 10258 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 10259 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10260 fi 10261 10262 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 10263 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10264 fi 10265 10266 CFLAGS="$CFLAGS -errwarn" 10267 10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10269$as_echo_n "checking if $CC supports -errwarn... " >&6; } 10270 cacheid=xorg_cv_cc_flag__errwarn 10271 if eval \${$cacheid+:} false; then : 10272 $as_echo_n "(cached) " >&6 10273else 10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10275/* end confdefs.h. */ 10276int i; 10277int 10278main () 10279{ 10280 10281 ; 10282 return 0; 10283} 10284_ACEOF 10285if ac_fn_c_try_link "$LINENO"; then : 10286 eval $cacheid=yes 10287else 10288 eval $cacheid=no 10289fi 10290rm -f core conftest.err conftest.$ac_objext \ 10291 conftest$ac_exeext conftest.$ac_ext 10292fi 10293 10294 10295 CFLAGS="$xorg_testset_save_CFLAGS" 10296 10297 eval supported=\$$cacheid 10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10299$as_echo "$supported" >&6; } 10300 if test "$supported" = "yes" ; then 10301 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn" 10302 found="yes" 10303 fi 10304 fi 10305 10306 10307 10308# Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not 10309# activate it with -Werror, so we add it here explicitly. 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323xorg_testset_save_CFLAGS="$CFLAGS" 10324 10325if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 10326 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10328$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10329if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 10330 $as_echo_n "(cached) " >&6 10331else 10332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10333/* end confdefs.h. */ 10334int i; 10335_ACEOF 10336if ac_fn_c_try_compile "$LINENO"; then : 10337 xorg_cv_cc_flag_unknown_warning_option=yes 10338else 10339 xorg_cv_cc_flag_unknown_warning_option=no 10340fi 10341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10342fi 10343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10344$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10345 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 10346 CFLAGS="$xorg_testset_save_CFLAGS" 10347fi 10348 10349if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 10350 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 10351 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10352 fi 10353 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10355$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10356if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 10357 $as_echo_n "(cached) " >&6 10358else 10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10360/* end confdefs.h. */ 10361int i; 10362_ACEOF 10363if ac_fn_c_try_compile "$LINENO"; then : 10364 xorg_cv_cc_flag_unused_command_line_argument=yes 10365else 10366 xorg_cv_cc_flag_unused_command_line_argument=no 10367fi 10368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10369fi 10370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10371$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10372 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 10373 CFLAGS="$xorg_testset_save_CFLAGS" 10374fi 10375 10376found="no" 10377 10378 if test $found = "no" ; then 10379 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 10380 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10381 fi 10382 10383 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 10384 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10385 fi 10386 10387 CFLAGS="$CFLAGS -Werror=attributes" 10388 10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10390$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; } 10391 cacheid=xorg_cv_cc_flag__Werror_attributes 10392 if eval \${$cacheid+:} false; then : 10393 $as_echo_n "(cached) " >&6 10394else 10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10396/* end confdefs.h. */ 10397int i; 10398int 10399main () 10400{ 10401 10402 ; 10403 return 0; 10404} 10405_ACEOF 10406if ac_fn_c_try_link "$LINENO"; then : 10407 eval $cacheid=yes 10408else 10409 eval $cacheid=no 10410fi 10411rm -f core conftest.err conftest.$ac_objext \ 10412 conftest$ac_exeext conftest.$ac_ext 10413fi 10414 10415 10416 CFLAGS="$xorg_testset_save_CFLAGS" 10417 10418 eval supported=\$$cacheid 10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10420$as_echo "$supported" >&6; } 10421 if test "$supported" = "yes" ; then 10422 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes" 10423 found="yes" 10424 fi 10425 fi 10426 10427 10428 10429if test "x$STRICT_COMPILE" = "xyes"; then 10430 BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS" 10431 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 10432fi 10433 10434 10435 10436 10437 10438 10439cat >>confdefs.h <<_ACEOF 10440#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 10441_ACEOF 10442 10443 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 10444 if test "x$PVM" = "x"; then 10445 PVM="0" 10446 fi 10447 10448cat >>confdefs.h <<_ACEOF 10449#define PACKAGE_VERSION_MINOR $PVM 10450_ACEOF 10451 10452 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 10453 if test "x$PVP" = "x"; then 10454 PVP="0" 10455 fi 10456 10457cat >>confdefs.h <<_ACEOF 10458#define PACKAGE_VERSION_PATCHLEVEL $PVP 10459_ACEOF 10460 10461 10462 10463CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 10464mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 10465|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 10466touch \$(top_srcdir)/ChangeLog; \ 10467echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 10468 10469 10470 10471 10472macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 10473INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 10474mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 10475|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 10476touch \$(top_srcdir)/INSTALL; \ 10477echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 10478 10479 10480 10481 10482 10483 10484case $host_os in 10485 solaris*) 10486 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 10487 # check for a man page file found in later versions that use 10488 # traditional section numbers instead 10489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10490$as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; } 10491if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then : 10492 $as_echo_n "(cached) " >&6 10493else 10494 test "$cross_compiling" = yes && 10495 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 10496if test -r "/usr/share/man/man7/attributes.7"; then 10497 ac_cv_file__usr_share_man_man7_attributes_7=yes 10498else 10499 ac_cv_file__usr_share_man_man7_attributes_7=no 10500fi 10501fi 10502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10503$as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10504if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then : 10505 SYSV_MAN_SECTIONS=false 10506else 10507 SYSV_MAN_SECTIONS=true 10508fi 10509 10510 ;; 10511 *) SYSV_MAN_SECTIONS=false ;; 10512esac 10513 10514if test x$APP_MAN_SUFFIX = x ; then 10515 APP_MAN_SUFFIX=1 10516fi 10517if test x$APP_MAN_DIR = x ; then 10518 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 10519fi 10520 10521if test x$LIB_MAN_SUFFIX = x ; then 10522 LIB_MAN_SUFFIX=3 10523fi 10524if test x$LIB_MAN_DIR = x ; then 10525 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 10526fi 10527 10528if test x$FILE_MAN_SUFFIX = x ; then 10529 case $SYSV_MAN_SECTIONS in 10530 true) FILE_MAN_SUFFIX=4 ;; 10531 *) FILE_MAN_SUFFIX=5 ;; 10532 esac 10533fi 10534if test x$FILE_MAN_DIR = x ; then 10535 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 10536fi 10537 10538if test x$MISC_MAN_SUFFIX = x ; then 10539 case $SYSV_MAN_SECTIONS in 10540 true) MISC_MAN_SUFFIX=5 ;; 10541 *) MISC_MAN_SUFFIX=7 ;; 10542 esac 10543fi 10544if test x$MISC_MAN_DIR = x ; then 10545 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 10546fi 10547 10548if test x$DRIVER_MAN_SUFFIX = x ; then 10549 case $SYSV_MAN_SECTIONS in 10550 true) DRIVER_MAN_SUFFIX=7 ;; 10551 *) DRIVER_MAN_SUFFIX=4 ;; 10552 esac 10553fi 10554if test x$DRIVER_MAN_DIR = x ; then 10555 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 10556fi 10557 10558if test x$ADMIN_MAN_SUFFIX = x ; then 10559 case $SYSV_MAN_SECTIONS in 10560 true) ADMIN_MAN_SUFFIX=1m ;; 10561 *) ADMIN_MAN_SUFFIX=8 ;; 10562 esac 10563fi 10564if test x$ADMIN_MAN_DIR = x ; then 10565 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 10566fi 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582XORG_MAN_PAGE="X Version 11" 10583 10584MAN_SUBSTS="\ 10585 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 10586 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 10587 -e 's|__xservername__|Xorg|g' \ 10588 -e 's|__xconfigfile__|xorg.conf|g' \ 10589 -e 's|__projectroot__|\$(prefix)|g' \ 10590 -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 10591 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 10592 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 10593 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 10594 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 10595 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 10596 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 10597 10598 10599 10600# Check whether --enable-silent-rules was given. 10601if test "${enable_silent_rules+set}" = set; then : 10602 enableval=$enable_silent_rules; 10603fi 10604 10605case $enable_silent_rules in # ((( 10606 yes) AM_DEFAULT_VERBOSITY=0;; 10607 no) AM_DEFAULT_VERBOSITY=1;; 10608 *) AM_DEFAULT_VERBOSITY=0;; 10609esac 10610am_make=${MAKE-make} 10611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10612$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 10613if ${am_cv_make_support_nested_variables+:} false; then : 10614 $as_echo_n "(cached) " >&6 10615else 10616 if $as_echo 'TRUE=$(BAR$(V)) 10617BAR0=false 10618BAR1=true 10619V=1 10620am__doit: 10621 @$(TRUE) 10622.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 10623 am_cv_make_support_nested_variables=yes 10624else 10625 am_cv_make_support_nested_variables=no 10626fi 10627fi 10628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10629$as_echo "$am_cv_make_support_nested_variables" >&6; } 10630if test $am_cv_make_support_nested_variables = yes; then 10631 AM_V='$(V)' 10632 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 10633else 10634 AM_V=$AM_DEFAULT_VERBOSITY 10635 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 10636fi 10637AM_BACKSLASH='\' 10638 10639 10640 10641 10642 10643# Require X.Org's font util macros 1.2 or later 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656# mkfontscale 10657 10658 # Extract the first word of "mkfontscale", so it can be a program name with args. 10659set dummy mkfontscale; ac_word=$2 10660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10661$as_echo_n "checking for $ac_word... " >&6; } 10662if ${ac_cv_path_MKFONTSCALE+:} false; then : 10663 $as_echo_n "(cached) " >&6 10664else 10665 case $MKFONTSCALE in 10666 [\\/]* | ?:[\\/]*) 10667 ac_cv_path_MKFONTSCALE="$MKFONTSCALE" # Let the user override the test with a path. 10668 ;; 10669 *) 10670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10671for as_dir in $PATH 10672do 10673 IFS=$as_save_IFS 10674 test -z "$as_dir" && as_dir=. 10675 for ac_exec_ext in '' $ac_executable_extensions; do 10676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10677 ac_cv_path_MKFONTSCALE="$as_dir/$ac_word$ac_exec_ext" 10678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10679 break 2 10680 fi 10681done 10682 done 10683IFS=$as_save_IFS 10684 10685 ;; 10686esac 10687fi 10688MKFONTSCALE=$ac_cv_path_MKFONTSCALE 10689if test -n "$MKFONTSCALE"; then 10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTSCALE" >&5 10691$as_echo "$MKFONTSCALE" >&6; } 10692else 10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10694$as_echo "no" >&6; } 10695fi 10696 10697 10698 if test x"$MKFONTSCALE" = x; then 10699 as_fn_error $? "mkfontscale is required to build $PACKAGE_NAME." "$LINENO" 5 10700 fi 10701 10702 10703# Choose whether or not to compress encodings - default is to compress all 10704 10705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if small encodings should be compressed" >&5 10706$as_echo_n "checking if small encodings should be compressed... " >&6; } 10707# Check whether --enable-gzip-small-encodings was given. 10708if test "${enable_gzip_small_encodings+set}" = set; then : 10709 enableval=$enable_gzip_small_encodings; GZIP_SMALL="$enableval" 10710else 10711 GZIP_SMALL="yes" 10712fi 10713 10714 if test x$GZIP_SMALL = xyes; then 10715 GZIP_SMALL_TRUE= 10716 GZIP_SMALL_FALSE='#' 10717else 10718 GZIP_SMALL_TRUE='#' 10719 GZIP_SMALL_FALSE= 10720fi 10721 10722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${GZIP_SMALL}" >&5 10723$as_echo "${GZIP_SMALL}" >&6; } 10724 10725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if large encodings should be compressed" >&5 10726$as_echo_n "checking if large encodings should be compressed... " >&6; } 10727# Check whether --enable-gzip-large-encodings was given. 10728if test "${enable_gzip_large_encodings+set}" = set; then : 10729 enableval=$enable_gzip_large_encodings; GZIP_LARGE="$enableval" 10730else 10731 GZIP_LARGE="yes" 10732fi 10733 10734 if test x$GZIP_LARGE = xyes; then 10735 GZIP_LARGE_TRUE= 10736 GZIP_LARGE_FALSE='#' 10737else 10738 GZIP_LARGE_TRUE='#' 10739 GZIP_LARGE_FALSE= 10740fi 10741 10742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${GZIP_LARGE}" >&5 10743$as_echo "${GZIP_LARGE}" >&6; } 10744 10745# gzip 10746 10747if test x$GZIP_SMALL = xyes -o x$GZIP_LARGE = xyes ; then 10748 # Extract the first word of "gzip", so it can be a program name with args. 10749set dummy gzip; ac_word=$2 10750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10751$as_echo_n "checking for $ac_word... " >&6; } 10752if ${ac_cv_path_GZIP+:} false; then : 10753 $as_echo_n "(cached) " >&6 10754else 10755 case $GZIP in 10756 [\\/]* | ?:[\\/]*) 10757 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. 10758 ;; 10759 *) 10760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10761for as_dir in $PATH 10762do 10763 IFS=$as_save_IFS 10764 test -z "$as_dir" && as_dir=. 10765 for ac_exec_ext in '' $ac_executable_extensions; do 10766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10767 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext" 10768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10769 break 2 10770 fi 10771done 10772 done 10773IFS=$as_save_IFS 10774 10775 ;; 10776esac 10777fi 10778GZIP=$ac_cv_path_GZIP 10779if test -n "$GZIP"; then 10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5 10781$as_echo "$GZIP" >&6; } 10782else 10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10784$as_echo "no" >&6; } 10785fi 10786 10787 10788 if [ -z $GZIP ]; then 10789 as_fn_error $? "gzip is needed to compress font encodings" "$LINENO" 5 10790 fi 10791fi 10792 10793 10794 10795 10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 10797$as_echo_n "checking for root directory for font files... " >&6; } 10798 10799# Check whether --with-fontrootdir was given. 10800if test "${with_fontrootdir+set}" = set; then : 10801 withval=$with_fontrootdir; FONTROOTDIR="$withval" 10802fi 10803 10804 # if --with-fontrootdir not specified... 10805 if test "x${FONTROOTDIR}" = "x"; then 10806 FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 10807 fi 10808 # ...and if pkg-config didn't find fontdir in fontutil.pc... 10809 if test "x${FONTROOTDIR}" = "x"; then 10810 FONTROOTDIR="${datadir}/fonts/X11" 10811 fi 10812 10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 10814$as_echo "${FONTROOTDIR}" >&6; } 10815 10816 10817 10818 10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for encodings files" >&5 10820$as_echo_n "checking for directory for encodings files... " >&6; } 10821 10822# Check whether --with-encodingsdir was given. 10823if test "${with_encodingsdir+set}" = set; then : 10824 withval=$with_encodingsdir; ENCODINGSDIR="${withval}" 10825else 10826 ENCODINGSDIR='${FONTROOTDIR}/encodings' 10827fi 10828 10829 10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ENCODINGSDIR}" >&5 10831$as_echo "${ENCODINGSDIR}" >&6; } 10832 10833 10834ac_config_files="$ac_config_files Makefile large/Makefile" 10835 10836cat >confcache <<\_ACEOF 10837# This file is a shell script that caches the results of configure 10838# tests run on this system so they can be shared between configure 10839# scripts and configure runs, see configure's option --config-cache. 10840# It is not useful on other systems. If it contains results you don't 10841# want to keep, you may remove or edit it. 10842# 10843# config.status only pays attention to the cache file if you give it 10844# the --recheck option to rerun configure. 10845# 10846# `ac_cv_env_foo' variables (set or unset) will be overridden when 10847# loading this file, other *unset* `ac_cv_foo' will be assigned the 10848# following values. 10849 10850_ACEOF 10851 10852# The following way of writing the cache mishandles newlines in values, 10853# but we know of no workaround that is simple, portable, and efficient. 10854# So, we kill variables containing newlines. 10855# Ultrix sh set writes to stderr and can't be redirected directly, 10856# and sets the high bit in the cache file unless we assign to the vars. 10857( 10858 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 10859 eval ac_val=\$$ac_var 10860 case $ac_val in #( 10861 *${as_nl}*) 10862 case $ac_var in #( 10863 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10864$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10865 esac 10866 case $ac_var in #( 10867 _ | IFS | as_nl) ;; #( 10868 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 10869 *) { eval $ac_var=; unset $ac_var;} ;; 10870 esac ;; 10871 esac 10872 done 10873 10874 (set) 2>&1 | 10875 case $as_nl`(ac_space=' '; set) 2>&1` in #( 10876 *${as_nl}ac_space=\ *) 10877 # `set' does not quote correctly, so add quotes: double-quote 10878 # substitution turns \\\\ into \\, and sed turns \\ into \. 10879 sed -n \ 10880 "s/'/'\\\\''/g; 10881 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 10882 ;; #( 10883 *) 10884 # `set' quotes correctly as required by POSIX, so do not add quotes. 10885 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 10886 ;; 10887 esac | 10888 sort 10889) | 10890 sed ' 10891 /^ac_cv_env_/b end 10892 t clear 10893 :clear 10894 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 10895 t end 10896 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 10897 :end' >>confcache 10898if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 10899 if test -w "$cache_file"; then 10900 if test "x$cache_file" != "x/dev/null"; then 10901 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 10902$as_echo "$as_me: updating cache $cache_file" >&6;} 10903 if test ! -f "$cache_file" || test -h "$cache_file"; then 10904 cat confcache >"$cache_file" 10905 else 10906 case $cache_file in #( 10907 */* | ?:*) 10908 mv -f confcache "$cache_file"$$ && 10909 mv -f "$cache_file"$$ "$cache_file" ;; #( 10910 *) 10911 mv -f confcache "$cache_file" ;; 10912 esac 10913 fi 10914 fi 10915 else 10916 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 10917$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 10918 fi 10919fi 10920rm -f confcache 10921 10922test "x$prefix" = xNONE && prefix=$ac_default_prefix 10923# Let make expand exec_prefix. 10924test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 10925 10926# Transform confdefs.h into DEFS. 10927# Protect against shell expansion while executing Makefile rules. 10928# Protect against Makefile macro expansion. 10929# 10930# If the first sed substitution is executed (which looks for macros that 10931# take arguments), then branch to the quote section. Otherwise, 10932# look for a macro that doesn't take arguments. 10933ac_script=' 10934:mline 10935/\\$/{ 10936 N 10937 s,\\\n,, 10938 b mline 10939} 10940t clear 10941:clear 10942s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 10943t quote 10944s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 10945t quote 10946b any 10947:quote 10948s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 10949s/\[/\\&/g 10950s/\]/\\&/g 10951s/\$/$$/g 10952H 10953:any 10954${ 10955 g 10956 s/^\n// 10957 s/\n/ /g 10958 p 10959} 10960' 10961DEFS=`sed -n "$ac_script" confdefs.h` 10962 10963 10964ac_libobjs= 10965ac_ltlibobjs= 10966U= 10967for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10968 # 1. Remove the extension, and $U if already installed. 10969 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10970 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 10971 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10972 # will be set to the directory where LIBOBJS objects are built. 10973 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 10974 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 10975done 10976LIBOBJS=$ac_libobjs 10977 10978LTLIBOBJS=$ac_ltlibobjs 10979 10980 10981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 10982$as_echo_n "checking that generated files are newer than configure... " >&6; } 10983 if test -n "$am_sleep_pid"; then 10984 # Hide warnings about reused PIDs. 10985 wait $am_sleep_pid 2>/dev/null 10986 fi 10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 10988$as_echo "done" >&6; } 10989 if test -n "$EXEEXT"; then 10990 am__EXEEXT_TRUE= 10991 am__EXEEXT_FALSE='#' 10992else 10993 am__EXEEXT_TRUE='#' 10994 am__EXEEXT_FALSE= 10995fi 10996 10997if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 10998 as_fn_error $? "conditional \"AMDEP\" was never defined. 10999Usually this means the macro was only invoked conditionally." "$LINENO" 5 11000fi 11001if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11002 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 11003Usually this means the macro was only invoked conditionally." "$LINENO" 5 11004fi 11005if test -z "${GZIP_SMALL_TRUE}" && test -z "${GZIP_SMALL_FALSE}"; then 11006 as_fn_error $? "conditional \"GZIP_SMALL\" was never defined. 11007Usually this means the macro was only invoked conditionally." "$LINENO" 5 11008fi 11009if test -z "${GZIP_LARGE_TRUE}" && test -z "${GZIP_LARGE_FALSE}"; then 11010 as_fn_error $? "conditional \"GZIP_LARGE\" was never defined. 11011Usually this means the macro was only invoked conditionally." "$LINENO" 5 11012fi 11013 11014: "${CONFIG_STATUS=./config.status}" 11015ac_write_fail=0 11016ac_clean_files_save=$ac_clean_files 11017ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11018{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11019$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11020as_write_fail=0 11021cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 11022#! $SHELL 11023# Generated by $as_me. 11024# Run this file to recreate the current configuration. 11025# Compiler output produced by configure, useful for debugging 11026# configure, is in config.log if it exists. 11027 11028debug=false 11029ac_cs_recheck=false 11030ac_cs_silent=false 11031 11032SHELL=\${CONFIG_SHELL-$SHELL} 11033export SHELL 11034_ASEOF 11035cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 11036## -------------------- ## 11037## M4sh Initialization. ## 11038## -------------------- ## 11039 11040# Be more Bourne compatible 11041DUALCASE=1; export DUALCASE # for MKS sh 11042if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11043 emulate sh 11044 NULLCMD=: 11045 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 11046 # is contrary to our usage. Disable this feature. 11047 alias -g '${1+"$@"}'='"$@"' 11048 setopt NO_GLOB_SUBST 11049else 11050 case `(set -o) 2>/dev/null` in #( 11051 *posix*) : 11052 set -o posix ;; #( 11053 *) : 11054 ;; 11055esac 11056fi 11057 11058 11059as_nl=' 11060' 11061export as_nl 11062# Printing a long string crashes Solaris 7 /usr/bin/printf. 11063as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 11064as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 11065as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 11066# Prefer a ksh shell builtin over an external printf program on Solaris, 11067# but without wasting forks for bash or zsh. 11068if test -z "$BASH_VERSION$ZSH_VERSION" \ 11069 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 11070 as_echo='print -r --' 11071 as_echo_n='print -rn --' 11072elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 11073 as_echo='printf %s\n' 11074 as_echo_n='printf %s' 11075else 11076 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 11077 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 11078 as_echo_n='/usr/ucb/echo -n' 11079 else 11080 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 11081 as_echo_n_body='eval 11082 arg=$1; 11083 case $arg in #( 11084 *"$as_nl"*) 11085 expr "X$arg" : "X\\(.*\\)$as_nl"; 11086 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 11087 esac; 11088 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 11089 ' 11090 export as_echo_n_body 11091 as_echo_n='sh -c $as_echo_n_body as_echo' 11092 fi 11093 export as_echo_body 11094 as_echo='sh -c $as_echo_body as_echo' 11095fi 11096 11097# The user is always right. 11098if test "${PATH_SEPARATOR+set}" != set; then 11099 PATH_SEPARATOR=: 11100 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 11101 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 11102 PATH_SEPARATOR=';' 11103 } 11104fi 11105 11106 11107# IFS 11108# We need space, tab and new line, in precisely that order. Quoting is 11109# there to prevent editors from complaining about space-tab. 11110# (If _AS_PATH_WALK were called with IFS unset, it would disable word 11111# splitting by setting IFS to empty value.) 11112IFS=" "" $as_nl" 11113 11114# Find who we are. Look in the path if we contain no directory separator. 11115as_myself= 11116case $0 in #(( 11117 *[\\/]* ) as_myself=$0 ;; 11118 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11119for as_dir in $PATH 11120do 11121 IFS=$as_save_IFS 11122 test -z "$as_dir" && as_dir=. 11123 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11124 done 11125IFS=$as_save_IFS 11126 11127 ;; 11128esac 11129# We did not find ourselves, most probably we were run as `sh COMMAND' 11130# in which case we are not to be found in the path. 11131if test "x$as_myself" = x; then 11132 as_myself=$0 11133fi 11134if test ! -f "$as_myself"; then 11135 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11136 exit 1 11137fi 11138 11139# Unset variables that we do not need and which cause bugs (e.g. in 11140# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 11141# suppresses any "Segmentation fault" message there. '((' could 11142# trigger a bug in pdksh 5.2.14. 11143for as_var in BASH_ENV ENV MAIL MAILPATH 11144do eval test x\${$as_var+set} = xset \ 11145 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11146done 11147PS1='$ ' 11148PS2='> ' 11149PS4='+ ' 11150 11151# NLS nuisances. 11152LC_ALL=C 11153export LC_ALL 11154LANGUAGE=C 11155export LANGUAGE 11156 11157# CDPATH. 11158(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11159 11160 11161# as_fn_error STATUS ERROR [LINENO LOG_FD] 11162# ---------------------------------------- 11163# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 11164# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 11165# script with STATUS, using 1 if that was 0. 11166as_fn_error () 11167{ 11168 as_status=$1; test $as_status -eq 0 && as_status=1 11169 if test "$4"; then 11170 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 11171 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 11172 fi 11173 $as_echo "$as_me: error: $2" >&2 11174 as_fn_exit $as_status 11175} # as_fn_error 11176 11177 11178# as_fn_set_status STATUS 11179# ----------------------- 11180# Set $? to STATUS, without forking. 11181as_fn_set_status () 11182{ 11183 return $1 11184} # as_fn_set_status 11185 11186# as_fn_exit STATUS 11187# ----------------- 11188# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 11189as_fn_exit () 11190{ 11191 set +e 11192 as_fn_set_status $1 11193 exit $1 11194} # as_fn_exit 11195 11196# as_fn_unset VAR 11197# --------------- 11198# Portably unset VAR. 11199as_fn_unset () 11200{ 11201 { eval $1=; unset $1;} 11202} 11203as_unset=as_fn_unset 11204# as_fn_append VAR VALUE 11205# ---------------------- 11206# Append the text in VALUE to the end of the definition contained in VAR. Take 11207# advantage of any shell optimizations that allow amortized linear growth over 11208# repeated appends, instead of the typical quadratic growth present in naive 11209# implementations. 11210if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11211 eval 'as_fn_append () 11212 { 11213 eval $1+=\$2 11214 }' 11215else 11216 as_fn_append () 11217 { 11218 eval $1=\$$1\$2 11219 } 11220fi # as_fn_append 11221 11222# as_fn_arith ARG... 11223# ------------------ 11224# Perform arithmetic evaluation on the ARGs, and store the result in the 11225# global $as_val. Take advantage of shells that can avoid forks. The arguments 11226# must be portable across $(()) and expr. 11227if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11228 eval 'as_fn_arith () 11229 { 11230 as_val=$(( $* )) 11231 }' 11232else 11233 as_fn_arith () 11234 { 11235 as_val=`expr "$@" || test $? -eq 1` 11236 } 11237fi # as_fn_arith 11238 11239 11240if expr a : '\(a\)' >/dev/null 2>&1 && 11241 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11242 as_expr=expr 11243else 11244 as_expr=false 11245fi 11246 11247if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 11248 as_basename=basename 11249else 11250 as_basename=false 11251fi 11252 11253if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 11254 as_dirname=dirname 11255else 11256 as_dirname=false 11257fi 11258 11259as_me=`$as_basename -- "$0" || 11260$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11261 X"$0" : 'X\(//\)$' \| \ 11262 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11263$as_echo X/"$0" | 11264 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11265 s//\1/ 11266 q 11267 } 11268 /^X\/\(\/\/\)$/{ 11269 s//\1/ 11270 q 11271 } 11272 /^X\/\(\/\).*/{ 11273 s//\1/ 11274 q 11275 } 11276 s/.*/./; q'` 11277 11278# Avoid depending upon Character Ranges. 11279as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11280as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 11281as_cr_Letters=$as_cr_letters$as_cr_LETTERS 11282as_cr_digits='0123456789' 11283as_cr_alnum=$as_cr_Letters$as_cr_digits 11284 11285ECHO_C= ECHO_N= ECHO_T= 11286case `echo -n x` in #((((( 11287-n*) 11288 case `echo 'xy\c'` in 11289 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 11290 xy) ECHO_C='\c';; 11291 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 11292 ECHO_T=' ';; 11293 esac;; 11294*) 11295 ECHO_N='-n';; 11296esac 11297 11298rm -f conf$$ conf$$.exe conf$$.file 11299if test -d conf$$.dir; then 11300 rm -f conf$$.dir/conf$$.file 11301else 11302 rm -f conf$$.dir 11303 mkdir conf$$.dir 2>/dev/null 11304fi 11305if (echo >conf$$.file) 2>/dev/null; then 11306 if ln -s conf$$.file conf$$ 2>/dev/null; then 11307 as_ln_s='ln -s' 11308 # ... but there are two gotchas: 11309 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11310 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11311 # In both cases, we have to default to `cp -pR'. 11312 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11313 as_ln_s='cp -pR' 11314 elif ln conf$$.file conf$$ 2>/dev/null; then 11315 as_ln_s=ln 11316 else 11317 as_ln_s='cp -pR' 11318 fi 11319else 11320 as_ln_s='cp -pR' 11321fi 11322rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 11323rmdir conf$$.dir 2>/dev/null 11324 11325 11326# as_fn_mkdir_p 11327# ------------- 11328# Create "$as_dir" as a directory, including parents if necessary. 11329as_fn_mkdir_p () 11330{ 11331 11332 case $as_dir in #( 11333 -*) as_dir=./$as_dir;; 11334 esac 11335 test -d "$as_dir" || eval $as_mkdir_p || { 11336 as_dirs= 11337 while :; do 11338 case $as_dir in #( 11339 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11340 *) as_qdir=$as_dir;; 11341 esac 11342 as_dirs="'$as_qdir' $as_dirs" 11343 as_dir=`$as_dirname -- "$as_dir" || 11344$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11345 X"$as_dir" : 'X\(//\)[^/]' \| \ 11346 X"$as_dir" : 'X\(//\)$' \| \ 11347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11348$as_echo X"$as_dir" | 11349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11350 s//\1/ 11351 q 11352 } 11353 /^X\(\/\/\)[^/].*/{ 11354 s//\1/ 11355 q 11356 } 11357 /^X\(\/\/\)$/{ 11358 s//\1/ 11359 q 11360 } 11361 /^X\(\/\).*/{ 11362 s//\1/ 11363 q 11364 } 11365 s/.*/./; q'` 11366 test -d "$as_dir" && break 11367 done 11368 test -z "$as_dirs" || eval "mkdir $as_dirs" 11369 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 11370 11371 11372} # as_fn_mkdir_p 11373if mkdir -p . 2>/dev/null; then 11374 as_mkdir_p='mkdir -p "$as_dir"' 11375else 11376 test -d ./-p && rmdir ./-p 11377 as_mkdir_p=false 11378fi 11379 11380 11381# as_fn_executable_p FILE 11382# ----------------------- 11383# Test if FILE is an executable regular file. 11384as_fn_executable_p () 11385{ 11386 test -f "$1" && test -x "$1" 11387} # as_fn_executable_p 11388as_test_x='test -x' 11389as_executable_p=as_fn_executable_p 11390 11391# Sed expression to map a string onto a valid CPP name. 11392as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 11393 11394# Sed expression to map a string onto a valid variable name. 11395as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 11396 11397 11398exec 6>&1 11399## ----------------------------------- ## 11400## Main body of $CONFIG_STATUS script. ## 11401## ----------------------------------- ## 11402_ASEOF 11403test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 11404 11405cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11406# Save the log message, to keep $0 and so on meaningful, and to 11407# report actual input values of CONFIG_FILES etc. instead of their 11408# values after options handling. 11409ac_log=" 11410This file was extended by encodings $as_me 1.0.5, which was 11411generated by GNU Autoconf 2.69. Invocation command line was 11412 11413 CONFIG_FILES = $CONFIG_FILES 11414 CONFIG_HEADERS = $CONFIG_HEADERS 11415 CONFIG_LINKS = $CONFIG_LINKS 11416 CONFIG_COMMANDS = $CONFIG_COMMANDS 11417 $ $0 $@ 11418 11419on `(hostname || uname -n) 2>/dev/null | sed 1q` 11420" 11421 11422_ACEOF 11423 11424case $ac_config_files in *" 11425"*) set x $ac_config_files; shift; ac_config_files=$*;; 11426esac 11427 11428 11429 11430cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11431# Files that config.status was made for. 11432config_files="$ac_config_files" 11433config_commands="$ac_config_commands" 11434 11435_ACEOF 11436 11437cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11438ac_cs_usage="\ 11439\`$as_me' instantiates files and other configuration actions 11440from templates according to the current configuration. Unless the files 11441and actions are specified as TAGs, all are instantiated by default. 11442 11443Usage: $0 [OPTION]... [TAG]... 11444 11445 -h, --help print this help, then exit 11446 -V, --version print version number and configuration settings, then exit 11447 --config print configuration, then exit 11448 -q, --quiet, --silent 11449 do not print progress messages 11450 -d, --debug don't remove temporary files 11451 --recheck update $as_me by reconfiguring in the same conditions 11452 --file=FILE[:TEMPLATE] 11453 instantiate the configuration file FILE 11454 11455Configuration files: 11456$config_files 11457 11458Configuration commands: 11459$config_commands 11460 11461Report bugs to <https://gitlab.freedesktop.org/xorg/font/encodings/issues>." 11462 11463_ACEOF 11464cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11465ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11466ac_cs_version="\\ 11467encodings config.status 1.0.5 11468configured by $0, generated by GNU Autoconf 2.69, 11469 with options \\"\$ac_cs_config\\" 11470 11471Copyright (C) 2012 Free Software Foundation, Inc. 11472This config.status script is free software; the Free Software Foundation 11473gives unlimited permission to copy, distribute and modify it." 11474 11475ac_pwd='$ac_pwd' 11476srcdir='$srcdir' 11477INSTALL='$INSTALL' 11478MKDIR_P='$MKDIR_P' 11479AWK='$AWK' 11480test -n "\$AWK" || AWK=awk 11481_ACEOF 11482 11483cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11484# The default lists apply if the user does not specify any file. 11485ac_need_defaults=: 11486while test $# != 0 11487do 11488 case $1 in 11489 --*=?*) 11490 ac_option=`expr "X$1" : 'X\([^=]*\)='` 11491 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 11492 ac_shift=: 11493 ;; 11494 --*=) 11495 ac_option=`expr "X$1" : 'X\([^=]*\)='` 11496 ac_optarg= 11497 ac_shift=: 11498 ;; 11499 *) 11500 ac_option=$1 11501 ac_optarg=$2 11502 ac_shift=shift 11503 ;; 11504 esac 11505 11506 case $ac_option in 11507 # Handling of the options. 11508 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11509 ac_cs_recheck=: ;; 11510 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11511 $as_echo "$ac_cs_version"; exit ;; 11512 --config | --confi | --conf | --con | --co | --c ) 11513 $as_echo "$ac_cs_config"; exit ;; 11514 --debug | --debu | --deb | --de | --d | -d ) 11515 debug=: ;; 11516 --file | --fil | --fi | --f ) 11517 $ac_shift 11518 case $ac_optarg in 11519 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11520 '') as_fn_error $? "missing file argument" ;; 11521 esac 11522 as_fn_append CONFIG_FILES " '$ac_optarg'" 11523 ac_need_defaults=false;; 11524 --he | --h | --help | --hel | -h ) 11525 $as_echo "$ac_cs_usage"; exit ;; 11526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11527 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11528 ac_cs_silent=: ;; 11529 11530 # This is an error. 11531 -*) as_fn_error $? "unrecognized option: \`$1' 11532Try \`$0 --help' for more information." ;; 11533 11534 *) as_fn_append ac_config_targets " $1" 11535 ac_need_defaults=false ;; 11536 11537 esac 11538 shift 11539done 11540 11541ac_configure_extra_args= 11542 11543if $ac_cs_silent; then 11544 exec 6>/dev/null 11545 ac_configure_extra_args="$ac_configure_extra_args --silent" 11546fi 11547 11548_ACEOF 11549cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11550if \$ac_cs_recheck; then 11551 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11552 shift 11553 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 11554 CONFIG_SHELL='$SHELL' 11555 export CONFIG_SHELL 11556 exec "\$@" 11557fi 11558 11559_ACEOF 11560cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11561exec 5>>config.log 11562{ 11563 echo 11564 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11565## Running $as_me. ## 11566_ASBOX 11567 $as_echo "$ac_log" 11568} >&5 11569 11570_ACEOF 11571cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11572# 11573# INIT-COMMANDS 11574# 11575AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 11576 11577_ACEOF 11578 11579cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11580 11581# Handling of arguments. 11582for ac_config_target in $ac_config_targets 11583do 11584 case $ac_config_target in 11585 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 11586 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 11587 "large/Makefile") CONFIG_FILES="$CONFIG_FILES large/Makefile" ;; 11588 11589 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 11590 esac 11591done 11592 11593 11594# If the user did not use the arguments to specify the items to instantiate, 11595# then the envvar interface is used. Set only those that are not. 11596# We use the long form for the default assignment because of an extremely 11597# bizarre bug on SunOS 4.1.3. 11598if $ac_need_defaults; then 11599 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11600 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11601fi 11602 11603# Have a temporary directory for convenience. Make it in the build tree 11604# simply because there is no reason against having it here, and in addition, 11605# creating and moving files from /tmp can sometimes cause problems. 11606# Hook for its removal unless debugging. 11607# Note that there is a small window in which the directory will not be cleaned: 11608# after its creation but before its name has been assigned to `$tmp'. 11609$debug || 11610{ 11611 tmp= ac_tmp= 11612 trap 'exit_status=$? 11613 : "${ac_tmp:=$tmp}" 11614 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 11615' 0 11616 trap 'as_fn_exit 1' 1 2 13 15 11617} 11618# Create a (secure) tmp directory for tmp files. 11619 11620{ 11621 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 11622 test -d "$tmp" 11623} || 11624{ 11625 tmp=./conf$$-$RANDOM 11626 (umask 077 && mkdir "$tmp") 11627} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 11628ac_tmp=$tmp 11629 11630# Set up the scripts for CONFIG_FILES section. 11631# No need to generate them if there are no CONFIG_FILES. 11632# This happens for instance with `./config.status config.h'. 11633if test -n "$CONFIG_FILES"; then 11634 11635 11636ac_cr=`echo X | tr X '\015'` 11637# On cygwin, bash can eat \r inside `` if the user requested igncr. 11638# But we know of no other shell where ac_cr would be empty at this 11639# point, so we can use a bashism as a fallback. 11640if test "x$ac_cr" = x; then 11641 eval ac_cr=\$\'\\r\' 11642fi 11643ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 11644if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 11645 ac_cs_awk_cr='\\r' 11646else 11647 ac_cs_awk_cr=$ac_cr 11648fi 11649 11650echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 11651_ACEOF 11652 11653 11654{ 11655 echo "cat >conf$$subs.awk <<_ACEOF" && 11656 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 11657 echo "_ACEOF" 11658} >conf$$subs.sh || 11659 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11660ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 11661ac_delim='%!_!# ' 11662for ac_last_try in false false false false false :; do 11663 . ./conf$$subs.sh || 11664 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11665 11666 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 11667 if test $ac_delim_n = $ac_delim_num; then 11668 break 11669 elif $ac_last_try; then 11670 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11671 else 11672 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11673 fi 11674done 11675rm -f conf$$subs.sh 11676 11677cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11678cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 11679_ACEOF 11680sed -n ' 11681h 11682s/^/S["/; s/!.*/"]=/ 11683p 11684g 11685s/^[^!]*!// 11686:repl 11687t repl 11688s/'"$ac_delim"'$// 11689t delim 11690:nl 11691h 11692s/\(.\{148\}\)..*/\1/ 11693t more1 11694s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 11695p 11696n 11697b repl 11698:more1 11699s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 11700p 11701g 11702s/.\{148\}// 11703t nl 11704:delim 11705h 11706s/\(.\{148\}\)..*/\1/ 11707t more2 11708s/["\\]/\\&/g; s/^/"/; s/$/"/ 11709p 11710b 11711:more2 11712s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 11713p 11714g 11715s/.\{148\}// 11716t delim 11717' <conf$$subs.awk | sed ' 11718/^[^""]/{ 11719 N 11720 s/\n// 11721} 11722' >>$CONFIG_STATUS || ac_write_fail=1 11723rm -f conf$$subs.awk 11724cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11725_ACAWK 11726cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 11727 for (key in S) S_is_set[key] = 1 11728 FS = "" 11729 11730} 11731{ 11732 line = $ 0 11733 nfields = split(line, field, "@") 11734 substed = 0 11735 len = length(field[1]) 11736 for (i = 2; i < nfields; i++) { 11737 key = field[i] 11738 keylen = length(key) 11739 if (S_is_set[key]) { 11740 value = S[key] 11741 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 11742 len += length(value) + length(field[++i]) 11743 substed = 1 11744 } else 11745 len += 1 + keylen 11746 } 11747 11748 print line 11749} 11750 11751_ACAWK 11752_ACEOF 11753cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11754if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 11755 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 11756else 11757 cat 11758fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 11759 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 11760_ACEOF 11761 11762# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 11763# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 11764# trailing colons and then remove the whole line if VPATH becomes empty 11765# (actually we leave an empty line to preserve line numbers). 11766if test "x$srcdir" = x.; then 11767 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 11768h 11769s/// 11770s/^/:/ 11771s/[ ]*$/:/ 11772s/:\$(srcdir):/:/g 11773s/:\${srcdir}:/:/g 11774s/:@srcdir@:/:/g 11775s/^:*// 11776s/:*$// 11777x 11778s/\(=[ ]*\).*/\1/ 11779G 11780s/\n// 11781s/^[^=]*=[ ]*$// 11782}' 11783fi 11784 11785cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11786fi # test -n "$CONFIG_FILES" 11787 11788 11789eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 11790shift 11791for ac_tag 11792do 11793 case $ac_tag in 11794 :[FHLC]) ac_mode=$ac_tag; continue;; 11795 esac 11796 case $ac_mode$ac_tag in 11797 :[FHL]*:*);; 11798 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 11799 :[FH]-) ac_tag=-:-;; 11800 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 11801 esac 11802 ac_save_IFS=$IFS 11803 IFS=: 11804 set x $ac_tag 11805 IFS=$ac_save_IFS 11806 shift 11807 ac_file=$1 11808 shift 11809 11810 case $ac_mode in 11811 :L) ac_source=$1;; 11812 :[FH]) 11813 ac_file_inputs= 11814 for ac_f 11815 do 11816 case $ac_f in 11817 -) ac_f="$ac_tmp/stdin";; 11818 *) # Look for the file first in the build tree, then in the source tree 11819 # (if the path is not absolute). The absolute path cannot be DOS-style, 11820 # because $ac_f cannot contain `:'. 11821 test -f "$ac_f" || 11822 case $ac_f in 11823 [\\/$]*) false;; 11824 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 11825 esac || 11826 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 11827 esac 11828 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11829 as_fn_append ac_file_inputs " '$ac_f'" 11830 done 11831 11832 # Let's still pretend it is `configure' which instantiates (i.e., don't 11833 # use $as_me), people would be surprised to read: 11834 # /* config.h. Generated by config.status. */ 11835 configure_input='Generated from '` 11836 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 11837 `' by configure.' 11838 if test x"$ac_file" != x-; then 11839 configure_input="$ac_file. $configure_input" 11840 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 11841$as_echo "$as_me: creating $ac_file" >&6;} 11842 fi 11843 # Neutralize special characters interpreted by sed in replacement strings. 11844 case $configure_input in #( 11845 *\&* | *\|* | *\\* ) 11846 ac_sed_conf_input=`$as_echo "$configure_input" | 11847 sed 's/[\\\\&|]/\\\\&/g'`;; #( 11848 *) ac_sed_conf_input=$configure_input;; 11849 esac 11850 11851 case $ac_tag in 11852 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 11853 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 11854 esac 11855 ;; 11856 esac 11857 11858 ac_dir=`$as_dirname -- "$ac_file" || 11859$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11860 X"$ac_file" : 'X\(//\)[^/]' \| \ 11861 X"$ac_file" : 'X\(//\)$' \| \ 11862 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 11863$as_echo X"$ac_file" | 11864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11865 s//\1/ 11866 q 11867 } 11868 /^X\(\/\/\)[^/].*/{ 11869 s//\1/ 11870 q 11871 } 11872 /^X\(\/\/\)$/{ 11873 s//\1/ 11874 q 11875 } 11876 /^X\(\/\).*/{ 11877 s//\1/ 11878 q 11879 } 11880 s/.*/./; q'` 11881 as_dir="$ac_dir"; as_fn_mkdir_p 11882 ac_builddir=. 11883 11884case "$ac_dir" in 11885.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 11886*) 11887 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 11888 # A ".." for each directory in $ac_dir_suffix. 11889 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 11890 case $ac_top_builddir_sub in 11891 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 11892 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 11893 esac ;; 11894esac 11895ac_abs_top_builddir=$ac_pwd 11896ac_abs_builddir=$ac_pwd$ac_dir_suffix 11897# for backward compatibility: 11898ac_top_builddir=$ac_top_build_prefix 11899 11900case $srcdir in 11901 .) # We are building in place. 11902 ac_srcdir=. 11903 ac_top_srcdir=$ac_top_builddir_sub 11904 ac_abs_top_srcdir=$ac_pwd ;; 11905 [\\/]* | ?:[\\/]* ) # Absolute name. 11906 ac_srcdir=$srcdir$ac_dir_suffix; 11907 ac_top_srcdir=$srcdir 11908 ac_abs_top_srcdir=$srcdir ;; 11909 *) # Relative name. 11910 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 11911 ac_top_srcdir=$ac_top_build_prefix$srcdir 11912 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 11913esac 11914ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 11915 11916 11917 case $ac_mode in 11918 :F) 11919 # 11920 # CONFIG_FILE 11921 # 11922 11923 case $INSTALL in 11924 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 11925 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 11926 esac 11927 ac_MKDIR_P=$MKDIR_P 11928 case $MKDIR_P in 11929 [\\/$]* | ?:[\\/]* ) ;; 11930 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 11931 esac 11932_ACEOF 11933 11934cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11935# If the template does not know about datarootdir, expand it. 11936# FIXME: This hack should be removed a few years after 2.60. 11937ac_datarootdir_hack=; ac_datarootdir_seen= 11938ac_sed_dataroot=' 11939/datarootdir/ { 11940 p 11941 q 11942} 11943/@datadir@/p 11944/@docdir@/p 11945/@infodir@/p 11946/@localedir@/p 11947/@mandir@/p' 11948case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 11949*datarootdir*) ac_datarootdir_seen=yes;; 11950*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 11952$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 11953_ACEOF 11954cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11955 ac_datarootdir_hack=' 11956 s&@datadir@&$datadir&g 11957 s&@docdir@&$docdir&g 11958 s&@infodir@&$infodir&g 11959 s&@localedir@&$localedir&g 11960 s&@mandir@&$mandir&g 11961 s&\\\${datarootdir}&$datarootdir&g' ;; 11962esac 11963_ACEOF 11964 11965# Neutralize VPATH when `$srcdir' = `.'. 11966# Shell code in configure.ac might set extrasub. 11967# FIXME: do we really want to maintain this feature? 11968cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11969ac_sed_extra="$ac_vpsub 11970$extrasub 11971_ACEOF 11972cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11973:t 11974/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 11975s|@configure_input@|$ac_sed_conf_input|;t t 11976s&@top_builddir@&$ac_top_builddir_sub&;t t 11977s&@top_build_prefix@&$ac_top_build_prefix&;t t 11978s&@srcdir@&$ac_srcdir&;t t 11979s&@abs_srcdir@&$ac_abs_srcdir&;t t 11980s&@top_srcdir@&$ac_top_srcdir&;t t 11981s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 11982s&@builddir@&$ac_builddir&;t t 11983s&@abs_builddir@&$ac_abs_builddir&;t t 11984s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 11985s&@INSTALL@&$ac_INSTALL&;t t 11986s&@MKDIR_P@&$ac_MKDIR_P&;t t 11987$ac_datarootdir_hack 11988" 11989eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 11990 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11991 11992test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 11993 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11994 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11995 "$ac_tmp/out"`; test -z "$ac_out"; } && 11996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11997which seems to be undefined. Please make sure it is defined" >&5 11998$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11999which seems to be undefined. Please make sure it is defined" >&2;} 12000 12001 rm -f "$ac_tmp/stdin" 12002 case $ac_file in 12003 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 12004 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 12005 esac \ 12006 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12007 ;; 12008 12009 12010 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12011$as_echo "$as_me: executing $ac_file commands" >&6;} 12012 ;; 12013 esac 12014 12015 12016 case $ac_file$ac_mode in 12017 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 12018 # Older Autoconf quotes --file arguments for eval, but not when files 12019 # are listed without --file. Let's play safe and only enable the eval 12020 # if we detect the quoting. 12021 # TODO: see whether this extra hack can be removed once we start 12022 # requiring Autoconf 2.70 or later. 12023 case $CONFIG_FILES in #( 12024 *\'*) : 12025 eval set x "$CONFIG_FILES" ;; #( 12026 *) : 12027 set x $CONFIG_FILES ;; #( 12028 *) : 12029 ;; 12030esac 12031 shift 12032 # Used to flag and report bootstrapping failures. 12033 am_rc=0 12034 for am_mf 12035 do 12036 # Strip MF so we end up with the name of the file. 12037 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 12038 # Check whether this is an Automake generated Makefile which includes 12039 # dependency-tracking related rules and includes. 12040 # Grep'ing the whole file directly is not great: AIX grep has a line 12041 # limit of 2048, but all sed's we know have understand at least 4000. 12042 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 12043 || continue 12044 am_dirpart=`$as_dirname -- "$am_mf" || 12045$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12046 X"$am_mf" : 'X\(//\)[^/]' \| \ 12047 X"$am_mf" : 'X\(//\)$' \| \ 12048 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 12049$as_echo X"$am_mf" | 12050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12051 s//\1/ 12052 q 12053 } 12054 /^X\(\/\/\)[^/].*/{ 12055 s//\1/ 12056 q 12057 } 12058 /^X\(\/\/\)$/{ 12059 s//\1/ 12060 q 12061 } 12062 /^X\(\/\).*/{ 12063 s//\1/ 12064 q 12065 } 12066 s/.*/./; q'` 12067 am_filepart=`$as_basename -- "$am_mf" || 12068$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 12069 X"$am_mf" : 'X\(//\)$' \| \ 12070 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 12071$as_echo X/"$am_mf" | 12072 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12073 s//\1/ 12074 q 12075 } 12076 /^X\/\(\/\/\)$/{ 12077 s//\1/ 12078 q 12079 } 12080 /^X\/\(\/\).*/{ 12081 s//\1/ 12082 q 12083 } 12084 s/.*/./; q'` 12085 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 12086 && sed -e '/# am--include-marker/d' "$am_filepart" \ 12087 | $MAKE -f - am--depfiles" >&5 12088 (cd "$am_dirpart" \ 12089 && sed -e '/# am--include-marker/d' "$am_filepart" \ 12090 | $MAKE -f - am--depfiles) >&5 2>&5 12091 ac_status=$? 12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12093 (exit $ac_status); } || am_rc=$? 12094 done 12095 if test $am_rc -ne 0; then 12096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12097$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12098as_fn_error $? "Something went wrong bootstrapping makefile fragments 12099 for automatic dependency tracking. Try re-running configure with the 12100 '--disable-dependency-tracking' option to at least be able to build 12101 the package (albeit without support for automatic dependency tracking). 12102See \`config.log' for more details" "$LINENO" 5; } 12103 fi 12104 { am_dirpart=; unset am_dirpart;} 12105 { am_filepart=; unset am_filepart;} 12106 { am_mf=; unset am_mf;} 12107 { am_rc=; unset am_rc;} 12108 rm -f conftest-deps.mk 12109} 12110 ;; 12111 12112 esac 12113done # for ac_tag 12114 12115 12116as_fn_exit 0 12117_ACEOF 12118ac_clean_files=$ac_clean_files_save 12119 12120test $ac_write_fail = 0 || 12121 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 12122 12123 12124# configure is writing to config.log, and then calls config.status. 12125# config.status does its own redirection, appending to config.log. 12126# Unfortunately, on DOS this fails, as config.log is still kept open 12127# by configure, so config.status won't be able to write to it; its 12128# output is simply discarded. So we exec the FD to /dev/null, 12129# effectively closing config.log, so it can be properly (re)opened and 12130# appended to by config.status. When coming back to configure, we 12131# need to make the FD available again. 12132if test "$no_create" != yes; then 12133 ac_cs_success=: 12134 ac_config_status_args= 12135 test "$silent" = yes && 12136 ac_config_status_args="$ac_config_status_args --quiet" 12137 exec 5>/dev/null 12138 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 12139 exec 5>>config.log 12140 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 12141 # would make configure fail if this is the last instruction. 12142 $ac_cs_success || as_fn_exit 1 12143fi 12144if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 12145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12146$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12147fi 12148 12149