Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXrandr 1.4.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='libXrandr'
    573 PACKAGE_TARNAME='libXrandr'
    574 PACKAGE_VERSION='1.4.2'
    575 PACKAGE_STRING='libXrandr 1.4.2'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 RANDR_LIBS
    621 RANDR_CFLAGS
    622 RANDR_VERSION
    623 XTMALLOC_ZERO_CFLAGS
    624 XMALLOC_ZERO_CFLAGS
    625 MALLOC_ZERO_CFLAGS
    626 MAN_SUBSTS
    627 XORG_MAN_PAGE
    628 ADMIN_MAN_DIR
    629 DRIVER_MAN_DIR
    630 MISC_MAN_DIR
    631 FILE_MAN_DIR
    632 LIB_MAN_DIR
    633 APP_MAN_DIR
    634 ADMIN_MAN_SUFFIX
    635 DRIVER_MAN_SUFFIX
    636 MISC_MAN_SUFFIX
    637 FILE_MAN_SUFFIX
    638 LIB_MAN_SUFFIX
    639 APP_MAN_SUFFIX
    640 INSTALL_CMD
    641 PKG_CONFIG
    642 CHANGELOG_CMD
    643 STRICT_CFLAGS
    644 CWARNFLAGS
    645 BASE_CFLAGS
    646 CPP
    647 OTOOL64
    648 OTOOL
    649 LIPO
    650 NMEDIT
    651 DSYMUTIL
    652 MANIFEST_TOOL
    653 RANLIB
    654 ac_ct_AR
    655 AR
    656 DLLTOOL
    657 OBJDUMP
    658 LN_S
    659 NM
    660 ac_ct_DUMPBIN
    661 DUMPBIN
    662 LD
    663 FGREP
    664 EGREP
    665 GREP
    666 SED
    667 am__fastdepCC_FALSE
    668 am__fastdepCC_TRUE
    669 CCDEPMODE
    670 am__nodep
    671 AMDEPBACKSLASH
    672 AMDEP_FALSE
    673 AMDEP_TRUE
    674 am__quote
    675 am__include
    676 DEPDIR
    677 OBJEXT
    678 EXEEXT
    679 ac_ct_CC
    680 CPPFLAGS
    681 LDFLAGS
    682 CFLAGS
    683 CC
    684 host_os
    685 host_vendor
    686 host_cpu
    687 host
    688 build_os
    689 build_vendor
    690 build_cpu
    691 build
    692 LIBTOOL
    693 AM_BACKSLASH
    694 AM_DEFAULT_VERBOSITY
    695 AM_DEFAULT_V
    696 AM_V
    697 am__untar
    698 am__tar
    699 AMTAR
    700 am__leading_dot
    701 SET_MAKE
    702 AWK
    703 mkdir_p
    704 MKDIR_P
    705 INSTALL_STRIP_PROGRAM
    706 STRIP
    707 install_sh
    708 MAKEINFO
    709 AUTOHEADER
    710 AUTOMAKE
    711 AUTOCONF
    712 ACLOCAL
    713 VERSION
    714 PACKAGE
    715 CYGPATH_W
    716 am__isrc
    717 INSTALL_DATA
    718 INSTALL_SCRIPT
    719 INSTALL_PROGRAM
    720 target_alias
    721 host_alias
    722 build_alias
    723 LIBS
    724 ECHO_T
    725 ECHO_N
    726 ECHO_C
    727 DEFS
    728 mandir
    729 localedir
    730 libdir
    731 psdir
    732 pdfdir
    733 dvidir
    734 htmldir
    735 infodir
    736 docdir
    737 oldincludedir
    738 includedir
    739 localstatedir
    740 sharedstatedir
    741 sysconfdir
    742 datadir
    743 datarootdir
    744 libexecdir
    745 sbindir
    746 bindir
    747 program_transform_name
    748 prefix
    749 exec_prefix
    750 PACKAGE_URL
    751 PACKAGE_BUGREPORT
    752 PACKAGE_STRING
    753 PACKAGE_VERSION
    754 PACKAGE_TARNAME
    755 PACKAGE_NAME
    756 PATH_SEPARATOR
    757 SHELL'
    758 ac_subst_files=''
    759 ac_user_opts='
    760 enable_option_checking
    761 enable_silent_rules
    762 enable_shared
    763 enable_static
    764 with_pic
    765 enable_fast_install
    766 enable_dependency_tracking
    767 with_gnu_ld
    768 with_sysroot
    769 enable_libtool_lock
    770 enable_selective_werror
    771 enable_strict_compilation
    772 enable_malloc0returnsnull
    773 '
    774       ac_precious_vars='build_alias
    775 host_alias
    776 target_alias
    777 CC
    778 CFLAGS
    779 LDFLAGS
    780 LIBS
    781 CPPFLAGS
    782 CPP
    783 PKG_CONFIG
    784 RANDR_CFLAGS
    785 RANDR_LIBS'
    786 
    787 
    788 # Initialize some variables set by options.
    789 ac_init_help=
    790 ac_init_version=false
    791 ac_unrecognized_opts=
    792 ac_unrecognized_sep=
    793 # The variables have the same names as the options, with
    794 # dashes changed to underlines.
    795 cache_file=/dev/null
    796 exec_prefix=NONE
    797 no_create=
    798 no_recursion=
    799 prefix=NONE
    800 program_prefix=NONE
    801 program_suffix=NONE
    802 program_transform_name=s,x,x,
    803 silent=
    804 site=
    805 srcdir=
    806 verbose=
    807 x_includes=NONE
    808 x_libraries=NONE
    809 
    810 # Installation directory options.
    811 # These are left unexpanded so users can "make install exec_prefix=/foo"
    812 # and all the variables that are supposed to be based on exec_prefix
    813 # by default will actually change.
    814 # Use braces instead of parens because sh, perl, etc. also accept them.
    815 # (The list follows the same order as the GNU Coding Standards.)
    816 bindir='${exec_prefix}/bin'
    817 sbindir='${exec_prefix}/sbin'
    818 libexecdir='${exec_prefix}/libexec'
    819 datarootdir='${prefix}/share'
    820 datadir='${datarootdir}'
    821 sysconfdir='${prefix}/etc'
    822 sharedstatedir='${prefix}/com'
    823 localstatedir='${prefix}/var'
    824 includedir='${prefix}/include'
    825 oldincludedir='/usr/include'
    826 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    827 infodir='${datarootdir}/info'
    828 htmldir='${docdir}'
    829 dvidir='${docdir}'
    830 pdfdir='${docdir}'
    831 psdir='${docdir}'
    832 libdir='${exec_prefix}/lib'
    833 localedir='${datarootdir}/locale'
    834 mandir='${datarootdir}/man'
    835 
    836 ac_prev=
    837 ac_dashdash=
    838 for ac_option
    839 do
    840   # If the previous option needs an argument, assign it.
    841   if test -n "$ac_prev"; then
    842     eval $ac_prev=\$ac_option
    843     ac_prev=
    844     continue
    845   fi
    846 
    847   case $ac_option in
    848   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    849   *=)   ac_optarg= ;;
    850   *)    ac_optarg=yes ;;
    851   esac
    852 
    853   # Accept the important Cygnus configure options, so we can diagnose typos.
    854 
    855   case $ac_dashdash$ac_option in
    856   --)
    857     ac_dashdash=yes ;;
    858 
    859   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    860     ac_prev=bindir ;;
    861   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    862     bindir=$ac_optarg ;;
    863 
    864   -build | --build | --buil | --bui | --bu)
    865     ac_prev=build_alias ;;
    866   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    867     build_alias=$ac_optarg ;;
    868 
    869   -cache-file | --cache-file | --cache-fil | --cache-fi \
    870   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    871     ac_prev=cache_file ;;
    872   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    873   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    874     cache_file=$ac_optarg ;;
    875 
    876   --config-cache | -C)
    877     cache_file=config.cache ;;
    878 
    879   -datadir | --datadir | --datadi | --datad)
    880     ac_prev=datadir ;;
    881   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    882     datadir=$ac_optarg ;;
    883 
    884   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    885   | --dataroo | --dataro | --datar)
    886     ac_prev=datarootdir ;;
    887   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    888   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    889     datarootdir=$ac_optarg ;;
    890 
    891   -disable-* | --disable-*)
    892     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    893     # Reject names that are not valid shell variable names.
    894     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    895       as_fn_error $? "invalid feature name: $ac_useropt"
    896     ac_useropt_orig=$ac_useropt
    897     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    898     case $ac_user_opts in
    899       *"
    900 "enable_$ac_useropt"
    901 "*) ;;
    902       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    903 	 ac_unrecognized_sep=', ';;
    904     esac
    905     eval enable_$ac_useropt=no ;;
    906 
    907   -docdir | --docdir | --docdi | --doc | --do)
    908     ac_prev=docdir ;;
    909   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    910     docdir=$ac_optarg ;;
    911 
    912   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    913     ac_prev=dvidir ;;
    914   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    915     dvidir=$ac_optarg ;;
    916 
    917   -enable-* | --enable-*)
    918     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    919     # Reject names that are not valid shell variable names.
    920     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    921       as_fn_error $? "invalid feature name: $ac_useropt"
    922     ac_useropt_orig=$ac_useropt
    923     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    924     case $ac_user_opts in
    925       *"
    926 "enable_$ac_useropt"
    927 "*) ;;
    928       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    929 	 ac_unrecognized_sep=', ';;
    930     esac
    931     eval enable_$ac_useropt=\$ac_optarg ;;
    932 
    933   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    934   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    935   | --exec | --exe | --ex)
    936     ac_prev=exec_prefix ;;
    937   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    938   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    939   | --exec=* | --exe=* | --ex=*)
    940     exec_prefix=$ac_optarg ;;
    941 
    942   -gas | --gas | --ga | --g)
    943     # Obsolete; use --with-gas.
    944     with_gas=yes ;;
    945 
    946   -help | --help | --hel | --he | -h)
    947     ac_init_help=long ;;
    948   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    949     ac_init_help=recursive ;;
    950   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    951     ac_init_help=short ;;
    952 
    953   -host | --host | --hos | --ho)
    954     ac_prev=host_alias ;;
    955   -host=* | --host=* | --hos=* | --ho=*)
    956     host_alias=$ac_optarg ;;
    957 
    958   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    959     ac_prev=htmldir ;;
    960   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    961   | --ht=*)
    962     htmldir=$ac_optarg ;;
    963 
    964   -includedir | --includedir | --includedi | --included | --include \
    965   | --includ | --inclu | --incl | --inc)
    966     ac_prev=includedir ;;
    967   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    968   | --includ=* | --inclu=* | --incl=* | --inc=*)
    969     includedir=$ac_optarg ;;
    970 
    971   -infodir | --infodir | --infodi | --infod | --info | --inf)
    972     ac_prev=infodir ;;
    973   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    974     infodir=$ac_optarg ;;
    975 
    976   -libdir | --libdir | --libdi | --libd)
    977     ac_prev=libdir ;;
    978   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    979     libdir=$ac_optarg ;;
    980 
    981   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    982   | --libexe | --libex | --libe)
    983     ac_prev=libexecdir ;;
    984   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    985   | --libexe=* | --libex=* | --libe=*)
    986     libexecdir=$ac_optarg ;;
    987 
    988   -localedir | --localedir | --localedi | --localed | --locale)
    989     ac_prev=localedir ;;
    990   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    991     localedir=$ac_optarg ;;
    992 
    993   -localstatedir | --localstatedir | --localstatedi | --localstated \
    994   | --localstate | --localstat | --localsta | --localst | --locals)
    995     ac_prev=localstatedir ;;
    996   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    997   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    998     localstatedir=$ac_optarg ;;
    999 
   1000   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1001     ac_prev=mandir ;;
   1002   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1003     mandir=$ac_optarg ;;
   1004 
   1005   -nfp | --nfp | --nf)
   1006     # Obsolete; use --without-fp.
   1007     with_fp=no ;;
   1008 
   1009   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1010   | --no-cr | --no-c | -n)
   1011     no_create=yes ;;
   1012 
   1013   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1014   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1015     no_recursion=yes ;;
   1016 
   1017   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1018   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1019   | --oldin | --oldi | --old | --ol | --o)
   1020     ac_prev=oldincludedir ;;
   1021   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1022   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1023   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1024     oldincludedir=$ac_optarg ;;
   1025 
   1026   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1027     ac_prev=prefix ;;
   1028   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1029     prefix=$ac_optarg ;;
   1030 
   1031   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1032   | --program-pre | --program-pr | --program-p)
   1033     ac_prev=program_prefix ;;
   1034   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1035   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1036     program_prefix=$ac_optarg ;;
   1037 
   1038   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1039   | --program-suf | --program-su | --program-s)
   1040     ac_prev=program_suffix ;;
   1041   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1042   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1043     program_suffix=$ac_optarg ;;
   1044 
   1045   -program-transform-name | --program-transform-name \
   1046   | --program-transform-nam | --program-transform-na \
   1047   | --program-transform-n | --program-transform- \
   1048   | --program-transform | --program-transfor \
   1049   | --program-transfo | --program-transf \
   1050   | --program-trans | --program-tran \
   1051   | --progr-tra | --program-tr | --program-t)
   1052     ac_prev=program_transform_name ;;
   1053   -program-transform-name=* | --program-transform-name=* \
   1054   | --program-transform-nam=* | --program-transform-na=* \
   1055   | --program-transform-n=* | --program-transform-=* \
   1056   | --program-transform=* | --program-transfor=* \
   1057   | --program-transfo=* | --program-transf=* \
   1058   | --program-trans=* | --program-tran=* \
   1059   | --progr-tra=* | --program-tr=* | --program-t=*)
   1060     program_transform_name=$ac_optarg ;;
   1061 
   1062   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1063     ac_prev=pdfdir ;;
   1064   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1065     pdfdir=$ac_optarg ;;
   1066 
   1067   -psdir | --psdir | --psdi | --psd | --ps)
   1068     ac_prev=psdir ;;
   1069   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1070     psdir=$ac_optarg ;;
   1071 
   1072   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1073   | -silent | --silent | --silen | --sile | --sil)
   1074     silent=yes ;;
   1075 
   1076   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1077     ac_prev=sbindir ;;
   1078   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1079   | --sbi=* | --sb=*)
   1080     sbindir=$ac_optarg ;;
   1081 
   1082   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1083   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1084   | --sharedst | --shareds | --shared | --share | --shar \
   1085   | --sha | --sh)
   1086     ac_prev=sharedstatedir ;;
   1087   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1088   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1089   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1090   | --sha=* | --sh=*)
   1091     sharedstatedir=$ac_optarg ;;
   1092 
   1093   -site | --site | --sit)
   1094     ac_prev=site ;;
   1095   -site=* | --site=* | --sit=*)
   1096     site=$ac_optarg ;;
   1097 
   1098   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1099     ac_prev=srcdir ;;
   1100   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1101     srcdir=$ac_optarg ;;
   1102 
   1103   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1104   | --syscon | --sysco | --sysc | --sys | --sy)
   1105     ac_prev=sysconfdir ;;
   1106   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1107   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1108     sysconfdir=$ac_optarg ;;
   1109 
   1110   -target | --target | --targe | --targ | --tar | --ta | --t)
   1111     ac_prev=target_alias ;;
   1112   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1113     target_alias=$ac_optarg ;;
   1114 
   1115   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1116     verbose=yes ;;
   1117 
   1118   -version | --version | --versio | --versi | --vers | -V)
   1119     ac_init_version=: ;;
   1120 
   1121   -with-* | --with-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid package name: $ac_useropt"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "with_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval with_$ac_useropt=\$ac_optarg ;;
   1136 
   1137   -without-* | --without-*)
   1138     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1139     # Reject names that are not valid shell variable names.
   1140     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1141       as_fn_error $? "invalid package name: $ac_useropt"
   1142     ac_useropt_orig=$ac_useropt
   1143     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1144     case $ac_user_opts in
   1145       *"
   1146 "with_$ac_useropt"
   1147 "*) ;;
   1148       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1149 	 ac_unrecognized_sep=', ';;
   1150     esac
   1151     eval with_$ac_useropt=no ;;
   1152 
   1153   --x)
   1154     # Obsolete; use --with-x.
   1155     with_x=yes ;;
   1156 
   1157   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1158   | --x-incl | --x-inc | --x-in | --x-i)
   1159     ac_prev=x_includes ;;
   1160   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1161   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1162     x_includes=$ac_optarg ;;
   1163 
   1164   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1165   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1166     ac_prev=x_libraries ;;
   1167   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1168   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1169     x_libraries=$ac_optarg ;;
   1170 
   1171   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1172 Try \`$0 --help' for more information"
   1173     ;;
   1174 
   1175   *=*)
   1176     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1177     # Reject names that are not valid shell variable names.
   1178     case $ac_envvar in #(
   1179       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1180       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1181     esac
   1182     eval $ac_envvar=\$ac_optarg
   1183     export $ac_envvar ;;
   1184 
   1185   *)
   1186     # FIXME: should be removed in autoconf 3.0.
   1187     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1188     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1189       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1190     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1191     ;;
   1192 
   1193   esac
   1194 done
   1195 
   1196 if test -n "$ac_prev"; then
   1197   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1198   as_fn_error $? "missing argument to $ac_option"
   1199 fi
   1200 
   1201 if test -n "$ac_unrecognized_opts"; then
   1202   case $enable_option_checking in
   1203     no) ;;
   1204     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1205     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1206   esac
   1207 fi
   1208 
   1209 # Check all directory arguments for consistency.
   1210 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1211 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1212 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1213 		libdir localedir mandir
   1214 do
   1215   eval ac_val=\$$ac_var
   1216   # Remove trailing slashes.
   1217   case $ac_val in
   1218     */ )
   1219       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1220       eval $ac_var=\$ac_val;;
   1221   esac
   1222   # Be sure to have absolute directory names.
   1223   case $ac_val in
   1224     [\\/$]* | ?:[\\/]* )  continue;;
   1225     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1226   esac
   1227   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1228 done
   1229 
   1230 # There might be people who depend on the old broken behavior: `$host'
   1231 # used to hold the argument of --host etc.
   1232 # FIXME: To remove some day.
   1233 build=$build_alias
   1234 host=$host_alias
   1235 target=$target_alias
   1236 
   1237 # FIXME: To remove some day.
   1238 if test "x$host_alias" != x; then
   1239   if test "x$build_alias" = x; then
   1240     cross_compiling=maybe
   1241     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1242     If a cross compiler is detected then cross compile mode will be used" >&2
   1243   elif test "x$build_alias" != "x$host_alias"; then
   1244     cross_compiling=yes
   1245   fi
   1246 fi
   1247 
   1248 ac_tool_prefix=
   1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1250 
   1251 test "$silent" = yes && exec 6>/dev/null
   1252 
   1253 
   1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1255 ac_ls_di=`ls -di .` &&
   1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1257   as_fn_error $? "working directory cannot be determined"
   1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1259   as_fn_error $? "pwd does not report name of working directory"
   1260 
   1261 
   1262 # Find the source files, if location was not specified.
   1263 if test -z "$srcdir"; then
   1264   ac_srcdir_defaulted=yes
   1265   # Try the directory containing this script, then the parent directory.
   1266   ac_confdir=`$as_dirname -- "$as_myself" ||
   1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1268 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1269 	 X"$as_myself" : 'X\(//\)$' \| \
   1270 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1271 $as_echo X"$as_myself" |
   1272     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\/\)[^/].*/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  /^X\(\/\/\)$/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  /^X\(\/\).*/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  s/.*/./; q'`
   1289   srcdir=$ac_confdir
   1290   if test ! -r "$srcdir/$ac_unique_file"; then
   1291     srcdir=..
   1292   fi
   1293 else
   1294   ac_srcdir_defaulted=no
   1295 fi
   1296 if test ! -r "$srcdir/$ac_unique_file"; then
   1297   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1298   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1299 fi
   1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1301 ac_abs_confdir=`(
   1302 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1303 	pwd)`
   1304 # When building in place, set srcdir=.
   1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1306   srcdir=.
   1307 fi
   1308 # Remove unnecessary trailing slashes from srcdir.
   1309 # Double slashes in file names in object file debugging info
   1310 # mess up M-x gdb in Emacs.
   1311 case $srcdir in
   1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1313 esac
   1314 for ac_var in $ac_precious_vars; do
   1315   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1316   eval ac_env_${ac_var}_value=\$${ac_var}
   1317   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1318   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1319 done
   1320 
   1321 #
   1322 # Report the --help message.
   1323 #
   1324 if test "$ac_init_help" = "long"; then
   1325   # Omit some internal or obsolete options to make the list less imposing.
   1326   # This message is too long to be a string in the A/UX 3.1 sh.
   1327   cat <<_ACEOF
   1328 \`configure' configures libXrandr 1.4.2 to adapt to many kinds of systems.
   1329 
   1330 Usage: $0 [OPTION]... [VAR=VALUE]...
   1331 
   1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1333 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1334 
   1335 Defaults for the options are specified in brackets.
   1336 
   1337 Configuration:
   1338   -h, --help              display this help and exit
   1339       --help=short        display options specific to this package
   1340       --help=recursive    display the short help of all the included packages
   1341   -V, --version           display version information and exit
   1342   -q, --quiet, --silent   do not print \`checking ...' messages
   1343       --cache-file=FILE   cache test results in FILE [disabled]
   1344   -C, --config-cache      alias for \`--cache-file=config.cache'
   1345   -n, --no-create         do not create output files
   1346       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1347 
   1348 Installation directories:
   1349   --prefix=PREFIX         install architecture-independent files in PREFIX
   1350                           [$ac_default_prefix]
   1351   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1352                           [PREFIX]
   1353 
   1354 By default, \`make install' will install all the files in
   1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1357 for instance \`--prefix=\$HOME'.
   1358 
   1359 For better control, use the options below.
   1360 
   1361 Fine tuning of the installation directories:
   1362   --bindir=DIR            user executables [EPREFIX/bin]
   1363   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1364   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1365   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1366   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1367   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1368   --libdir=DIR            object code libraries [EPREFIX/lib]
   1369   --includedir=DIR        C header files [PREFIX/include]
   1370   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1371   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1372   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1373   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1374   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1375   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1376   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXrandr]
   1377   --htmldir=DIR           html documentation [DOCDIR]
   1378   --dvidir=DIR            dvi documentation [DOCDIR]
   1379   --pdfdir=DIR            pdf documentation [DOCDIR]
   1380   --psdir=DIR             ps documentation [DOCDIR]
   1381 _ACEOF
   1382 
   1383   cat <<\_ACEOF
   1384 
   1385 Program names:
   1386   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1387   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1388   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1389 
   1390 System types:
   1391   --build=BUILD     configure for building on BUILD [guessed]
   1392   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1393 _ACEOF
   1394 fi
   1395 
   1396 if test -n "$ac_init_help"; then
   1397   case $ac_init_help in
   1398      short | recursive ) echo "Configuration of libXrandr 1.4.2:";;
   1399    esac
   1400   cat <<\_ACEOF
   1401 
   1402 Optional Features:
   1403   --disable-option-checking  ignore unrecognized --enable/--with options
   1404   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1405   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1406   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1407   --disable-silent-rules  verbose build output (undo: "make V=0")
   1408   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1409   --enable-static[=PKGS]  build static libraries [default=yes]
   1410   --enable-fast-install[=PKGS]
   1411                           optimize for fast installation [default=yes]
   1412   --enable-dependency-tracking
   1413                           do not reject slow dependency extractors
   1414   --disable-dependency-tracking
   1415                           speeds up one-time build
   1416   --disable-libtool-lock  avoid locking (might break parallel builds)
   1417   --disable-selective-werror
   1418                           Turn off selective compiler errors. (default:
   1419                           enabled)
   1420   --enable-strict-compilation
   1421                           Enable all warnings from compiler and make them
   1422                           errors (default: disabled)
   1423   --enable-malloc0returnsnull
   1424                           malloc(0) returns NULL (default: auto)
   1425 
   1426 Optional Packages:
   1427   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1428   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1429   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1430                           both]
   1431   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1432   --with-sysroot=DIR Search for dependent libraries within DIR
   1433                         (or the compiler's sysroot if not specified).
   1434 
   1435 Some influential environment variables:
   1436   CC          C compiler command
   1437   CFLAGS      C compiler flags
   1438   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1439               nonstandard directory <lib dir>
   1440   LIBS        libraries to pass to the linker, e.g. -l<library>
   1441   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1442               you have headers in a nonstandard directory <include dir>
   1443   CPP         C preprocessor
   1444   PKG_CONFIG  path to pkg-config utility
   1445   RANDR_CFLAGS
   1446               C compiler flags for RANDR, overriding pkg-config
   1447   RANDR_LIBS  linker flags for RANDR, overriding pkg-config
   1448 
   1449 Use these variables to override the choices made by `configure' or to help
   1450 it to find libraries and programs with nonstandard names/locations.
   1451 
   1452 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1453 _ACEOF
   1454 ac_status=$?
   1455 fi
   1456 
   1457 if test "$ac_init_help" = "recursive"; then
   1458   # If there are subdirs, report their specific --help.
   1459   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1460     test -d "$ac_dir" ||
   1461       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1462       continue
   1463     ac_builddir=.
   1464 
   1465 case "$ac_dir" in
   1466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1467 *)
   1468   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1469   # A ".." for each directory in $ac_dir_suffix.
   1470   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1471   case $ac_top_builddir_sub in
   1472   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1473   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1474   esac ;;
   1475 esac
   1476 ac_abs_top_builddir=$ac_pwd
   1477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1478 # for backward compatibility:
   1479 ac_top_builddir=$ac_top_build_prefix
   1480 
   1481 case $srcdir in
   1482   .)  # We are building in place.
   1483     ac_srcdir=.
   1484     ac_top_srcdir=$ac_top_builddir_sub
   1485     ac_abs_top_srcdir=$ac_pwd ;;
   1486   [\\/]* | ?:[\\/]* )  # Absolute name.
   1487     ac_srcdir=$srcdir$ac_dir_suffix;
   1488     ac_top_srcdir=$srcdir
   1489     ac_abs_top_srcdir=$srcdir ;;
   1490   *) # Relative name.
   1491     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1492     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1493     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1494 esac
   1495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1496 
   1497     cd "$ac_dir" || { ac_status=$?; continue; }
   1498     # Check for guested configure.
   1499     if test -f "$ac_srcdir/configure.gnu"; then
   1500       echo &&
   1501       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1502     elif test -f "$ac_srcdir/configure"; then
   1503       echo &&
   1504       $SHELL "$ac_srcdir/configure" --help=recursive
   1505     else
   1506       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1507     fi || ac_status=$?
   1508     cd "$ac_pwd" || { ac_status=$?; break; }
   1509   done
   1510 fi
   1511 
   1512 test -n "$ac_init_help" && exit $ac_status
   1513 if $ac_init_version; then
   1514   cat <<\_ACEOF
   1515 libXrandr configure 1.4.2
   1516 generated by GNU Autoconf 2.68
   1517 
   1518 Copyright (C) 2010 Free Software Foundation, Inc.
   1519 This configure script is free software; the Free Software Foundation
   1520 gives unlimited permission to copy, distribute and modify it.
   1521 _ACEOF
   1522   exit
   1523 fi
   1524 
   1525 ## ------------------------ ##
   1526 ## Autoconf initialization. ##
   1527 ## ------------------------ ##
   1528 
   1529 # ac_fn_c_try_compile LINENO
   1530 # --------------------------
   1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1532 ac_fn_c_try_compile ()
   1533 {
   1534   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1535   rm -f conftest.$ac_objext
   1536   if { { ac_try="$ac_compile"
   1537 case "(($ac_try" in
   1538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1539   *) ac_try_echo=$ac_try;;
   1540 esac
   1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1542 $as_echo "$ac_try_echo"; } >&5
   1543   (eval "$ac_compile") 2>conftest.err
   1544   ac_status=$?
   1545   if test -s conftest.err; then
   1546     grep -v '^ *+' conftest.err >conftest.er1
   1547     cat conftest.er1 >&5
   1548     mv -f conftest.er1 conftest.err
   1549   fi
   1550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1551   test $ac_status = 0; } && {
   1552 	 test -z "$ac_c_werror_flag" ||
   1553 	 test ! -s conftest.err
   1554        } && test -s conftest.$ac_objext; then :
   1555   ac_retval=0
   1556 else
   1557   $as_echo "$as_me: failed program was:" >&5
   1558 sed 's/^/| /' conftest.$ac_ext >&5
   1559 
   1560 	ac_retval=1
   1561 fi
   1562   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1563   as_fn_set_status $ac_retval
   1564 
   1565 } # ac_fn_c_try_compile
   1566 
   1567 # ac_fn_c_try_link LINENO
   1568 # -----------------------
   1569 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1570 ac_fn_c_try_link ()
   1571 {
   1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1573   rm -f conftest.$ac_objext conftest$ac_exeext
   1574   if { { ac_try="$ac_link"
   1575 case "(($ac_try" in
   1576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1577   *) ac_try_echo=$ac_try;;
   1578 esac
   1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1580 $as_echo "$ac_try_echo"; } >&5
   1581   (eval "$ac_link") 2>conftest.err
   1582   ac_status=$?
   1583   if test -s conftest.err; then
   1584     grep -v '^ *+' conftest.err >conftest.er1
   1585     cat conftest.er1 >&5
   1586     mv -f conftest.er1 conftest.err
   1587   fi
   1588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1589   test $ac_status = 0; } && {
   1590 	 test -z "$ac_c_werror_flag" ||
   1591 	 test ! -s conftest.err
   1592        } && test -s conftest$ac_exeext && {
   1593 	 test "$cross_compiling" = yes ||
   1594 	 $as_test_x conftest$ac_exeext
   1595        }; then :
   1596   ac_retval=0
   1597 else
   1598   $as_echo "$as_me: failed program was:" >&5
   1599 sed 's/^/| /' conftest.$ac_ext >&5
   1600 
   1601 	ac_retval=1
   1602 fi
   1603   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1604   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1605   # interfere with the next link command; also delete a directory that is
   1606   # left behind by Apple's compiler.  We do this before executing the actions.
   1607   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1608   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1609   as_fn_set_status $ac_retval
   1610 
   1611 } # ac_fn_c_try_link
   1612 
   1613 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1614 # -------------------------------------------------------
   1615 # Tests whether HEADER exists and can be compiled using the include files in
   1616 # INCLUDES, setting the cache variable VAR accordingly.
   1617 ac_fn_c_check_header_compile ()
   1618 {
   1619   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1621 $as_echo_n "checking for $2... " >&6; }
   1622 if eval \${$3+:} false; then :
   1623   $as_echo_n "(cached) " >&6
   1624 else
   1625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1626 /* end confdefs.h.  */
   1627 $4
   1628 #include <$2>
   1629 _ACEOF
   1630 if ac_fn_c_try_compile "$LINENO"; then :
   1631   eval "$3=yes"
   1632 else
   1633   eval "$3=no"
   1634 fi
   1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1636 fi
   1637 eval ac_res=\$$3
   1638 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1639 $as_echo "$ac_res" >&6; }
   1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1641 
   1642 } # ac_fn_c_check_header_compile
   1643 
   1644 # ac_fn_c_try_cpp LINENO
   1645 # ----------------------
   1646 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1647 ac_fn_c_try_cpp ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1651 case "(($ac_try" in
   1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1653   *) ac_try_echo=$ac_try;;
   1654 esac
   1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1656 $as_echo "$ac_try_echo"; } >&5
   1657   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1658   ac_status=$?
   1659   if test -s conftest.err; then
   1660     grep -v '^ *+' conftest.err >conftest.er1
   1661     cat conftest.er1 >&5
   1662     mv -f conftest.er1 conftest.err
   1663   fi
   1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1665   test $ac_status = 0; } > conftest.i && {
   1666 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1667 	 test ! -s conftest.err
   1668        }; then :
   1669   ac_retval=0
   1670 else
   1671   $as_echo "$as_me: failed program was:" >&5
   1672 sed 's/^/| /' conftest.$ac_ext >&5
   1673 
   1674     ac_retval=1
   1675 fi
   1676   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1677   as_fn_set_status $ac_retval
   1678 
   1679 } # ac_fn_c_try_cpp
   1680 
   1681 # ac_fn_c_try_run LINENO
   1682 # ----------------------
   1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1684 # that executables *can* be run.
   1685 ac_fn_c_try_run ()
   1686 {
   1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1688   if { { ac_try="$ac_link"
   1689 case "(($ac_try" in
   1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1691   *) ac_try_echo=$ac_try;;
   1692 esac
   1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1694 $as_echo "$ac_try_echo"; } >&5
   1695   (eval "$ac_link") 2>&5
   1696   ac_status=$?
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1699   { { case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_try") 2>&5
   1706   ac_status=$?
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; }; }; then :
   1709   ac_retval=0
   1710 else
   1711   $as_echo "$as_me: program exited with status $ac_status" >&5
   1712        $as_echo "$as_me: failed program was:" >&5
   1713 sed 's/^/| /' conftest.$ac_ext >&5
   1714 
   1715        ac_retval=$ac_status
   1716 fi
   1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_run
   1722 
   1723 # ac_fn_c_check_func LINENO FUNC VAR
   1724 # ----------------------------------
   1725 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1726 ac_fn_c_check_func ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1730 $as_echo_n "checking for $2... " >&6; }
   1731 if eval \${$3+:} false; then :
   1732   $as_echo_n "(cached) " >&6
   1733 else
   1734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1735 /* end confdefs.h.  */
   1736 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1738 #define $2 innocuous_$2
   1739 
   1740 /* System header to define __stub macros and hopefully few prototypes,
   1741     which can conflict with char $2 (); below.
   1742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1743     <limits.h> exists even on freestanding compilers.  */
   1744 
   1745 #ifdef __STDC__
   1746 # include <limits.h>
   1747 #else
   1748 # include <assert.h>
   1749 #endif
   1750 
   1751 #undef $2
   1752 
   1753 /* Override any GCC internal prototype to avoid an error.
   1754    Use char because int might match the return type of a GCC
   1755    builtin and then its argument prototype would still apply.  */
   1756 #ifdef __cplusplus
   1757 extern "C"
   1758 #endif
   1759 char $2 ();
   1760 /* The GNU C library defines this for functions which it implements
   1761     to always fail with ENOSYS.  Some functions are actually named
   1762     something starting with __ and the normal name is an alias.  */
   1763 #if defined __stub_$2 || defined __stub___$2
   1764 choke me
   1765 #endif
   1766 
   1767 int
   1768 main ()
   1769 {
   1770 return $2 ();
   1771   ;
   1772   return 0;
   1773 }
   1774 _ACEOF
   1775 if ac_fn_c_try_link "$LINENO"; then :
   1776   eval "$3=yes"
   1777 else
   1778   eval "$3=no"
   1779 fi
   1780 rm -f core conftest.err conftest.$ac_objext \
   1781     conftest$ac_exeext conftest.$ac_ext
   1782 fi
   1783 eval ac_res=\$$3
   1784 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1785 $as_echo "$ac_res" >&6; }
   1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1787 
   1788 } # ac_fn_c_check_func
   1789 
   1790 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1791 # ---------------------------------------------
   1792 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1793 # accordingly.
   1794 ac_fn_c_check_decl ()
   1795 {
   1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1797   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1798   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1800 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1801 if eval \${$3+:} false; then :
   1802   $as_echo_n "(cached) " >&6
   1803 else
   1804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1805 /* end confdefs.h.  */
   1806 $4
   1807 int
   1808 main ()
   1809 {
   1810 #ifndef $as_decl_name
   1811 #ifdef __cplusplus
   1812   (void) $as_decl_use;
   1813 #else
   1814   (void) $as_decl_name;
   1815 #endif
   1816 #endif
   1817 
   1818   ;
   1819   return 0;
   1820 }
   1821 _ACEOF
   1822 if ac_fn_c_try_compile "$LINENO"; then :
   1823   eval "$3=yes"
   1824 else
   1825   eval "$3=no"
   1826 fi
   1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1828 fi
   1829 eval ac_res=\$$3
   1830 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1831 $as_echo "$ac_res" >&6; }
   1832   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1833 
   1834 } # ac_fn_c_check_decl
   1835 cat >config.log <<_ACEOF
   1836 This file contains any messages produced by compilers while
   1837 running configure, to aid debugging if configure makes a mistake.
   1838 
   1839 It was created by libXrandr $as_me 1.4.2, which was
   1840 generated by GNU Autoconf 2.68.  Invocation command line was
   1841 
   1842   $ $0 $@
   1843 
   1844 _ACEOF
   1845 exec 5>>config.log
   1846 {
   1847 cat <<_ASUNAME
   1848 ## --------- ##
   1849 ## Platform. ##
   1850 ## --------- ##
   1851 
   1852 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1853 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1854 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1855 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1856 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1857 
   1858 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1859 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1860 
   1861 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1862 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1863 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1864 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1865 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1866 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1867 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1868 
   1869 _ASUNAME
   1870 
   1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1872 for as_dir in $PATH
   1873 do
   1874   IFS=$as_save_IFS
   1875   test -z "$as_dir" && as_dir=.
   1876     $as_echo "PATH: $as_dir"
   1877   done
   1878 IFS=$as_save_IFS
   1879 
   1880 } >&5
   1881 
   1882 cat >&5 <<_ACEOF
   1883 
   1884 
   1885 ## ----------- ##
   1886 ## Core tests. ##
   1887 ## ----------- ##
   1888 
   1889 _ACEOF
   1890 
   1891 
   1892 # Keep a trace of the command line.
   1893 # Strip out --no-create and --no-recursion so they do not pile up.
   1894 # Strip out --silent because we don't want to record it for future runs.
   1895 # Also quote any args containing shell meta-characters.
   1896 # Make two passes to allow for proper duplicate-argument suppression.
   1897 ac_configure_args=
   1898 ac_configure_args0=
   1899 ac_configure_args1=
   1900 ac_must_keep_next=false
   1901 for ac_pass in 1 2
   1902 do
   1903   for ac_arg
   1904   do
   1905     case $ac_arg in
   1906     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1907     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1908     | -silent | --silent | --silen | --sile | --sil)
   1909       continue ;;
   1910     *\'*)
   1911       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1912     esac
   1913     case $ac_pass in
   1914     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1915     2)
   1916       as_fn_append ac_configure_args1 " '$ac_arg'"
   1917       if test $ac_must_keep_next = true; then
   1918 	ac_must_keep_next=false # Got value, back to normal.
   1919       else
   1920 	case $ac_arg in
   1921 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1922 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1923 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1924 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1925 	    case "$ac_configure_args0 " in
   1926 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1927 	    esac
   1928 	    ;;
   1929 	  -* ) ac_must_keep_next=true ;;
   1930 	esac
   1931       fi
   1932       as_fn_append ac_configure_args " '$ac_arg'"
   1933       ;;
   1934     esac
   1935   done
   1936 done
   1937 { ac_configure_args0=; unset ac_configure_args0;}
   1938 { ac_configure_args1=; unset ac_configure_args1;}
   1939 
   1940 # When interrupted or exit'd, cleanup temporary files, and complete
   1941 # config.log.  We remove comments because anyway the quotes in there
   1942 # would cause problems or look ugly.
   1943 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1944 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1945 trap 'exit_status=$?
   1946   # Save into config.log some information that might help in debugging.
   1947   {
   1948     echo
   1949 
   1950     $as_echo "## ---------------- ##
   1951 ## Cache variables. ##
   1952 ## ---------------- ##"
   1953     echo
   1954     # The following way of writing the cache mishandles newlines in values,
   1955 (
   1956   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1957     eval ac_val=\$$ac_var
   1958     case $ac_val in #(
   1959     *${as_nl}*)
   1960       case $ac_var in #(
   1961       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1962 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1963       esac
   1964       case $ac_var in #(
   1965       _ | IFS | as_nl) ;; #(
   1966       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1967       *) { eval $ac_var=; unset $ac_var;} ;;
   1968       esac ;;
   1969     esac
   1970   done
   1971   (set) 2>&1 |
   1972     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1973     *${as_nl}ac_space=\ *)
   1974       sed -n \
   1975 	"s/'\''/'\''\\\\'\'''\''/g;
   1976 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1977       ;; #(
   1978     *)
   1979       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1980       ;;
   1981     esac |
   1982     sort
   1983 )
   1984     echo
   1985 
   1986     $as_echo "## ----------------- ##
   1987 ## Output variables. ##
   1988 ## ----------------- ##"
   1989     echo
   1990     for ac_var in $ac_subst_vars
   1991     do
   1992       eval ac_val=\$$ac_var
   1993       case $ac_val in
   1994       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1995       esac
   1996       $as_echo "$ac_var='\''$ac_val'\''"
   1997     done | sort
   1998     echo
   1999 
   2000     if test -n "$ac_subst_files"; then
   2001       $as_echo "## ------------------- ##
   2002 ## File substitutions. ##
   2003 ## ------------------- ##"
   2004       echo
   2005       for ac_var in $ac_subst_files
   2006       do
   2007 	eval ac_val=\$$ac_var
   2008 	case $ac_val in
   2009 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2010 	esac
   2011 	$as_echo "$ac_var='\''$ac_val'\''"
   2012       done | sort
   2013       echo
   2014     fi
   2015 
   2016     if test -s confdefs.h; then
   2017       $as_echo "## ----------- ##
   2018 ## confdefs.h. ##
   2019 ## ----------- ##"
   2020       echo
   2021       cat confdefs.h
   2022       echo
   2023     fi
   2024     test "$ac_signal" != 0 &&
   2025       $as_echo "$as_me: caught signal $ac_signal"
   2026     $as_echo "$as_me: exit $exit_status"
   2027   } >&5
   2028   rm -f core *.core core.conftest.* &&
   2029     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2030     exit $exit_status
   2031 ' 0
   2032 for ac_signal in 1 2 13 15; do
   2033   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2034 done
   2035 ac_signal=0
   2036 
   2037 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2038 rm -f -r conftest* confdefs.h
   2039 
   2040 $as_echo "/* confdefs.h */" > confdefs.h
   2041 
   2042 # Predefined preprocessor variables.
   2043 
   2044 cat >>confdefs.h <<_ACEOF
   2045 #define PACKAGE_NAME "$PACKAGE_NAME"
   2046 _ACEOF
   2047 
   2048 cat >>confdefs.h <<_ACEOF
   2049 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2050 _ACEOF
   2051 
   2052 cat >>confdefs.h <<_ACEOF
   2053 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2054 _ACEOF
   2055 
   2056 cat >>confdefs.h <<_ACEOF
   2057 #define PACKAGE_STRING "$PACKAGE_STRING"
   2058 _ACEOF
   2059 
   2060 cat >>confdefs.h <<_ACEOF
   2061 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2062 _ACEOF
   2063 
   2064 cat >>confdefs.h <<_ACEOF
   2065 #define PACKAGE_URL "$PACKAGE_URL"
   2066 _ACEOF
   2067 
   2068 
   2069 # Let the site file select an alternate cache file if it wants to.
   2070 # Prefer an explicitly selected file to automatically selected ones.
   2071 ac_site_file1=NONE
   2072 ac_site_file2=NONE
   2073 if test -n "$CONFIG_SITE"; then
   2074   # We do not want a PATH search for config.site.
   2075   case $CONFIG_SITE in #((
   2076     -*)  ac_site_file1=./$CONFIG_SITE;;
   2077     */*) ac_site_file1=$CONFIG_SITE;;
   2078     *)   ac_site_file1=./$CONFIG_SITE;;
   2079   esac
   2080 elif test "x$prefix" != xNONE; then
   2081   ac_site_file1=$prefix/share/config.site
   2082   ac_site_file2=$prefix/etc/config.site
   2083 else
   2084   ac_site_file1=$ac_default_prefix/share/config.site
   2085   ac_site_file2=$ac_default_prefix/etc/config.site
   2086 fi
   2087 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2088 do
   2089   test "x$ac_site_file" = xNONE && continue
   2090   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2091     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2092 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2093     sed 's/^/| /' "$ac_site_file" >&5
   2094     . "$ac_site_file" \
   2095       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2097 as_fn_error $? "failed to load site script $ac_site_file
   2098 See \`config.log' for more details" "$LINENO" 5; }
   2099   fi
   2100 done
   2101 
   2102 if test -r "$cache_file"; then
   2103   # Some versions of bash will fail to source /dev/null (special files
   2104   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2105   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2106     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2107 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2108     case $cache_file in
   2109       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2110       *)                      . "./$cache_file";;
   2111     esac
   2112   fi
   2113 else
   2114   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2115 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2116   >$cache_file
   2117 fi
   2118 
   2119 # Check that the precious variables saved in the cache have kept the same
   2120 # value.
   2121 ac_cache_corrupted=false
   2122 for ac_var in $ac_precious_vars; do
   2123   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2124   eval ac_new_set=\$ac_env_${ac_var}_set
   2125   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2126   eval ac_new_val=\$ac_env_${ac_var}_value
   2127   case $ac_old_set,$ac_new_set in
   2128     set,)
   2129       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2130 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2131       ac_cache_corrupted=: ;;
   2132     ,set)
   2133       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2134 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2135       ac_cache_corrupted=: ;;
   2136     ,);;
   2137     *)
   2138       if test "x$ac_old_val" != "x$ac_new_val"; then
   2139 	# differences in whitespace do not lead to failure.
   2140 	ac_old_val_w=`echo x $ac_old_val`
   2141 	ac_new_val_w=`echo x $ac_new_val`
   2142 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2143 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2144 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2145 	  ac_cache_corrupted=:
   2146 	else
   2147 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2148 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2149 	  eval $ac_var=\$ac_old_val
   2150 	fi
   2151 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2152 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2153 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2154 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2155       fi;;
   2156   esac
   2157   # Pass precious variables to config.status.
   2158   if test "$ac_new_set" = set; then
   2159     case $ac_new_val in
   2160     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2161     *) ac_arg=$ac_var=$ac_new_val ;;
   2162     esac
   2163     case " $ac_configure_args " in
   2164       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2165       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2166     esac
   2167   fi
   2168 done
   2169 if $ac_cache_corrupted; then
   2170   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2172   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2173 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2174   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2175 fi
   2176 ## -------------------- ##
   2177 ## Main body of script. ##
   2178 ## -------------------- ##
   2179 
   2180 ac_ext=c
   2181 ac_cpp='$CPP $CPPFLAGS'
   2182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2185 
   2186 
   2187 
   2188 ac_config_headers="$ac_config_headers config.h"
   2189 
   2190 
   2191 # Initialize Automake
   2192 am__api_version='1.14'
   2193 
   2194 ac_aux_dir=
   2195 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2196   if test -f "$ac_dir/install-sh"; then
   2197     ac_aux_dir=$ac_dir
   2198     ac_install_sh="$ac_aux_dir/install-sh -c"
   2199     break
   2200   elif test -f "$ac_dir/install.sh"; then
   2201     ac_aux_dir=$ac_dir
   2202     ac_install_sh="$ac_aux_dir/install.sh -c"
   2203     break
   2204   elif test -f "$ac_dir/shtool"; then
   2205     ac_aux_dir=$ac_dir
   2206     ac_install_sh="$ac_aux_dir/shtool install -c"
   2207     break
   2208   fi
   2209 done
   2210 if test -z "$ac_aux_dir"; then
   2211   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2212 fi
   2213 
   2214 # These three variables are undocumented and unsupported,
   2215 # and are intended to be withdrawn in a future Autoconf release.
   2216 # They can cause serious problems if a builder's source tree is in a directory
   2217 # whose full name contains unusual characters.
   2218 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2219 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2220 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2221 
   2222 
   2223 # Find a good install program.  We prefer a C program (faster),
   2224 # so one script is as good as another.  But avoid the broken or
   2225 # incompatible versions:
   2226 # SysV /etc/install, /usr/sbin/install
   2227 # SunOS /usr/etc/install
   2228 # IRIX /sbin/install
   2229 # AIX /bin/install
   2230 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2231 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2232 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2233 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2234 # OS/2's system install, which has a completely different semantic
   2235 # ./install, which can be erroneously created by make from ./install.sh.
   2236 # Reject install programs that cannot install multiple files.
   2237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2238 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2239 if test -z "$INSTALL"; then
   2240 if ${ac_cv_path_install+:} false; then :
   2241   $as_echo_n "(cached) " >&6
   2242 else
   2243   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2244 for as_dir in $PATH
   2245 do
   2246   IFS=$as_save_IFS
   2247   test -z "$as_dir" && as_dir=.
   2248     # Account for people who put trailing slashes in PATH elements.
   2249 case $as_dir/ in #((
   2250   ./ | .// | /[cC]/* | \
   2251   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2252   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2253   /usr/ucb/* ) ;;
   2254   *)
   2255     # OSF1 and SCO ODT 3.0 have their own names for install.
   2256     # Don't use installbsd from OSF since it installs stuff as root
   2257     # by default.
   2258     for ac_prog in ginstall scoinst install; do
   2259       for ac_exec_ext in '' $ac_executable_extensions; do
   2260 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2261 	  if test $ac_prog = install &&
   2262 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2263 	    # AIX install.  It has an incompatible calling convention.
   2264 	    :
   2265 	  elif test $ac_prog = install &&
   2266 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2267 	    # program-specific install script used by HP pwplus--don't use.
   2268 	    :
   2269 	  else
   2270 	    rm -rf conftest.one conftest.two conftest.dir
   2271 	    echo one > conftest.one
   2272 	    echo two > conftest.two
   2273 	    mkdir conftest.dir
   2274 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2275 	      test -s conftest.one && test -s conftest.two &&
   2276 	      test -s conftest.dir/conftest.one &&
   2277 	      test -s conftest.dir/conftest.two
   2278 	    then
   2279 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2280 	      break 3
   2281 	    fi
   2282 	  fi
   2283 	fi
   2284       done
   2285     done
   2286     ;;
   2287 esac
   2288 
   2289   done
   2290 IFS=$as_save_IFS
   2291 
   2292 rm -rf conftest.one conftest.two conftest.dir
   2293 
   2294 fi
   2295   if test "${ac_cv_path_install+set}" = set; then
   2296     INSTALL=$ac_cv_path_install
   2297   else
   2298     # As a last resort, use the slow shell script.  Don't cache a
   2299     # value for INSTALL within a source directory, because that will
   2300     # break other packages using the cache if that directory is
   2301     # removed, or if the value is a relative name.
   2302     INSTALL=$ac_install_sh
   2303   fi
   2304 fi
   2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2306 $as_echo "$INSTALL" >&6; }
   2307 
   2308 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2309 # It thinks the first close brace ends the variable substitution.
   2310 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2311 
   2312 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2313 
   2314 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2315 
   2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2317 $as_echo_n "checking whether build environment is sane... " >&6; }
   2318 # Reject unsafe characters in $srcdir or the absolute working directory
   2319 # name.  Accept space and tab only in the latter.
   2320 am_lf='
   2321 '
   2322 case `pwd` in
   2323   *[\\\"\#\$\&\'\`$am_lf]*)
   2324     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2325 esac
   2326 case $srcdir in
   2327   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2328     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2329 esac
   2330 
   2331 # Do 'set' in a subshell so we don't clobber the current shell's
   2332 # arguments.  Must try -L first in case configure is actually a
   2333 # symlink; some systems play weird games with the mod time of symlinks
   2334 # (eg FreeBSD returns the mod time of the symlink's containing
   2335 # directory).
   2336 if (
   2337    am_has_slept=no
   2338    for am_try in 1 2; do
   2339      echo "timestamp, slept: $am_has_slept" > conftest.file
   2340      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2341      if test "$*" = "X"; then
   2342 	# -L didn't work.
   2343 	set X `ls -t "$srcdir/configure" conftest.file`
   2344      fi
   2345      if test "$*" != "X $srcdir/configure conftest.file" \
   2346 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2347 
   2348 	# If neither matched, then we have a broken ls.  This can happen
   2349 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2350 	# broken ls alias from the environment.  This has actually
   2351 	# happened.  Such a system could not be considered "sane".
   2352 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2353   alias in your environment" "$LINENO" 5
   2354      fi
   2355      if test "$2" = conftest.file || test $am_try -eq 2; then
   2356        break
   2357      fi
   2358      # Just in case.
   2359      sleep 1
   2360      am_has_slept=yes
   2361    done
   2362    test "$2" = conftest.file
   2363    )
   2364 then
   2365    # Ok.
   2366    :
   2367 else
   2368    as_fn_error $? "newly created file is older than distributed files!
   2369 Check your system clock" "$LINENO" 5
   2370 fi
   2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2372 $as_echo "yes" >&6; }
   2373 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2374 # generated files are strictly newer.
   2375 am_sleep_pid=
   2376 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2377   ( sleep 1 ) &
   2378   am_sleep_pid=$!
   2379 fi
   2380 
   2381 rm -f conftest.file
   2382 
   2383 test "$program_prefix" != NONE &&
   2384   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2385 # Use a double $ so make ignores it.
   2386 test "$program_suffix" != NONE &&
   2387   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2388 # Double any \ or $.
   2389 # By default was `s,x,x', remove it if useless.
   2390 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2391 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2392 
   2393 # expand $ac_aux_dir to an absolute path
   2394 am_aux_dir=`cd $ac_aux_dir && pwd`
   2395 
   2396 if test x"${MISSING+set}" != xset; then
   2397   case $am_aux_dir in
   2398   *\ * | *\	*)
   2399     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2400   *)
   2401     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2402   esac
   2403 fi
   2404 # Use eval to expand $SHELL
   2405 if eval "$MISSING --is-lightweight"; then
   2406   am_missing_run="$MISSING "
   2407 else
   2408   am_missing_run=
   2409   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2410 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2411 fi
   2412 
   2413 if test x"${install_sh}" != xset; then
   2414   case $am_aux_dir in
   2415   *\ * | *\	*)
   2416     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2417   *)
   2418     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2419   esac
   2420 fi
   2421 
   2422 # Installed binaries are usually stripped using 'strip' when the user
   2423 # run "make install-strip".  However 'strip' might not be the right
   2424 # tool to use in cross-compilation environments, therefore Automake
   2425 # will honor the 'STRIP' environment variable to overrule this program.
   2426 if test "$cross_compiling" != no; then
   2427   if test -n "$ac_tool_prefix"; then
   2428   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2429 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2431 $as_echo_n "checking for $ac_word... " >&6; }
   2432 if ${ac_cv_prog_STRIP+:} false; then :
   2433   $as_echo_n "(cached) " >&6
   2434 else
   2435   if test -n "$STRIP"; then
   2436   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2437 else
   2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2439 for as_dir in $PATH
   2440 do
   2441   IFS=$as_save_IFS
   2442   test -z "$as_dir" && as_dir=.
   2443     for ac_exec_ext in '' $ac_executable_extensions; do
   2444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2445     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2447     break 2
   2448   fi
   2449 done
   2450   done
   2451 IFS=$as_save_IFS
   2452 
   2453 fi
   2454 fi
   2455 STRIP=$ac_cv_prog_STRIP
   2456 if test -n "$STRIP"; then
   2457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2458 $as_echo "$STRIP" >&6; }
   2459 else
   2460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2461 $as_echo "no" >&6; }
   2462 fi
   2463 
   2464 
   2465 fi
   2466 if test -z "$ac_cv_prog_STRIP"; then
   2467   ac_ct_STRIP=$STRIP
   2468   # Extract the first word of "strip", so it can be a program name with args.
   2469 set dummy strip; ac_word=$2
   2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2471 $as_echo_n "checking for $ac_word... " >&6; }
   2472 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2473   $as_echo_n "(cached) " >&6
   2474 else
   2475   if test -n "$ac_ct_STRIP"; then
   2476   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2477 else
   2478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2479 for as_dir in $PATH
   2480 do
   2481   IFS=$as_save_IFS
   2482   test -z "$as_dir" && as_dir=.
   2483     for ac_exec_ext in '' $ac_executable_extensions; do
   2484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2485     ac_cv_prog_ac_ct_STRIP="strip"
   2486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2487     break 2
   2488   fi
   2489 done
   2490   done
   2491 IFS=$as_save_IFS
   2492 
   2493 fi
   2494 fi
   2495 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2496 if test -n "$ac_ct_STRIP"; then
   2497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2498 $as_echo "$ac_ct_STRIP" >&6; }
   2499 else
   2500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2501 $as_echo "no" >&6; }
   2502 fi
   2503 
   2504   if test "x$ac_ct_STRIP" = x; then
   2505     STRIP=":"
   2506   else
   2507     case $cross_compiling:$ac_tool_warned in
   2508 yes:)
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2511 ac_tool_warned=yes ;;
   2512 esac
   2513     STRIP=$ac_ct_STRIP
   2514   fi
   2515 else
   2516   STRIP="$ac_cv_prog_STRIP"
   2517 fi
   2518 
   2519 fi
   2520 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2521 
   2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2523 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2524 if test -z "$MKDIR_P"; then
   2525   if ${ac_cv_path_mkdir+:} false; then :
   2526   $as_echo_n "(cached) " >&6
   2527 else
   2528   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2529 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2530 do
   2531   IFS=$as_save_IFS
   2532   test -z "$as_dir" && as_dir=.
   2533     for ac_prog in mkdir gmkdir; do
   2534 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2535 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2536 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2537 	     'mkdir (GNU coreutils) '* | \
   2538 	     'mkdir (coreutils) '* | \
   2539 	     'mkdir (fileutils) '4.1*)
   2540 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2541 	       break 3;;
   2542 	   esac
   2543 	 done
   2544        done
   2545   done
   2546 IFS=$as_save_IFS
   2547 
   2548 fi
   2549 
   2550   test -d ./--version && rmdir ./--version
   2551   if test "${ac_cv_path_mkdir+set}" = set; then
   2552     MKDIR_P="$ac_cv_path_mkdir -p"
   2553   else
   2554     # As a last resort, use the slow shell script.  Don't cache a
   2555     # value for MKDIR_P within a source directory, because that will
   2556     # break other packages using the cache if that directory is
   2557     # removed, or if the value is a relative name.
   2558     MKDIR_P="$ac_install_sh -d"
   2559   fi
   2560 fi
   2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2562 $as_echo "$MKDIR_P" >&6; }
   2563 
   2564 for ac_prog in gawk mawk nawk awk
   2565 do
   2566   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2567 set dummy $ac_prog; ac_word=$2
   2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2569 $as_echo_n "checking for $ac_word... " >&6; }
   2570 if ${ac_cv_prog_AWK+:} false; then :
   2571   $as_echo_n "(cached) " >&6
   2572 else
   2573   if test -n "$AWK"; then
   2574   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2575 else
   2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2577 for as_dir in $PATH
   2578 do
   2579   IFS=$as_save_IFS
   2580   test -z "$as_dir" && as_dir=.
   2581     for ac_exec_ext in '' $ac_executable_extensions; do
   2582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2583     ac_cv_prog_AWK="$ac_prog"
   2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2585     break 2
   2586   fi
   2587 done
   2588   done
   2589 IFS=$as_save_IFS
   2590 
   2591 fi
   2592 fi
   2593 AWK=$ac_cv_prog_AWK
   2594 if test -n "$AWK"; then
   2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2596 $as_echo "$AWK" >&6; }
   2597 else
   2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2599 $as_echo "no" >&6; }
   2600 fi
   2601 
   2602 
   2603   test -n "$AWK" && break
   2604 done
   2605 
   2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2607 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2608 set x ${MAKE-make}
   2609 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2610 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2611   $as_echo_n "(cached) " >&6
   2612 else
   2613   cat >conftest.make <<\_ACEOF
   2614 SHELL = /bin/sh
   2615 all:
   2616 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2617 _ACEOF
   2618 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2619 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2620   *@@@%%%=?*=@@@%%%*)
   2621     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2622   *)
   2623     eval ac_cv_prog_make_${ac_make}_set=no;;
   2624 esac
   2625 rm -f conftest.make
   2626 fi
   2627 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2629 $as_echo "yes" >&6; }
   2630   SET_MAKE=
   2631 else
   2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2633 $as_echo "no" >&6; }
   2634   SET_MAKE="MAKE=${MAKE-make}"
   2635 fi
   2636 
   2637 rm -rf .tst 2>/dev/null
   2638 mkdir .tst 2>/dev/null
   2639 if test -d .tst; then
   2640   am__leading_dot=.
   2641 else
   2642   am__leading_dot=_
   2643 fi
   2644 rmdir .tst 2>/dev/null
   2645 
   2646 # Check whether --enable-silent-rules was given.
   2647 if test "${enable_silent_rules+set}" = set; then :
   2648   enableval=$enable_silent_rules;
   2649 fi
   2650 
   2651 case $enable_silent_rules in # (((
   2652   yes) AM_DEFAULT_VERBOSITY=0;;
   2653    no) AM_DEFAULT_VERBOSITY=1;;
   2654     *) AM_DEFAULT_VERBOSITY=1;;
   2655 esac
   2656 am_make=${MAKE-make}
   2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2658 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2659 if ${am_cv_make_support_nested_variables+:} false; then :
   2660   $as_echo_n "(cached) " >&6
   2661 else
   2662   if $as_echo 'TRUE=$(BAR$(V))
   2663 BAR0=false
   2664 BAR1=true
   2665 V=1
   2666 am__doit:
   2667 	@$(TRUE)
   2668 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2669   am_cv_make_support_nested_variables=yes
   2670 else
   2671   am_cv_make_support_nested_variables=no
   2672 fi
   2673 fi
   2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2675 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2676 if test $am_cv_make_support_nested_variables = yes; then
   2677     AM_V='$(V)'
   2678   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2679 else
   2680   AM_V=$AM_DEFAULT_VERBOSITY
   2681   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2682 fi
   2683 AM_BACKSLASH='\'
   2684 
   2685 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2686   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2687   # is not polluted with repeated "-I."
   2688   am__isrc=' -I$(srcdir)'
   2689   # test to see if srcdir already configured
   2690   if test -f $srcdir/config.status; then
   2691     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2692   fi
   2693 fi
   2694 
   2695 # test whether we have cygpath
   2696 if test -z "$CYGPATH_W"; then
   2697   if (cygpath --version) >/dev/null 2>/dev/null; then
   2698     CYGPATH_W='cygpath -w'
   2699   else
   2700     CYGPATH_W=echo
   2701   fi
   2702 fi
   2703 
   2704 
   2705 # Define the identity of the package.
   2706  PACKAGE='libXrandr'
   2707  VERSION='1.4.2'
   2708 
   2709 
   2710 cat >>confdefs.h <<_ACEOF
   2711 #define PACKAGE "$PACKAGE"
   2712 _ACEOF
   2713 
   2714 
   2715 cat >>confdefs.h <<_ACEOF
   2716 #define VERSION "$VERSION"
   2717 _ACEOF
   2718 
   2719 # Some tools Automake needs.
   2720 
   2721 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2722 
   2723 
   2724 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2725 
   2726 
   2727 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2728 
   2729 
   2730 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2731 
   2732 
   2733 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2734 
   2735 # For better backward compatibility.  To be removed once Automake 1.9.x
   2736 # dies out for good.  For more background, see:
   2737 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2738 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2739 mkdir_p='$(MKDIR_P)'
   2740 
   2741 # We need awk for the "check" target.  The system "awk" is bad on
   2742 # some platforms.
   2743 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2744 # in the wild :-(  We should find a proper way to deprecate it ...
   2745 AMTAR='$${TAR-tar}'
   2746 
   2747 
   2748 # We'll loop over all known methods to create a tar archive until one works.
   2749 _am_tools='gnutar  pax cpio none'
   2750 
   2751 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2752 
   2753 
   2754 
   2755 
   2756 
   2757 
   2758 # POSIX will say in a future version that running "rm -f" with no argument
   2759 # is OK; and we want to be able to make that assumption in our Makefile
   2760 # recipes.  So use an aggressive probe to check that the usage we want is
   2761 # actually supported "in the wild" to an acceptable degree.
   2762 # See automake bug#10828.
   2763 # To make any issue more visible, cause the running configure to be aborted
   2764 # by default if the 'rm' program in use doesn't match our expectations; the
   2765 # user can still override this though.
   2766 if rm -f && rm -fr && rm -rf; then : OK; else
   2767   cat >&2 <<'END'
   2768 Oops!
   2769 
   2770 Your 'rm' program seems unable to run without file operands specified
   2771 on the command line, even when the '-f' option is present.  This is contrary
   2772 to the behaviour of most rm programs out there, and not conforming with
   2773 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2774 
   2775 Please tell bug-automake@gnu.org about your system, including the value
   2776 of your $PATH and any error possibly output before this message.  This
   2777 can help us improve future automake versions.
   2778 
   2779 END
   2780   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2781     echo 'Configuration will proceed anyway, since you have set the' >&2
   2782     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2783     echo >&2
   2784   else
   2785     cat >&2 <<'END'
   2786 Aborting the configuration process, to ensure you take notice of the issue.
   2787 
   2788 You can download and install GNU coreutils to get an 'rm' implementation
   2789 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2790 
   2791 If you want to complete the configuration process using your problematic
   2792 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2793 to "yes", and re-run configure.
   2794 
   2795 END
   2796     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2797   fi
   2798 fi
   2799 
   2800 # Initialize libtool
   2801 case `pwd` in
   2802   *\ * | *\	*)
   2803     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2804 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2805 esac
   2806 
   2807 
   2808 
   2809 macro_version='2.4.2'
   2810 macro_revision='1.3337'
   2811 
   2812 
   2813 
   2814 
   2815 
   2816 
   2817 
   2818 
   2819 
   2820 
   2821 
   2822 
   2823 
   2824 ltmain="$ac_aux_dir/ltmain.sh"
   2825 
   2826 # Make sure we can run config.sub.
   2827 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2828   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2829 
   2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2831 $as_echo_n "checking build system type... " >&6; }
   2832 if ${ac_cv_build+:} false; then :
   2833   $as_echo_n "(cached) " >&6
   2834 else
   2835   ac_build_alias=$build_alias
   2836 test "x$ac_build_alias" = x &&
   2837   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2838 test "x$ac_build_alias" = x &&
   2839   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2840 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2841   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2842 
   2843 fi
   2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2845 $as_echo "$ac_cv_build" >&6; }
   2846 case $ac_cv_build in
   2847 *-*-*) ;;
   2848 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2849 esac
   2850 build=$ac_cv_build
   2851 ac_save_IFS=$IFS; IFS='-'
   2852 set x $ac_cv_build
   2853 shift
   2854 build_cpu=$1
   2855 build_vendor=$2
   2856 shift; shift
   2857 # Remember, the first character of IFS is used to create $*,
   2858 # except with old shells:
   2859 build_os=$*
   2860 IFS=$ac_save_IFS
   2861 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2862 
   2863 
   2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2865 $as_echo_n "checking host system type... " >&6; }
   2866 if ${ac_cv_host+:} false; then :
   2867   $as_echo_n "(cached) " >&6
   2868 else
   2869   if test "x$host_alias" = x; then
   2870   ac_cv_host=$ac_cv_build
   2871 else
   2872   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2873     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2874 fi
   2875 
   2876 fi
   2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2878 $as_echo "$ac_cv_host" >&6; }
   2879 case $ac_cv_host in
   2880 *-*-*) ;;
   2881 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2882 esac
   2883 host=$ac_cv_host
   2884 ac_save_IFS=$IFS; IFS='-'
   2885 set x $ac_cv_host
   2886 shift
   2887 host_cpu=$1
   2888 host_vendor=$2
   2889 shift; shift
   2890 # Remember, the first character of IFS is used to create $*,
   2891 # except with old shells:
   2892 host_os=$*
   2893 IFS=$ac_save_IFS
   2894 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2895 
   2896 
   2897 # Backslashify metacharacters that are still active within
   2898 # double-quoted strings.
   2899 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2900 
   2901 # Same as above, but do not quote variable references.
   2902 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2903 
   2904 # Sed substitution to delay expansion of an escaped shell variable in a
   2905 # double_quote_subst'ed string.
   2906 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2907 
   2908 # Sed substitution to delay expansion of an escaped single quote.
   2909 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2910 
   2911 # Sed substitution to avoid accidental globbing in evaled expressions
   2912 no_glob_subst='s/\*/\\\*/g'
   2913 
   2914 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2915 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2916 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2917 
   2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2919 $as_echo_n "checking how to print strings... " >&6; }
   2920 # Test print first, because it will be a builtin if present.
   2921 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2922    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2923   ECHO='print -r --'
   2924 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2925   ECHO='printf %s\n'
   2926 else
   2927   # Use this function as a fallback that always works.
   2928   func_fallback_echo ()
   2929   {
   2930     eval 'cat <<_LTECHO_EOF
   2931 $1
   2932 _LTECHO_EOF'
   2933   }
   2934   ECHO='func_fallback_echo'
   2935 fi
   2936 
   2937 # func_echo_all arg...
   2938 # Invoke $ECHO with all args, space-separated.
   2939 func_echo_all ()
   2940 {
   2941     $ECHO ""
   2942 }
   2943 
   2944 case "$ECHO" in
   2945   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2946 $as_echo "printf" >&6; } ;;
   2947   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2948 $as_echo "print -r" >&6; } ;;
   2949   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2950 $as_echo "cat" >&6; } ;;
   2951 esac
   2952 
   2953 
   2954 
   2955 
   2956 
   2957 
   2958 
   2959 
   2960 
   2961 
   2962 
   2963 
   2964 
   2965 
   2966 DEPDIR="${am__leading_dot}deps"
   2967 
   2968 ac_config_commands="$ac_config_commands depfiles"
   2969 
   2970 
   2971 am_make=${MAKE-make}
   2972 cat > confinc << 'END'
   2973 am__doit:
   2974 	@echo this is the am__doit target
   2975 .PHONY: am__doit
   2976 END
   2977 # If we don't find an include directive, just comment out the code.
   2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2979 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2980 am__include="#"
   2981 am__quote=
   2982 _am_result=none
   2983 # First try GNU make style include.
   2984 echo "include confinc" > confmf
   2985 # Ignore all kinds of additional output from 'make'.
   2986 case `$am_make -s -f confmf 2> /dev/null` in #(
   2987 *the\ am__doit\ target*)
   2988   am__include=include
   2989   am__quote=
   2990   _am_result=GNU
   2991   ;;
   2992 esac
   2993 # Now try BSD make style include.
   2994 if test "$am__include" = "#"; then
   2995    echo '.include "confinc"' > confmf
   2996    case `$am_make -s -f confmf 2> /dev/null` in #(
   2997    *the\ am__doit\ target*)
   2998      am__include=.include
   2999      am__quote="\""
   3000      _am_result=BSD
   3001      ;;
   3002    esac
   3003 fi
   3004 
   3005 
   3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3007 $as_echo "$_am_result" >&6; }
   3008 rm -f confinc confmf
   3009 
   3010 # Check whether --enable-dependency-tracking was given.
   3011 if test "${enable_dependency_tracking+set}" = set; then :
   3012   enableval=$enable_dependency_tracking;
   3013 fi
   3014 
   3015 if test "x$enable_dependency_tracking" != xno; then
   3016   am_depcomp="$ac_aux_dir/depcomp"
   3017   AMDEPBACKSLASH='\'
   3018   am__nodep='_no'
   3019 fi
   3020  if test "x$enable_dependency_tracking" != xno; then
   3021   AMDEP_TRUE=
   3022   AMDEP_FALSE='#'
   3023 else
   3024   AMDEP_TRUE='#'
   3025   AMDEP_FALSE=
   3026 fi
   3027 
   3028 
   3029 ac_ext=c
   3030 ac_cpp='$CPP $CPPFLAGS'
   3031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3034 if test -n "$ac_tool_prefix"; then
   3035   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3036 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3038 $as_echo_n "checking for $ac_word... " >&6; }
   3039 if ${ac_cv_prog_CC+:} false; then :
   3040   $as_echo_n "(cached) " >&6
   3041 else
   3042   if test -n "$CC"; then
   3043   ac_cv_prog_CC="$CC" # Let the user override the test.
   3044 else
   3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3046 for as_dir in $PATH
   3047 do
   3048   IFS=$as_save_IFS
   3049   test -z "$as_dir" && as_dir=.
   3050     for ac_exec_ext in '' $ac_executable_extensions; do
   3051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3052     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3054     break 2
   3055   fi
   3056 done
   3057   done
   3058 IFS=$as_save_IFS
   3059 
   3060 fi
   3061 fi
   3062 CC=$ac_cv_prog_CC
   3063 if test -n "$CC"; then
   3064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3065 $as_echo "$CC" >&6; }
   3066 else
   3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3068 $as_echo "no" >&6; }
   3069 fi
   3070 
   3071 
   3072 fi
   3073 if test -z "$ac_cv_prog_CC"; then
   3074   ac_ct_CC=$CC
   3075   # Extract the first word of "gcc", so it can be a program name with args.
   3076 set dummy gcc; ac_word=$2
   3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3078 $as_echo_n "checking for $ac_word... " >&6; }
   3079 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3080   $as_echo_n "(cached) " >&6
   3081 else
   3082   if test -n "$ac_ct_CC"; then
   3083   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3084 else
   3085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3086 for as_dir in $PATH
   3087 do
   3088   IFS=$as_save_IFS
   3089   test -z "$as_dir" && as_dir=.
   3090     for ac_exec_ext in '' $ac_executable_extensions; do
   3091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3092     ac_cv_prog_ac_ct_CC="gcc"
   3093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3094     break 2
   3095   fi
   3096 done
   3097   done
   3098 IFS=$as_save_IFS
   3099 
   3100 fi
   3101 fi
   3102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3103 if test -n "$ac_ct_CC"; then
   3104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3105 $as_echo "$ac_ct_CC" >&6; }
   3106 else
   3107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3108 $as_echo "no" >&6; }
   3109 fi
   3110 
   3111   if test "x$ac_ct_CC" = x; then
   3112     CC=""
   3113   else
   3114     case $cross_compiling:$ac_tool_warned in
   3115 yes:)
   3116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3118 ac_tool_warned=yes ;;
   3119 esac
   3120     CC=$ac_ct_CC
   3121   fi
   3122 else
   3123   CC="$ac_cv_prog_CC"
   3124 fi
   3125 
   3126 if test -z "$CC"; then
   3127           if test -n "$ac_tool_prefix"; then
   3128     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3129 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3131 $as_echo_n "checking for $ac_word... " >&6; }
   3132 if ${ac_cv_prog_CC+:} false; then :
   3133   $as_echo_n "(cached) " >&6
   3134 else
   3135   if test -n "$CC"; then
   3136   ac_cv_prog_CC="$CC" # Let the user override the test.
   3137 else
   3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3139 for as_dir in $PATH
   3140 do
   3141   IFS=$as_save_IFS
   3142   test -z "$as_dir" && as_dir=.
   3143     for ac_exec_ext in '' $ac_executable_extensions; do
   3144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3145     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3147     break 2
   3148   fi
   3149 done
   3150   done
   3151 IFS=$as_save_IFS
   3152 
   3153 fi
   3154 fi
   3155 CC=$ac_cv_prog_CC
   3156 if test -n "$CC"; then
   3157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3158 $as_echo "$CC" >&6; }
   3159 else
   3160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3161 $as_echo "no" >&6; }
   3162 fi
   3163 
   3164 
   3165   fi
   3166 fi
   3167 if test -z "$CC"; then
   3168   # Extract the first word of "cc", so it can be a program name with args.
   3169 set dummy cc; ac_word=$2
   3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3171 $as_echo_n "checking for $ac_word... " >&6; }
   3172 if ${ac_cv_prog_CC+:} false; then :
   3173   $as_echo_n "(cached) " >&6
   3174 else
   3175   if test -n "$CC"; then
   3176   ac_cv_prog_CC="$CC" # Let the user override the test.
   3177 else
   3178   ac_prog_rejected=no
   3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3180 for as_dir in $PATH
   3181 do
   3182   IFS=$as_save_IFS
   3183   test -z "$as_dir" && as_dir=.
   3184     for ac_exec_ext in '' $ac_executable_extensions; do
   3185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3186     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3187        ac_prog_rejected=yes
   3188        continue
   3189      fi
   3190     ac_cv_prog_CC="cc"
   3191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3192     break 2
   3193   fi
   3194 done
   3195   done
   3196 IFS=$as_save_IFS
   3197 
   3198 if test $ac_prog_rejected = yes; then
   3199   # We found a bogon in the path, so make sure we never use it.
   3200   set dummy $ac_cv_prog_CC
   3201   shift
   3202   if test $# != 0; then
   3203     # We chose a different compiler from the bogus one.
   3204     # However, it has the same basename, so the bogon will be chosen
   3205     # first if we set CC to just the basename; use the full file name.
   3206     shift
   3207     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3208   fi
   3209 fi
   3210 fi
   3211 fi
   3212 CC=$ac_cv_prog_CC
   3213 if test -n "$CC"; then
   3214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3215 $as_echo "$CC" >&6; }
   3216 else
   3217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3218 $as_echo "no" >&6; }
   3219 fi
   3220 
   3221 
   3222 fi
   3223 if test -z "$CC"; then
   3224   if test -n "$ac_tool_prefix"; then
   3225   for ac_prog in cl.exe
   3226   do
   3227     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3230 $as_echo_n "checking for $ac_word... " >&6; }
   3231 if ${ac_cv_prog_CC+:} false; then :
   3232   $as_echo_n "(cached) " >&6
   3233 else
   3234   if test -n "$CC"; then
   3235   ac_cv_prog_CC="$CC" # Let the user override the test.
   3236 else
   3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3238 for as_dir in $PATH
   3239 do
   3240   IFS=$as_save_IFS
   3241   test -z "$as_dir" && as_dir=.
   3242     for ac_exec_ext in '' $ac_executable_extensions; do
   3243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3244     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3246     break 2
   3247   fi
   3248 done
   3249   done
   3250 IFS=$as_save_IFS
   3251 
   3252 fi
   3253 fi
   3254 CC=$ac_cv_prog_CC
   3255 if test -n "$CC"; then
   3256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3257 $as_echo "$CC" >&6; }
   3258 else
   3259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3260 $as_echo "no" >&6; }
   3261 fi
   3262 
   3263 
   3264     test -n "$CC" && break
   3265   done
   3266 fi
   3267 if test -z "$CC"; then
   3268   ac_ct_CC=$CC
   3269   for ac_prog in cl.exe
   3270 do
   3271   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3272 set dummy $ac_prog; ac_word=$2
   3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3274 $as_echo_n "checking for $ac_word... " >&6; }
   3275 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3276   $as_echo_n "(cached) " >&6
   3277 else
   3278   if test -n "$ac_ct_CC"; then
   3279   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3280 else
   3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3282 for as_dir in $PATH
   3283 do
   3284   IFS=$as_save_IFS
   3285   test -z "$as_dir" && as_dir=.
   3286     for ac_exec_ext in '' $ac_executable_extensions; do
   3287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3288     ac_cv_prog_ac_ct_CC="$ac_prog"
   3289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3290     break 2
   3291   fi
   3292 done
   3293   done
   3294 IFS=$as_save_IFS
   3295 
   3296 fi
   3297 fi
   3298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3299 if test -n "$ac_ct_CC"; then
   3300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3301 $as_echo "$ac_ct_CC" >&6; }
   3302 else
   3303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3304 $as_echo "no" >&6; }
   3305 fi
   3306 
   3307 
   3308   test -n "$ac_ct_CC" && break
   3309 done
   3310 
   3311   if test "x$ac_ct_CC" = x; then
   3312     CC=""
   3313   else
   3314     case $cross_compiling:$ac_tool_warned in
   3315 yes:)
   3316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3318 ac_tool_warned=yes ;;
   3319 esac
   3320     CC=$ac_ct_CC
   3321   fi
   3322 fi
   3323 
   3324 fi
   3325 
   3326 
   3327 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3329 as_fn_error $? "no acceptable C compiler found in \$PATH
   3330 See \`config.log' for more details" "$LINENO" 5; }
   3331 
   3332 # Provide some information about the compiler.
   3333 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3334 set X $ac_compile
   3335 ac_compiler=$2
   3336 for ac_option in --version -v -V -qversion; do
   3337   { { ac_try="$ac_compiler $ac_option >&5"
   3338 case "(($ac_try" in
   3339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3340   *) ac_try_echo=$ac_try;;
   3341 esac
   3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3343 $as_echo "$ac_try_echo"; } >&5
   3344   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3345   ac_status=$?
   3346   if test -s conftest.err; then
   3347     sed '10a\
   3348 ... rest of stderr output deleted ...
   3349          10q' conftest.err >conftest.er1
   3350     cat conftest.er1 >&5
   3351   fi
   3352   rm -f conftest.er1 conftest.err
   3353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3354   test $ac_status = 0; }
   3355 done
   3356 
   3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3358 /* end confdefs.h.  */
   3359 
   3360 int
   3361 main ()
   3362 {
   3363 
   3364   ;
   3365   return 0;
   3366 }
   3367 _ACEOF
   3368 ac_clean_files_save=$ac_clean_files
   3369 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3370 # Try to create an executable without -o first, disregard a.out.
   3371 # It will help us diagnose broken compilers, and finding out an intuition
   3372 # of exeext.
   3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3374 $as_echo_n "checking whether the C compiler works... " >&6; }
   3375 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3376 
   3377 # The possible output files:
   3378 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3379 
   3380 ac_rmfiles=
   3381 for ac_file in $ac_files
   3382 do
   3383   case $ac_file in
   3384     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3385     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3386   esac
   3387 done
   3388 rm -f $ac_rmfiles
   3389 
   3390 if { { ac_try="$ac_link_default"
   3391 case "(($ac_try" in
   3392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3393   *) ac_try_echo=$ac_try;;
   3394 esac
   3395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3396 $as_echo "$ac_try_echo"; } >&5
   3397   (eval "$ac_link_default") 2>&5
   3398   ac_status=$?
   3399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3400   test $ac_status = 0; }; then :
   3401   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3402 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3403 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3404 # so that the user can short-circuit this test for compilers unknown to
   3405 # Autoconf.
   3406 for ac_file in $ac_files ''
   3407 do
   3408   test -f "$ac_file" || continue
   3409   case $ac_file in
   3410     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3411 	;;
   3412     [ab].out )
   3413 	# We found the default executable, but exeext='' is most
   3414 	# certainly right.
   3415 	break;;
   3416     *.* )
   3417 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3418 	then :; else
   3419 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3420 	fi
   3421 	# We set ac_cv_exeext here because the later test for it is not
   3422 	# safe: cross compilers may not add the suffix if given an `-o'
   3423 	# argument, so we may need to know it at that point already.
   3424 	# Even if this section looks crufty: it has the advantage of
   3425 	# actually working.
   3426 	break;;
   3427     * )
   3428 	break;;
   3429   esac
   3430 done
   3431 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3432 
   3433 else
   3434   ac_file=''
   3435 fi
   3436 if test -z "$ac_file"; then :
   3437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3438 $as_echo "no" >&6; }
   3439 $as_echo "$as_me: failed program was:" >&5
   3440 sed 's/^/| /' conftest.$ac_ext >&5
   3441 
   3442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3444 as_fn_error 77 "C compiler cannot create executables
   3445 See \`config.log' for more details" "$LINENO" 5; }
   3446 else
   3447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3448 $as_echo "yes" >&6; }
   3449 fi
   3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3451 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3453 $as_echo "$ac_file" >&6; }
   3454 ac_exeext=$ac_cv_exeext
   3455 
   3456 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3457 ac_clean_files=$ac_clean_files_save
   3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3459 $as_echo_n "checking for suffix of executables... " >&6; }
   3460 if { { ac_try="$ac_link"
   3461 case "(($ac_try" in
   3462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3463   *) ac_try_echo=$ac_try;;
   3464 esac
   3465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3466 $as_echo "$ac_try_echo"; } >&5
   3467   (eval "$ac_link") 2>&5
   3468   ac_status=$?
   3469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3470   test $ac_status = 0; }; then :
   3471   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3472 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3473 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3474 # `rm'.
   3475 for ac_file in conftest.exe conftest conftest.*; do
   3476   test -f "$ac_file" || continue
   3477   case $ac_file in
   3478     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3479     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3480 	  break;;
   3481     * ) break;;
   3482   esac
   3483 done
   3484 else
   3485   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3487 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3488 See \`config.log' for more details" "$LINENO" 5; }
   3489 fi
   3490 rm -f conftest conftest$ac_cv_exeext
   3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3492 $as_echo "$ac_cv_exeext" >&6; }
   3493 
   3494 rm -f conftest.$ac_ext
   3495 EXEEXT=$ac_cv_exeext
   3496 ac_exeext=$EXEEXT
   3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3498 /* end confdefs.h.  */
   3499 #include <stdio.h>
   3500 int
   3501 main ()
   3502 {
   3503 FILE *f = fopen ("conftest.out", "w");
   3504  return ferror (f) || fclose (f) != 0;
   3505 
   3506   ;
   3507   return 0;
   3508 }
   3509 _ACEOF
   3510 ac_clean_files="$ac_clean_files conftest.out"
   3511 # Check that the compiler produces executables we can run.  If not, either
   3512 # the compiler is broken, or we cross compile.
   3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3514 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3515 if test "$cross_compiling" != yes; then
   3516   { { ac_try="$ac_link"
   3517 case "(($ac_try" in
   3518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3519   *) ac_try_echo=$ac_try;;
   3520 esac
   3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3522 $as_echo "$ac_try_echo"; } >&5
   3523   (eval "$ac_link") 2>&5
   3524   ac_status=$?
   3525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3526   test $ac_status = 0; }
   3527   if { ac_try='./conftest$ac_cv_exeext'
   3528   { { case "(($ac_try" in
   3529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3530   *) ac_try_echo=$ac_try;;
   3531 esac
   3532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3533 $as_echo "$ac_try_echo"; } >&5
   3534   (eval "$ac_try") 2>&5
   3535   ac_status=$?
   3536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3537   test $ac_status = 0; }; }; then
   3538     cross_compiling=no
   3539   else
   3540     if test "$cross_compiling" = maybe; then
   3541 	cross_compiling=yes
   3542     else
   3543 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3545 as_fn_error $? "cannot run C compiled programs.
   3546 If you meant to cross compile, use \`--host'.
   3547 See \`config.log' for more details" "$LINENO" 5; }
   3548     fi
   3549   fi
   3550 fi
   3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3552 $as_echo "$cross_compiling" >&6; }
   3553 
   3554 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3555 ac_clean_files=$ac_clean_files_save
   3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3557 $as_echo_n "checking for suffix of object files... " >&6; }
   3558 if ${ac_cv_objext+:} false; then :
   3559   $as_echo_n "(cached) " >&6
   3560 else
   3561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3562 /* end confdefs.h.  */
   3563 
   3564 int
   3565 main ()
   3566 {
   3567 
   3568   ;
   3569   return 0;
   3570 }
   3571 _ACEOF
   3572 rm -f conftest.o conftest.obj
   3573 if { { ac_try="$ac_compile"
   3574 case "(($ac_try" in
   3575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3576   *) ac_try_echo=$ac_try;;
   3577 esac
   3578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3579 $as_echo "$ac_try_echo"; } >&5
   3580   (eval "$ac_compile") 2>&5
   3581   ac_status=$?
   3582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3583   test $ac_status = 0; }; then :
   3584   for ac_file in conftest.o conftest.obj conftest.*; do
   3585   test -f "$ac_file" || continue;
   3586   case $ac_file in
   3587     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3588     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3589        break;;
   3590   esac
   3591 done
   3592 else
   3593   $as_echo "$as_me: failed program was:" >&5
   3594 sed 's/^/| /' conftest.$ac_ext >&5
   3595 
   3596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3598 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3599 See \`config.log' for more details" "$LINENO" 5; }
   3600 fi
   3601 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3602 fi
   3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3604 $as_echo "$ac_cv_objext" >&6; }
   3605 OBJEXT=$ac_cv_objext
   3606 ac_objext=$OBJEXT
   3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3608 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3609 if ${ac_cv_c_compiler_gnu+:} false; then :
   3610   $as_echo_n "(cached) " >&6
   3611 else
   3612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3613 /* end confdefs.h.  */
   3614 
   3615 int
   3616 main ()
   3617 {
   3618 #ifndef __GNUC__
   3619        choke me
   3620 #endif
   3621 
   3622   ;
   3623   return 0;
   3624 }
   3625 _ACEOF
   3626 if ac_fn_c_try_compile "$LINENO"; then :
   3627   ac_compiler_gnu=yes
   3628 else
   3629   ac_compiler_gnu=no
   3630 fi
   3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3632 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3633 
   3634 fi
   3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3636 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3637 if test $ac_compiler_gnu = yes; then
   3638   GCC=yes
   3639 else
   3640   GCC=
   3641 fi
   3642 ac_test_CFLAGS=${CFLAGS+set}
   3643 ac_save_CFLAGS=$CFLAGS
   3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3645 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3646 if ${ac_cv_prog_cc_g+:} false; then :
   3647   $as_echo_n "(cached) " >&6
   3648 else
   3649   ac_save_c_werror_flag=$ac_c_werror_flag
   3650    ac_c_werror_flag=yes
   3651    ac_cv_prog_cc_g=no
   3652    CFLAGS="-g"
   3653    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3654 /* end confdefs.h.  */
   3655 
   3656 int
   3657 main ()
   3658 {
   3659 
   3660   ;
   3661   return 0;
   3662 }
   3663 _ACEOF
   3664 if ac_fn_c_try_compile "$LINENO"; then :
   3665   ac_cv_prog_cc_g=yes
   3666 else
   3667   CFLAGS=""
   3668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3669 /* end confdefs.h.  */
   3670 
   3671 int
   3672 main ()
   3673 {
   3674 
   3675   ;
   3676   return 0;
   3677 }
   3678 _ACEOF
   3679 if ac_fn_c_try_compile "$LINENO"; then :
   3680 
   3681 else
   3682   ac_c_werror_flag=$ac_save_c_werror_flag
   3683 	 CFLAGS="-g"
   3684 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3685 /* end confdefs.h.  */
   3686 
   3687 int
   3688 main ()
   3689 {
   3690 
   3691   ;
   3692   return 0;
   3693 }
   3694 _ACEOF
   3695 if ac_fn_c_try_compile "$LINENO"; then :
   3696   ac_cv_prog_cc_g=yes
   3697 fi
   3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3699 fi
   3700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3701 fi
   3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3703    ac_c_werror_flag=$ac_save_c_werror_flag
   3704 fi
   3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3706 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3707 if test "$ac_test_CFLAGS" = set; then
   3708   CFLAGS=$ac_save_CFLAGS
   3709 elif test $ac_cv_prog_cc_g = yes; then
   3710   if test "$GCC" = yes; then
   3711     CFLAGS="-g -O2"
   3712   else
   3713     CFLAGS="-g"
   3714   fi
   3715 else
   3716   if test "$GCC" = yes; then
   3717     CFLAGS="-O2"
   3718   else
   3719     CFLAGS=
   3720   fi
   3721 fi
   3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3723 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3724 if ${ac_cv_prog_cc_c89+:} false; then :
   3725   $as_echo_n "(cached) " >&6
   3726 else
   3727   ac_cv_prog_cc_c89=no
   3728 ac_save_CC=$CC
   3729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3730 /* end confdefs.h.  */
   3731 #include <stdarg.h>
   3732 #include <stdio.h>
   3733 #include <sys/types.h>
   3734 #include <sys/stat.h>
   3735 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3736 struct buf { int x; };
   3737 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3738 static char *e (p, i)
   3739      char **p;
   3740      int i;
   3741 {
   3742   return p[i];
   3743 }
   3744 static char *f (char * (*g) (char **, int), char **p, ...)
   3745 {
   3746   char *s;
   3747   va_list v;
   3748   va_start (v,p);
   3749   s = g (p, va_arg (v,int));
   3750   va_end (v);
   3751   return s;
   3752 }
   3753 
   3754 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3755    function prototypes and stuff, but not '\xHH' hex character constants.
   3756    These don't provoke an error unfortunately, instead are silently treated
   3757    as 'x'.  The following induces an error, until -std is added to get
   3758    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3759    array size at least.  It's necessary to write '\x00'==0 to get something
   3760    that's true only with -std.  */
   3761 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3762 
   3763 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3764    inside strings and character constants.  */
   3765 #define FOO(x) 'x'
   3766 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3767 
   3768 int test (int i, double x);
   3769 struct s1 {int (*f) (int a);};
   3770 struct s2 {int (*f) (double a);};
   3771 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3772 int argc;
   3773 char **argv;
   3774 int
   3775 main ()
   3776 {
   3777 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3778   ;
   3779   return 0;
   3780 }
   3781 _ACEOF
   3782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3783 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3784 do
   3785   CC="$ac_save_CC $ac_arg"
   3786   if ac_fn_c_try_compile "$LINENO"; then :
   3787   ac_cv_prog_cc_c89=$ac_arg
   3788 fi
   3789 rm -f core conftest.err conftest.$ac_objext
   3790   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3791 done
   3792 rm -f conftest.$ac_ext
   3793 CC=$ac_save_CC
   3794 
   3795 fi
   3796 # AC_CACHE_VAL
   3797 case "x$ac_cv_prog_cc_c89" in
   3798   x)
   3799     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3800 $as_echo "none needed" >&6; } ;;
   3801   xno)
   3802     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3803 $as_echo "unsupported" >&6; } ;;
   3804   *)
   3805     CC="$CC $ac_cv_prog_cc_c89"
   3806     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3807 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3808 esac
   3809 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3810 
   3811 fi
   3812 
   3813 ac_ext=c
   3814 ac_cpp='$CPP $CPPFLAGS'
   3815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3818 
   3819 ac_ext=c
   3820 ac_cpp='$CPP $CPPFLAGS'
   3821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3825 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3826 if ${am_cv_prog_cc_c_o+:} false; then :
   3827   $as_echo_n "(cached) " >&6
   3828 else
   3829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3830 /* end confdefs.h.  */
   3831 
   3832 int
   3833 main ()
   3834 {
   3835 
   3836   ;
   3837   return 0;
   3838 }
   3839 _ACEOF
   3840   # Make sure it works both with $CC and with simple cc.
   3841   # Following AC_PROG_CC_C_O, we do the test twice because some
   3842   # compilers refuse to overwrite an existing .o file with -o,
   3843   # though they will create one.
   3844   am_cv_prog_cc_c_o=yes
   3845   for am_i in 1 2; do
   3846     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3847    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3848    ac_status=$?
   3849    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3850    (exit $ac_status); } \
   3851          && test -f conftest2.$ac_objext; then
   3852       : OK
   3853     else
   3854       am_cv_prog_cc_c_o=no
   3855       break
   3856     fi
   3857   done
   3858   rm -f core conftest*
   3859   unset am_i
   3860 fi
   3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3862 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3863 if test "$am_cv_prog_cc_c_o" != yes; then
   3864    # Losing compiler, so override with the script.
   3865    # FIXME: It is wrong to rewrite CC.
   3866    # But if we don't then we get into trouble of one sort or another.
   3867    # A longer-term fix would be to have automake use am__CC in this case,
   3868    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3869    CC="$am_aux_dir/compile $CC"
   3870 fi
   3871 ac_ext=c
   3872 ac_cpp='$CPP $CPPFLAGS'
   3873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3876 
   3877 
   3878 depcc="$CC"   am_compiler_list=
   3879 
   3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3881 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3882 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3883   $as_echo_n "(cached) " >&6
   3884 else
   3885   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3886   # We make a subdir and do the tests there.  Otherwise we can end up
   3887   # making bogus files that we don't know about and never remove.  For
   3888   # instance it was reported that on HP-UX the gcc test will end up
   3889   # making a dummy file named 'D' -- because '-MD' means "put the output
   3890   # in D".
   3891   rm -rf conftest.dir
   3892   mkdir conftest.dir
   3893   # Copy depcomp to subdir because otherwise we won't find it if we're
   3894   # using a relative directory.
   3895   cp "$am_depcomp" conftest.dir
   3896   cd conftest.dir
   3897   # We will build objects and dependencies in a subdirectory because
   3898   # it helps to detect inapplicable dependency modes.  For instance
   3899   # both Tru64's cc and ICC support -MD to output dependencies as a
   3900   # side effect of compilation, but ICC will put the dependencies in
   3901   # the current directory while Tru64 will put them in the object
   3902   # directory.
   3903   mkdir sub
   3904 
   3905   am_cv_CC_dependencies_compiler_type=none
   3906   if test "$am_compiler_list" = ""; then
   3907      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3908   fi
   3909   am__universal=false
   3910   case " $depcc " in #(
   3911      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3912      esac
   3913 
   3914   for depmode in $am_compiler_list; do
   3915     # Setup a source with many dependencies, because some compilers
   3916     # like to wrap large dependency lists on column 80 (with \), and
   3917     # we should not choose a depcomp mode which is confused by this.
   3918     #
   3919     # We need to recreate these files for each test, as the compiler may
   3920     # overwrite some of them when testing with obscure command lines.
   3921     # This happens at least with the AIX C compiler.
   3922     : > sub/conftest.c
   3923     for i in 1 2 3 4 5 6; do
   3924       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3925       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3926       # Solaris 10 /bin/sh.
   3927       echo '/* dummy */' > sub/conftst$i.h
   3928     done
   3929     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3930 
   3931     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3932     # mode.  It turns out that the SunPro C++ compiler does not properly
   3933     # handle '-M -o', and we need to detect this.  Also, some Intel
   3934     # versions had trouble with output in subdirs.
   3935     am__obj=sub/conftest.${OBJEXT-o}
   3936     am__minus_obj="-o $am__obj"
   3937     case $depmode in
   3938     gcc)
   3939       # This depmode causes a compiler race in universal mode.
   3940       test "$am__universal" = false || continue
   3941       ;;
   3942     nosideeffect)
   3943       # After this tag, mechanisms are not by side-effect, so they'll
   3944       # only be used when explicitly requested.
   3945       if test "x$enable_dependency_tracking" = xyes; then
   3946 	continue
   3947       else
   3948 	break
   3949       fi
   3950       ;;
   3951     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3952       # This compiler won't grok '-c -o', but also, the minuso test has
   3953       # not run yet.  These depmodes are late enough in the game, and
   3954       # so weak that their functioning should not be impacted.
   3955       am__obj=conftest.${OBJEXT-o}
   3956       am__minus_obj=
   3957       ;;
   3958     none) break ;;
   3959     esac
   3960     if depmode=$depmode \
   3961        source=sub/conftest.c object=$am__obj \
   3962        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3963        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3964          >/dev/null 2>conftest.err &&
   3965        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3966        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3967        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3968        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3969       # icc doesn't choke on unknown options, it will just issue warnings
   3970       # or remarks (even with -Werror).  So we grep stderr for any message
   3971       # that says an option was ignored or not supported.
   3972       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3973       #   icc: Command line warning: ignoring option '-M'; no argument required
   3974       # The diagnosis changed in icc 8.0:
   3975       #   icc: Command line remark: option '-MP' not supported
   3976       if (grep 'ignoring option' conftest.err ||
   3977           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3978         am_cv_CC_dependencies_compiler_type=$depmode
   3979         break
   3980       fi
   3981     fi
   3982   done
   3983 
   3984   cd ..
   3985   rm -rf conftest.dir
   3986 else
   3987   am_cv_CC_dependencies_compiler_type=none
   3988 fi
   3989 
   3990 fi
   3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3992 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3993 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3994 
   3995  if
   3996   test "x$enable_dependency_tracking" != xno \
   3997   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3998   am__fastdepCC_TRUE=
   3999   am__fastdepCC_FALSE='#'
   4000 else
   4001   am__fastdepCC_TRUE='#'
   4002   am__fastdepCC_FALSE=
   4003 fi
   4004 
   4005 
   4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4007 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4008 if ${ac_cv_path_SED+:} false; then :
   4009   $as_echo_n "(cached) " >&6
   4010 else
   4011             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4012      for ac_i in 1 2 3 4 5 6 7; do
   4013        ac_script="$ac_script$as_nl$ac_script"
   4014      done
   4015      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4016      { ac_script=; unset ac_script;}
   4017      if test -z "$SED"; then
   4018   ac_path_SED_found=false
   4019   # Loop through the user's path and test for each of PROGNAME-LIST
   4020   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4021 for as_dir in $PATH
   4022 do
   4023   IFS=$as_save_IFS
   4024   test -z "$as_dir" && as_dir=.
   4025     for ac_prog in sed gsed; do
   4026     for ac_exec_ext in '' $ac_executable_extensions; do
   4027       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4028       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4029 # Check for GNU ac_path_SED and select it if it is found.
   4030   # Check for GNU $ac_path_SED
   4031 case `"$ac_path_SED" --version 2>&1` in
   4032 *GNU*)
   4033   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4034 *)
   4035   ac_count=0
   4036   $as_echo_n 0123456789 >"conftest.in"
   4037   while :
   4038   do
   4039     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4040     mv "conftest.tmp" "conftest.in"
   4041     cp "conftest.in" "conftest.nl"
   4042     $as_echo '' >> "conftest.nl"
   4043     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4044     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4045     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4046     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4047       # Best one so far, save it but keep looking for a better one
   4048       ac_cv_path_SED="$ac_path_SED"
   4049       ac_path_SED_max=$ac_count
   4050     fi
   4051     # 10*(2^10) chars as input seems more than enough
   4052     test $ac_count -gt 10 && break
   4053   done
   4054   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4055 esac
   4056 
   4057       $ac_path_SED_found && break 3
   4058     done
   4059   done
   4060   done
   4061 IFS=$as_save_IFS
   4062   if test -z "$ac_cv_path_SED"; then
   4063     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4064   fi
   4065 else
   4066   ac_cv_path_SED=$SED
   4067 fi
   4068 
   4069 fi
   4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4071 $as_echo "$ac_cv_path_SED" >&6; }
   4072  SED="$ac_cv_path_SED"
   4073   rm -f conftest.sed
   4074 
   4075 test -z "$SED" && SED=sed
   4076 Xsed="$SED -e 1s/^X//"
   4077 
   4078 
   4079 
   4080 
   4081 
   4082 
   4083 
   4084 
   4085 
   4086 
   4087 
   4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4089 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4090 if ${ac_cv_path_GREP+:} false; then :
   4091   $as_echo_n "(cached) " >&6
   4092 else
   4093   if test -z "$GREP"; then
   4094   ac_path_GREP_found=false
   4095   # Loop through the user's path and test for each of PROGNAME-LIST
   4096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4097 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4098 do
   4099   IFS=$as_save_IFS
   4100   test -z "$as_dir" && as_dir=.
   4101     for ac_prog in grep ggrep; do
   4102     for ac_exec_ext in '' $ac_executable_extensions; do
   4103       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4104       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4105 # Check for GNU ac_path_GREP and select it if it is found.
   4106   # Check for GNU $ac_path_GREP
   4107 case `"$ac_path_GREP" --version 2>&1` in
   4108 *GNU*)
   4109   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4110 *)
   4111   ac_count=0
   4112   $as_echo_n 0123456789 >"conftest.in"
   4113   while :
   4114   do
   4115     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4116     mv "conftest.tmp" "conftest.in"
   4117     cp "conftest.in" "conftest.nl"
   4118     $as_echo 'GREP' >> "conftest.nl"
   4119     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4120     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4121     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4122     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4123       # Best one so far, save it but keep looking for a better one
   4124       ac_cv_path_GREP="$ac_path_GREP"
   4125       ac_path_GREP_max=$ac_count
   4126     fi
   4127     # 10*(2^10) chars as input seems more than enough
   4128     test $ac_count -gt 10 && break
   4129   done
   4130   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4131 esac
   4132 
   4133       $ac_path_GREP_found && break 3
   4134     done
   4135   done
   4136   done
   4137 IFS=$as_save_IFS
   4138   if test -z "$ac_cv_path_GREP"; then
   4139     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4140   fi
   4141 else
   4142   ac_cv_path_GREP=$GREP
   4143 fi
   4144 
   4145 fi
   4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4147 $as_echo "$ac_cv_path_GREP" >&6; }
   4148  GREP="$ac_cv_path_GREP"
   4149 
   4150 
   4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4152 $as_echo_n "checking for egrep... " >&6; }
   4153 if ${ac_cv_path_EGREP+:} false; then :
   4154   $as_echo_n "(cached) " >&6
   4155 else
   4156   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4157    then ac_cv_path_EGREP="$GREP -E"
   4158    else
   4159      if test -z "$EGREP"; then
   4160   ac_path_EGREP_found=false
   4161   # Loop through the user's path and test for each of PROGNAME-LIST
   4162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4163 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4164 do
   4165   IFS=$as_save_IFS
   4166   test -z "$as_dir" && as_dir=.
   4167     for ac_prog in egrep; do
   4168     for ac_exec_ext in '' $ac_executable_extensions; do
   4169       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4170       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4171 # Check for GNU ac_path_EGREP and select it if it is found.
   4172   # Check for GNU $ac_path_EGREP
   4173 case `"$ac_path_EGREP" --version 2>&1` in
   4174 *GNU*)
   4175   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4176 *)
   4177   ac_count=0
   4178   $as_echo_n 0123456789 >"conftest.in"
   4179   while :
   4180   do
   4181     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4182     mv "conftest.tmp" "conftest.in"
   4183     cp "conftest.in" "conftest.nl"
   4184     $as_echo 'EGREP' >> "conftest.nl"
   4185     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4186     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4187     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4188     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4189       # Best one so far, save it but keep looking for a better one
   4190       ac_cv_path_EGREP="$ac_path_EGREP"
   4191       ac_path_EGREP_max=$ac_count
   4192     fi
   4193     # 10*(2^10) chars as input seems more than enough
   4194     test $ac_count -gt 10 && break
   4195   done
   4196   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4197 esac
   4198 
   4199       $ac_path_EGREP_found && break 3
   4200     done
   4201   done
   4202   done
   4203 IFS=$as_save_IFS
   4204   if test -z "$ac_cv_path_EGREP"; then
   4205     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4206   fi
   4207 else
   4208   ac_cv_path_EGREP=$EGREP
   4209 fi
   4210 
   4211    fi
   4212 fi
   4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4214 $as_echo "$ac_cv_path_EGREP" >&6; }
   4215  EGREP="$ac_cv_path_EGREP"
   4216 
   4217 
   4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4219 $as_echo_n "checking for fgrep... " >&6; }
   4220 if ${ac_cv_path_FGREP+:} false; then :
   4221   $as_echo_n "(cached) " >&6
   4222 else
   4223   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4224    then ac_cv_path_FGREP="$GREP -F"
   4225    else
   4226      if test -z "$FGREP"; then
   4227   ac_path_FGREP_found=false
   4228   # Loop through the user's path and test for each of PROGNAME-LIST
   4229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4230 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4231 do
   4232   IFS=$as_save_IFS
   4233   test -z "$as_dir" && as_dir=.
   4234     for ac_prog in fgrep; do
   4235     for ac_exec_ext in '' $ac_executable_extensions; do
   4236       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4237       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4238 # Check for GNU ac_path_FGREP and select it if it is found.
   4239   # Check for GNU $ac_path_FGREP
   4240 case `"$ac_path_FGREP" --version 2>&1` in
   4241 *GNU*)
   4242   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4243 *)
   4244   ac_count=0
   4245   $as_echo_n 0123456789 >"conftest.in"
   4246   while :
   4247   do
   4248     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4249     mv "conftest.tmp" "conftest.in"
   4250     cp "conftest.in" "conftest.nl"
   4251     $as_echo 'FGREP' >> "conftest.nl"
   4252     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4253     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4254     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4255     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4256       # Best one so far, save it but keep looking for a better one
   4257       ac_cv_path_FGREP="$ac_path_FGREP"
   4258       ac_path_FGREP_max=$ac_count
   4259     fi
   4260     # 10*(2^10) chars as input seems more than enough
   4261     test $ac_count -gt 10 && break
   4262   done
   4263   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4264 esac
   4265 
   4266       $ac_path_FGREP_found && break 3
   4267     done
   4268   done
   4269   done
   4270 IFS=$as_save_IFS
   4271   if test -z "$ac_cv_path_FGREP"; then
   4272     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4273   fi
   4274 else
   4275   ac_cv_path_FGREP=$FGREP
   4276 fi
   4277 
   4278    fi
   4279 fi
   4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4281 $as_echo "$ac_cv_path_FGREP" >&6; }
   4282  FGREP="$ac_cv_path_FGREP"
   4283 
   4284 
   4285 test -z "$GREP" && GREP=grep
   4286 
   4287 
   4288 
   4289 
   4290 
   4291 
   4292 
   4293 
   4294 
   4295 
   4296 
   4297 
   4298 
   4299 
   4300 
   4301 
   4302 
   4303 
   4304 
   4305 # Check whether --with-gnu-ld was given.
   4306 if test "${with_gnu_ld+set}" = set; then :
   4307   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4308 else
   4309   with_gnu_ld=no
   4310 fi
   4311 
   4312 ac_prog=ld
   4313 if test "$GCC" = yes; then
   4314   # Check if gcc -print-prog-name=ld gives a path.
   4315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4316 $as_echo_n "checking for ld used by $CC... " >&6; }
   4317   case $host in
   4318   *-*-mingw*)
   4319     # gcc leaves a trailing carriage return which upsets mingw
   4320     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4321   *)
   4322     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4323   esac
   4324   case $ac_prog in
   4325     # Accept absolute paths.
   4326     [\\/]* | ?:[\\/]*)
   4327       re_direlt='/[^/][^/]*/\.\./'
   4328       # Canonicalize the pathname of ld
   4329       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4330       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4331 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4332       done
   4333       test -z "$LD" && LD="$ac_prog"
   4334       ;;
   4335   "")
   4336     # If it fails, then pretend we aren't using GCC.
   4337     ac_prog=ld
   4338     ;;
   4339   *)
   4340     # If it is relative, then search for the first ld in PATH.
   4341     with_gnu_ld=unknown
   4342     ;;
   4343   esac
   4344 elif test "$with_gnu_ld" = yes; then
   4345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4346 $as_echo_n "checking for GNU ld... " >&6; }
   4347 else
   4348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4349 $as_echo_n "checking for non-GNU ld... " >&6; }
   4350 fi
   4351 if ${lt_cv_path_LD+:} false; then :
   4352   $as_echo_n "(cached) " >&6
   4353 else
   4354   if test -z "$LD"; then
   4355   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4356   for ac_dir in $PATH; do
   4357     IFS="$lt_save_ifs"
   4358     test -z "$ac_dir" && ac_dir=.
   4359     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4360       lt_cv_path_LD="$ac_dir/$ac_prog"
   4361       # Check to see if the program is GNU ld.  I'd rather use --version,
   4362       # but apparently some variants of GNU ld only accept -v.
   4363       # Break only if it was the GNU/non-GNU ld that we prefer.
   4364       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4365       *GNU* | *'with BFD'*)
   4366 	test "$with_gnu_ld" != no && break
   4367 	;;
   4368       *)
   4369 	test "$with_gnu_ld" != yes && break
   4370 	;;
   4371       esac
   4372     fi
   4373   done
   4374   IFS="$lt_save_ifs"
   4375 else
   4376   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4377 fi
   4378 fi
   4379 
   4380 LD="$lt_cv_path_LD"
   4381 if test -n "$LD"; then
   4382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4383 $as_echo "$LD" >&6; }
   4384 else
   4385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4386 $as_echo "no" >&6; }
   4387 fi
   4388 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4390 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4391 if ${lt_cv_prog_gnu_ld+:} false; then :
   4392   $as_echo_n "(cached) " >&6
   4393 else
   4394   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4395 case `$LD -v 2>&1 </dev/null` in
   4396 *GNU* | *'with BFD'*)
   4397   lt_cv_prog_gnu_ld=yes
   4398   ;;
   4399 *)
   4400   lt_cv_prog_gnu_ld=no
   4401   ;;
   4402 esac
   4403 fi
   4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4405 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4406 with_gnu_ld=$lt_cv_prog_gnu_ld
   4407 
   4408 
   4409 
   4410 
   4411 
   4412 
   4413 
   4414 
   4415 
   4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4417 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4418 if ${lt_cv_path_NM+:} false; then :
   4419   $as_echo_n "(cached) " >&6
   4420 else
   4421   if test -n "$NM"; then
   4422   # Let the user override the test.
   4423   lt_cv_path_NM="$NM"
   4424 else
   4425   lt_nm_to_check="${ac_tool_prefix}nm"
   4426   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4427     lt_nm_to_check="$lt_nm_to_check nm"
   4428   fi
   4429   for lt_tmp_nm in $lt_nm_to_check; do
   4430     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4431     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4432       IFS="$lt_save_ifs"
   4433       test -z "$ac_dir" && ac_dir=.
   4434       tmp_nm="$ac_dir/$lt_tmp_nm"
   4435       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4436 	# Check to see if the nm accepts a BSD-compat flag.
   4437 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4438 	#   nm: unknown option "B" ignored
   4439 	# Tru64's nm complains that /dev/null is an invalid object file
   4440 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4441 	*/dev/null* | *'Invalid file or object type'*)
   4442 	  lt_cv_path_NM="$tmp_nm -B"
   4443 	  break
   4444 	  ;;
   4445 	*)
   4446 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4447 	  */dev/null*)
   4448 	    lt_cv_path_NM="$tmp_nm -p"
   4449 	    break
   4450 	    ;;
   4451 	  *)
   4452 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4453 	    continue # so that we can try to find one that supports BSD flags
   4454 	    ;;
   4455 	  esac
   4456 	  ;;
   4457 	esac
   4458       fi
   4459     done
   4460     IFS="$lt_save_ifs"
   4461   done
   4462   : ${lt_cv_path_NM=no}
   4463 fi
   4464 fi
   4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4466 $as_echo "$lt_cv_path_NM" >&6; }
   4467 if test "$lt_cv_path_NM" != "no"; then
   4468   NM="$lt_cv_path_NM"
   4469 else
   4470   # Didn't find any BSD compatible name lister, look for dumpbin.
   4471   if test -n "$DUMPBIN"; then :
   4472     # Let the user override the test.
   4473   else
   4474     if test -n "$ac_tool_prefix"; then
   4475   for ac_prog in dumpbin "link -dump"
   4476   do
   4477     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4480 $as_echo_n "checking for $ac_word... " >&6; }
   4481 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4482   $as_echo_n "(cached) " >&6
   4483 else
   4484   if test -n "$DUMPBIN"; then
   4485   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4486 else
   4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4488 for as_dir in $PATH
   4489 do
   4490   IFS=$as_save_IFS
   4491   test -z "$as_dir" && as_dir=.
   4492     for ac_exec_ext in '' $ac_executable_extensions; do
   4493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4494     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4496     break 2
   4497   fi
   4498 done
   4499   done
   4500 IFS=$as_save_IFS
   4501 
   4502 fi
   4503 fi
   4504 DUMPBIN=$ac_cv_prog_DUMPBIN
   4505 if test -n "$DUMPBIN"; then
   4506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4507 $as_echo "$DUMPBIN" >&6; }
   4508 else
   4509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4510 $as_echo "no" >&6; }
   4511 fi
   4512 
   4513 
   4514     test -n "$DUMPBIN" && break
   4515   done
   4516 fi
   4517 if test -z "$DUMPBIN"; then
   4518   ac_ct_DUMPBIN=$DUMPBIN
   4519   for ac_prog in dumpbin "link -dump"
   4520 do
   4521   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4522 set dummy $ac_prog; ac_word=$2
   4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4524 $as_echo_n "checking for $ac_word... " >&6; }
   4525 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4526   $as_echo_n "(cached) " >&6
   4527 else
   4528   if test -n "$ac_ct_DUMPBIN"; then
   4529   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4530 else
   4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4532 for as_dir in $PATH
   4533 do
   4534   IFS=$as_save_IFS
   4535   test -z "$as_dir" && as_dir=.
   4536     for ac_exec_ext in '' $ac_executable_extensions; do
   4537   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4538     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4540     break 2
   4541   fi
   4542 done
   4543   done
   4544 IFS=$as_save_IFS
   4545 
   4546 fi
   4547 fi
   4548 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4549 if test -n "$ac_ct_DUMPBIN"; then
   4550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4551 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4552 else
   4553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4554 $as_echo "no" >&6; }
   4555 fi
   4556 
   4557 
   4558   test -n "$ac_ct_DUMPBIN" && break
   4559 done
   4560 
   4561   if test "x$ac_ct_DUMPBIN" = x; then
   4562     DUMPBIN=":"
   4563   else
   4564     case $cross_compiling:$ac_tool_warned in
   4565 yes:)
   4566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4568 ac_tool_warned=yes ;;
   4569 esac
   4570     DUMPBIN=$ac_ct_DUMPBIN
   4571   fi
   4572 fi
   4573 
   4574     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4575     *COFF*)
   4576       DUMPBIN="$DUMPBIN -symbols"
   4577       ;;
   4578     *)
   4579       DUMPBIN=:
   4580       ;;
   4581     esac
   4582   fi
   4583 
   4584   if test "$DUMPBIN" != ":"; then
   4585     NM="$DUMPBIN"
   4586   fi
   4587 fi
   4588 test -z "$NM" && NM=nm
   4589 
   4590 
   4591 
   4592 
   4593 
   4594 
   4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4596 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4597 if ${lt_cv_nm_interface+:} false; then :
   4598   $as_echo_n "(cached) " >&6
   4599 else
   4600   lt_cv_nm_interface="BSD nm"
   4601   echo "int some_variable = 0;" > conftest.$ac_ext
   4602   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4603   (eval "$ac_compile" 2>conftest.err)
   4604   cat conftest.err >&5
   4605   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4606   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4607   cat conftest.err >&5
   4608   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4609   cat conftest.out >&5
   4610   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4611     lt_cv_nm_interface="MS dumpbin"
   4612   fi
   4613   rm -f conftest*
   4614 fi
   4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4616 $as_echo "$lt_cv_nm_interface" >&6; }
   4617 
   4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4619 $as_echo_n "checking whether ln -s works... " >&6; }
   4620 LN_S=$as_ln_s
   4621 if test "$LN_S" = "ln -s"; then
   4622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4623 $as_echo "yes" >&6; }
   4624 else
   4625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4626 $as_echo "no, using $LN_S" >&6; }
   4627 fi
   4628 
   4629 # find the maximum length of command line arguments
   4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4631 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4632 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4633   $as_echo_n "(cached) " >&6
   4634 else
   4635     i=0
   4636   teststring="ABCD"
   4637 
   4638   case $build_os in
   4639   msdosdjgpp*)
   4640     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4641     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4642     # during glob expansion).  Even if it were fixed, the result of this
   4643     # check would be larger than it should be.
   4644     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4645     ;;
   4646 
   4647   gnu*)
   4648     # Under GNU Hurd, this test is not required because there is
   4649     # no limit to the length of command line arguments.
   4650     # Libtool will interpret -1 as no limit whatsoever
   4651     lt_cv_sys_max_cmd_len=-1;
   4652     ;;
   4653 
   4654   cygwin* | mingw* | cegcc*)
   4655     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4656     # about 5 minutes as the teststring grows exponentially.
   4657     # Worse, since 9x/ME are not pre-emptively multitasking,
   4658     # you end up with a "frozen" computer, even though with patience
   4659     # the test eventually succeeds (with a max line length of 256k).
   4660     # Instead, let's just punt: use the minimum linelength reported by
   4661     # all of the supported platforms: 8192 (on NT/2K/XP).
   4662     lt_cv_sys_max_cmd_len=8192;
   4663     ;;
   4664 
   4665   mint*)
   4666     # On MiNT this can take a long time and run out of memory.
   4667     lt_cv_sys_max_cmd_len=8192;
   4668     ;;
   4669 
   4670   amigaos*)
   4671     # On AmigaOS with pdksh, this test takes hours, literally.
   4672     # So we just punt and use a minimum line length of 8192.
   4673     lt_cv_sys_max_cmd_len=8192;
   4674     ;;
   4675 
   4676   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4677     # This has been around since 386BSD, at least.  Likely further.
   4678     if test -x /sbin/sysctl; then
   4679       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4680     elif test -x /usr/sbin/sysctl; then
   4681       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4682     else
   4683       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4684     fi
   4685     # And add a safety zone
   4686     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4687     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4688     ;;
   4689 
   4690   interix*)
   4691     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4692     lt_cv_sys_max_cmd_len=196608
   4693     ;;
   4694 
   4695   os2*)
   4696     # The test takes a long time on OS/2.
   4697     lt_cv_sys_max_cmd_len=8192
   4698     ;;
   4699 
   4700   osf*)
   4701     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4702     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4703     # nice to cause kernel panics so lets avoid the loop below.
   4704     # First set a reasonable default.
   4705     lt_cv_sys_max_cmd_len=16384
   4706     #
   4707     if test -x /sbin/sysconfig; then
   4708       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4709         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4710       esac
   4711     fi
   4712     ;;
   4713   sco3.2v5*)
   4714     lt_cv_sys_max_cmd_len=102400
   4715     ;;
   4716   sysv5* | sco5v6* | sysv4.2uw2*)
   4717     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4718     if test -n "$kargmax"; then
   4719       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4720     else
   4721       lt_cv_sys_max_cmd_len=32768
   4722     fi
   4723     ;;
   4724   *)
   4725     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4726     if test -n "$lt_cv_sys_max_cmd_len"; then
   4727       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4728       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4729     else
   4730       # Make teststring a little bigger before we do anything with it.
   4731       # a 1K string should be a reasonable start.
   4732       for i in 1 2 3 4 5 6 7 8 ; do
   4733         teststring=$teststring$teststring
   4734       done
   4735       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4736       # If test is not a shell built-in, we'll probably end up computing a
   4737       # maximum length that is only half of the actual maximum length, but
   4738       # we can't tell.
   4739       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4740 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4741 	      test $i != 17 # 1/2 MB should be enough
   4742       do
   4743         i=`expr $i + 1`
   4744         teststring=$teststring$teststring
   4745       done
   4746       # Only check the string length outside the loop.
   4747       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4748       teststring=
   4749       # Add a significant safety factor because C++ compilers can tack on
   4750       # massive amounts of additional arguments before passing them to the
   4751       # linker.  It appears as though 1/2 is a usable value.
   4752       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4753     fi
   4754     ;;
   4755   esac
   4756 
   4757 fi
   4758 
   4759 if test -n $lt_cv_sys_max_cmd_len ; then
   4760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4761 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4762 else
   4763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4764 $as_echo "none" >&6; }
   4765 fi
   4766 max_cmd_len=$lt_cv_sys_max_cmd_len
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 : ${CP="cp -f"}
   4774 : ${MV="mv -f"}
   4775 : ${RM="rm -f"}
   4776 
   4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4778 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4779 # Try some XSI features
   4780 xsi_shell=no
   4781 ( _lt_dummy="a/b/c"
   4782   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4783       = c,a/b,b/c, \
   4784     && eval 'test $(( 1 + 1 )) -eq 2 \
   4785     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4786   && xsi_shell=yes
   4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4788 $as_echo "$xsi_shell" >&6; }
   4789 
   4790 
   4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4792 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4793 lt_shell_append=no
   4794 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4795     >/dev/null 2>&1 \
   4796   && lt_shell_append=yes
   4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4798 $as_echo "$lt_shell_append" >&6; }
   4799 
   4800 
   4801 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4802   lt_unset=unset
   4803 else
   4804   lt_unset=false
   4805 fi
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 # test EBCDIC or ASCII
   4812 case `echo X|tr X '\101'` in
   4813  A) # ASCII based system
   4814     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4815   lt_SP2NL='tr \040 \012'
   4816   lt_NL2SP='tr \015\012 \040\040'
   4817   ;;
   4818  *) # EBCDIC based system
   4819   lt_SP2NL='tr \100 \n'
   4820   lt_NL2SP='tr \r\n \100\100'
   4821   ;;
   4822 esac
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4833 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4834 if ${lt_cv_to_host_file_cmd+:} false; then :
   4835   $as_echo_n "(cached) " >&6
   4836 else
   4837   case $host in
   4838   *-*-mingw* )
   4839     case $build in
   4840       *-*-mingw* ) # actually msys
   4841         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4842         ;;
   4843       *-*-cygwin* )
   4844         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4845         ;;
   4846       * ) # otherwise, assume *nix
   4847         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4848         ;;
   4849     esac
   4850     ;;
   4851   *-*-cygwin* )
   4852     case $build in
   4853       *-*-mingw* ) # actually msys
   4854         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4855         ;;
   4856       *-*-cygwin* )
   4857         lt_cv_to_host_file_cmd=func_convert_file_noop
   4858         ;;
   4859       * ) # otherwise, assume *nix
   4860         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4861         ;;
   4862     esac
   4863     ;;
   4864   * ) # unhandled hosts (and "normal" native builds)
   4865     lt_cv_to_host_file_cmd=func_convert_file_noop
   4866     ;;
   4867 esac
   4868 
   4869 fi
   4870 
   4871 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4873 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4880 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4881 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4882   $as_echo_n "(cached) " >&6
   4883 else
   4884   #assume ordinary cross tools, or native build.
   4885 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4886 case $host in
   4887   *-*-mingw* )
   4888     case $build in
   4889       *-*-mingw* ) # actually msys
   4890         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4891         ;;
   4892     esac
   4893     ;;
   4894 esac
   4895 
   4896 fi
   4897 
   4898 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4900 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4907 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4908 if ${lt_cv_ld_reload_flag+:} false; then :
   4909   $as_echo_n "(cached) " >&6
   4910 else
   4911   lt_cv_ld_reload_flag='-r'
   4912 fi
   4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4914 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4915 reload_flag=$lt_cv_ld_reload_flag
   4916 case $reload_flag in
   4917 "" | " "*) ;;
   4918 *) reload_flag=" $reload_flag" ;;
   4919 esac
   4920 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4921 case $host_os in
   4922   cygwin* | mingw* | pw32* | cegcc*)
   4923     if test "$GCC" != yes; then
   4924       reload_cmds=false
   4925     fi
   4926     ;;
   4927   darwin*)
   4928     if test "$GCC" = yes; then
   4929       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4930     else
   4931       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4932     fi
   4933     ;;
   4934 esac
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 if test -n "$ac_tool_prefix"; then
   4945   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4946 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4948 $as_echo_n "checking for $ac_word... " >&6; }
   4949 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4950   $as_echo_n "(cached) " >&6
   4951 else
   4952   if test -n "$OBJDUMP"; then
   4953   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4954 else
   4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4956 for as_dir in $PATH
   4957 do
   4958   IFS=$as_save_IFS
   4959   test -z "$as_dir" && as_dir=.
   4960     for ac_exec_ext in '' $ac_executable_extensions; do
   4961   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4962     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4964     break 2
   4965   fi
   4966 done
   4967   done
   4968 IFS=$as_save_IFS
   4969 
   4970 fi
   4971 fi
   4972 OBJDUMP=$ac_cv_prog_OBJDUMP
   4973 if test -n "$OBJDUMP"; then
   4974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4975 $as_echo "$OBJDUMP" >&6; }
   4976 else
   4977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4978 $as_echo "no" >&6; }
   4979 fi
   4980 
   4981 
   4982 fi
   4983 if test -z "$ac_cv_prog_OBJDUMP"; then
   4984   ac_ct_OBJDUMP=$OBJDUMP
   4985   # Extract the first word of "objdump", so it can be a program name with args.
   4986 set dummy objdump; ac_word=$2
   4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4988 $as_echo_n "checking for $ac_word... " >&6; }
   4989 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4990   $as_echo_n "(cached) " >&6
   4991 else
   4992   if test -n "$ac_ct_OBJDUMP"; then
   4993   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4994 else
   4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4996 for as_dir in $PATH
   4997 do
   4998   IFS=$as_save_IFS
   4999   test -z "$as_dir" && as_dir=.
   5000     for ac_exec_ext in '' $ac_executable_extensions; do
   5001   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5002     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5004     break 2
   5005   fi
   5006 done
   5007   done
   5008 IFS=$as_save_IFS
   5009 
   5010 fi
   5011 fi
   5012 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5013 if test -n "$ac_ct_OBJDUMP"; then
   5014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5015 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5016 else
   5017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5018 $as_echo "no" >&6; }
   5019 fi
   5020 
   5021   if test "x$ac_ct_OBJDUMP" = x; then
   5022     OBJDUMP="false"
   5023   else
   5024     case $cross_compiling:$ac_tool_warned in
   5025 yes:)
   5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5028 ac_tool_warned=yes ;;
   5029 esac
   5030     OBJDUMP=$ac_ct_OBJDUMP
   5031   fi
   5032 else
   5033   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5034 fi
   5035 
   5036 test -z "$OBJDUMP" && OBJDUMP=objdump
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5047 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5048 if ${lt_cv_deplibs_check_method+:} false; then :
   5049   $as_echo_n "(cached) " >&6
   5050 else
   5051   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5052 lt_cv_file_magic_test_file=
   5053 lt_cv_deplibs_check_method='unknown'
   5054 # Need to set the preceding variable on all platforms that support
   5055 # interlibrary dependencies.
   5056 # 'none' -- dependencies not supported.
   5057 # `unknown' -- same as none, but documents that we really don't know.
   5058 # 'pass_all' -- all dependencies passed with no checks.
   5059 # 'test_compile' -- check by making test program.
   5060 # 'file_magic [[regex]]' -- check by looking for files in library path
   5061 # which responds to the $file_magic_cmd with a given extended regex.
   5062 # If you have `file' or equivalent on your system and you're not sure
   5063 # whether `pass_all' will *always* work, you probably want this one.
   5064 
   5065 case $host_os in
   5066 aix[4-9]*)
   5067   lt_cv_deplibs_check_method=pass_all
   5068   ;;
   5069 
   5070 beos*)
   5071   lt_cv_deplibs_check_method=pass_all
   5072   ;;
   5073 
   5074 bsdi[45]*)
   5075   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5076   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5077   lt_cv_file_magic_test_file=/shlib/libc.so
   5078   ;;
   5079 
   5080 cygwin*)
   5081   # func_win32_libid is a shell function defined in ltmain.sh
   5082   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5083   lt_cv_file_magic_cmd='func_win32_libid'
   5084   ;;
   5085 
   5086 mingw* | pw32*)
   5087   # Base MSYS/MinGW do not provide the 'file' command needed by
   5088   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5089   # unless we find 'file', for example because we are cross-compiling.
   5090   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5091   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5092     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5093     lt_cv_file_magic_cmd='func_win32_libid'
   5094   else
   5095     # Keep this pattern in sync with the one in func_win32_libid.
   5096     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5097     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5098   fi
   5099   ;;
   5100 
   5101 cegcc*)
   5102   # use the weaker test based on 'objdump'. See mingw*.
   5103   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5104   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5105   ;;
   5106 
   5107 darwin* | rhapsody*)
   5108   lt_cv_deplibs_check_method=pass_all
   5109   ;;
   5110 
   5111 freebsd* | dragonfly*)
   5112   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5113     case $host_cpu in
   5114     i*86 )
   5115       # Not sure whether the presence of OpenBSD here was a mistake.
   5116       # Let's accept both of them until this is cleared up.
   5117       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5118       lt_cv_file_magic_cmd=/usr/bin/file
   5119       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5120       ;;
   5121     esac
   5122   else
   5123     lt_cv_deplibs_check_method=pass_all
   5124   fi
   5125   ;;
   5126 
   5127 gnu*)
   5128   lt_cv_deplibs_check_method=pass_all
   5129   ;;
   5130 
   5131 haiku*)
   5132   lt_cv_deplibs_check_method=pass_all
   5133   ;;
   5134 
   5135 hpux10.20* | hpux11*)
   5136   lt_cv_file_magic_cmd=/usr/bin/file
   5137   case $host_cpu in
   5138   ia64*)
   5139     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5140     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5141     ;;
   5142   hppa*64*)
   5143     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   5144     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5145     ;;
   5146   *)
   5147     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5148     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5149     ;;
   5150   esac
   5151   ;;
   5152 
   5153 interix[3-9]*)
   5154   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5155   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5156   ;;
   5157 
   5158 irix5* | irix6* | nonstopux*)
   5159   case $LD in
   5160   *-32|*"-32 ") libmagic=32-bit;;
   5161   *-n32|*"-n32 ") libmagic=N32;;
   5162   *-64|*"-64 ") libmagic=64-bit;;
   5163   *) libmagic=never-match;;
   5164   esac
   5165   lt_cv_deplibs_check_method=pass_all
   5166   ;;
   5167 
   5168 # This must be glibc/ELF.
   5169 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5170   lt_cv_deplibs_check_method=pass_all
   5171   ;;
   5172 
   5173 netbsd*)
   5174   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5175     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5176   else
   5177     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5178   fi
   5179   ;;
   5180 
   5181 newos6*)
   5182   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5183   lt_cv_file_magic_cmd=/usr/bin/file
   5184   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5185   ;;
   5186 
   5187 *nto* | *qnx*)
   5188   lt_cv_deplibs_check_method=pass_all
   5189   ;;
   5190 
   5191 openbsd*)
   5192   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5193     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5194   else
   5195     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5196   fi
   5197   ;;
   5198 
   5199 osf3* | osf4* | osf5*)
   5200   lt_cv_deplibs_check_method=pass_all
   5201   ;;
   5202 
   5203 rdos*)
   5204   lt_cv_deplibs_check_method=pass_all
   5205   ;;
   5206 
   5207 solaris*)
   5208   lt_cv_deplibs_check_method=pass_all
   5209   ;;
   5210 
   5211 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5212   lt_cv_deplibs_check_method=pass_all
   5213   ;;
   5214 
   5215 sysv4 | sysv4.3*)
   5216   case $host_vendor in
   5217   motorola)
   5218     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   5219     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5220     ;;
   5221   ncr)
   5222     lt_cv_deplibs_check_method=pass_all
   5223     ;;
   5224   sequent)
   5225     lt_cv_file_magic_cmd='/bin/file'
   5226     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5227     ;;
   5228   sni)
   5229     lt_cv_file_magic_cmd='/bin/file'
   5230     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5231     lt_cv_file_magic_test_file=/lib/libc.so
   5232     ;;
   5233   siemens)
   5234     lt_cv_deplibs_check_method=pass_all
   5235     ;;
   5236   pc)
   5237     lt_cv_deplibs_check_method=pass_all
   5238     ;;
   5239   esac
   5240   ;;
   5241 
   5242 tpf*)
   5243   lt_cv_deplibs_check_method=pass_all
   5244   ;;
   5245 esac
   5246 
   5247 fi
   5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5249 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5250 
   5251 file_magic_glob=
   5252 want_nocaseglob=no
   5253 if test "$build" = "$host"; then
   5254   case $host_os in
   5255   mingw* | pw32*)
   5256     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5257       want_nocaseglob=yes
   5258     else
   5259       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5260     fi
   5261     ;;
   5262   esac
   5263 fi
   5264 
   5265 file_magic_cmd=$lt_cv_file_magic_cmd
   5266 deplibs_check_method=$lt_cv_deplibs_check_method
   5267 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 if test -n "$ac_tool_prefix"; then
   5291   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5292 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5294 $as_echo_n "checking for $ac_word... " >&6; }
   5295 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5296   $as_echo_n "(cached) " >&6
   5297 else
   5298   if test -n "$DLLTOOL"; then
   5299   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5300 else
   5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5302 for as_dir in $PATH
   5303 do
   5304   IFS=$as_save_IFS
   5305   test -z "$as_dir" && as_dir=.
   5306     for ac_exec_ext in '' $ac_executable_extensions; do
   5307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5308     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5310     break 2
   5311   fi
   5312 done
   5313   done
   5314 IFS=$as_save_IFS
   5315 
   5316 fi
   5317 fi
   5318 DLLTOOL=$ac_cv_prog_DLLTOOL
   5319 if test -n "$DLLTOOL"; then
   5320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5321 $as_echo "$DLLTOOL" >&6; }
   5322 else
   5323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5324 $as_echo "no" >&6; }
   5325 fi
   5326 
   5327 
   5328 fi
   5329 if test -z "$ac_cv_prog_DLLTOOL"; then
   5330   ac_ct_DLLTOOL=$DLLTOOL
   5331   # Extract the first word of "dlltool", so it can be a program name with args.
   5332 set dummy dlltool; ac_word=$2
   5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5334 $as_echo_n "checking for $ac_word... " >&6; }
   5335 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5336   $as_echo_n "(cached) " >&6
   5337 else
   5338   if test -n "$ac_ct_DLLTOOL"; then
   5339   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5340 else
   5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5342 for as_dir in $PATH
   5343 do
   5344   IFS=$as_save_IFS
   5345   test -z "$as_dir" && as_dir=.
   5346     for ac_exec_ext in '' $ac_executable_extensions; do
   5347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5348     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5350     break 2
   5351   fi
   5352 done
   5353   done
   5354 IFS=$as_save_IFS
   5355 
   5356 fi
   5357 fi
   5358 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5359 if test -n "$ac_ct_DLLTOOL"; then
   5360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5361 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5362 else
   5363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5364 $as_echo "no" >&6; }
   5365 fi
   5366 
   5367   if test "x$ac_ct_DLLTOOL" = x; then
   5368     DLLTOOL="false"
   5369   else
   5370     case $cross_compiling:$ac_tool_warned in
   5371 yes:)
   5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5374 ac_tool_warned=yes ;;
   5375 esac
   5376     DLLTOOL=$ac_ct_DLLTOOL
   5377   fi
   5378 else
   5379   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5380 fi
   5381 
   5382 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5394 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5395 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5396   $as_echo_n "(cached) " >&6
   5397 else
   5398   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5399 
   5400 case $host_os in
   5401 cygwin* | mingw* | pw32* | cegcc*)
   5402   # two different shell functions defined in ltmain.sh
   5403   # decide which to use based on capabilities of $DLLTOOL
   5404   case `$DLLTOOL --help 2>&1` in
   5405   *--identify-strict*)
   5406     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5407     ;;
   5408   *)
   5409     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5410     ;;
   5411   esac
   5412   ;;
   5413 *)
   5414   # fallback: assume linklib IS sharedlib
   5415   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5416   ;;
   5417 esac
   5418 
   5419 fi
   5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5421 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5422 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5423 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 if test -n "$ac_tool_prefix"; then
   5433   for ac_prog in ar
   5434   do
   5435     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5438 $as_echo_n "checking for $ac_word... " >&6; }
   5439 if ${ac_cv_prog_AR+:} false; then :
   5440   $as_echo_n "(cached) " >&6
   5441 else
   5442   if test -n "$AR"; then
   5443   ac_cv_prog_AR="$AR" # Let the user override the test.
   5444 else
   5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5446 for as_dir in $PATH
   5447 do
   5448   IFS=$as_save_IFS
   5449   test -z "$as_dir" && as_dir=.
   5450     for ac_exec_ext in '' $ac_executable_extensions; do
   5451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5452     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5454     break 2
   5455   fi
   5456 done
   5457   done
   5458 IFS=$as_save_IFS
   5459 
   5460 fi
   5461 fi
   5462 AR=$ac_cv_prog_AR
   5463 if test -n "$AR"; then
   5464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5465 $as_echo "$AR" >&6; }
   5466 else
   5467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5468 $as_echo "no" >&6; }
   5469 fi
   5470 
   5471 
   5472     test -n "$AR" && break
   5473   done
   5474 fi
   5475 if test -z "$AR"; then
   5476   ac_ct_AR=$AR
   5477   for ac_prog in ar
   5478 do
   5479   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5480 set dummy $ac_prog; ac_word=$2
   5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5482 $as_echo_n "checking for $ac_word... " >&6; }
   5483 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5484   $as_echo_n "(cached) " >&6
   5485 else
   5486   if test -n "$ac_ct_AR"; then
   5487   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5488 else
   5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5490 for as_dir in $PATH
   5491 do
   5492   IFS=$as_save_IFS
   5493   test -z "$as_dir" && as_dir=.
   5494     for ac_exec_ext in '' $ac_executable_extensions; do
   5495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5496     ac_cv_prog_ac_ct_AR="$ac_prog"
   5497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5498     break 2
   5499   fi
   5500 done
   5501   done
   5502 IFS=$as_save_IFS
   5503 
   5504 fi
   5505 fi
   5506 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5507 if test -n "$ac_ct_AR"; then
   5508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5509 $as_echo "$ac_ct_AR" >&6; }
   5510 else
   5511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5512 $as_echo "no" >&6; }
   5513 fi
   5514 
   5515 
   5516   test -n "$ac_ct_AR" && break
   5517 done
   5518 
   5519   if test "x$ac_ct_AR" = x; then
   5520     AR="false"
   5521   else
   5522     case $cross_compiling:$ac_tool_warned in
   5523 yes:)
   5524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5526 ac_tool_warned=yes ;;
   5527 esac
   5528     AR=$ac_ct_AR
   5529   fi
   5530 fi
   5531 
   5532 : ${AR=ar}
   5533 : ${AR_FLAGS=cru}
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5546 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5547 if ${lt_cv_ar_at_file+:} false; then :
   5548   $as_echo_n "(cached) " >&6
   5549 else
   5550   lt_cv_ar_at_file=no
   5551    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5552 /* end confdefs.h.  */
   5553 
   5554 int
   5555 main ()
   5556 {
   5557 
   5558   ;
   5559   return 0;
   5560 }
   5561 _ACEOF
   5562 if ac_fn_c_try_compile "$LINENO"; then :
   5563   echo conftest.$ac_objext > conftest.lst
   5564       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5565       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5566   (eval $lt_ar_try) 2>&5
   5567   ac_status=$?
   5568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5569   test $ac_status = 0; }
   5570       if test "$ac_status" -eq 0; then
   5571 	# Ensure the archiver fails upon bogus file names.
   5572 	rm -f conftest.$ac_objext libconftest.a
   5573 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5574   (eval $lt_ar_try) 2>&5
   5575   ac_status=$?
   5576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5577   test $ac_status = 0; }
   5578 	if test "$ac_status" -ne 0; then
   5579           lt_cv_ar_at_file=@
   5580         fi
   5581       fi
   5582       rm -f conftest.* libconftest.a
   5583 
   5584 fi
   5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5586 
   5587 fi
   5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5589 $as_echo "$lt_cv_ar_at_file" >&6; }
   5590 
   5591 if test "x$lt_cv_ar_at_file" = xno; then
   5592   archiver_list_spec=
   5593 else
   5594   archiver_list_spec=$lt_cv_ar_at_file
   5595 fi
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 if test -n "$ac_tool_prefix"; then
   5604   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5605 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5607 $as_echo_n "checking for $ac_word... " >&6; }
   5608 if ${ac_cv_prog_STRIP+:} false; then :
   5609   $as_echo_n "(cached) " >&6
   5610 else
   5611   if test -n "$STRIP"; then
   5612   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5613 else
   5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5615 for as_dir in $PATH
   5616 do
   5617   IFS=$as_save_IFS
   5618   test -z "$as_dir" && as_dir=.
   5619     for ac_exec_ext in '' $ac_executable_extensions; do
   5620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5621     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5623     break 2
   5624   fi
   5625 done
   5626   done
   5627 IFS=$as_save_IFS
   5628 
   5629 fi
   5630 fi
   5631 STRIP=$ac_cv_prog_STRIP
   5632 if test -n "$STRIP"; then
   5633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5634 $as_echo "$STRIP" >&6; }
   5635 else
   5636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5637 $as_echo "no" >&6; }
   5638 fi
   5639 
   5640 
   5641 fi
   5642 if test -z "$ac_cv_prog_STRIP"; then
   5643   ac_ct_STRIP=$STRIP
   5644   # Extract the first word of "strip", so it can be a program name with args.
   5645 set dummy strip; ac_word=$2
   5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5647 $as_echo_n "checking for $ac_word... " >&6; }
   5648 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5649   $as_echo_n "(cached) " >&6
   5650 else
   5651   if test -n "$ac_ct_STRIP"; then
   5652   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5653 else
   5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5655 for as_dir in $PATH
   5656 do
   5657   IFS=$as_save_IFS
   5658   test -z "$as_dir" && as_dir=.
   5659     for ac_exec_ext in '' $ac_executable_extensions; do
   5660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5661     ac_cv_prog_ac_ct_STRIP="strip"
   5662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5663     break 2
   5664   fi
   5665 done
   5666   done
   5667 IFS=$as_save_IFS
   5668 
   5669 fi
   5670 fi
   5671 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5672 if test -n "$ac_ct_STRIP"; then
   5673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5674 $as_echo "$ac_ct_STRIP" >&6; }
   5675 else
   5676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5677 $as_echo "no" >&6; }
   5678 fi
   5679 
   5680   if test "x$ac_ct_STRIP" = x; then
   5681     STRIP=":"
   5682   else
   5683     case $cross_compiling:$ac_tool_warned in
   5684 yes:)
   5685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5687 ac_tool_warned=yes ;;
   5688 esac
   5689     STRIP=$ac_ct_STRIP
   5690   fi
   5691 else
   5692   STRIP="$ac_cv_prog_STRIP"
   5693 fi
   5694 
   5695 test -z "$STRIP" && STRIP=:
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 if test -n "$ac_tool_prefix"; then
   5703   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5704 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5706 $as_echo_n "checking for $ac_word... " >&6; }
   5707 if ${ac_cv_prog_RANLIB+:} false; then :
   5708   $as_echo_n "(cached) " >&6
   5709 else
   5710   if test -n "$RANLIB"; then
   5711   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5712 else
   5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5714 for as_dir in $PATH
   5715 do
   5716   IFS=$as_save_IFS
   5717   test -z "$as_dir" && as_dir=.
   5718     for ac_exec_ext in '' $ac_executable_extensions; do
   5719   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5720     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5721     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5722     break 2
   5723   fi
   5724 done
   5725   done
   5726 IFS=$as_save_IFS
   5727 
   5728 fi
   5729 fi
   5730 RANLIB=$ac_cv_prog_RANLIB
   5731 if test -n "$RANLIB"; then
   5732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5733 $as_echo "$RANLIB" >&6; }
   5734 else
   5735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5736 $as_echo "no" >&6; }
   5737 fi
   5738 
   5739 
   5740 fi
   5741 if test -z "$ac_cv_prog_RANLIB"; then
   5742   ac_ct_RANLIB=$RANLIB
   5743   # Extract the first word of "ranlib", so it can be a program name with args.
   5744 set dummy ranlib; ac_word=$2
   5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5746 $as_echo_n "checking for $ac_word... " >&6; }
   5747 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5748   $as_echo_n "(cached) " >&6
   5749 else
   5750   if test -n "$ac_ct_RANLIB"; then
   5751   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5752 else
   5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5754 for as_dir in $PATH
   5755 do
   5756   IFS=$as_save_IFS
   5757   test -z "$as_dir" && as_dir=.
   5758     for ac_exec_ext in '' $ac_executable_extensions; do
   5759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5760     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5762     break 2
   5763   fi
   5764 done
   5765   done
   5766 IFS=$as_save_IFS
   5767 
   5768 fi
   5769 fi
   5770 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5771 if test -n "$ac_ct_RANLIB"; then
   5772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5773 $as_echo "$ac_ct_RANLIB" >&6; }
   5774 else
   5775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5776 $as_echo "no" >&6; }
   5777 fi
   5778 
   5779   if test "x$ac_ct_RANLIB" = x; then
   5780     RANLIB=":"
   5781   else
   5782     case $cross_compiling:$ac_tool_warned in
   5783 yes:)
   5784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5786 ac_tool_warned=yes ;;
   5787 esac
   5788     RANLIB=$ac_ct_RANLIB
   5789   fi
   5790 else
   5791   RANLIB="$ac_cv_prog_RANLIB"
   5792 fi
   5793 
   5794 test -z "$RANLIB" && RANLIB=:
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 # Determine commands to create old-style static archives.
   5802 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5803 old_postinstall_cmds='chmod 644 $oldlib'
   5804 old_postuninstall_cmds=
   5805 
   5806 if test -n "$RANLIB"; then
   5807   case $host_os in
   5808   openbsd*)
   5809     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5810     ;;
   5811   *)
   5812     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5813     ;;
   5814   esac
   5815   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5816 fi
   5817 
   5818 case $host_os in
   5819   darwin*)
   5820     lock_old_archive_extraction=yes ;;
   5821   *)
   5822     lock_old_archive_extraction=no ;;
   5823 esac
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 # If no C compiler was specified, use CC.
   5864 LTCC=${LTCC-"$CC"}
   5865 
   5866 # If no C compiler flags were specified, use CFLAGS.
   5867 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5868 
   5869 # Allow CC to be a program name with arguments.
   5870 compiler=$CC
   5871 
   5872 
   5873 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5875 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5876 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5877   $as_echo_n "(cached) " >&6
   5878 else
   5879 
   5880 # These are sane defaults that work on at least a few old systems.
   5881 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5882 
   5883 # Character class describing NM global symbol codes.
   5884 symcode='[BCDEGRST]'
   5885 
   5886 # Regexp to match symbols that can be accessed directly from C.
   5887 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5888 
   5889 # Define system-specific variables.
   5890 case $host_os in
   5891 aix*)
   5892   symcode='[BCDT]'
   5893   ;;
   5894 cygwin* | mingw* | pw32* | cegcc*)
   5895   symcode='[ABCDGISTW]'
   5896   ;;
   5897 hpux*)
   5898   if test "$host_cpu" = ia64; then
   5899     symcode='[ABCDEGRST]'
   5900   fi
   5901   ;;
   5902 irix* | nonstopux*)
   5903   symcode='[BCDEGRST]'
   5904   ;;
   5905 osf*)
   5906   symcode='[BCDEGQRST]'
   5907   ;;
   5908 solaris*)
   5909   symcode='[BDRT]'
   5910   ;;
   5911 sco3.2v5*)
   5912   symcode='[DT]'
   5913   ;;
   5914 sysv4.2uw2*)
   5915   symcode='[DT]'
   5916   ;;
   5917 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5918   symcode='[ABDT]'
   5919   ;;
   5920 sysv4)
   5921   symcode='[DFNSTU]'
   5922   ;;
   5923 esac
   5924 
   5925 # If we're using GNU nm, then use its standard symbol codes.
   5926 case `$NM -V 2>&1` in
   5927 *GNU* | *'with BFD'*)
   5928   symcode='[ABCDGIRSTW]' ;;
   5929 esac
   5930 
   5931 # Transform an extracted symbol line into a proper C declaration.
   5932 # Some systems (esp. on ia64) link data and code symbols differently,
   5933 # so use this general approach.
   5934 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5935 
   5936 # Transform an extracted symbol line into symbol name and symbol address
   5937 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5938 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   5939 
   5940 # Handle CRLF in mingw tool chain
   5941 opt_cr=
   5942 case $build_os in
   5943 mingw*)
   5944   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5945   ;;
   5946 esac
   5947 
   5948 # Try without a prefix underscore, then with it.
   5949 for ac_symprfx in "" "_"; do
   5950 
   5951   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5952   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5953 
   5954   # Write the raw and C identifiers.
   5955   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5956     # Fake it for dumpbin and say T for any non-static function
   5957     # and D for any global variable.
   5958     # Also find C++ and __fastcall symbols from MSVC++,
   5959     # which start with @ or ?.
   5960     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5961 "     {last_section=section; section=\$ 3};"\
   5962 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5963 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5964 "     \$ 0!~/External *\|/{next};"\
   5965 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5966 "     {if(hide[section]) next};"\
   5967 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5968 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5969 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5970 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5971 "     ' prfx=^$ac_symprfx"
   5972   else
   5973     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5974   fi
   5975   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5976 
   5977   # Check to see that the pipe works correctly.
   5978   pipe_works=no
   5979 
   5980   rm -f conftest*
   5981   cat > conftest.$ac_ext <<_LT_EOF
   5982 #ifdef __cplusplus
   5983 extern "C" {
   5984 #endif
   5985 char nm_test_var;
   5986 void nm_test_func(void);
   5987 void nm_test_func(void){}
   5988 #ifdef __cplusplus
   5989 }
   5990 #endif
   5991 int main(){nm_test_var='a';nm_test_func();return(0);}
   5992 _LT_EOF
   5993 
   5994   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5995   (eval $ac_compile) 2>&5
   5996   ac_status=$?
   5997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5998   test $ac_status = 0; }; then
   5999     # Now try to grab the symbols.
   6000     nlist=conftest.nm
   6001     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6002   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6003   ac_status=$?
   6004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6005   test $ac_status = 0; } && test -s "$nlist"; then
   6006       # Try sorting and uniquifying the output.
   6007       if sort "$nlist" | uniq > "$nlist"T; then
   6008 	mv -f "$nlist"T "$nlist"
   6009       else
   6010 	rm -f "$nlist"T
   6011       fi
   6012 
   6013       # Make sure that we snagged all the symbols we need.
   6014       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6015 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6016 	  cat <<_LT_EOF > conftest.$ac_ext
   6017 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6018 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6019 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6020    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6021 # define LT_DLSYM_CONST
   6022 #elif defined(__osf__)
   6023 /* This system does not cope well with relocations in const data.  */
   6024 # define LT_DLSYM_CONST
   6025 #else
   6026 # define LT_DLSYM_CONST const
   6027 #endif
   6028 
   6029 #ifdef __cplusplus
   6030 extern "C" {
   6031 #endif
   6032 
   6033 _LT_EOF
   6034 	  # Now generate the symbol file.
   6035 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6036 
   6037 	  cat <<_LT_EOF >> conftest.$ac_ext
   6038 
   6039 /* The mapping between symbol names and symbols.  */
   6040 LT_DLSYM_CONST struct {
   6041   const char *name;
   6042   void       *address;
   6043 }
   6044 lt__PROGRAM__LTX_preloaded_symbols[] =
   6045 {
   6046   { "@PROGRAM@", (void *) 0 },
   6047 _LT_EOF
   6048 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6049 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6050   {0, (void *) 0}
   6051 };
   6052 
   6053 /* This works around a problem in FreeBSD linker */
   6054 #ifdef FREEBSD_WORKAROUND
   6055 static const void *lt_preloaded_setup() {
   6056   return lt__PROGRAM__LTX_preloaded_symbols;
   6057 }
   6058 #endif
   6059 
   6060 #ifdef __cplusplus
   6061 }
   6062 #endif
   6063 _LT_EOF
   6064 	  # Now try linking the two files.
   6065 	  mv conftest.$ac_objext conftstm.$ac_objext
   6066 	  lt_globsym_save_LIBS=$LIBS
   6067 	  lt_globsym_save_CFLAGS=$CFLAGS
   6068 	  LIBS="conftstm.$ac_objext"
   6069 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6070 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6071   (eval $ac_link) 2>&5
   6072   ac_status=$?
   6073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6074   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6075 	    pipe_works=yes
   6076 	  fi
   6077 	  LIBS=$lt_globsym_save_LIBS
   6078 	  CFLAGS=$lt_globsym_save_CFLAGS
   6079 	else
   6080 	  echo "cannot find nm_test_func in $nlist" >&5
   6081 	fi
   6082       else
   6083 	echo "cannot find nm_test_var in $nlist" >&5
   6084       fi
   6085     else
   6086       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6087     fi
   6088   else
   6089     echo "$progname: failed program was:" >&5
   6090     cat conftest.$ac_ext >&5
   6091   fi
   6092   rm -rf conftest* conftst*
   6093 
   6094   # Do not use the global_symbol_pipe unless it works.
   6095   if test "$pipe_works" = yes; then
   6096     break
   6097   else
   6098     lt_cv_sys_global_symbol_pipe=
   6099   fi
   6100 done
   6101 
   6102 fi
   6103 
   6104 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6105   lt_cv_sys_global_symbol_to_cdecl=
   6106 fi
   6107 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6109 $as_echo "failed" >&6; }
   6110 else
   6111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6112 $as_echo "ok" >&6; }
   6113 fi
   6114 
   6115 # Response file support.
   6116 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6117   nm_file_list_spec='@'
   6118 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6119   nm_file_list_spec='@'
   6120 fi
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6149 $as_echo_n "checking for sysroot... " >&6; }
   6150 
   6151 # Check whether --with-sysroot was given.
   6152 if test "${with_sysroot+set}" = set; then :
   6153   withval=$with_sysroot;
   6154 else
   6155   with_sysroot=no
   6156 fi
   6157 
   6158 
   6159 lt_sysroot=
   6160 case ${with_sysroot} in #(
   6161  yes)
   6162    if test "$GCC" = yes; then
   6163      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6164    fi
   6165    ;; #(
   6166  /*)
   6167    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6168    ;; #(
   6169  no|'')
   6170    ;; #(
   6171  *)
   6172    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6173 $as_echo "${with_sysroot}" >&6; }
   6174    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6175    ;;
   6176 esac
   6177 
   6178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6179 $as_echo "${lt_sysroot:-no}" >&6; }
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 # Check whether --enable-libtool-lock was given.
   6186 if test "${enable_libtool_lock+set}" = set; then :
   6187   enableval=$enable_libtool_lock;
   6188 fi
   6189 
   6190 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6191 
   6192 # Some flags need to be propagated to the compiler or linker for good
   6193 # libtool support.
   6194 case $host in
   6195 ia64-*-hpux*)
   6196   # Find out which ABI we are using.
   6197   echo 'int i;' > conftest.$ac_ext
   6198   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6199   (eval $ac_compile) 2>&5
   6200   ac_status=$?
   6201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6202   test $ac_status = 0; }; then
   6203     case `/usr/bin/file conftest.$ac_objext` in
   6204       *ELF-32*)
   6205 	HPUX_IA64_MODE="32"
   6206 	;;
   6207       *ELF-64*)
   6208 	HPUX_IA64_MODE="64"
   6209 	;;
   6210     esac
   6211   fi
   6212   rm -rf conftest*
   6213   ;;
   6214 *-*-irix6*)
   6215   # Find out which ABI we are using.
   6216   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6217   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6218   (eval $ac_compile) 2>&5
   6219   ac_status=$?
   6220   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6221   test $ac_status = 0; }; then
   6222     if test "$lt_cv_prog_gnu_ld" = yes; then
   6223       case `/usr/bin/file conftest.$ac_objext` in
   6224 	*32-bit*)
   6225 	  LD="${LD-ld} -melf32bsmip"
   6226 	  ;;
   6227 	*N32*)
   6228 	  LD="${LD-ld} -melf32bmipn32"
   6229 	  ;;
   6230 	*64-bit*)
   6231 	  LD="${LD-ld} -melf64bmip"
   6232 	;;
   6233       esac
   6234     else
   6235       case `/usr/bin/file conftest.$ac_objext` in
   6236 	*32-bit*)
   6237 	  LD="${LD-ld} -32"
   6238 	  ;;
   6239 	*N32*)
   6240 	  LD="${LD-ld} -n32"
   6241 	  ;;
   6242 	*64-bit*)
   6243 	  LD="${LD-ld} -64"
   6244 	  ;;
   6245       esac
   6246     fi
   6247   fi
   6248   rm -rf conftest*
   6249   ;;
   6250 
   6251 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6252 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6253   # Find out which ABI we are using.
   6254   echo 'int i;' > conftest.$ac_ext
   6255   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6256   (eval $ac_compile) 2>&5
   6257   ac_status=$?
   6258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6259   test $ac_status = 0; }; then
   6260     case `/usr/bin/file conftest.o` in
   6261       *32-bit*)
   6262 	case $host in
   6263 	  x86_64-*kfreebsd*-gnu)
   6264 	    LD="${LD-ld} -m elf_i386_fbsd"
   6265 	    ;;
   6266 	  x86_64-*linux*)
   6267 	    LD="${LD-ld} -m elf_i386"
   6268 	    ;;
   6269 	  ppc64-*linux*|powerpc64-*linux*)
   6270 	    LD="${LD-ld} -m elf32ppclinux"
   6271 	    ;;
   6272 	  s390x-*linux*)
   6273 	    LD="${LD-ld} -m elf_s390"
   6274 	    ;;
   6275 	  sparc64-*linux*)
   6276 	    LD="${LD-ld} -m elf32_sparc"
   6277 	    ;;
   6278 	esac
   6279 	;;
   6280       *64-bit*)
   6281 	case $host in
   6282 	  x86_64-*kfreebsd*-gnu)
   6283 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6284 	    ;;
   6285 	  x86_64-*linux*)
   6286 	    LD="${LD-ld} -m elf_x86_64"
   6287 	    ;;
   6288 	  ppc*-*linux*|powerpc*-*linux*)
   6289 	    LD="${LD-ld} -m elf64ppc"
   6290 	    ;;
   6291 	  s390*-*linux*|s390*-*tpf*)
   6292 	    LD="${LD-ld} -m elf64_s390"
   6293 	    ;;
   6294 	  sparc*-*linux*)
   6295 	    LD="${LD-ld} -m elf64_sparc"
   6296 	    ;;
   6297 	esac
   6298 	;;
   6299     esac
   6300   fi
   6301   rm -rf conftest*
   6302   ;;
   6303 
   6304 *-*-sco3.2v5*)
   6305   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6306   SAVE_CFLAGS="$CFLAGS"
   6307   CFLAGS="$CFLAGS -belf"
   6308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6309 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6310 if ${lt_cv_cc_needs_belf+:} false; then :
   6311   $as_echo_n "(cached) " >&6
   6312 else
   6313   ac_ext=c
   6314 ac_cpp='$CPP $CPPFLAGS'
   6315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6318 
   6319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6320 /* end confdefs.h.  */
   6321 
   6322 int
   6323 main ()
   6324 {
   6325 
   6326   ;
   6327   return 0;
   6328 }
   6329 _ACEOF
   6330 if ac_fn_c_try_link "$LINENO"; then :
   6331   lt_cv_cc_needs_belf=yes
   6332 else
   6333   lt_cv_cc_needs_belf=no
   6334 fi
   6335 rm -f core conftest.err conftest.$ac_objext \
   6336     conftest$ac_exeext conftest.$ac_ext
   6337      ac_ext=c
   6338 ac_cpp='$CPP $CPPFLAGS'
   6339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6342 
   6343 fi
   6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6345 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6346   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6347     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6348     CFLAGS="$SAVE_CFLAGS"
   6349   fi
   6350   ;;
   6351 *-*solaris*)
   6352   # Find out which ABI we are using.
   6353   echo 'int i;' > conftest.$ac_ext
   6354   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6355   (eval $ac_compile) 2>&5
   6356   ac_status=$?
   6357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6358   test $ac_status = 0; }; then
   6359     case `/usr/bin/file conftest.o` in
   6360     *64-bit*)
   6361       case $lt_cv_prog_gnu_ld in
   6362       yes*)
   6363         case $host in
   6364         i?86-*-solaris*)
   6365           LD="${LD-ld} -m elf_x86_64"
   6366           ;;
   6367         sparc*-*-solaris*)
   6368           LD="${LD-ld} -m elf64_sparc"
   6369           ;;
   6370         esac
   6371         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6372         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6373           LD="${LD-ld}_sol2"
   6374         fi
   6375         ;;
   6376       *)
   6377 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6378 	  LD="${LD-ld} -64"
   6379 	fi
   6380 	;;
   6381       esac
   6382       ;;
   6383     esac
   6384   fi
   6385   rm -rf conftest*
   6386   ;;
   6387 esac
   6388 
   6389 need_locks="$enable_libtool_lock"
   6390 
   6391 if test -n "$ac_tool_prefix"; then
   6392   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6393 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6395 $as_echo_n "checking for $ac_word... " >&6; }
   6396 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6397   $as_echo_n "(cached) " >&6
   6398 else
   6399   if test -n "$MANIFEST_TOOL"; then
   6400   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6401 else
   6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6403 for as_dir in $PATH
   6404 do
   6405   IFS=$as_save_IFS
   6406   test -z "$as_dir" && as_dir=.
   6407     for ac_exec_ext in '' $ac_executable_extensions; do
   6408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6409     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6411     break 2
   6412   fi
   6413 done
   6414   done
   6415 IFS=$as_save_IFS
   6416 
   6417 fi
   6418 fi
   6419 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6420 if test -n "$MANIFEST_TOOL"; then
   6421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6422 $as_echo "$MANIFEST_TOOL" >&6; }
   6423 else
   6424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6425 $as_echo "no" >&6; }
   6426 fi
   6427 
   6428 
   6429 fi
   6430 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6431   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6432   # Extract the first word of "mt", so it can be a program name with args.
   6433 set dummy mt; ac_word=$2
   6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6435 $as_echo_n "checking for $ac_word... " >&6; }
   6436 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6437   $as_echo_n "(cached) " >&6
   6438 else
   6439   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6440   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6441 else
   6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6443 for as_dir in $PATH
   6444 do
   6445   IFS=$as_save_IFS
   6446   test -z "$as_dir" && as_dir=.
   6447     for ac_exec_ext in '' $ac_executable_extensions; do
   6448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6449     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6451     break 2
   6452   fi
   6453 done
   6454   done
   6455 IFS=$as_save_IFS
   6456 
   6457 fi
   6458 fi
   6459 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6460 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6462 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6463 else
   6464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6465 $as_echo "no" >&6; }
   6466 fi
   6467 
   6468   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6469     MANIFEST_TOOL=":"
   6470   else
   6471     case $cross_compiling:$ac_tool_warned in
   6472 yes:)
   6473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6475 ac_tool_warned=yes ;;
   6476 esac
   6477     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6478   fi
   6479 else
   6480   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6481 fi
   6482 
   6483 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6485 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6486 if ${lt_cv_path_mainfest_tool+:} false; then :
   6487   $as_echo_n "(cached) " >&6
   6488 else
   6489   lt_cv_path_mainfest_tool=no
   6490   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6491   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6492   cat conftest.err >&5
   6493   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6494     lt_cv_path_mainfest_tool=yes
   6495   fi
   6496   rm -f conftest*
   6497 fi
   6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6499 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6500 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6501   MANIFEST_TOOL=:
   6502 fi
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509   case $host_os in
   6510     rhapsody* | darwin*)
   6511     if test -n "$ac_tool_prefix"; then
   6512   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6513 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6515 $as_echo_n "checking for $ac_word... " >&6; }
   6516 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6517   $as_echo_n "(cached) " >&6
   6518 else
   6519   if test -n "$DSYMUTIL"; then
   6520   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6521 else
   6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6523 for as_dir in $PATH
   6524 do
   6525   IFS=$as_save_IFS
   6526   test -z "$as_dir" && as_dir=.
   6527     for ac_exec_ext in '' $ac_executable_extensions; do
   6528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6529     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6531     break 2
   6532   fi
   6533 done
   6534   done
   6535 IFS=$as_save_IFS
   6536 
   6537 fi
   6538 fi
   6539 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6540 if test -n "$DSYMUTIL"; then
   6541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6542 $as_echo "$DSYMUTIL" >&6; }
   6543 else
   6544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6545 $as_echo "no" >&6; }
   6546 fi
   6547 
   6548 
   6549 fi
   6550 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6551   ac_ct_DSYMUTIL=$DSYMUTIL
   6552   # Extract the first word of "dsymutil", so it can be a program name with args.
   6553 set dummy dsymutil; ac_word=$2
   6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6555 $as_echo_n "checking for $ac_word... " >&6; }
   6556 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6557   $as_echo_n "(cached) " >&6
   6558 else
   6559   if test -n "$ac_ct_DSYMUTIL"; then
   6560   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6561 else
   6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6563 for as_dir in $PATH
   6564 do
   6565   IFS=$as_save_IFS
   6566   test -z "$as_dir" && as_dir=.
   6567     for ac_exec_ext in '' $ac_executable_extensions; do
   6568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6569     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6571     break 2
   6572   fi
   6573 done
   6574   done
   6575 IFS=$as_save_IFS
   6576 
   6577 fi
   6578 fi
   6579 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6580 if test -n "$ac_ct_DSYMUTIL"; then
   6581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6582 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6583 else
   6584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6585 $as_echo "no" >&6; }
   6586 fi
   6587 
   6588   if test "x$ac_ct_DSYMUTIL" = x; then
   6589     DSYMUTIL=":"
   6590   else
   6591     case $cross_compiling:$ac_tool_warned in
   6592 yes:)
   6593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6595 ac_tool_warned=yes ;;
   6596 esac
   6597     DSYMUTIL=$ac_ct_DSYMUTIL
   6598   fi
   6599 else
   6600   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6601 fi
   6602 
   6603     if test -n "$ac_tool_prefix"; then
   6604   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6605 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6607 $as_echo_n "checking for $ac_word... " >&6; }
   6608 if ${ac_cv_prog_NMEDIT+:} false; then :
   6609   $as_echo_n "(cached) " >&6
   6610 else
   6611   if test -n "$NMEDIT"; then
   6612   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6613 else
   6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6615 for as_dir in $PATH
   6616 do
   6617   IFS=$as_save_IFS
   6618   test -z "$as_dir" && as_dir=.
   6619     for ac_exec_ext in '' $ac_executable_extensions; do
   6620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6621     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6623     break 2
   6624   fi
   6625 done
   6626   done
   6627 IFS=$as_save_IFS
   6628 
   6629 fi
   6630 fi
   6631 NMEDIT=$ac_cv_prog_NMEDIT
   6632 if test -n "$NMEDIT"; then
   6633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6634 $as_echo "$NMEDIT" >&6; }
   6635 else
   6636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6637 $as_echo "no" >&6; }
   6638 fi
   6639 
   6640 
   6641 fi
   6642 if test -z "$ac_cv_prog_NMEDIT"; then
   6643   ac_ct_NMEDIT=$NMEDIT
   6644   # Extract the first word of "nmedit", so it can be a program name with args.
   6645 set dummy nmedit; ac_word=$2
   6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6647 $as_echo_n "checking for $ac_word... " >&6; }
   6648 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6649   $as_echo_n "(cached) " >&6
   6650 else
   6651   if test -n "$ac_ct_NMEDIT"; then
   6652   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6653 else
   6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6655 for as_dir in $PATH
   6656 do
   6657   IFS=$as_save_IFS
   6658   test -z "$as_dir" && as_dir=.
   6659     for ac_exec_ext in '' $ac_executable_extensions; do
   6660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6661     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6663     break 2
   6664   fi
   6665 done
   6666   done
   6667 IFS=$as_save_IFS
   6668 
   6669 fi
   6670 fi
   6671 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6672 if test -n "$ac_ct_NMEDIT"; then
   6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6674 $as_echo "$ac_ct_NMEDIT" >&6; }
   6675 else
   6676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6677 $as_echo "no" >&6; }
   6678 fi
   6679 
   6680   if test "x$ac_ct_NMEDIT" = x; then
   6681     NMEDIT=":"
   6682   else
   6683     case $cross_compiling:$ac_tool_warned in
   6684 yes:)
   6685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6687 ac_tool_warned=yes ;;
   6688 esac
   6689     NMEDIT=$ac_ct_NMEDIT
   6690   fi
   6691 else
   6692   NMEDIT="$ac_cv_prog_NMEDIT"
   6693 fi
   6694 
   6695     if test -n "$ac_tool_prefix"; then
   6696   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6697 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6699 $as_echo_n "checking for $ac_word... " >&6; }
   6700 if ${ac_cv_prog_LIPO+:} false; then :
   6701   $as_echo_n "(cached) " >&6
   6702 else
   6703   if test -n "$LIPO"; then
   6704   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6705 else
   6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6707 for as_dir in $PATH
   6708 do
   6709   IFS=$as_save_IFS
   6710   test -z "$as_dir" && as_dir=.
   6711     for ac_exec_ext in '' $ac_executable_extensions; do
   6712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6713     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6715     break 2
   6716   fi
   6717 done
   6718   done
   6719 IFS=$as_save_IFS
   6720 
   6721 fi
   6722 fi
   6723 LIPO=$ac_cv_prog_LIPO
   6724 if test -n "$LIPO"; then
   6725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6726 $as_echo "$LIPO" >&6; }
   6727 else
   6728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6729 $as_echo "no" >&6; }
   6730 fi
   6731 
   6732 
   6733 fi
   6734 if test -z "$ac_cv_prog_LIPO"; then
   6735   ac_ct_LIPO=$LIPO
   6736   # Extract the first word of "lipo", so it can be a program name with args.
   6737 set dummy lipo; ac_word=$2
   6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6739 $as_echo_n "checking for $ac_word... " >&6; }
   6740 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6741   $as_echo_n "(cached) " >&6
   6742 else
   6743   if test -n "$ac_ct_LIPO"; then
   6744   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6745 else
   6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6747 for as_dir in $PATH
   6748 do
   6749   IFS=$as_save_IFS
   6750   test -z "$as_dir" && as_dir=.
   6751     for ac_exec_ext in '' $ac_executable_extensions; do
   6752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6753     ac_cv_prog_ac_ct_LIPO="lipo"
   6754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6755     break 2
   6756   fi
   6757 done
   6758   done
   6759 IFS=$as_save_IFS
   6760 
   6761 fi
   6762 fi
   6763 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6764 if test -n "$ac_ct_LIPO"; then
   6765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6766 $as_echo "$ac_ct_LIPO" >&6; }
   6767 else
   6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6769 $as_echo "no" >&6; }
   6770 fi
   6771 
   6772   if test "x$ac_ct_LIPO" = x; then
   6773     LIPO=":"
   6774   else
   6775     case $cross_compiling:$ac_tool_warned in
   6776 yes:)
   6777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6779 ac_tool_warned=yes ;;
   6780 esac
   6781     LIPO=$ac_ct_LIPO
   6782   fi
   6783 else
   6784   LIPO="$ac_cv_prog_LIPO"
   6785 fi
   6786 
   6787     if test -n "$ac_tool_prefix"; then
   6788   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6789 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6791 $as_echo_n "checking for $ac_word... " >&6; }
   6792 if ${ac_cv_prog_OTOOL+:} false; then :
   6793   $as_echo_n "(cached) " >&6
   6794 else
   6795   if test -n "$OTOOL"; then
   6796   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6797 else
   6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6799 for as_dir in $PATH
   6800 do
   6801   IFS=$as_save_IFS
   6802   test -z "$as_dir" && as_dir=.
   6803     for ac_exec_ext in '' $ac_executable_extensions; do
   6804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6805     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6807     break 2
   6808   fi
   6809 done
   6810   done
   6811 IFS=$as_save_IFS
   6812 
   6813 fi
   6814 fi
   6815 OTOOL=$ac_cv_prog_OTOOL
   6816 if test -n "$OTOOL"; then
   6817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6818 $as_echo "$OTOOL" >&6; }
   6819 else
   6820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6821 $as_echo "no" >&6; }
   6822 fi
   6823 
   6824 
   6825 fi
   6826 if test -z "$ac_cv_prog_OTOOL"; then
   6827   ac_ct_OTOOL=$OTOOL
   6828   # Extract the first word of "otool", so it can be a program name with args.
   6829 set dummy otool; ac_word=$2
   6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6831 $as_echo_n "checking for $ac_word... " >&6; }
   6832 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6833   $as_echo_n "(cached) " >&6
   6834 else
   6835   if test -n "$ac_ct_OTOOL"; then
   6836   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6837 else
   6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6839 for as_dir in $PATH
   6840 do
   6841   IFS=$as_save_IFS
   6842   test -z "$as_dir" && as_dir=.
   6843     for ac_exec_ext in '' $ac_executable_extensions; do
   6844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6845     ac_cv_prog_ac_ct_OTOOL="otool"
   6846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6847     break 2
   6848   fi
   6849 done
   6850   done
   6851 IFS=$as_save_IFS
   6852 
   6853 fi
   6854 fi
   6855 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6856 if test -n "$ac_ct_OTOOL"; then
   6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6858 $as_echo "$ac_ct_OTOOL" >&6; }
   6859 else
   6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6861 $as_echo "no" >&6; }
   6862 fi
   6863 
   6864   if test "x$ac_ct_OTOOL" = x; then
   6865     OTOOL=":"
   6866   else
   6867     case $cross_compiling:$ac_tool_warned in
   6868 yes:)
   6869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6871 ac_tool_warned=yes ;;
   6872 esac
   6873     OTOOL=$ac_ct_OTOOL
   6874   fi
   6875 else
   6876   OTOOL="$ac_cv_prog_OTOOL"
   6877 fi
   6878 
   6879     if test -n "$ac_tool_prefix"; then
   6880   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6881 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6883 $as_echo_n "checking for $ac_word... " >&6; }
   6884 if ${ac_cv_prog_OTOOL64+:} false; then :
   6885   $as_echo_n "(cached) " >&6
   6886 else
   6887   if test -n "$OTOOL64"; then
   6888   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6889 else
   6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6891 for as_dir in $PATH
   6892 do
   6893   IFS=$as_save_IFS
   6894   test -z "$as_dir" && as_dir=.
   6895     for ac_exec_ext in '' $ac_executable_extensions; do
   6896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6897     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6898     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6899     break 2
   6900   fi
   6901 done
   6902   done
   6903 IFS=$as_save_IFS
   6904 
   6905 fi
   6906 fi
   6907 OTOOL64=$ac_cv_prog_OTOOL64
   6908 if test -n "$OTOOL64"; then
   6909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6910 $as_echo "$OTOOL64" >&6; }
   6911 else
   6912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6913 $as_echo "no" >&6; }
   6914 fi
   6915 
   6916 
   6917 fi
   6918 if test -z "$ac_cv_prog_OTOOL64"; then
   6919   ac_ct_OTOOL64=$OTOOL64
   6920   # Extract the first word of "otool64", so it can be a program name with args.
   6921 set dummy otool64; ac_word=$2
   6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6923 $as_echo_n "checking for $ac_word... " >&6; }
   6924 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6925   $as_echo_n "(cached) " >&6
   6926 else
   6927   if test -n "$ac_ct_OTOOL64"; then
   6928   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6929 else
   6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6931 for as_dir in $PATH
   6932 do
   6933   IFS=$as_save_IFS
   6934   test -z "$as_dir" && as_dir=.
   6935     for ac_exec_ext in '' $ac_executable_extensions; do
   6936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6937     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6939     break 2
   6940   fi
   6941 done
   6942   done
   6943 IFS=$as_save_IFS
   6944 
   6945 fi
   6946 fi
   6947 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6948 if test -n "$ac_ct_OTOOL64"; then
   6949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6950 $as_echo "$ac_ct_OTOOL64" >&6; }
   6951 else
   6952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6953 $as_echo "no" >&6; }
   6954 fi
   6955 
   6956   if test "x$ac_ct_OTOOL64" = x; then
   6957     OTOOL64=":"
   6958   else
   6959     case $cross_compiling:$ac_tool_warned in
   6960 yes:)
   6961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6963 ac_tool_warned=yes ;;
   6964 esac
   6965     OTOOL64=$ac_ct_OTOOL64
   6966   fi
   6967 else
   6968   OTOOL64="$ac_cv_prog_OTOOL64"
   6969 fi
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6998 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6999 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7000   $as_echo_n "(cached) " >&6
   7001 else
   7002   lt_cv_apple_cc_single_mod=no
   7003       if test -z "${LT_MULTI_MODULE}"; then
   7004 	# By default we will add the -single_module flag. You can override
   7005 	# by either setting the environment variable LT_MULTI_MODULE
   7006 	# non-empty at configure time, or by adding -multi_module to the
   7007 	# link flags.
   7008 	rm -rf libconftest.dylib*
   7009 	echo "int foo(void){return 1;}" > conftest.c
   7010 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7011 -dynamiclib -Wl,-single_module conftest.c" >&5
   7012 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7013 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7014         _lt_result=$?
   7015 	# If there is a non-empty error log, and "single_module"
   7016 	# appears in it, assume the flag caused a linker warning
   7017         if test -s conftest.err && $GREP single_module conftest.err; then
   7018 	  cat conftest.err >&5
   7019 	# Otherwise, if the output was created with a 0 exit code from
   7020 	# the compiler, it worked.
   7021 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7022 	  lt_cv_apple_cc_single_mod=yes
   7023 	else
   7024 	  cat conftest.err >&5
   7025 	fi
   7026 	rm -rf libconftest.dylib*
   7027 	rm -f conftest.*
   7028       fi
   7029 fi
   7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7031 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7032 
   7033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7034 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7035 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7036   $as_echo_n "(cached) " >&6
   7037 else
   7038   lt_cv_ld_exported_symbols_list=no
   7039       save_LDFLAGS=$LDFLAGS
   7040       echo "_main" > conftest.sym
   7041       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7043 /* end confdefs.h.  */
   7044 
   7045 int
   7046 main ()
   7047 {
   7048 
   7049   ;
   7050   return 0;
   7051 }
   7052 _ACEOF
   7053 if ac_fn_c_try_link "$LINENO"; then :
   7054   lt_cv_ld_exported_symbols_list=yes
   7055 else
   7056   lt_cv_ld_exported_symbols_list=no
   7057 fi
   7058 rm -f core conftest.err conftest.$ac_objext \
   7059     conftest$ac_exeext conftest.$ac_ext
   7060 	LDFLAGS="$save_LDFLAGS"
   7061 
   7062 fi
   7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7064 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7065 
   7066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7067 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7068 if ${lt_cv_ld_force_load+:} false; then :
   7069   $as_echo_n "(cached) " >&6
   7070 else
   7071   lt_cv_ld_force_load=no
   7072       cat > conftest.c << _LT_EOF
   7073 int forced_loaded() { return 2;}
   7074 _LT_EOF
   7075       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7076       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7077       echo "$AR cru libconftest.a conftest.o" >&5
   7078       $AR cru libconftest.a conftest.o 2>&5
   7079       echo "$RANLIB libconftest.a" >&5
   7080       $RANLIB libconftest.a 2>&5
   7081       cat > conftest.c << _LT_EOF
   7082 int main() { return 0;}
   7083 _LT_EOF
   7084       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7085       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7086       _lt_result=$?
   7087       if test -s conftest.err && $GREP force_load conftest.err; then
   7088 	cat conftest.err >&5
   7089       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7090 	lt_cv_ld_force_load=yes
   7091       else
   7092 	cat conftest.err >&5
   7093       fi
   7094         rm -f conftest.err libconftest.a conftest conftest.c
   7095         rm -rf conftest.dSYM
   7096 
   7097 fi
   7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7099 $as_echo "$lt_cv_ld_force_load" >&6; }
   7100     case $host_os in
   7101     rhapsody* | darwin1.[012])
   7102       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7103     darwin1.*)
   7104       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7105     darwin*) # darwin 5.x on
   7106       # if running on 10.5 or later, the deployment target defaults
   7107       # to the OS version, if on x86, and 10.4, the deployment
   7108       # target defaults to 10.4. Don't you love it?
   7109       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7110 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7111 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7112 	10.[012]*)
   7113 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7114 	10.*)
   7115 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7116       esac
   7117     ;;
   7118   esac
   7119     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7120       _lt_dar_single_mod='$single_module'
   7121     fi
   7122     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7123       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7124     else
   7125       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7126     fi
   7127     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7128       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7129     else
   7130       _lt_dsymutil=
   7131     fi
   7132     ;;
   7133   esac
   7134 
   7135 ac_ext=c
   7136 ac_cpp='$CPP $CPPFLAGS'
   7137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7141 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7142 # On Suns, sometimes $CPP names a directory.
   7143 if test -n "$CPP" && test -d "$CPP"; then
   7144   CPP=
   7145 fi
   7146 if test -z "$CPP"; then
   7147   if ${ac_cv_prog_CPP+:} false; then :
   7148   $as_echo_n "(cached) " >&6
   7149 else
   7150       # Double quotes because CPP needs to be expanded
   7151     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7152     do
   7153       ac_preproc_ok=false
   7154 for ac_c_preproc_warn_flag in '' yes
   7155 do
   7156   # Use a header file that comes with gcc, so configuring glibc
   7157   # with a fresh cross-compiler works.
   7158   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7159   # <limits.h> exists even on freestanding compilers.
   7160   # On the NeXT, cc -E runs the code through the compiler's parser,
   7161   # not just through cpp. "Syntax error" is here to catch this case.
   7162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7163 /* end confdefs.h.  */
   7164 #ifdef __STDC__
   7165 # include <limits.h>
   7166 #else
   7167 # include <assert.h>
   7168 #endif
   7169 		     Syntax error
   7170 _ACEOF
   7171 if ac_fn_c_try_cpp "$LINENO"; then :
   7172 
   7173 else
   7174   # Broken: fails on valid input.
   7175 continue
   7176 fi
   7177 rm -f conftest.err conftest.i conftest.$ac_ext
   7178 
   7179   # OK, works on sane cases.  Now check whether nonexistent headers
   7180   # can be detected and how.
   7181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7182 /* end confdefs.h.  */
   7183 #include <ac_nonexistent.h>
   7184 _ACEOF
   7185 if ac_fn_c_try_cpp "$LINENO"; then :
   7186   # Broken: success on invalid input.
   7187 continue
   7188 else
   7189   # Passes both tests.
   7190 ac_preproc_ok=:
   7191 break
   7192 fi
   7193 rm -f conftest.err conftest.i conftest.$ac_ext
   7194 
   7195 done
   7196 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7197 rm -f conftest.i conftest.err conftest.$ac_ext
   7198 if $ac_preproc_ok; then :
   7199   break
   7200 fi
   7201 
   7202     done
   7203     ac_cv_prog_CPP=$CPP
   7204 
   7205 fi
   7206   CPP=$ac_cv_prog_CPP
   7207 else
   7208   ac_cv_prog_CPP=$CPP
   7209 fi
   7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7211 $as_echo "$CPP" >&6; }
   7212 ac_preproc_ok=false
   7213 for ac_c_preproc_warn_flag in '' yes
   7214 do
   7215   # Use a header file that comes with gcc, so configuring glibc
   7216   # with a fresh cross-compiler works.
   7217   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7218   # <limits.h> exists even on freestanding compilers.
   7219   # On the NeXT, cc -E runs the code through the compiler's parser,
   7220   # not just through cpp. "Syntax error" is here to catch this case.
   7221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7222 /* end confdefs.h.  */
   7223 #ifdef __STDC__
   7224 # include <limits.h>
   7225 #else
   7226 # include <assert.h>
   7227 #endif
   7228 		     Syntax error
   7229 _ACEOF
   7230 if ac_fn_c_try_cpp "$LINENO"; then :
   7231 
   7232 else
   7233   # Broken: fails on valid input.
   7234 continue
   7235 fi
   7236 rm -f conftest.err conftest.i conftest.$ac_ext
   7237 
   7238   # OK, works on sane cases.  Now check whether nonexistent headers
   7239   # can be detected and how.
   7240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7241 /* end confdefs.h.  */
   7242 #include <ac_nonexistent.h>
   7243 _ACEOF
   7244 if ac_fn_c_try_cpp "$LINENO"; then :
   7245   # Broken: success on invalid input.
   7246 continue
   7247 else
   7248   # Passes both tests.
   7249 ac_preproc_ok=:
   7250 break
   7251 fi
   7252 rm -f conftest.err conftest.i conftest.$ac_ext
   7253 
   7254 done
   7255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7256 rm -f conftest.i conftest.err conftest.$ac_ext
   7257 if $ac_preproc_ok; then :
   7258 
   7259 else
   7260   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7262 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7263 See \`config.log' for more details" "$LINENO" 5; }
   7264 fi
   7265 
   7266 ac_ext=c
   7267 ac_cpp='$CPP $CPPFLAGS'
   7268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7271 
   7272 
   7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7274 $as_echo_n "checking for ANSI C header files... " >&6; }
   7275 if ${ac_cv_header_stdc+:} false; then :
   7276   $as_echo_n "(cached) " >&6
   7277 else
   7278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7279 /* end confdefs.h.  */
   7280 #include <stdlib.h>
   7281 #include <stdarg.h>
   7282 #include <string.h>
   7283 #include <float.h>
   7284 
   7285 int
   7286 main ()
   7287 {
   7288 
   7289   ;
   7290   return 0;
   7291 }
   7292 _ACEOF
   7293 if ac_fn_c_try_compile "$LINENO"; then :
   7294   ac_cv_header_stdc=yes
   7295 else
   7296   ac_cv_header_stdc=no
   7297 fi
   7298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7299 
   7300 if test $ac_cv_header_stdc = yes; then
   7301   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7303 /* end confdefs.h.  */
   7304 #include <string.h>
   7305 
   7306 _ACEOF
   7307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7308   $EGREP "memchr" >/dev/null 2>&1; then :
   7309 
   7310 else
   7311   ac_cv_header_stdc=no
   7312 fi
   7313 rm -f conftest*
   7314 
   7315 fi
   7316 
   7317 if test $ac_cv_header_stdc = yes; then
   7318   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7320 /* end confdefs.h.  */
   7321 #include <stdlib.h>
   7322 
   7323 _ACEOF
   7324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7325   $EGREP "free" >/dev/null 2>&1; then :
   7326 
   7327 else
   7328   ac_cv_header_stdc=no
   7329 fi
   7330 rm -f conftest*
   7331 
   7332 fi
   7333 
   7334 if test $ac_cv_header_stdc = yes; then
   7335   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7336   if test "$cross_compiling" = yes; then :
   7337   :
   7338 else
   7339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7340 /* end confdefs.h.  */
   7341 #include <ctype.h>
   7342 #include <stdlib.h>
   7343 #if ((' ' & 0x0FF) == 0x020)
   7344 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7345 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7346 #else
   7347 # define ISLOWER(c) \
   7348 		   (('a' <= (c) && (c) <= 'i') \
   7349 		     || ('j' <= (c) && (c) <= 'r') \
   7350 		     || ('s' <= (c) && (c) <= 'z'))
   7351 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7352 #endif
   7353 
   7354 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7355 int
   7356 main ()
   7357 {
   7358   int i;
   7359   for (i = 0; i < 256; i++)
   7360     if (XOR (islower (i), ISLOWER (i))
   7361 	|| toupper (i) != TOUPPER (i))
   7362       return 2;
   7363   return 0;
   7364 }
   7365 _ACEOF
   7366 if ac_fn_c_try_run "$LINENO"; then :
   7367 
   7368 else
   7369   ac_cv_header_stdc=no
   7370 fi
   7371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7372   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7373 fi
   7374 
   7375 fi
   7376 fi
   7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7378 $as_echo "$ac_cv_header_stdc" >&6; }
   7379 if test $ac_cv_header_stdc = yes; then
   7380 
   7381 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7382 
   7383 fi
   7384 
   7385 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7386 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7387 		  inttypes.h stdint.h unistd.h
   7388 do :
   7389   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7390 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7391 "
   7392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7393   cat >>confdefs.h <<_ACEOF
   7394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7395 _ACEOF
   7396 
   7397 fi
   7398 
   7399 done
   7400 
   7401 
   7402 for ac_header in dlfcn.h
   7403 do :
   7404   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7405 "
   7406 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7407   cat >>confdefs.h <<_ACEOF
   7408 #define HAVE_DLFCN_H 1
   7409 _ACEOF
   7410 
   7411 fi
   7412 
   7413 done
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 # Set options
   7420 
   7421 
   7422 
   7423         enable_dlopen=no
   7424 
   7425 
   7426   enable_win32_dll=no
   7427 
   7428 
   7429             # Check whether --enable-shared was given.
   7430 if test "${enable_shared+set}" = set; then :
   7431   enableval=$enable_shared; p=${PACKAGE-default}
   7432     case $enableval in
   7433     yes) enable_shared=yes ;;
   7434     no) enable_shared=no ;;
   7435     *)
   7436       enable_shared=no
   7437       # Look at the argument we got.  We use all the common list separators.
   7438       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7439       for pkg in $enableval; do
   7440 	IFS="$lt_save_ifs"
   7441 	if test "X$pkg" = "X$p"; then
   7442 	  enable_shared=yes
   7443 	fi
   7444       done
   7445       IFS="$lt_save_ifs"
   7446       ;;
   7447     esac
   7448 else
   7449   enable_shared=yes
   7450 fi
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460   # Check whether --enable-static was given.
   7461 if test "${enable_static+set}" = set; then :
   7462   enableval=$enable_static; p=${PACKAGE-default}
   7463     case $enableval in
   7464     yes) enable_static=yes ;;
   7465     no) enable_static=no ;;
   7466     *)
   7467      enable_static=no
   7468       # Look at the argument we got.  We use all the common list separators.
   7469       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7470       for pkg in $enableval; do
   7471 	IFS="$lt_save_ifs"
   7472 	if test "X$pkg" = "X$p"; then
   7473 	  enable_static=yes
   7474 	fi
   7475       done
   7476       IFS="$lt_save_ifs"
   7477       ;;
   7478     esac
   7479 else
   7480   enable_static=yes
   7481 fi
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 # Check whether --with-pic was given.
   7493 if test "${with_pic+set}" = set; then :
   7494   withval=$with_pic; lt_p=${PACKAGE-default}
   7495     case $withval in
   7496     yes|no) pic_mode=$withval ;;
   7497     *)
   7498       pic_mode=default
   7499       # Look at the argument we got.  We use all the common list separators.
   7500       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7501       for lt_pkg in $withval; do
   7502 	IFS="$lt_save_ifs"
   7503 	if test "X$lt_pkg" = "X$lt_p"; then
   7504 	  pic_mode=yes
   7505 	fi
   7506       done
   7507       IFS="$lt_save_ifs"
   7508       ;;
   7509     esac
   7510 else
   7511   pic_mode=default
   7512 fi
   7513 
   7514 
   7515 test -z "$pic_mode" && pic_mode=default
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523   # Check whether --enable-fast-install was given.
   7524 if test "${enable_fast_install+set}" = set; then :
   7525   enableval=$enable_fast_install; p=${PACKAGE-default}
   7526     case $enableval in
   7527     yes) enable_fast_install=yes ;;
   7528     no) enable_fast_install=no ;;
   7529     *)
   7530       enable_fast_install=no
   7531       # Look at the argument we got.  We use all the common list separators.
   7532       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7533       for pkg in $enableval; do
   7534 	IFS="$lt_save_ifs"
   7535 	if test "X$pkg" = "X$p"; then
   7536 	  enable_fast_install=yes
   7537 	fi
   7538       done
   7539       IFS="$lt_save_ifs"
   7540       ;;
   7541     esac
   7542 else
   7543   enable_fast_install=yes
   7544 fi
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 # This can be used to rebuild libtool when needed
   7557 LIBTOOL_DEPS="$ltmain"
   7558 
   7559 # Always use our own libtool.
   7560 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 test -z "$LN_S" && LN_S="ln -s"
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 if test -n "${ZSH_VERSION+set}" ; then
   7607    setopt NO_GLOB_SUBST
   7608 fi
   7609 
   7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7611 $as_echo_n "checking for objdir... " >&6; }
   7612 if ${lt_cv_objdir+:} false; then :
   7613   $as_echo_n "(cached) " >&6
   7614 else
   7615   rm -f .libs 2>/dev/null
   7616 mkdir .libs 2>/dev/null
   7617 if test -d .libs; then
   7618   lt_cv_objdir=.libs
   7619 else
   7620   # MS-DOS does not allow filenames that begin with a dot.
   7621   lt_cv_objdir=_libs
   7622 fi
   7623 rmdir .libs 2>/dev/null
   7624 fi
   7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7626 $as_echo "$lt_cv_objdir" >&6; }
   7627 objdir=$lt_cv_objdir
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 cat >>confdefs.h <<_ACEOF
   7634 #define LT_OBJDIR "$lt_cv_objdir/"
   7635 _ACEOF
   7636 
   7637 
   7638 
   7639 
   7640 case $host_os in
   7641 aix3*)
   7642   # AIX sometimes has problems with the GCC collect2 program.  For some
   7643   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7644   # vanish in a puff of smoke.
   7645   if test "X${COLLECT_NAMES+set}" != Xset; then
   7646     COLLECT_NAMES=
   7647     export COLLECT_NAMES
   7648   fi
   7649   ;;
   7650 esac
   7651 
   7652 # Global variables:
   7653 ofile=libtool
   7654 can_build_shared=yes
   7655 
   7656 # All known linkers require a `.a' archive for static linking (except MSVC,
   7657 # which needs '.lib').
   7658 libext=a
   7659 
   7660 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7661 
   7662 old_CC="$CC"
   7663 old_CFLAGS="$CFLAGS"
   7664 
   7665 # Set sane defaults for various variables
   7666 test -z "$CC" && CC=cc
   7667 test -z "$LTCC" && LTCC=$CC
   7668 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7669 test -z "$LD" && LD=ld
   7670 test -z "$ac_objext" && ac_objext=o
   7671 
   7672 for cc_temp in $compiler""; do
   7673   case $cc_temp in
   7674     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7675     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7676     \-*) ;;
   7677     *) break;;
   7678   esac
   7679 done
   7680 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7681 
   7682 
   7683 # Only perform the check for file, if the check method requires it
   7684 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7685 case $deplibs_check_method in
   7686 file_magic*)
   7687   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7688     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7689 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7690 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7691   $as_echo_n "(cached) " >&6
   7692 else
   7693   case $MAGIC_CMD in
   7694 [\\/*] |  ?:[\\/]*)
   7695   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7696   ;;
   7697 *)
   7698   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7699   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7700   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7701   for ac_dir in $ac_dummy; do
   7702     IFS="$lt_save_ifs"
   7703     test -z "$ac_dir" && ac_dir=.
   7704     if test -f $ac_dir/${ac_tool_prefix}file; then
   7705       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7706       if test -n "$file_magic_test_file"; then
   7707 	case $deplibs_check_method in
   7708 	"file_magic "*)
   7709 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7710 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7711 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7712 	    $EGREP "$file_magic_regex" > /dev/null; then
   7713 	    :
   7714 	  else
   7715 	    cat <<_LT_EOF 1>&2
   7716 
   7717 *** Warning: the command libtool uses to detect shared libraries,
   7718 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7719 *** The result is that libtool may fail to recognize shared libraries
   7720 *** as such.  This will affect the creation of libtool libraries that
   7721 *** depend on shared libraries, but programs linked with such libtool
   7722 *** libraries will work regardless of this problem.  Nevertheless, you
   7723 *** may want to report the problem to your system manager and/or to
   7724 *** bug-libtool@gnu.org
   7725 
   7726 _LT_EOF
   7727 	  fi ;;
   7728 	esac
   7729       fi
   7730       break
   7731     fi
   7732   done
   7733   IFS="$lt_save_ifs"
   7734   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7735   ;;
   7736 esac
   7737 fi
   7738 
   7739 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7740 if test -n "$MAGIC_CMD"; then
   7741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7742 $as_echo "$MAGIC_CMD" >&6; }
   7743 else
   7744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7745 $as_echo "no" >&6; }
   7746 fi
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7753   if test -n "$ac_tool_prefix"; then
   7754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7755 $as_echo_n "checking for file... " >&6; }
   7756 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7757   $as_echo_n "(cached) " >&6
   7758 else
   7759   case $MAGIC_CMD in
   7760 [\\/*] |  ?:[\\/]*)
   7761   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7762   ;;
   7763 *)
   7764   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7765   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7766   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7767   for ac_dir in $ac_dummy; do
   7768     IFS="$lt_save_ifs"
   7769     test -z "$ac_dir" && ac_dir=.
   7770     if test -f $ac_dir/file; then
   7771       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7772       if test -n "$file_magic_test_file"; then
   7773 	case $deplibs_check_method in
   7774 	"file_magic "*)
   7775 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7776 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7777 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7778 	    $EGREP "$file_magic_regex" > /dev/null; then
   7779 	    :
   7780 	  else
   7781 	    cat <<_LT_EOF 1>&2
   7782 
   7783 *** Warning: the command libtool uses to detect shared libraries,
   7784 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7785 *** The result is that libtool may fail to recognize shared libraries
   7786 *** as such.  This will affect the creation of libtool libraries that
   7787 *** depend on shared libraries, but programs linked with such libtool
   7788 *** libraries will work regardless of this problem.  Nevertheless, you
   7789 *** may want to report the problem to your system manager and/or to
   7790 *** bug-libtool@gnu.org
   7791 
   7792 _LT_EOF
   7793 	  fi ;;
   7794 	esac
   7795       fi
   7796       break
   7797     fi
   7798   done
   7799   IFS="$lt_save_ifs"
   7800   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7801   ;;
   7802 esac
   7803 fi
   7804 
   7805 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7806 if test -n "$MAGIC_CMD"; then
   7807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7808 $as_echo "$MAGIC_CMD" >&6; }
   7809 else
   7810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7811 $as_echo "no" >&6; }
   7812 fi
   7813 
   7814 
   7815   else
   7816     MAGIC_CMD=:
   7817   fi
   7818 fi
   7819 
   7820   fi
   7821   ;;
   7822 esac
   7823 
   7824 # Use C for the default configuration in the libtool script
   7825 
   7826 lt_save_CC="$CC"
   7827 ac_ext=c
   7828 ac_cpp='$CPP $CPPFLAGS'
   7829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7832 
   7833 
   7834 # Source file extension for C test sources.
   7835 ac_ext=c
   7836 
   7837 # Object file extension for compiled C test sources.
   7838 objext=o
   7839 objext=$objext
   7840 
   7841 # Code to be used in simple compile tests
   7842 lt_simple_compile_test_code="int some_variable = 0;"
   7843 
   7844 # Code to be used in simple link tests
   7845 lt_simple_link_test_code='int main(){return(0);}'
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 # If no C compiler was specified, use CC.
   7854 LTCC=${LTCC-"$CC"}
   7855 
   7856 # If no C compiler flags were specified, use CFLAGS.
   7857 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7858 
   7859 # Allow CC to be a program name with arguments.
   7860 compiler=$CC
   7861 
   7862 # Save the default compiler, since it gets overwritten when the other
   7863 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7864 compiler_DEFAULT=$CC
   7865 
   7866 # save warnings/boilerplate of simple test code
   7867 ac_outfile=conftest.$ac_objext
   7868 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7869 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7870 _lt_compiler_boilerplate=`cat conftest.err`
   7871 $RM conftest*
   7872 
   7873 ac_outfile=conftest.$ac_objext
   7874 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7875 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7876 _lt_linker_boilerplate=`cat conftest.err`
   7877 $RM -r conftest*
   7878 
   7879 
   7880 if test -n "$compiler"; then
   7881 
   7882 lt_prog_compiler_no_builtin_flag=
   7883 
   7884 if test "$GCC" = yes; then
   7885   case $cc_basename in
   7886   nvcc*)
   7887     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7888   *)
   7889     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7890   esac
   7891 
   7892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7893 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7894 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7895   $as_echo_n "(cached) " >&6
   7896 else
   7897   lt_cv_prog_compiler_rtti_exceptions=no
   7898    ac_outfile=conftest.$ac_objext
   7899    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7900    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7901    # Insert the option either (1) after the last *FLAGS variable, or
   7902    # (2) before a word containing "conftest.", or (3) at the end.
   7903    # Note that $ac_compile itself does not contain backslashes and begins
   7904    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7905    # The option is referenced via a variable to avoid confusing sed.
   7906    lt_compile=`echo "$ac_compile" | $SED \
   7907    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7908    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7909    -e 's:$: $lt_compiler_flag:'`
   7910    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7911    (eval "$lt_compile" 2>conftest.err)
   7912    ac_status=$?
   7913    cat conftest.err >&5
   7914    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7915    if (exit $ac_status) && test -s "$ac_outfile"; then
   7916      # The compiler can only warn and ignore the option if not recognized
   7917      # So say no if there are warnings other than the usual output.
   7918      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7919      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7920      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7921        lt_cv_prog_compiler_rtti_exceptions=yes
   7922      fi
   7923    fi
   7924    $RM conftest*
   7925 
   7926 fi
   7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7928 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7929 
   7930 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7931     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7932 else
   7933     :
   7934 fi
   7935 
   7936 fi
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943   lt_prog_compiler_wl=
   7944 lt_prog_compiler_pic=
   7945 lt_prog_compiler_static=
   7946 
   7947 
   7948   if test "$GCC" = yes; then
   7949     lt_prog_compiler_wl='-Wl,'
   7950     lt_prog_compiler_static='-static'
   7951 
   7952     case $host_os in
   7953       aix*)
   7954       # All AIX code is PIC.
   7955       if test "$host_cpu" = ia64; then
   7956 	# AIX 5 now supports IA64 processor
   7957 	lt_prog_compiler_static='-Bstatic'
   7958       fi
   7959       ;;
   7960 
   7961     amigaos*)
   7962       case $host_cpu in
   7963       powerpc)
   7964             # see comment about AmigaOS4 .so support
   7965             lt_prog_compiler_pic='-fPIC'
   7966         ;;
   7967       m68k)
   7968             # FIXME: we need at least 68020 code to build shared libraries, but
   7969             # adding the `-m68020' flag to GCC prevents building anything better,
   7970             # like `-m68040'.
   7971             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7972         ;;
   7973       esac
   7974       ;;
   7975 
   7976     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7977       # PIC is the default for these OSes.
   7978       ;;
   7979 
   7980     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7981       # This hack is so that the source file can tell whether it is being
   7982       # built for inclusion in a dll (and should export symbols for example).
   7983       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7984       # (--disable-auto-import) libraries
   7985       lt_prog_compiler_pic='-DDLL_EXPORT'
   7986       ;;
   7987 
   7988     darwin* | rhapsody*)
   7989       # PIC is the default on this platform
   7990       # Common symbols not allowed in MH_DYLIB files
   7991       lt_prog_compiler_pic='-fno-common'
   7992       ;;
   7993 
   7994     haiku*)
   7995       # PIC is the default for Haiku.
   7996       # The "-static" flag exists, but is broken.
   7997       lt_prog_compiler_static=
   7998       ;;
   7999 
   8000     hpux*)
   8001       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8002       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8003       # sets the default TLS model and affects inlining.
   8004       case $host_cpu in
   8005       hppa*64*)
   8006 	# +Z the default
   8007 	;;
   8008       *)
   8009 	lt_prog_compiler_pic='-fPIC'
   8010 	;;
   8011       esac
   8012       ;;
   8013 
   8014     interix[3-9]*)
   8015       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8016       # Instead, we relocate shared libraries at runtime.
   8017       ;;
   8018 
   8019     msdosdjgpp*)
   8020       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8021       # on systems that don't support them.
   8022       lt_prog_compiler_can_build_shared=no
   8023       enable_shared=no
   8024       ;;
   8025 
   8026     *nto* | *qnx*)
   8027       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8028       # it will coredump.
   8029       lt_prog_compiler_pic='-fPIC -shared'
   8030       ;;
   8031 
   8032     sysv4*MP*)
   8033       if test -d /usr/nec; then
   8034 	lt_prog_compiler_pic=-Kconform_pic
   8035       fi
   8036       ;;
   8037 
   8038     *)
   8039       lt_prog_compiler_pic='-fPIC'
   8040       ;;
   8041     esac
   8042 
   8043     case $cc_basename in
   8044     nvcc*) # Cuda Compiler Driver 2.2
   8045       lt_prog_compiler_wl='-Xlinker '
   8046       if test -n "$lt_prog_compiler_pic"; then
   8047         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8048       fi
   8049       ;;
   8050     esac
   8051   else
   8052     # PORTME Check for flag to pass linker flags through the system compiler.
   8053     case $host_os in
   8054     aix*)
   8055       lt_prog_compiler_wl='-Wl,'
   8056       if test "$host_cpu" = ia64; then
   8057 	# AIX 5 now supports IA64 processor
   8058 	lt_prog_compiler_static='-Bstatic'
   8059       else
   8060 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8061       fi
   8062       ;;
   8063 
   8064     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8065       # This hack is so that the source file can tell whether it is being
   8066       # built for inclusion in a dll (and should export symbols for example).
   8067       lt_prog_compiler_pic='-DDLL_EXPORT'
   8068       ;;
   8069 
   8070     hpux9* | hpux10* | hpux11*)
   8071       lt_prog_compiler_wl='-Wl,'
   8072       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8073       # not for PA HP-UX.
   8074       case $host_cpu in
   8075       hppa*64*|ia64*)
   8076 	# +Z the default
   8077 	;;
   8078       *)
   8079 	lt_prog_compiler_pic='+Z'
   8080 	;;
   8081       esac
   8082       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8083       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8084       ;;
   8085 
   8086     irix5* | irix6* | nonstopux*)
   8087       lt_prog_compiler_wl='-Wl,'
   8088       # PIC (with -KPIC) is the default.
   8089       lt_prog_compiler_static='-non_shared'
   8090       ;;
   8091 
   8092     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8093       case $cc_basename in
   8094       # old Intel for x86_64 which still supported -KPIC.
   8095       ecc*)
   8096 	lt_prog_compiler_wl='-Wl,'
   8097 	lt_prog_compiler_pic='-KPIC'
   8098 	lt_prog_compiler_static='-static'
   8099         ;;
   8100       # icc used to be incompatible with GCC.
   8101       # ICC 10 doesn't accept -KPIC any more.
   8102       icc* | ifort*)
   8103 	lt_prog_compiler_wl='-Wl,'
   8104 	lt_prog_compiler_pic='-fPIC'
   8105 	lt_prog_compiler_static='-static'
   8106         ;;
   8107       # Lahey Fortran 8.1.
   8108       lf95*)
   8109 	lt_prog_compiler_wl='-Wl,'
   8110 	lt_prog_compiler_pic='--shared'
   8111 	lt_prog_compiler_static='--static'
   8112 	;;
   8113       nagfor*)
   8114 	# NAG Fortran compiler
   8115 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8116 	lt_prog_compiler_pic='-PIC'
   8117 	lt_prog_compiler_static='-Bstatic'
   8118 	;;
   8119       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8120         # Portland Group compilers (*not* the Pentium gcc compiler,
   8121 	# which looks to be a dead project)
   8122 	lt_prog_compiler_wl='-Wl,'
   8123 	lt_prog_compiler_pic='-fpic'
   8124 	lt_prog_compiler_static='-Bstatic'
   8125         ;;
   8126       ccc*)
   8127         lt_prog_compiler_wl='-Wl,'
   8128         # All Alpha code is PIC.
   8129         lt_prog_compiler_static='-non_shared'
   8130         ;;
   8131       xl* | bgxl* | bgf* | mpixl*)
   8132 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8133 	lt_prog_compiler_wl='-Wl,'
   8134 	lt_prog_compiler_pic='-qpic'
   8135 	lt_prog_compiler_static='-qstaticlink'
   8136 	;;
   8137       *)
   8138 	case `$CC -V 2>&1 | sed 5q` in
   8139 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8140 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8141 	  lt_prog_compiler_pic='-KPIC'
   8142 	  lt_prog_compiler_static='-Bstatic'
   8143 	  lt_prog_compiler_wl=''
   8144 	  ;;
   8145 	*Sun\ F* | *Sun*Fortran*)
   8146 	  lt_prog_compiler_pic='-KPIC'
   8147 	  lt_prog_compiler_static='-Bstatic'
   8148 	  lt_prog_compiler_wl='-Qoption ld '
   8149 	  ;;
   8150 	*Sun\ C*)
   8151 	  # Sun C 5.9
   8152 	  lt_prog_compiler_pic='-KPIC'
   8153 	  lt_prog_compiler_static='-Bstatic'
   8154 	  lt_prog_compiler_wl='-Wl,'
   8155 	  ;;
   8156         *Intel*\ [CF]*Compiler*)
   8157 	  lt_prog_compiler_wl='-Wl,'
   8158 	  lt_prog_compiler_pic='-fPIC'
   8159 	  lt_prog_compiler_static='-static'
   8160 	  ;;
   8161 	*Portland\ Group*)
   8162 	  lt_prog_compiler_wl='-Wl,'
   8163 	  lt_prog_compiler_pic='-fpic'
   8164 	  lt_prog_compiler_static='-Bstatic'
   8165 	  ;;
   8166 	esac
   8167 	;;
   8168       esac
   8169       ;;
   8170 
   8171     newsos6)
   8172       lt_prog_compiler_pic='-KPIC'
   8173       lt_prog_compiler_static='-Bstatic'
   8174       ;;
   8175 
   8176     *nto* | *qnx*)
   8177       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8178       # it will coredump.
   8179       lt_prog_compiler_pic='-fPIC -shared'
   8180       ;;
   8181 
   8182     osf3* | osf4* | osf5*)
   8183       lt_prog_compiler_wl='-Wl,'
   8184       # All OSF/1 code is PIC.
   8185       lt_prog_compiler_static='-non_shared'
   8186       ;;
   8187 
   8188     rdos*)
   8189       lt_prog_compiler_static='-non_shared'
   8190       ;;
   8191 
   8192     solaris*)
   8193       lt_prog_compiler_pic='-KPIC'
   8194       lt_prog_compiler_static='-Bstatic'
   8195       case $cc_basename in
   8196       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8197 	lt_prog_compiler_wl='-Qoption ld ';;
   8198       *)
   8199 	lt_prog_compiler_wl='-Wl,';;
   8200       esac
   8201       ;;
   8202 
   8203     sunos4*)
   8204       lt_prog_compiler_wl='-Qoption ld '
   8205       lt_prog_compiler_pic='-PIC'
   8206       lt_prog_compiler_static='-Bstatic'
   8207       ;;
   8208 
   8209     sysv4 | sysv4.2uw2* | sysv4.3*)
   8210       lt_prog_compiler_wl='-Wl,'
   8211       lt_prog_compiler_pic='-KPIC'
   8212       lt_prog_compiler_static='-Bstatic'
   8213       ;;
   8214 
   8215     sysv4*MP*)
   8216       if test -d /usr/nec ;then
   8217 	lt_prog_compiler_pic='-Kconform_pic'
   8218 	lt_prog_compiler_static='-Bstatic'
   8219       fi
   8220       ;;
   8221 
   8222     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8223       lt_prog_compiler_wl='-Wl,'
   8224       lt_prog_compiler_pic='-KPIC'
   8225       lt_prog_compiler_static='-Bstatic'
   8226       ;;
   8227 
   8228     unicos*)
   8229       lt_prog_compiler_wl='-Wl,'
   8230       lt_prog_compiler_can_build_shared=no
   8231       ;;
   8232 
   8233     uts4*)
   8234       lt_prog_compiler_pic='-pic'
   8235       lt_prog_compiler_static='-Bstatic'
   8236       ;;
   8237 
   8238     *)
   8239       lt_prog_compiler_can_build_shared=no
   8240       ;;
   8241     esac
   8242   fi
   8243 
   8244 case $host_os in
   8245   # For platforms which do not support PIC, -DPIC is meaningless:
   8246   *djgpp*)
   8247     lt_prog_compiler_pic=
   8248     ;;
   8249   *)
   8250     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8251     ;;
   8252 esac
   8253 
   8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8255 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8256 if ${lt_cv_prog_compiler_pic+:} false; then :
   8257   $as_echo_n "(cached) " >&6
   8258 else
   8259   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8260 fi
   8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8262 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8263 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8264 
   8265 #
   8266 # Check to make sure the PIC flag actually works.
   8267 #
   8268 if test -n "$lt_prog_compiler_pic"; then
   8269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8270 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8271 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8272   $as_echo_n "(cached) " >&6
   8273 else
   8274   lt_cv_prog_compiler_pic_works=no
   8275    ac_outfile=conftest.$ac_objext
   8276    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8277    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8278    # Insert the option either (1) after the last *FLAGS variable, or
   8279    # (2) before a word containing "conftest.", or (3) at the end.
   8280    # Note that $ac_compile itself does not contain backslashes and begins
   8281    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8282    # The option is referenced via a variable to avoid confusing sed.
   8283    lt_compile=`echo "$ac_compile" | $SED \
   8284    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8285    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8286    -e 's:$: $lt_compiler_flag:'`
   8287    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8288    (eval "$lt_compile" 2>conftest.err)
   8289    ac_status=$?
   8290    cat conftest.err >&5
   8291    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8292    if (exit $ac_status) && test -s "$ac_outfile"; then
   8293      # The compiler can only warn and ignore the option if not recognized
   8294      # So say no if there are warnings other than the usual output.
   8295      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8296      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8297      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8298        lt_cv_prog_compiler_pic_works=yes
   8299      fi
   8300    fi
   8301    $RM conftest*
   8302 
   8303 fi
   8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8305 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8306 
   8307 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8308     case $lt_prog_compiler_pic in
   8309      "" | " "*) ;;
   8310      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8311      esac
   8312 else
   8313     lt_prog_compiler_pic=
   8314      lt_prog_compiler_can_build_shared=no
   8315 fi
   8316 
   8317 fi
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 #
   8330 # Check to make sure the static flag actually works.
   8331 #
   8332 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8334 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8335 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8336   $as_echo_n "(cached) " >&6
   8337 else
   8338   lt_cv_prog_compiler_static_works=no
   8339    save_LDFLAGS="$LDFLAGS"
   8340    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8341    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8342    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8343      # The linker can only warn and ignore the option if not recognized
   8344      # So say no if there are warnings
   8345      if test -s conftest.err; then
   8346        # Append any errors to the config.log.
   8347        cat conftest.err 1>&5
   8348        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8349        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8350        if diff conftest.exp conftest.er2 >/dev/null; then
   8351          lt_cv_prog_compiler_static_works=yes
   8352        fi
   8353      else
   8354        lt_cv_prog_compiler_static_works=yes
   8355      fi
   8356    fi
   8357    $RM -r conftest*
   8358    LDFLAGS="$save_LDFLAGS"
   8359 
   8360 fi
   8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8362 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8363 
   8364 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8365     :
   8366 else
   8367     lt_prog_compiler_static=
   8368 fi
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8377 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8378 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8379   $as_echo_n "(cached) " >&6
   8380 else
   8381   lt_cv_prog_compiler_c_o=no
   8382    $RM -r conftest 2>/dev/null
   8383    mkdir conftest
   8384    cd conftest
   8385    mkdir out
   8386    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8387 
   8388    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8389    # Insert the option either (1) after the last *FLAGS variable, or
   8390    # (2) before a word containing "conftest.", or (3) at the end.
   8391    # Note that $ac_compile itself does not contain backslashes and begins
   8392    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8393    lt_compile=`echo "$ac_compile" | $SED \
   8394    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8395    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8396    -e 's:$: $lt_compiler_flag:'`
   8397    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8398    (eval "$lt_compile" 2>out/conftest.err)
   8399    ac_status=$?
   8400    cat out/conftest.err >&5
   8401    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8402    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8403    then
   8404      # The compiler can only warn and ignore the option if not recognized
   8405      # So say no if there are warnings
   8406      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8407      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8408      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8409        lt_cv_prog_compiler_c_o=yes
   8410      fi
   8411    fi
   8412    chmod u+w . 2>&5
   8413    $RM conftest*
   8414    # SGI C++ compiler will create directory out/ii_files/ for
   8415    # template instantiation
   8416    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8417    $RM out/* && rmdir out
   8418    cd ..
   8419    $RM -r conftest
   8420    $RM conftest*
   8421 
   8422 fi
   8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8424 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8432 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8433 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8434   $as_echo_n "(cached) " >&6
   8435 else
   8436   lt_cv_prog_compiler_c_o=no
   8437    $RM -r conftest 2>/dev/null
   8438    mkdir conftest
   8439    cd conftest
   8440    mkdir out
   8441    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8442 
   8443    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8444    # Insert the option either (1) after the last *FLAGS variable, or
   8445    # (2) before a word containing "conftest.", or (3) at the end.
   8446    # Note that $ac_compile itself does not contain backslashes and begins
   8447    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8448    lt_compile=`echo "$ac_compile" | $SED \
   8449    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8450    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8451    -e 's:$: $lt_compiler_flag:'`
   8452    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8453    (eval "$lt_compile" 2>out/conftest.err)
   8454    ac_status=$?
   8455    cat out/conftest.err >&5
   8456    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8457    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8458    then
   8459      # The compiler can only warn and ignore the option if not recognized
   8460      # So say no if there are warnings
   8461      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8462      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8463      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8464        lt_cv_prog_compiler_c_o=yes
   8465      fi
   8466    fi
   8467    chmod u+w . 2>&5
   8468    $RM conftest*
   8469    # SGI C++ compiler will create directory out/ii_files/ for
   8470    # template instantiation
   8471    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8472    $RM out/* && rmdir out
   8473    cd ..
   8474    $RM -r conftest
   8475    $RM conftest*
   8476 
   8477 fi
   8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8479 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8480 
   8481 
   8482 
   8483 
   8484 hard_links="nottested"
   8485 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8486   # do not overwrite the value of need_locks provided by the user
   8487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8488 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8489   hard_links=yes
   8490   $RM conftest*
   8491   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8492   touch conftest.a
   8493   ln conftest.a conftest.b 2>&5 || hard_links=no
   8494   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8496 $as_echo "$hard_links" >&6; }
   8497   if test "$hard_links" = no; then
   8498     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8499 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8500     need_locks=warn
   8501   fi
   8502 else
   8503   need_locks=no
   8504 fi
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8512 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8513 
   8514   runpath_var=
   8515   allow_undefined_flag=
   8516   always_export_symbols=no
   8517   archive_cmds=
   8518   archive_expsym_cmds=
   8519   compiler_needs_object=no
   8520   enable_shared_with_static_runtimes=no
   8521   export_dynamic_flag_spec=
   8522   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8523   hardcode_automatic=no
   8524   hardcode_direct=no
   8525   hardcode_direct_absolute=no
   8526   hardcode_libdir_flag_spec=
   8527   hardcode_libdir_separator=
   8528   hardcode_minus_L=no
   8529   hardcode_shlibpath_var=unsupported
   8530   inherit_rpath=no
   8531   link_all_deplibs=unknown
   8532   module_cmds=
   8533   module_expsym_cmds=
   8534   old_archive_from_new_cmds=
   8535   old_archive_from_expsyms_cmds=
   8536   thread_safe_flag_spec=
   8537   whole_archive_flag_spec=
   8538   # include_expsyms should be a list of space-separated symbols to be *always*
   8539   # included in the symbol list
   8540   include_expsyms=
   8541   # exclude_expsyms can be an extended regexp of symbols to exclude
   8542   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8543   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8544   # as well as any symbol that contains `d'.
   8545   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8546   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8547   # platforms (ab)use it in PIC code, but their linkers get confused if
   8548   # the symbol is explicitly referenced.  Since portable code cannot
   8549   # rely on this symbol name, it's probably fine to never include it in
   8550   # preloaded symbol tables.
   8551   # Exclude shared library initialization/finalization symbols.
   8552   extract_expsyms_cmds=
   8553 
   8554   case $host_os in
   8555   cygwin* | mingw* | pw32* | cegcc*)
   8556     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8557     # When not using gcc, we currently assume that we are using
   8558     # Microsoft Visual C++.
   8559     if test "$GCC" != yes; then
   8560       with_gnu_ld=no
   8561     fi
   8562     ;;
   8563   interix*)
   8564     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8565     with_gnu_ld=yes
   8566     ;;
   8567   openbsd*)
   8568     with_gnu_ld=no
   8569     ;;
   8570   esac
   8571 
   8572   ld_shlibs=yes
   8573 
   8574   # On some targets, GNU ld is compatible enough with the native linker
   8575   # that we're better off using the native interface for both.
   8576   lt_use_gnu_ld_interface=no
   8577   if test "$with_gnu_ld" = yes; then
   8578     case $host_os in
   8579       aix*)
   8580 	# The AIX port of GNU ld has always aspired to compatibility
   8581 	# with the native linker.  However, as the warning in the GNU ld
   8582 	# block says, versions before 2.19.5* couldn't really create working
   8583 	# shared libraries, regardless of the interface used.
   8584 	case `$LD -v 2>&1` in
   8585 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8586 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8587 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8588 	  *)
   8589 	    lt_use_gnu_ld_interface=yes
   8590 	    ;;
   8591 	esac
   8592 	;;
   8593       *)
   8594 	lt_use_gnu_ld_interface=yes
   8595 	;;
   8596     esac
   8597   fi
   8598 
   8599   if test "$lt_use_gnu_ld_interface" = yes; then
   8600     # If archive_cmds runs LD, not CC, wlarc should be empty
   8601     wlarc='${wl}'
   8602 
   8603     # Set some defaults for GNU ld with shared library support. These
   8604     # are reset later if shared libraries are not supported. Putting them
   8605     # here allows them to be overridden if necessary.
   8606     runpath_var=LD_RUN_PATH
   8607     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8608     export_dynamic_flag_spec='${wl}--export-dynamic'
   8609     # ancient GNU ld didn't support --whole-archive et. al.
   8610     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8611       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8612     else
   8613       whole_archive_flag_spec=
   8614     fi
   8615     supports_anon_versioning=no
   8616     case `$LD -v 2>&1` in
   8617       *GNU\ gold*) supports_anon_versioning=yes ;;
   8618       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8619       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8620       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8621       *\ 2.11.*) ;; # other 2.11 versions
   8622       *) supports_anon_versioning=yes ;;
   8623     esac
   8624 
   8625     # See if GNU ld supports shared libraries.
   8626     case $host_os in
   8627     aix[3-9]*)
   8628       # On AIX/PPC, the GNU linker is very broken
   8629       if test "$host_cpu" != ia64; then
   8630 	ld_shlibs=no
   8631 	cat <<_LT_EOF 1>&2
   8632 
   8633 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8634 *** to be unable to reliably create shared libraries on AIX.
   8635 *** Therefore, libtool is disabling shared libraries support.  If you
   8636 *** really care for shared libraries, you may want to install binutils
   8637 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8638 *** You will then need to restart the configuration process.
   8639 
   8640 _LT_EOF
   8641       fi
   8642       ;;
   8643 
   8644     amigaos*)
   8645       case $host_cpu in
   8646       powerpc)
   8647             # see comment about AmigaOS4 .so support
   8648             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8649             archive_expsym_cmds=''
   8650         ;;
   8651       m68k)
   8652             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   8653             hardcode_libdir_flag_spec='-L$libdir'
   8654             hardcode_minus_L=yes
   8655         ;;
   8656       esac
   8657       ;;
   8658 
   8659     beos*)
   8660       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8661 	allow_undefined_flag=unsupported
   8662 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8663 	# support --undefined.  This deserves some investigation.  FIXME
   8664 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8665       else
   8666 	ld_shlibs=no
   8667       fi
   8668       ;;
   8669 
   8670     cygwin* | mingw* | pw32* | cegcc*)
   8671       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8672       # as there is no search path for DLLs.
   8673       hardcode_libdir_flag_spec='-L$libdir'
   8674       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8675       allow_undefined_flag=unsupported
   8676       always_export_symbols=no
   8677       enable_shared_with_static_runtimes=yes
   8678       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   8679       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8680 
   8681       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8682         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8683 	# If the export-symbols file already is a .def file (1st line
   8684 	# is EXPORTS), use it as is; otherwise, prepend...
   8685 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8686 	  cp $export_symbols $output_objdir/$soname.def;
   8687 	else
   8688 	  echo EXPORTS > $output_objdir/$soname.def;
   8689 	  cat $export_symbols >> $output_objdir/$soname.def;
   8690 	fi~
   8691 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8692       else
   8693 	ld_shlibs=no
   8694       fi
   8695       ;;
   8696 
   8697     haiku*)
   8698       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8699       link_all_deplibs=yes
   8700       ;;
   8701 
   8702     interix[3-9]*)
   8703       hardcode_direct=no
   8704       hardcode_shlibpath_var=no
   8705       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8706       export_dynamic_flag_spec='${wl}-E'
   8707       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8708       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8709       # default) and relocated if they conflict, which is a slow very memory
   8710       # consuming and fragmenting process.  To avoid this, we pick a random,
   8711       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8712       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8713       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8714       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8715       ;;
   8716 
   8717     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8718       tmp_diet=no
   8719       if test "$host_os" = linux-dietlibc; then
   8720 	case $cc_basename in
   8721 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8722 	esac
   8723       fi
   8724       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8725 	 && test "$tmp_diet" = no
   8726       then
   8727 	tmp_addflag=' $pic_flag'
   8728 	tmp_sharedflag='-shared'
   8729 	case $cc_basename,$host_cpu in
   8730         pgcc*)				# Portland Group C compiler
   8731 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8732 	  tmp_addflag=' $pic_flag'
   8733 	  ;;
   8734 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8735 					# Portland Group f77 and f90 compilers
   8736 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8737 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8738 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8739 	  tmp_addflag=' -i_dynamic' ;;
   8740 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8741 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8742 	ifc* | ifort*)			# Intel Fortran compiler
   8743 	  tmp_addflag=' -nofor_main' ;;
   8744 	lf95*)				# Lahey Fortran 8.1
   8745 	  whole_archive_flag_spec=
   8746 	  tmp_sharedflag='--shared' ;;
   8747 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8748 	  tmp_sharedflag='-qmkshrobj'
   8749 	  tmp_addflag= ;;
   8750 	nvcc*)	# Cuda Compiler Driver 2.2
   8751 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8752 	  compiler_needs_object=yes
   8753 	  ;;
   8754 	esac
   8755 	case `$CC -V 2>&1 | sed 5q` in
   8756 	*Sun\ C*)			# Sun C 5.9
   8757 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8758 	  compiler_needs_object=yes
   8759 	  tmp_sharedflag='-G' ;;
   8760 	*Sun\ F*)			# Sun Fortran 8.3
   8761 	  tmp_sharedflag='-G' ;;
   8762 	esac
   8763 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8764 
   8765         if test "x$supports_anon_versioning" = xyes; then
   8766           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8767 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8768 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8769 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8770         fi
   8771 
   8772 	case $cc_basename in
   8773 	xlf* | bgf* | bgxlf* | mpixlf*)
   8774 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8775 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8776 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8777 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8778 	  if test "x$supports_anon_versioning" = xyes; then
   8779 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8780 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8781 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8782 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8783 	  fi
   8784 	  ;;
   8785 	esac
   8786       else
   8787         ld_shlibs=no
   8788       fi
   8789       ;;
   8790 
   8791     netbsd*)
   8792       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8793 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8794 	wlarc=
   8795       else
   8796 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8797 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8798       fi
   8799       ;;
   8800 
   8801     solaris*)
   8802       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8803 	ld_shlibs=no
   8804 	cat <<_LT_EOF 1>&2
   8805 
   8806 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8807 *** create shared libraries on Solaris systems.  Therefore, libtool
   8808 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8809 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8810 *** your PATH or compiler configuration so that the native linker is
   8811 *** used, and then restart.
   8812 
   8813 _LT_EOF
   8814       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8815 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8816 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8817       else
   8818 	ld_shlibs=no
   8819       fi
   8820       ;;
   8821 
   8822     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8823       case `$LD -v 2>&1` in
   8824         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8825 	ld_shlibs=no
   8826 	cat <<_LT_EOF 1>&2
   8827 
   8828 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8829 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8830 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8831 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8832 *** your PATH or compiler configuration so that the native linker is
   8833 *** used, and then restart.
   8834 
   8835 _LT_EOF
   8836 	;;
   8837 	*)
   8838 	  # For security reasons, it is highly recommended that you always
   8839 	  # use absolute paths for naming shared libraries, and exclude the
   8840 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8841 	  # requires that you compile everything twice, which is a pain.
   8842 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8843 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8844 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8845 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8846 	  else
   8847 	    ld_shlibs=no
   8848 	  fi
   8849 	;;
   8850       esac
   8851       ;;
   8852 
   8853     sunos4*)
   8854       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8855       wlarc=
   8856       hardcode_direct=yes
   8857       hardcode_shlibpath_var=no
   8858       ;;
   8859 
   8860     *)
   8861       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8862 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8863 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8864       else
   8865 	ld_shlibs=no
   8866       fi
   8867       ;;
   8868     esac
   8869 
   8870     if test "$ld_shlibs" = no; then
   8871       runpath_var=
   8872       hardcode_libdir_flag_spec=
   8873       export_dynamic_flag_spec=
   8874       whole_archive_flag_spec=
   8875     fi
   8876   else
   8877     # PORTME fill in a description of your system's linker (not GNU ld)
   8878     case $host_os in
   8879     aix3*)
   8880       allow_undefined_flag=unsupported
   8881       always_export_symbols=yes
   8882       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   8883       # Note: this linker hardcodes the directories in LIBPATH if there
   8884       # are no directories specified by -L.
   8885       hardcode_minus_L=yes
   8886       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8887 	# Neither direct hardcoding nor static linking is supported with a
   8888 	# broken collect2.
   8889 	hardcode_direct=unsupported
   8890       fi
   8891       ;;
   8892 
   8893     aix[4-9]*)
   8894       if test "$host_cpu" = ia64; then
   8895 	# On IA64, the linker does run time linking by default, so we don't
   8896 	# have to do anything special.
   8897 	aix_use_runtimelinking=no
   8898 	exp_sym_flag='-Bexport'
   8899 	no_entry_flag=""
   8900       else
   8901 	# If we're using GNU nm, then we don't want the "-C" option.
   8902 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8903 	# Also, AIX nm treats weak defined symbols like other global
   8904 	# defined symbols, whereas GNU nm marks them as "W".
   8905 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8906 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8907 	else
   8908 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8909 	fi
   8910 	aix_use_runtimelinking=no
   8911 
   8912 	# Test if we are trying to use run time linking or normal
   8913 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8914 	# need to do runtime linking.
   8915 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8916 	  for ld_flag in $LDFLAGS; do
   8917 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8918 	    aix_use_runtimelinking=yes
   8919 	    break
   8920 	  fi
   8921 	  done
   8922 	  ;;
   8923 	esac
   8924 
   8925 	exp_sym_flag='-bexport'
   8926 	no_entry_flag='-bnoentry'
   8927       fi
   8928 
   8929       # When large executables or shared objects are built, AIX ld can
   8930       # have problems creating the table of contents.  If linking a library
   8931       # or program results in "error TOC overflow" add -mminimal-toc to
   8932       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8933       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8934 
   8935       archive_cmds=''
   8936       hardcode_direct=yes
   8937       hardcode_direct_absolute=yes
   8938       hardcode_libdir_separator=':'
   8939       link_all_deplibs=yes
   8940       file_list_spec='${wl}-f,'
   8941 
   8942       if test "$GCC" = yes; then
   8943 	case $host_os in aix4.[012]|aix4.[012].*)
   8944 	# We only want to do this on AIX 4.2 and lower, the check
   8945 	# below for broken collect2 doesn't work under 4.3+
   8946 	  collect2name=`${CC} -print-prog-name=collect2`
   8947 	  if test -f "$collect2name" &&
   8948 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8949 	  then
   8950 	  # We have reworked collect2
   8951 	  :
   8952 	  else
   8953 	  # We have old collect2
   8954 	  hardcode_direct=unsupported
   8955 	  # It fails to find uninstalled libraries when the uninstalled
   8956 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8957 	  # to unsupported forces relinking
   8958 	  hardcode_minus_L=yes
   8959 	  hardcode_libdir_flag_spec='-L$libdir'
   8960 	  hardcode_libdir_separator=
   8961 	  fi
   8962 	  ;;
   8963 	esac
   8964 	shared_flag='-shared'
   8965 	if test "$aix_use_runtimelinking" = yes; then
   8966 	  shared_flag="$shared_flag "'${wl}-G'
   8967 	fi
   8968       else
   8969 	# not using gcc
   8970 	if test "$host_cpu" = ia64; then
   8971 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8972 	# chokes on -Wl,-G. The following line is correct:
   8973 	  shared_flag='-G'
   8974 	else
   8975 	  if test "$aix_use_runtimelinking" = yes; then
   8976 	    shared_flag='${wl}-G'
   8977 	  else
   8978 	    shared_flag='${wl}-bM:SRE'
   8979 	  fi
   8980 	fi
   8981       fi
   8982 
   8983       export_dynamic_flag_spec='${wl}-bexpall'
   8984       # It seems that -bexpall does not export symbols beginning with
   8985       # underscore (_), so it is better to generate a list of symbols to export.
   8986       always_export_symbols=yes
   8987       if test "$aix_use_runtimelinking" = yes; then
   8988 	# Warning - without using the other runtime loading flags (-brtl),
   8989 	# -berok will link without error, but may produce a broken library.
   8990 	allow_undefined_flag='-berok'
   8991         # Determine the default libpath from the value encoded in an
   8992         # empty executable.
   8993         if test "${lt_cv_aix_libpath+set}" = set; then
   8994   aix_libpath=$lt_cv_aix_libpath
   8995 else
   8996   if ${lt_cv_aix_libpath_+:} false; then :
   8997   $as_echo_n "(cached) " >&6
   8998 else
   8999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9000 /* end confdefs.h.  */
   9001 
   9002 int
   9003 main ()
   9004 {
   9005 
   9006   ;
   9007   return 0;
   9008 }
   9009 _ACEOF
   9010 if ac_fn_c_try_link "$LINENO"; then :
   9011 
   9012   lt_aix_libpath_sed='
   9013       /Import File Strings/,/^$/ {
   9014 	  /^0/ {
   9015 	      s/^0  *\([^ ]*\) *$/\1/
   9016 	      p
   9017 	  }
   9018       }'
   9019   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9020   # Check for a 64-bit object if we didn't find anything.
   9021   if test -z "$lt_cv_aix_libpath_"; then
   9022     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9023   fi
   9024 fi
   9025 rm -f core conftest.err conftest.$ac_objext \
   9026     conftest$ac_exeext conftest.$ac_ext
   9027   if test -z "$lt_cv_aix_libpath_"; then
   9028     lt_cv_aix_libpath_="/usr/lib:/lib"
   9029   fi
   9030 
   9031 fi
   9032 
   9033   aix_libpath=$lt_cv_aix_libpath_
   9034 fi
   9035 
   9036         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9037         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9038       else
   9039 	if test "$host_cpu" = ia64; then
   9040 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9041 	  allow_undefined_flag="-z nodefs"
   9042 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   9043 	else
   9044 	 # Determine the default libpath from the value encoded in an
   9045 	 # empty executable.
   9046 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9047   aix_libpath=$lt_cv_aix_libpath
   9048 else
   9049   if ${lt_cv_aix_libpath_+:} false; then :
   9050   $as_echo_n "(cached) " >&6
   9051 else
   9052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9053 /* end confdefs.h.  */
   9054 
   9055 int
   9056 main ()
   9057 {
   9058 
   9059   ;
   9060   return 0;
   9061 }
   9062 _ACEOF
   9063 if ac_fn_c_try_link "$LINENO"; then :
   9064 
   9065   lt_aix_libpath_sed='
   9066       /Import File Strings/,/^$/ {
   9067 	  /^0/ {
   9068 	      s/^0  *\([^ ]*\) *$/\1/
   9069 	      p
   9070 	  }
   9071       }'
   9072   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9073   # Check for a 64-bit object if we didn't find anything.
   9074   if test -z "$lt_cv_aix_libpath_"; then
   9075     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9076   fi
   9077 fi
   9078 rm -f core conftest.err conftest.$ac_objext \
   9079     conftest$ac_exeext conftest.$ac_ext
   9080   if test -z "$lt_cv_aix_libpath_"; then
   9081     lt_cv_aix_libpath_="/usr/lib:/lib"
   9082   fi
   9083 
   9084 fi
   9085 
   9086   aix_libpath=$lt_cv_aix_libpath_
   9087 fi
   9088 
   9089 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9090 	  # Warning - without using the other run time loading flags,
   9091 	  # -berok will link without error, but may produce a broken library.
   9092 	  no_undefined_flag=' ${wl}-bernotok'
   9093 	  allow_undefined_flag=' ${wl}-berok'
   9094 	  if test "$with_gnu_ld" = yes; then
   9095 	    # We only use this code for GNU lds that support --whole-archive.
   9096 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9097 	  else
   9098 	    # Exported symbols can be pulled into shared objects from archives
   9099 	    whole_archive_flag_spec='$convenience'
   9100 	  fi
   9101 	  archive_cmds_need_lc=yes
   9102 	  # This is similar to how AIX traditionally builds its shared libraries.
   9103 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9104 	fi
   9105       fi
   9106       ;;
   9107 
   9108     amigaos*)
   9109       case $host_cpu in
   9110       powerpc)
   9111             # see comment about AmigaOS4 .so support
   9112             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9113             archive_expsym_cmds=''
   9114         ;;
   9115       m68k)
   9116             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   9117             hardcode_libdir_flag_spec='-L$libdir'
   9118             hardcode_minus_L=yes
   9119         ;;
   9120       esac
   9121       ;;
   9122 
   9123     bsdi[45]*)
   9124       export_dynamic_flag_spec=-rdynamic
   9125       ;;
   9126 
   9127     cygwin* | mingw* | pw32* | cegcc*)
   9128       # When not using gcc, we currently assume that we are using
   9129       # Microsoft Visual C++.
   9130       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9131       # no search path for DLLs.
   9132       case $cc_basename in
   9133       cl*)
   9134 	# Native MSVC
   9135 	hardcode_libdir_flag_spec=' '
   9136 	allow_undefined_flag=unsupported
   9137 	always_export_symbols=yes
   9138 	file_list_spec='@'
   9139 	# Tell ltmain to make .lib files, not .a files.
   9140 	libext=lib
   9141 	# Tell ltmain to make .dll files, not .so files.
   9142 	shrext_cmds=".dll"
   9143 	# FIXME: Setting linknames here is a bad hack.
   9144 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9145 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9146 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9147 	  else
   9148 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9149 	  fi~
   9150 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9151 	  linknames='
   9152 	# The linker will not automatically build a static lib if we build a DLL.
   9153 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9154 	enable_shared_with_static_runtimes=yes
   9155 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9156 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9157 	# Don't use ranlib
   9158 	old_postinstall_cmds='chmod 644 $oldlib'
   9159 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9160 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9161 	  case $lt_outputfile in
   9162 	    *.exe|*.EXE) ;;
   9163 	    *)
   9164 	      lt_outputfile="$lt_outputfile.exe"
   9165 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9166 	      ;;
   9167 	  esac~
   9168 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9169 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9170 	    $RM "$lt_outputfile.manifest";
   9171 	  fi'
   9172 	;;
   9173       *)
   9174 	# Assume MSVC wrapper
   9175 	hardcode_libdir_flag_spec=' '
   9176 	allow_undefined_flag=unsupported
   9177 	# Tell ltmain to make .lib files, not .a files.
   9178 	libext=lib
   9179 	# Tell ltmain to make .dll files, not .so files.
   9180 	shrext_cmds=".dll"
   9181 	# FIXME: Setting linknames here is a bad hack.
   9182 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9183 	# The linker will automatically build a .lib file if we build a DLL.
   9184 	old_archive_from_new_cmds='true'
   9185 	# FIXME: Should let the user specify the lib program.
   9186 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9187 	enable_shared_with_static_runtimes=yes
   9188 	;;
   9189       esac
   9190       ;;
   9191 
   9192     darwin* | rhapsody*)
   9193 
   9194 
   9195   archive_cmds_need_lc=no
   9196   hardcode_direct=no
   9197   hardcode_automatic=yes
   9198   hardcode_shlibpath_var=unsupported
   9199   if test "$lt_cv_ld_force_load" = "yes"; then
   9200     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   9201 
   9202   else
   9203     whole_archive_flag_spec=''
   9204   fi
   9205   link_all_deplibs=yes
   9206   allow_undefined_flag="$_lt_dar_allow_undefined"
   9207   case $cc_basename in
   9208      ifort*) _lt_dar_can_shared=yes ;;
   9209      *) _lt_dar_can_shared=$GCC ;;
   9210   esac
   9211   if test "$_lt_dar_can_shared" = "yes"; then
   9212     output_verbose_link_cmd=func_echo_all
   9213     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9214     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9215     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   9216     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   9217 
   9218   else
   9219   ld_shlibs=no
   9220   fi
   9221 
   9222       ;;
   9223 
   9224     dgux*)
   9225       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9226       hardcode_libdir_flag_spec='-L$libdir'
   9227       hardcode_shlibpath_var=no
   9228       ;;
   9229 
   9230     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9231     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9232     # does not break anything, and helps significantly (at the cost of a little
   9233     # extra space).
   9234     freebsd2.2*)
   9235       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9236       hardcode_libdir_flag_spec='-R$libdir'
   9237       hardcode_direct=yes
   9238       hardcode_shlibpath_var=no
   9239       ;;
   9240 
   9241     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9242     freebsd2.*)
   9243       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9244       hardcode_direct=yes
   9245       hardcode_minus_L=yes
   9246       hardcode_shlibpath_var=no
   9247       ;;
   9248 
   9249     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9250     freebsd* | dragonfly*)
   9251       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9252       hardcode_libdir_flag_spec='-R$libdir'
   9253       hardcode_direct=yes
   9254       hardcode_shlibpath_var=no
   9255       ;;
   9256 
   9257     hpux9*)
   9258       if test "$GCC" = yes; then
   9259 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9260       else
   9261 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9262       fi
   9263       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9264       hardcode_libdir_separator=:
   9265       hardcode_direct=yes
   9266 
   9267       # hardcode_minus_L: Not really in the search PATH,
   9268       # but as the default location of the library.
   9269       hardcode_minus_L=yes
   9270       export_dynamic_flag_spec='${wl}-E'
   9271       ;;
   9272 
   9273     hpux10*)
   9274       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9275 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9276       else
   9277 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9278       fi
   9279       if test "$with_gnu_ld" = no; then
   9280 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9281 	hardcode_libdir_separator=:
   9282 	hardcode_direct=yes
   9283 	hardcode_direct_absolute=yes
   9284 	export_dynamic_flag_spec='${wl}-E'
   9285 	# hardcode_minus_L: Not really in the search PATH,
   9286 	# but as the default location of the library.
   9287 	hardcode_minus_L=yes
   9288       fi
   9289       ;;
   9290 
   9291     hpux11*)
   9292       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9293 	case $host_cpu in
   9294 	hppa*64*)
   9295 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9296 	  ;;
   9297 	ia64*)
   9298 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9299 	  ;;
   9300 	*)
   9301 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9302 	  ;;
   9303 	esac
   9304       else
   9305 	case $host_cpu in
   9306 	hppa*64*)
   9307 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9308 	  ;;
   9309 	ia64*)
   9310 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9311 	  ;;
   9312 	*)
   9313 
   9314 	  # Older versions of the 11.00 compiler do not understand -b yet
   9315 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9316 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9317 $as_echo_n "checking if $CC understands -b... " >&6; }
   9318 if ${lt_cv_prog_compiler__b+:} false; then :
   9319   $as_echo_n "(cached) " >&6
   9320 else
   9321   lt_cv_prog_compiler__b=no
   9322    save_LDFLAGS="$LDFLAGS"
   9323    LDFLAGS="$LDFLAGS -b"
   9324    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9325    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9326      # The linker can only warn and ignore the option if not recognized
   9327      # So say no if there are warnings
   9328      if test -s conftest.err; then
   9329        # Append any errors to the config.log.
   9330        cat conftest.err 1>&5
   9331        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9332        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9333        if diff conftest.exp conftest.er2 >/dev/null; then
   9334          lt_cv_prog_compiler__b=yes
   9335        fi
   9336      else
   9337        lt_cv_prog_compiler__b=yes
   9338      fi
   9339    fi
   9340    $RM -r conftest*
   9341    LDFLAGS="$save_LDFLAGS"
   9342 
   9343 fi
   9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9345 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9346 
   9347 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9348     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9349 else
   9350     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9351 fi
   9352 
   9353 	  ;;
   9354 	esac
   9355       fi
   9356       if test "$with_gnu_ld" = no; then
   9357 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9358 	hardcode_libdir_separator=:
   9359 
   9360 	case $host_cpu in
   9361 	hppa*64*|ia64*)
   9362 	  hardcode_direct=no
   9363 	  hardcode_shlibpath_var=no
   9364 	  ;;
   9365 	*)
   9366 	  hardcode_direct=yes
   9367 	  hardcode_direct_absolute=yes
   9368 	  export_dynamic_flag_spec='${wl}-E'
   9369 
   9370 	  # hardcode_minus_L: Not really in the search PATH,
   9371 	  # but as the default location of the library.
   9372 	  hardcode_minus_L=yes
   9373 	  ;;
   9374 	esac
   9375       fi
   9376       ;;
   9377 
   9378     irix5* | irix6* | nonstopux*)
   9379       if test "$GCC" = yes; then
   9380 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9381 	# Try to use the -exported_symbol ld option, if it does not
   9382 	# work, assume that -exports_file does not work either and
   9383 	# implicitly export all symbols.
   9384 	# This should be the same for all languages, so no per-tag cache variable.
   9385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9386 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9387 if ${lt_cv_irix_exported_symbol+:} false; then :
   9388   $as_echo_n "(cached) " >&6
   9389 else
   9390   save_LDFLAGS="$LDFLAGS"
   9391 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9392 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9393 /* end confdefs.h.  */
   9394 int foo (void) { return 0; }
   9395 _ACEOF
   9396 if ac_fn_c_try_link "$LINENO"; then :
   9397   lt_cv_irix_exported_symbol=yes
   9398 else
   9399   lt_cv_irix_exported_symbol=no
   9400 fi
   9401 rm -f core conftest.err conftest.$ac_objext \
   9402     conftest$ac_exeext conftest.$ac_ext
   9403            LDFLAGS="$save_LDFLAGS"
   9404 fi
   9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9406 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9407 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9408           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9409 	fi
   9410       else
   9411 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9412 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9413       fi
   9414       archive_cmds_need_lc='no'
   9415       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9416       hardcode_libdir_separator=:
   9417       inherit_rpath=yes
   9418       link_all_deplibs=yes
   9419       ;;
   9420 
   9421     netbsd*)
   9422       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9423 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9424       else
   9425 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9426       fi
   9427       hardcode_libdir_flag_spec='-R$libdir'
   9428       hardcode_direct=yes
   9429       hardcode_shlibpath_var=no
   9430       ;;
   9431 
   9432     newsos6)
   9433       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9434       hardcode_direct=yes
   9435       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9436       hardcode_libdir_separator=:
   9437       hardcode_shlibpath_var=no
   9438       ;;
   9439 
   9440     *nto* | *qnx*)
   9441       ;;
   9442 
   9443     openbsd*)
   9444       if test -f /usr/libexec/ld.so; then
   9445 	hardcode_direct=yes
   9446 	hardcode_shlibpath_var=no
   9447 	hardcode_direct_absolute=yes
   9448 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9449 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9450 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9451 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9452 	  export_dynamic_flag_spec='${wl}-E'
   9453 	else
   9454 	  case $host_os in
   9455 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9456 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9457 	     hardcode_libdir_flag_spec='-R$libdir'
   9458 	     ;;
   9459 	   *)
   9460 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9461 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9462 	     ;;
   9463 	  esac
   9464 	fi
   9465       else
   9466 	ld_shlibs=no
   9467       fi
   9468       ;;
   9469 
   9470     os2*)
   9471       hardcode_libdir_flag_spec='-L$libdir'
   9472       hardcode_minus_L=yes
   9473       allow_undefined_flag=unsupported
   9474       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9475       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9476       ;;
   9477 
   9478     osf3*)
   9479       if test "$GCC" = yes; then
   9480 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9481 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9482       else
   9483 	allow_undefined_flag=' -expect_unresolved \*'
   9484 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9485       fi
   9486       archive_cmds_need_lc='no'
   9487       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9488       hardcode_libdir_separator=:
   9489       ;;
   9490 
   9491     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9492       if test "$GCC" = yes; then
   9493 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9494 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9495 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9496       else
   9497 	allow_undefined_flag=' -expect_unresolved \*'
   9498 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9499 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   9500 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9501 
   9502 	# Both c and cxx compiler support -rpath directly
   9503 	hardcode_libdir_flag_spec='-rpath $libdir'
   9504       fi
   9505       archive_cmds_need_lc='no'
   9506       hardcode_libdir_separator=:
   9507       ;;
   9508 
   9509     solaris*)
   9510       no_undefined_flag=' -z defs'
   9511       if test "$GCC" = yes; then
   9512 	wlarc='${wl}'
   9513 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9514 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9515 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9516       else
   9517 	case `$CC -V 2>&1` in
   9518 	*"Compilers 5.0"*)
   9519 	  wlarc=''
   9520 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9521 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9522 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9523 	  ;;
   9524 	*)
   9525 	  wlarc='${wl}'
   9526 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9527 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9528 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9529 	  ;;
   9530 	esac
   9531       fi
   9532       hardcode_libdir_flag_spec='-R$libdir'
   9533       hardcode_shlibpath_var=no
   9534       case $host_os in
   9535       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9536       *)
   9537 	# The compiler driver will combine and reorder linker options,
   9538 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9539 	# but is careful enough not to reorder.
   9540 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9541 	if test "$GCC" = yes; then
   9542 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9543 	else
   9544 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9545 	fi
   9546 	;;
   9547       esac
   9548       link_all_deplibs=yes
   9549       ;;
   9550 
   9551     sunos4*)
   9552       if test "x$host_vendor" = xsequent; then
   9553 	# Use $CC to link under sequent, because it throws in some extra .o
   9554 	# files that make .init and .fini sections work.
   9555 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9556       else
   9557 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9558       fi
   9559       hardcode_libdir_flag_spec='-L$libdir'
   9560       hardcode_direct=yes
   9561       hardcode_minus_L=yes
   9562       hardcode_shlibpath_var=no
   9563       ;;
   9564 
   9565     sysv4)
   9566       case $host_vendor in
   9567 	sni)
   9568 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9569 	  hardcode_direct=yes # is this really true???
   9570 	;;
   9571 	siemens)
   9572 	  ## LD is ld it makes a PLAMLIB
   9573 	  ## CC just makes a GrossModule.
   9574 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9575 	  reload_cmds='$CC -r -o $output$reload_objs'
   9576 	  hardcode_direct=no
   9577         ;;
   9578 	motorola)
   9579 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9580 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9581 	;;
   9582       esac
   9583       runpath_var='LD_RUN_PATH'
   9584       hardcode_shlibpath_var=no
   9585       ;;
   9586 
   9587     sysv4.3*)
   9588       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9589       hardcode_shlibpath_var=no
   9590       export_dynamic_flag_spec='-Bexport'
   9591       ;;
   9592 
   9593     sysv4*MP*)
   9594       if test -d /usr/nec; then
   9595 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9596 	hardcode_shlibpath_var=no
   9597 	runpath_var=LD_RUN_PATH
   9598 	hardcode_runpath_var=yes
   9599 	ld_shlibs=yes
   9600       fi
   9601       ;;
   9602 
   9603     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9604       no_undefined_flag='${wl}-z,text'
   9605       archive_cmds_need_lc=no
   9606       hardcode_shlibpath_var=no
   9607       runpath_var='LD_RUN_PATH'
   9608 
   9609       if test "$GCC" = yes; then
   9610 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9611 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9612       else
   9613 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9614 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9615       fi
   9616       ;;
   9617 
   9618     sysv5* | sco3.2v5* | sco5v6*)
   9619       # Note: We can NOT use -z defs as we might desire, because we do not
   9620       # link with -lc, and that would cause any symbols used from libc to
   9621       # always be unresolved, which means just about no library would
   9622       # ever link correctly.  If we're not using GNU ld we use -z text
   9623       # though, which does catch some bad symbols but isn't as heavy-handed
   9624       # as -z defs.
   9625       no_undefined_flag='${wl}-z,text'
   9626       allow_undefined_flag='${wl}-z,nodefs'
   9627       archive_cmds_need_lc=no
   9628       hardcode_shlibpath_var=no
   9629       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9630       hardcode_libdir_separator=':'
   9631       link_all_deplibs=yes
   9632       export_dynamic_flag_spec='${wl}-Bexport'
   9633       runpath_var='LD_RUN_PATH'
   9634 
   9635       if test "$GCC" = yes; then
   9636 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9637 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9638       else
   9639 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9640 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9641       fi
   9642       ;;
   9643 
   9644     uts4*)
   9645       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9646       hardcode_libdir_flag_spec='-L$libdir'
   9647       hardcode_shlibpath_var=no
   9648       ;;
   9649 
   9650     *)
   9651       ld_shlibs=no
   9652       ;;
   9653     esac
   9654 
   9655     if test x$host_vendor = xsni; then
   9656       case $host in
   9657       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9658 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9659 	;;
   9660       esac
   9661     fi
   9662   fi
   9663 
   9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9665 $as_echo "$ld_shlibs" >&6; }
   9666 test "$ld_shlibs" = no && can_build_shared=no
   9667 
   9668 with_gnu_ld=$with_gnu_ld
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 #
   9685 # Do we need to explicitly link libc?
   9686 #
   9687 case "x$archive_cmds_need_lc" in
   9688 x|xyes)
   9689   # Assume -lc should be added
   9690   archive_cmds_need_lc=yes
   9691 
   9692   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9693     case $archive_cmds in
   9694     *'~'*)
   9695       # FIXME: we may have to deal with multi-command sequences.
   9696       ;;
   9697     '$CC '*)
   9698       # Test whether the compiler implicitly links with -lc since on some
   9699       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9700       # to ld, don't add -lc before -lgcc.
   9701       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9702 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9703 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9704   $as_echo_n "(cached) " >&6
   9705 else
   9706   $RM conftest*
   9707 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9708 
   9709 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9710   (eval $ac_compile) 2>&5
   9711   ac_status=$?
   9712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9713   test $ac_status = 0; } 2>conftest.err; then
   9714 	  soname=conftest
   9715 	  lib=conftest
   9716 	  libobjs=conftest.$ac_objext
   9717 	  deplibs=
   9718 	  wl=$lt_prog_compiler_wl
   9719 	  pic_flag=$lt_prog_compiler_pic
   9720 	  compiler_flags=-v
   9721 	  linker_flags=-v
   9722 	  verstring=
   9723 	  output_objdir=.
   9724 	  libname=conftest
   9725 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9726 	  allow_undefined_flag=
   9727 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9728   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9729   ac_status=$?
   9730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9731   test $ac_status = 0; }
   9732 	  then
   9733 	    lt_cv_archive_cmds_need_lc=no
   9734 	  else
   9735 	    lt_cv_archive_cmds_need_lc=yes
   9736 	  fi
   9737 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9738 	else
   9739 	  cat conftest.err 1>&5
   9740 	fi
   9741 	$RM conftest*
   9742 
   9743 fi
   9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9745 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9746       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9747       ;;
   9748     esac
   9749   fi
   9750   ;;
   9751 esac
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9905 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9906 
   9907 if test "$GCC" = yes; then
   9908   case $host_os in
   9909     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9910     *) lt_awk_arg="/^libraries:/" ;;
   9911   esac
   9912   case $host_os in
   9913     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9914     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9915   esac
   9916   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9917   case $lt_search_path_spec in
   9918   *\;*)
   9919     # if the path contains ";" then we assume it to be the separator
   9920     # otherwise default to the standard path separator (i.e. ":") - it is
   9921     # assumed that no part of a normal pathname contains ";" but that should
   9922     # okay in the real world where ";" in dirpaths is itself problematic.
   9923     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9924     ;;
   9925   *)
   9926     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9927     ;;
   9928   esac
   9929   # Ok, now we have the path, separated by spaces, we can step through it
   9930   # and add multilib dir if necessary.
   9931   lt_tmp_lt_search_path_spec=
   9932   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9933   for lt_sys_path in $lt_search_path_spec; do
   9934     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9935       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9936     else
   9937       test -d "$lt_sys_path" && \
   9938 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9939     fi
   9940   done
   9941   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9942 BEGIN {RS=" "; FS="/|\n";} {
   9943   lt_foo="";
   9944   lt_count=0;
   9945   for (lt_i = NF; lt_i > 0; lt_i--) {
   9946     if ($lt_i != "" && $lt_i != ".") {
   9947       if ($lt_i == "..") {
   9948         lt_count++;
   9949       } else {
   9950         if (lt_count == 0) {
   9951           lt_foo="/" $lt_i lt_foo;
   9952         } else {
   9953           lt_count--;
   9954         }
   9955       }
   9956     }
   9957   }
   9958   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9959   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9960 }'`
   9961   # AWK program above erroneously prepends '/' to C:/dos/paths
   9962   # for these hosts.
   9963   case $host_os in
   9964     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9965       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9966   esac
   9967   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9968 else
   9969   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9970 fi
   9971 library_names_spec=
   9972 libname_spec='lib$name'
   9973 soname_spec=
   9974 shrext_cmds=".so"
   9975 postinstall_cmds=
   9976 postuninstall_cmds=
   9977 finish_cmds=
   9978 finish_eval=
   9979 shlibpath_var=
   9980 shlibpath_overrides_runpath=unknown
   9981 version_type=none
   9982 dynamic_linker="$host_os ld.so"
   9983 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9984 need_lib_prefix=unknown
   9985 hardcode_into_libs=no
   9986 
   9987 # when you set need_version to no, make sure it does not cause -set_version
   9988 # flags to be left without arguments
   9989 need_version=unknown
   9990 
   9991 case $host_os in
   9992 aix3*)
   9993   version_type=linux # correct to gnu/linux during the next big refactor
   9994   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9995   shlibpath_var=LIBPATH
   9996 
   9997   # AIX 3 has no versioning support, so we append a major version to the name.
   9998   soname_spec='${libname}${release}${shared_ext}$major'
   9999   ;;
   10000 
   10001 aix[4-9]*)
   10002   version_type=linux # correct to gnu/linux during the next big refactor
   10003   need_lib_prefix=no
   10004   need_version=no
   10005   hardcode_into_libs=yes
   10006   if test "$host_cpu" = ia64; then
   10007     # AIX 5 supports IA64
   10008     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10009     shlibpath_var=LD_LIBRARY_PATH
   10010   else
   10011     # With GCC up to 2.95.x, collect2 would create an import file
   10012     # for dependence libraries.  The import file would start with
   10013     # the line `#! .'.  This would cause the generated library to
   10014     # depend on `.', always an invalid library.  This was fixed in
   10015     # development snapshots of GCC prior to 3.0.
   10016     case $host_os in
   10017       aix4 | aix4.[01] | aix4.[01].*)
   10018       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10019 	   echo ' yes '
   10020 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10021 	:
   10022       else
   10023 	can_build_shared=no
   10024       fi
   10025       ;;
   10026     esac
   10027     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10028     # soname into executable. Probably we can add versioning support to
   10029     # collect2, so additional links can be useful in future.
   10030     if test "$aix_use_runtimelinking" = yes; then
   10031       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10032       # instead of lib<name>.a to let people know that these are not
   10033       # typical AIX shared libraries.
   10034       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10035     else
   10036       # We preserve .a as extension for shared libraries through AIX4.2
   10037       # and later when we are not doing run time linking.
   10038       library_names_spec='${libname}${release}.a $libname.a'
   10039       soname_spec='${libname}${release}${shared_ext}$major'
   10040     fi
   10041     shlibpath_var=LIBPATH
   10042   fi
   10043   ;;
   10044 
   10045 amigaos*)
   10046   case $host_cpu in
   10047   powerpc)
   10048     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10049     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10050     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10051     ;;
   10052   m68k)
   10053     library_names_spec='$libname.ixlibrary $libname.a'
   10054     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10055     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10056     ;;
   10057   esac
   10058   ;;
   10059 
   10060 beos*)
   10061   library_names_spec='${libname}${shared_ext}'
   10062   dynamic_linker="$host_os ld.so"
   10063   shlibpath_var=LIBRARY_PATH
   10064   ;;
   10065 
   10066 bsdi[45]*)
   10067   version_type=linux # correct to gnu/linux during the next big refactor
   10068   need_version=no
   10069   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10070   soname_spec='${libname}${release}${shared_ext}$major'
   10071   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10072   shlibpath_var=LD_LIBRARY_PATH
   10073   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10074   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10075   # the default ld.so.conf also contains /usr/contrib/lib and
   10076   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10077   # libtool to hard-code these into programs
   10078   ;;
   10079 
   10080 cygwin* | mingw* | pw32* | cegcc*)
   10081   version_type=windows
   10082   shrext_cmds=".dll"
   10083   need_version=no
   10084   need_lib_prefix=no
   10085 
   10086   case $GCC,$cc_basename in
   10087   yes,*)
   10088     # gcc
   10089     library_names_spec='$libname.dll.a'
   10090     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10091     postinstall_cmds='base_file=`basename \${file}`~
   10092       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10093       dldir=$destdir/`dirname \$dlpath`~
   10094       test -d \$dldir || mkdir -p \$dldir~
   10095       $install_prog $dir/$dlname \$dldir/$dlname~
   10096       chmod a+x \$dldir/$dlname~
   10097       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10098         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10099       fi'
   10100     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10101       dlpath=$dir/\$dldll~
   10102        $RM \$dlpath'
   10103     shlibpath_overrides_runpath=yes
   10104 
   10105     case $host_os in
   10106     cygwin*)
   10107       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10108       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10109 
   10110       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10111       ;;
   10112     mingw* | cegcc*)
   10113       # MinGW DLLs use traditional 'lib' prefix
   10114       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10115       ;;
   10116     pw32*)
   10117       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10118       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10119       ;;
   10120     esac
   10121     dynamic_linker='Win32 ld.exe'
   10122     ;;
   10123 
   10124   *,cl*)
   10125     # Native MSVC
   10126     libname_spec='$name'
   10127     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10128     library_names_spec='${libname}.dll.lib'
   10129 
   10130     case $build_os in
   10131     mingw*)
   10132       sys_lib_search_path_spec=
   10133       lt_save_ifs=$IFS
   10134       IFS=';'
   10135       for lt_path in $LIB
   10136       do
   10137         IFS=$lt_save_ifs
   10138         # Let DOS variable expansion print the short 8.3 style file name.
   10139         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10140         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10141       done
   10142       IFS=$lt_save_ifs
   10143       # Convert to MSYS style.
   10144       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10145       ;;
   10146     cygwin*)
   10147       # Convert to unix form, then to dos form, then back to unix form
   10148       # but this time dos style (no spaces!) so that the unix form looks
   10149       # like /cygdrive/c/PROGRA~1:/cygdr...
   10150       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10151       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10152       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10153       ;;
   10154     *)
   10155       sys_lib_search_path_spec="$LIB"
   10156       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10157         # It is most probably a Windows format PATH.
   10158         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10159       else
   10160         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10161       fi
   10162       # FIXME: find the short name or the path components, as spaces are
   10163       # common. (e.g. "Program Files" -> "PROGRA~1")
   10164       ;;
   10165     esac
   10166 
   10167     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10168     postinstall_cmds='base_file=`basename \${file}`~
   10169       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10170       dldir=$destdir/`dirname \$dlpath`~
   10171       test -d \$dldir || mkdir -p \$dldir~
   10172       $install_prog $dir/$dlname \$dldir/$dlname'
   10173     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10174       dlpath=$dir/\$dldll~
   10175        $RM \$dlpath'
   10176     shlibpath_overrides_runpath=yes
   10177     dynamic_linker='Win32 link.exe'
   10178     ;;
   10179 
   10180   *)
   10181     # Assume MSVC wrapper
   10182     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10183     dynamic_linker='Win32 ld.exe'
   10184     ;;
   10185   esac
   10186   # FIXME: first we should search . and the directory the executable is in
   10187   shlibpath_var=PATH
   10188   ;;
   10189 
   10190 darwin* | rhapsody*)
   10191   dynamic_linker="$host_os dyld"
   10192   version_type=darwin
   10193   need_lib_prefix=no
   10194   need_version=no
   10195   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10196   soname_spec='${libname}${release}${major}$shared_ext'
   10197   shlibpath_overrides_runpath=yes
   10198   shlibpath_var=DYLD_LIBRARY_PATH
   10199   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10200 
   10201   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10202   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10203   ;;
   10204 
   10205 dgux*)
   10206   version_type=linux # correct to gnu/linux during the next big refactor
   10207   need_lib_prefix=no
   10208   need_version=no
   10209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10210   soname_spec='${libname}${release}${shared_ext}$major'
   10211   shlibpath_var=LD_LIBRARY_PATH
   10212   ;;
   10213 
   10214 freebsd* | dragonfly*)
   10215   # DragonFly does not have aout.  When/if they implement a new
   10216   # versioning mechanism, adjust this.
   10217   if test -x /usr/bin/objformat; then
   10218     objformat=`/usr/bin/objformat`
   10219   else
   10220     case $host_os in
   10221     freebsd[23].*) objformat=aout ;;
   10222     *) objformat=elf ;;
   10223     esac
   10224   fi
   10225   version_type=freebsd-$objformat
   10226   case $version_type in
   10227     freebsd-elf*)
   10228       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10229       need_version=no
   10230       need_lib_prefix=no
   10231       ;;
   10232     freebsd-*)
   10233       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10234       need_version=yes
   10235       ;;
   10236   esac
   10237   shlibpath_var=LD_LIBRARY_PATH
   10238   case $host_os in
   10239   freebsd2.*)
   10240     shlibpath_overrides_runpath=yes
   10241     ;;
   10242   freebsd3.[01]* | freebsdelf3.[01]*)
   10243     shlibpath_overrides_runpath=yes
   10244     hardcode_into_libs=yes
   10245     ;;
   10246   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10247   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10248     shlibpath_overrides_runpath=no
   10249     hardcode_into_libs=yes
   10250     ;;
   10251   *) # from 4.6 on, and DragonFly
   10252     shlibpath_overrides_runpath=yes
   10253     hardcode_into_libs=yes
   10254     ;;
   10255   esac
   10256   ;;
   10257 
   10258 gnu*)
   10259   version_type=linux # correct to gnu/linux during the next big refactor
   10260   need_lib_prefix=no
   10261   need_version=no
   10262   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10263   soname_spec='${libname}${release}${shared_ext}$major'
   10264   shlibpath_var=LD_LIBRARY_PATH
   10265   shlibpath_overrides_runpath=no
   10266   hardcode_into_libs=yes
   10267   ;;
   10268 
   10269 haiku*)
   10270   version_type=linux # correct to gnu/linux during the next big refactor
   10271   need_lib_prefix=no
   10272   need_version=no
   10273   dynamic_linker="$host_os runtime_loader"
   10274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10275   soname_spec='${libname}${release}${shared_ext}$major'
   10276   shlibpath_var=LIBRARY_PATH
   10277   shlibpath_overrides_runpath=yes
   10278   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10279   hardcode_into_libs=yes
   10280   ;;
   10281 
   10282 hpux9* | hpux10* | hpux11*)
   10283   # Give a soname corresponding to the major version so that dld.sl refuses to
   10284   # link against other versions.
   10285   version_type=sunos
   10286   need_lib_prefix=no
   10287   need_version=no
   10288   case $host_cpu in
   10289   ia64*)
   10290     shrext_cmds='.so'
   10291     hardcode_into_libs=yes
   10292     dynamic_linker="$host_os dld.so"
   10293     shlibpath_var=LD_LIBRARY_PATH
   10294     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10295     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10296     soname_spec='${libname}${release}${shared_ext}$major'
   10297     if test "X$HPUX_IA64_MODE" = X32; then
   10298       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10299     else
   10300       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10301     fi
   10302     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10303     ;;
   10304   hppa*64*)
   10305     shrext_cmds='.sl'
   10306     hardcode_into_libs=yes
   10307     dynamic_linker="$host_os dld.sl"
   10308     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10309     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10310     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10311     soname_spec='${libname}${release}${shared_ext}$major'
   10312     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10313     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10314     ;;
   10315   *)
   10316     shrext_cmds='.sl'
   10317     dynamic_linker="$host_os dld.sl"
   10318     shlibpath_var=SHLIB_PATH
   10319     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10320     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10321     soname_spec='${libname}${release}${shared_ext}$major'
   10322     ;;
   10323   esac
   10324   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10325   postinstall_cmds='chmod 555 $lib'
   10326   # or fails outright, so override atomically:
   10327   install_override_mode=555
   10328   ;;
   10329 
   10330 interix[3-9]*)
   10331   version_type=linux # correct to gnu/linux during the next big refactor
   10332   need_lib_prefix=no
   10333   need_version=no
   10334   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10335   soname_spec='${libname}${release}${shared_ext}$major'
   10336   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10337   shlibpath_var=LD_LIBRARY_PATH
   10338   shlibpath_overrides_runpath=no
   10339   hardcode_into_libs=yes
   10340   ;;
   10341 
   10342 irix5* | irix6* | nonstopux*)
   10343   case $host_os in
   10344     nonstopux*) version_type=nonstopux ;;
   10345     *)
   10346 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10347 		version_type=linux # correct to gnu/linux during the next big refactor
   10348 	else
   10349 		version_type=irix
   10350 	fi ;;
   10351   esac
   10352   need_lib_prefix=no
   10353   need_version=no
   10354   soname_spec='${libname}${release}${shared_ext}$major'
   10355   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10356   case $host_os in
   10357   irix5* | nonstopux*)
   10358     libsuff= shlibsuff=
   10359     ;;
   10360   *)
   10361     case $LD in # libtool.m4 will add one of these switches to LD
   10362     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10363       libsuff= shlibsuff= libmagic=32-bit;;
   10364     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10365       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10366     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10367       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10368     *) libsuff= shlibsuff= libmagic=never-match;;
   10369     esac
   10370     ;;
   10371   esac
   10372   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10373   shlibpath_overrides_runpath=no
   10374   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10375   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10376   hardcode_into_libs=yes
   10377   ;;
   10378 
   10379 # No shared lib support for Linux oldld, aout, or coff.
   10380 linux*oldld* | linux*aout* | linux*coff*)
   10381   dynamic_linker=no
   10382   ;;
   10383 
   10384 # This must be glibc/ELF.
   10385 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10386   version_type=linux # correct to gnu/linux during the next big refactor
   10387   need_lib_prefix=no
   10388   need_version=no
   10389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10390   soname_spec='${libname}${release}${shared_ext}$major'
   10391   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10392   shlibpath_var=LD_LIBRARY_PATH
   10393   shlibpath_overrides_runpath=no
   10394 
   10395   # Some binutils ld are patched to set DT_RUNPATH
   10396   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10397   $as_echo_n "(cached) " >&6
   10398 else
   10399   lt_cv_shlibpath_overrides_runpath=no
   10400     save_LDFLAGS=$LDFLAGS
   10401     save_libdir=$libdir
   10402     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10403 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10404     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10405 /* end confdefs.h.  */
   10406 
   10407 int
   10408 main ()
   10409 {
   10410 
   10411   ;
   10412   return 0;
   10413 }
   10414 _ACEOF
   10415 if ac_fn_c_try_link "$LINENO"; then :
   10416   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10417   lt_cv_shlibpath_overrides_runpath=yes
   10418 fi
   10419 fi
   10420 rm -f core conftest.err conftest.$ac_objext \
   10421     conftest$ac_exeext conftest.$ac_ext
   10422     LDFLAGS=$save_LDFLAGS
   10423     libdir=$save_libdir
   10424 
   10425 fi
   10426 
   10427   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10428 
   10429   # This implies no fast_install, which is unacceptable.
   10430   # Some rework will be needed to allow for fast_install
   10431   # before this can be enabled.
   10432   hardcode_into_libs=yes
   10433 
   10434   # Append ld.so.conf contents to the search path
   10435   if test -f /etc/ld.so.conf; then
   10436     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   10437     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10438   fi
   10439 
   10440   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10441   # powerpc, because MkLinux only supported shared libraries with the
   10442   # GNU dynamic linker.  Since this was broken with cross compilers,
   10443   # most powerpc-linux boxes support dynamic linking these days and
   10444   # people can always --disable-shared, the test was removed, and we
   10445   # assume the GNU/Linux dynamic linker is in use.
   10446   dynamic_linker='GNU/Linux ld.so'
   10447   ;;
   10448 
   10449 netbsd*)
   10450   version_type=sunos
   10451   need_lib_prefix=no
   10452   need_version=no
   10453   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10454     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10455     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10456     dynamic_linker='NetBSD (a.out) ld.so'
   10457   else
   10458     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10459     soname_spec='${libname}${release}${shared_ext}$major'
   10460     dynamic_linker='NetBSD ld.elf_so'
   10461   fi
   10462   shlibpath_var=LD_LIBRARY_PATH
   10463   shlibpath_overrides_runpath=yes
   10464   hardcode_into_libs=yes
   10465   ;;
   10466 
   10467 newsos6)
   10468   version_type=linux # correct to gnu/linux during the next big refactor
   10469   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10470   shlibpath_var=LD_LIBRARY_PATH
   10471   shlibpath_overrides_runpath=yes
   10472   ;;
   10473 
   10474 *nto* | *qnx*)
   10475   version_type=qnx
   10476   need_lib_prefix=no
   10477   need_version=no
   10478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10479   soname_spec='${libname}${release}${shared_ext}$major'
   10480   shlibpath_var=LD_LIBRARY_PATH
   10481   shlibpath_overrides_runpath=no
   10482   hardcode_into_libs=yes
   10483   dynamic_linker='ldqnx.so'
   10484   ;;
   10485 
   10486 openbsd*)
   10487   version_type=sunos
   10488   sys_lib_dlsearch_path_spec="/usr/lib"
   10489   need_lib_prefix=no
   10490   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10491   case $host_os in
   10492     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10493     *)				need_version=no  ;;
   10494   esac
   10495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10496   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10497   shlibpath_var=LD_LIBRARY_PATH
   10498   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10499     case $host_os in
   10500       openbsd2.[89] | openbsd2.[89].*)
   10501 	shlibpath_overrides_runpath=no
   10502 	;;
   10503       *)
   10504 	shlibpath_overrides_runpath=yes
   10505 	;;
   10506       esac
   10507   else
   10508     shlibpath_overrides_runpath=yes
   10509   fi
   10510   ;;
   10511 
   10512 os2*)
   10513   libname_spec='$name'
   10514   shrext_cmds=".dll"
   10515   need_lib_prefix=no
   10516   library_names_spec='$libname${shared_ext} $libname.a'
   10517   dynamic_linker='OS/2 ld.exe'
   10518   shlibpath_var=LIBPATH
   10519   ;;
   10520 
   10521 osf3* | osf4* | osf5*)
   10522   version_type=osf
   10523   need_lib_prefix=no
   10524   need_version=no
   10525   soname_spec='${libname}${release}${shared_ext}$major'
   10526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10527   shlibpath_var=LD_LIBRARY_PATH
   10528   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10529   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10530   ;;
   10531 
   10532 rdos*)
   10533   dynamic_linker=no
   10534   ;;
   10535 
   10536 solaris*)
   10537   version_type=linux # correct to gnu/linux during the next big refactor
   10538   need_lib_prefix=no
   10539   need_version=no
   10540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10541   soname_spec='${libname}${release}${shared_ext}$major'
   10542   shlibpath_var=LD_LIBRARY_PATH
   10543   shlibpath_overrides_runpath=yes
   10544   hardcode_into_libs=yes
   10545   # ldd complains unless libraries are executable
   10546   postinstall_cmds='chmod +x $lib'
   10547   ;;
   10548 
   10549 sunos4*)
   10550   version_type=sunos
   10551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10552   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10553   shlibpath_var=LD_LIBRARY_PATH
   10554   shlibpath_overrides_runpath=yes
   10555   if test "$with_gnu_ld" = yes; then
   10556     need_lib_prefix=no
   10557   fi
   10558   need_version=yes
   10559   ;;
   10560 
   10561 sysv4 | sysv4.3*)
   10562   version_type=linux # correct to gnu/linux during the next big refactor
   10563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10564   soname_spec='${libname}${release}${shared_ext}$major'
   10565   shlibpath_var=LD_LIBRARY_PATH
   10566   case $host_vendor in
   10567     sni)
   10568       shlibpath_overrides_runpath=no
   10569       need_lib_prefix=no
   10570       runpath_var=LD_RUN_PATH
   10571       ;;
   10572     siemens)
   10573       need_lib_prefix=no
   10574       ;;
   10575     motorola)
   10576       need_lib_prefix=no
   10577       need_version=no
   10578       shlibpath_overrides_runpath=no
   10579       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10580       ;;
   10581   esac
   10582   ;;
   10583 
   10584 sysv4*MP*)
   10585   if test -d /usr/nec ;then
   10586     version_type=linux # correct to gnu/linux during the next big refactor
   10587     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10588     soname_spec='$libname${shared_ext}.$major'
   10589     shlibpath_var=LD_LIBRARY_PATH
   10590   fi
   10591   ;;
   10592 
   10593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10594   version_type=freebsd-elf
   10595   need_lib_prefix=no
   10596   need_version=no
   10597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10598   soname_spec='${libname}${release}${shared_ext}$major'
   10599   shlibpath_var=LD_LIBRARY_PATH
   10600   shlibpath_overrides_runpath=yes
   10601   hardcode_into_libs=yes
   10602   if test "$with_gnu_ld" = yes; then
   10603     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10604   else
   10605     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10606     case $host_os in
   10607       sco3.2v5*)
   10608         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10609 	;;
   10610     esac
   10611   fi
   10612   sys_lib_dlsearch_path_spec='/usr/lib'
   10613   ;;
   10614 
   10615 tpf*)
   10616   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10617   version_type=linux # correct to gnu/linux during the next big refactor
   10618   need_lib_prefix=no
   10619   need_version=no
   10620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10621   shlibpath_var=LD_LIBRARY_PATH
   10622   shlibpath_overrides_runpath=no
   10623   hardcode_into_libs=yes
   10624   ;;
   10625 
   10626 uts4*)
   10627   version_type=linux # correct to gnu/linux during the next big refactor
   10628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10629   soname_spec='${libname}${release}${shared_ext}$major'
   10630   shlibpath_var=LD_LIBRARY_PATH
   10631   ;;
   10632 
   10633 *)
   10634   dynamic_linker=no
   10635   ;;
   10636 esac
   10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10638 $as_echo "$dynamic_linker" >&6; }
   10639 test "$dynamic_linker" = no && can_build_shared=no
   10640 
   10641 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10642 if test "$GCC" = yes; then
   10643   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10644 fi
   10645 
   10646 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10647   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10648 fi
   10649 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10650   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10651 fi
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10745 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10746 hardcode_action=
   10747 if test -n "$hardcode_libdir_flag_spec" ||
   10748    test -n "$runpath_var" ||
   10749    test "X$hardcode_automatic" = "Xyes" ; then
   10750 
   10751   # We can hardcode non-existent directories.
   10752   if test "$hardcode_direct" != no &&
   10753      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10754      # have to relink, otherwise we might link with an installed library
   10755      # when we should be linking with a yet-to-be-installed one
   10756      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10757      test "$hardcode_minus_L" != no; then
   10758     # Linking always hardcodes the temporary library directory.
   10759     hardcode_action=relink
   10760   else
   10761     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10762     hardcode_action=immediate
   10763   fi
   10764 else
   10765   # We cannot hardcode anything, or else we can only hardcode existing
   10766   # directories.
   10767   hardcode_action=unsupported
   10768 fi
   10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10770 $as_echo "$hardcode_action" >&6; }
   10771 
   10772 if test "$hardcode_action" = relink ||
   10773    test "$inherit_rpath" = yes; then
   10774   # Fast installation is not supported
   10775   enable_fast_install=no
   10776 elif test "$shlibpath_overrides_runpath" = yes ||
   10777      test "$enable_shared" = no; then
   10778   # Fast installation is not necessary
   10779   enable_fast_install=needless
   10780 fi
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787   if test "x$enable_dlopen" != xyes; then
   10788   enable_dlopen=unknown
   10789   enable_dlopen_self=unknown
   10790   enable_dlopen_self_static=unknown
   10791 else
   10792   lt_cv_dlopen=no
   10793   lt_cv_dlopen_libs=
   10794 
   10795   case $host_os in
   10796   beos*)
   10797     lt_cv_dlopen="load_add_on"
   10798     lt_cv_dlopen_libs=
   10799     lt_cv_dlopen_self=yes
   10800     ;;
   10801 
   10802   mingw* | pw32* | cegcc*)
   10803     lt_cv_dlopen="LoadLibrary"
   10804     lt_cv_dlopen_libs=
   10805     ;;
   10806 
   10807   cygwin*)
   10808     lt_cv_dlopen="dlopen"
   10809     lt_cv_dlopen_libs=
   10810     ;;
   10811 
   10812   darwin*)
   10813   # if libdl is installed we need to link against it
   10814     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10815 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10816 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10817   $as_echo_n "(cached) " >&6
   10818 else
   10819   ac_check_lib_save_LIBS=$LIBS
   10820 LIBS="-ldl  $LIBS"
   10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10822 /* end confdefs.h.  */
   10823 
   10824 /* Override any GCC internal prototype to avoid an error.
   10825    Use char because int might match the return type of a GCC
   10826    builtin and then its argument prototype would still apply.  */
   10827 #ifdef __cplusplus
   10828 extern "C"
   10829 #endif
   10830 char dlopen ();
   10831 int
   10832 main ()
   10833 {
   10834 return dlopen ();
   10835   ;
   10836   return 0;
   10837 }
   10838 _ACEOF
   10839 if ac_fn_c_try_link "$LINENO"; then :
   10840   ac_cv_lib_dl_dlopen=yes
   10841 else
   10842   ac_cv_lib_dl_dlopen=no
   10843 fi
   10844 rm -f core conftest.err conftest.$ac_objext \
   10845     conftest$ac_exeext conftest.$ac_ext
   10846 LIBS=$ac_check_lib_save_LIBS
   10847 fi
   10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10849 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10850 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10851   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10852 else
   10853 
   10854     lt_cv_dlopen="dyld"
   10855     lt_cv_dlopen_libs=
   10856     lt_cv_dlopen_self=yes
   10857 
   10858 fi
   10859 
   10860     ;;
   10861 
   10862   *)
   10863     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10864 if test "x$ac_cv_func_shl_load" = xyes; then :
   10865   lt_cv_dlopen="shl_load"
   10866 else
   10867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10868 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10869 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10870   $as_echo_n "(cached) " >&6
   10871 else
   10872   ac_check_lib_save_LIBS=$LIBS
   10873 LIBS="-ldld  $LIBS"
   10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10875 /* end confdefs.h.  */
   10876 
   10877 /* Override any GCC internal prototype to avoid an error.
   10878    Use char because int might match the return type of a GCC
   10879    builtin and then its argument prototype would still apply.  */
   10880 #ifdef __cplusplus
   10881 extern "C"
   10882 #endif
   10883 char shl_load ();
   10884 int
   10885 main ()
   10886 {
   10887 return shl_load ();
   10888   ;
   10889   return 0;
   10890 }
   10891 _ACEOF
   10892 if ac_fn_c_try_link "$LINENO"; then :
   10893   ac_cv_lib_dld_shl_load=yes
   10894 else
   10895   ac_cv_lib_dld_shl_load=no
   10896 fi
   10897 rm -f core conftest.err conftest.$ac_objext \
   10898     conftest$ac_exeext conftest.$ac_ext
   10899 LIBS=$ac_check_lib_save_LIBS
   10900 fi
   10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10902 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10903 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10904   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10905 else
   10906   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10907 if test "x$ac_cv_func_dlopen" = xyes; then :
   10908   lt_cv_dlopen="dlopen"
   10909 else
   10910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10911 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10912 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10913   $as_echo_n "(cached) " >&6
   10914 else
   10915   ac_check_lib_save_LIBS=$LIBS
   10916 LIBS="-ldl  $LIBS"
   10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10918 /* end confdefs.h.  */
   10919 
   10920 /* Override any GCC internal prototype to avoid an error.
   10921    Use char because int might match the return type of a GCC
   10922    builtin and then its argument prototype would still apply.  */
   10923 #ifdef __cplusplus
   10924 extern "C"
   10925 #endif
   10926 char dlopen ();
   10927 int
   10928 main ()
   10929 {
   10930 return dlopen ();
   10931   ;
   10932   return 0;
   10933 }
   10934 _ACEOF
   10935 if ac_fn_c_try_link "$LINENO"; then :
   10936   ac_cv_lib_dl_dlopen=yes
   10937 else
   10938   ac_cv_lib_dl_dlopen=no
   10939 fi
   10940 rm -f core conftest.err conftest.$ac_objext \
   10941     conftest$ac_exeext conftest.$ac_ext
   10942 LIBS=$ac_check_lib_save_LIBS
   10943 fi
   10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10945 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10946 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10947   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10948 else
   10949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10950 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10951 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10952   $as_echo_n "(cached) " >&6
   10953 else
   10954   ac_check_lib_save_LIBS=$LIBS
   10955 LIBS="-lsvld  $LIBS"
   10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10957 /* end confdefs.h.  */
   10958 
   10959 /* Override any GCC internal prototype to avoid an error.
   10960    Use char because int might match the return type of a GCC
   10961    builtin and then its argument prototype would still apply.  */
   10962 #ifdef __cplusplus
   10963 extern "C"
   10964 #endif
   10965 char dlopen ();
   10966 int
   10967 main ()
   10968 {
   10969 return dlopen ();
   10970   ;
   10971   return 0;
   10972 }
   10973 _ACEOF
   10974 if ac_fn_c_try_link "$LINENO"; then :
   10975   ac_cv_lib_svld_dlopen=yes
   10976 else
   10977   ac_cv_lib_svld_dlopen=no
   10978 fi
   10979 rm -f core conftest.err conftest.$ac_objext \
   10980     conftest$ac_exeext conftest.$ac_ext
   10981 LIBS=$ac_check_lib_save_LIBS
   10982 fi
   10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10984 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10985 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10986   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10987 else
   10988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10989 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10990 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10991   $as_echo_n "(cached) " >&6
   10992 else
   10993   ac_check_lib_save_LIBS=$LIBS
   10994 LIBS="-ldld  $LIBS"
   10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10996 /* end confdefs.h.  */
   10997 
   10998 /* Override any GCC internal prototype to avoid an error.
   10999    Use char because int might match the return type of a GCC
   11000    builtin and then its argument prototype would still apply.  */
   11001 #ifdef __cplusplus
   11002 extern "C"
   11003 #endif
   11004 char dld_link ();
   11005 int
   11006 main ()
   11007 {
   11008 return dld_link ();
   11009   ;
   11010   return 0;
   11011 }
   11012 _ACEOF
   11013 if ac_fn_c_try_link "$LINENO"; then :
   11014   ac_cv_lib_dld_dld_link=yes
   11015 else
   11016   ac_cv_lib_dld_dld_link=no
   11017 fi
   11018 rm -f core conftest.err conftest.$ac_objext \
   11019     conftest$ac_exeext conftest.$ac_ext
   11020 LIBS=$ac_check_lib_save_LIBS
   11021 fi
   11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11023 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11024 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11025   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11026 fi
   11027 
   11028 
   11029 fi
   11030 
   11031 
   11032 fi
   11033 
   11034 
   11035 fi
   11036 
   11037 
   11038 fi
   11039 
   11040 
   11041 fi
   11042 
   11043     ;;
   11044   esac
   11045 
   11046   if test "x$lt_cv_dlopen" != xno; then
   11047     enable_dlopen=yes
   11048   else
   11049     enable_dlopen=no
   11050   fi
   11051 
   11052   case $lt_cv_dlopen in
   11053   dlopen)
   11054     save_CPPFLAGS="$CPPFLAGS"
   11055     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11056 
   11057     save_LDFLAGS="$LDFLAGS"
   11058     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11059 
   11060     save_LIBS="$LIBS"
   11061     LIBS="$lt_cv_dlopen_libs $LIBS"
   11062 
   11063     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11064 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11065 if ${lt_cv_dlopen_self+:} false; then :
   11066   $as_echo_n "(cached) " >&6
   11067 else
   11068   	  if test "$cross_compiling" = yes; then :
   11069   lt_cv_dlopen_self=cross
   11070 else
   11071   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11072   lt_status=$lt_dlunknown
   11073   cat > conftest.$ac_ext <<_LT_EOF
   11074 #line $LINENO "configure"
   11075 #include "confdefs.h"
   11076 
   11077 #if HAVE_DLFCN_H
   11078 #include <dlfcn.h>
   11079 #endif
   11080 
   11081 #include <stdio.h>
   11082 
   11083 #ifdef RTLD_GLOBAL
   11084 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11085 #else
   11086 #  ifdef DL_GLOBAL
   11087 #    define LT_DLGLOBAL		DL_GLOBAL
   11088 #  else
   11089 #    define LT_DLGLOBAL		0
   11090 #  endif
   11091 #endif
   11092 
   11093 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11094    find out it does not work in some platform. */
   11095 #ifndef LT_DLLAZY_OR_NOW
   11096 #  ifdef RTLD_LAZY
   11097 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11098 #  else
   11099 #    ifdef DL_LAZY
   11100 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11101 #    else
   11102 #      ifdef RTLD_NOW
   11103 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11104 #      else
   11105 #        ifdef DL_NOW
   11106 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11107 #        else
   11108 #          define LT_DLLAZY_OR_NOW	0
   11109 #        endif
   11110 #      endif
   11111 #    endif
   11112 #  endif
   11113 #endif
   11114 
   11115 /* When -fvisbility=hidden is used, assume the code has been annotated
   11116    correspondingly for the symbols needed.  */
   11117 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11118 int fnord () __attribute__((visibility("default")));
   11119 #endif
   11120 
   11121 int fnord () { return 42; }
   11122 int main ()
   11123 {
   11124   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11125   int status = $lt_dlunknown;
   11126 
   11127   if (self)
   11128     {
   11129       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11130       else
   11131         {
   11132 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11133           else puts (dlerror ());
   11134 	}
   11135       /* dlclose (self); */
   11136     }
   11137   else
   11138     puts (dlerror ());
   11139 
   11140   return status;
   11141 }
   11142 _LT_EOF
   11143   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11144   (eval $ac_link) 2>&5
   11145   ac_status=$?
   11146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11147   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11148     (./conftest; exit; ) >&5 2>/dev/null
   11149     lt_status=$?
   11150     case x$lt_status in
   11151       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11152       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11153       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11154     esac
   11155   else :
   11156     # compilation failed
   11157     lt_cv_dlopen_self=no
   11158   fi
   11159 fi
   11160 rm -fr conftest*
   11161 
   11162 
   11163 fi
   11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11165 $as_echo "$lt_cv_dlopen_self" >&6; }
   11166 
   11167     if test "x$lt_cv_dlopen_self" = xyes; then
   11168       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11169       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11170 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11171 if ${lt_cv_dlopen_self_static+:} false; then :
   11172   $as_echo_n "(cached) " >&6
   11173 else
   11174   	  if test "$cross_compiling" = yes; then :
   11175   lt_cv_dlopen_self_static=cross
   11176 else
   11177   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11178   lt_status=$lt_dlunknown
   11179   cat > conftest.$ac_ext <<_LT_EOF
   11180 #line $LINENO "configure"
   11181 #include "confdefs.h"
   11182 
   11183 #if HAVE_DLFCN_H
   11184 #include <dlfcn.h>
   11185 #endif
   11186 
   11187 #include <stdio.h>
   11188 
   11189 #ifdef RTLD_GLOBAL
   11190 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11191 #else
   11192 #  ifdef DL_GLOBAL
   11193 #    define LT_DLGLOBAL		DL_GLOBAL
   11194 #  else
   11195 #    define LT_DLGLOBAL		0
   11196 #  endif
   11197 #endif
   11198 
   11199 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11200    find out it does not work in some platform. */
   11201 #ifndef LT_DLLAZY_OR_NOW
   11202 #  ifdef RTLD_LAZY
   11203 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11204 #  else
   11205 #    ifdef DL_LAZY
   11206 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11207 #    else
   11208 #      ifdef RTLD_NOW
   11209 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11210 #      else
   11211 #        ifdef DL_NOW
   11212 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11213 #        else
   11214 #          define LT_DLLAZY_OR_NOW	0
   11215 #        endif
   11216 #      endif
   11217 #    endif
   11218 #  endif
   11219 #endif
   11220 
   11221 /* When -fvisbility=hidden is used, assume the code has been annotated
   11222    correspondingly for the symbols needed.  */
   11223 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11224 int fnord () __attribute__((visibility("default")));
   11225 #endif
   11226 
   11227 int fnord () { return 42; }
   11228 int main ()
   11229 {
   11230   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11231   int status = $lt_dlunknown;
   11232 
   11233   if (self)
   11234     {
   11235       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11236       else
   11237         {
   11238 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11239           else puts (dlerror ());
   11240 	}
   11241       /* dlclose (self); */
   11242     }
   11243   else
   11244     puts (dlerror ());
   11245 
   11246   return status;
   11247 }
   11248 _LT_EOF
   11249   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11250   (eval $ac_link) 2>&5
   11251   ac_status=$?
   11252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11253   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11254     (./conftest; exit; ) >&5 2>/dev/null
   11255     lt_status=$?
   11256     case x$lt_status in
   11257       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11258       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11259       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11260     esac
   11261   else :
   11262     # compilation failed
   11263     lt_cv_dlopen_self_static=no
   11264   fi
   11265 fi
   11266 rm -fr conftest*
   11267 
   11268 
   11269 fi
   11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11271 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11272     fi
   11273 
   11274     CPPFLAGS="$save_CPPFLAGS"
   11275     LDFLAGS="$save_LDFLAGS"
   11276     LIBS="$save_LIBS"
   11277     ;;
   11278   esac
   11279 
   11280   case $lt_cv_dlopen_self in
   11281   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11282   *) enable_dlopen_self=unknown ;;
   11283   esac
   11284 
   11285   case $lt_cv_dlopen_self_static in
   11286   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11287   *) enable_dlopen_self_static=unknown ;;
   11288   esac
   11289 fi
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 striplib=
   11308 old_striplib=
   11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11310 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11311 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11312   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11313   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11315 $as_echo "yes" >&6; }
   11316 else
   11317 # FIXME - insert some real tests, host_os isn't really good enough
   11318   case $host_os in
   11319   darwin*)
   11320     if test -n "$STRIP" ; then
   11321       striplib="$STRIP -x"
   11322       old_striplib="$STRIP -S"
   11323       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11324 $as_echo "yes" >&6; }
   11325     else
   11326       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11327 $as_echo "no" >&6; }
   11328     fi
   11329     ;;
   11330   *)
   11331     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11332 $as_echo "no" >&6; }
   11333     ;;
   11334   esac
   11335 fi
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348   # Report which library types will actually be built
   11349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11350 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11352 $as_echo "$can_build_shared" >&6; }
   11353 
   11354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11355 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11356   test "$can_build_shared" = "no" && enable_shared=no
   11357 
   11358   # On AIX, shared libraries and static libraries use the same namespace, and
   11359   # are all built from PIC.
   11360   case $host_os in
   11361   aix3*)
   11362     test "$enable_shared" = yes && enable_static=no
   11363     if test -n "$RANLIB"; then
   11364       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11365       postinstall_cmds='$RANLIB $lib'
   11366     fi
   11367     ;;
   11368 
   11369   aix[4-9]*)
   11370     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11371       test "$enable_shared" = yes && enable_static=no
   11372     fi
   11373     ;;
   11374   esac
   11375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11376 $as_echo "$enable_shared" >&6; }
   11377 
   11378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11379 $as_echo_n "checking whether to build static libraries... " >&6; }
   11380   # Make sure either enable_shared or enable_static is yes.
   11381   test "$enable_shared" = yes || enable_static=yes
   11382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11383 $as_echo "$enable_static" >&6; }
   11384 
   11385 
   11386 
   11387 
   11388 fi
   11389 ac_ext=c
   11390 ac_cpp='$CPP $CPPFLAGS'
   11391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11394 
   11395 CC="$lt_save_CC"
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411         ac_config_commands="$ac_config_commands libtool"
   11412 
   11413 
   11414 
   11415 
   11416 # Only expand once:
   11417 
   11418 
   11419 
   11420 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11433 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11434 if ${ac_cv_prog_cc_c99+:} false; then :
   11435   $as_echo_n "(cached) " >&6
   11436 else
   11437   ac_cv_prog_cc_c99=no
   11438 ac_save_CC=$CC
   11439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11440 /* end confdefs.h.  */
   11441 #include <stdarg.h>
   11442 #include <stdbool.h>
   11443 #include <stdlib.h>
   11444 #include <wchar.h>
   11445 #include <stdio.h>
   11446 
   11447 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11448 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11449 #define showlist(...) puts (#__VA_ARGS__)
   11450 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11451 static void
   11452 test_varargs_macros (void)
   11453 {
   11454   int x = 1234;
   11455   int y = 5678;
   11456   debug ("Flag");
   11457   debug ("X = %d\n", x);
   11458   showlist (The first, second, and third items.);
   11459   report (x>y, "x is %d but y is %d", x, y);
   11460 }
   11461 
   11462 // Check long long types.
   11463 #define BIG64 18446744073709551615ull
   11464 #define BIG32 4294967295ul
   11465 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11466 #if !BIG_OK
   11467   your preprocessor is broken;
   11468 #endif
   11469 #if BIG_OK
   11470 #else
   11471   your preprocessor is broken;
   11472 #endif
   11473 static long long int bignum = -9223372036854775807LL;
   11474 static unsigned long long int ubignum = BIG64;
   11475 
   11476 struct incomplete_array
   11477 {
   11478   int datasize;
   11479   double data[];
   11480 };
   11481 
   11482 struct named_init {
   11483   int number;
   11484   const wchar_t *name;
   11485   double average;
   11486 };
   11487 
   11488 typedef const char *ccp;
   11489 
   11490 static inline int
   11491 test_restrict (ccp restrict text)
   11492 {
   11493   // See if C++-style comments work.
   11494   // Iterate through items via the restricted pointer.
   11495   // Also check for declarations in for loops.
   11496   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11497     continue;
   11498   return 0;
   11499 }
   11500 
   11501 // Check varargs and va_copy.
   11502 static void
   11503 test_varargs (const char *format, ...)
   11504 {
   11505   va_list args;
   11506   va_start (args, format);
   11507   va_list args_copy;
   11508   va_copy (args_copy, args);
   11509 
   11510   const char *str;
   11511   int number;
   11512   float fnumber;
   11513 
   11514   while (*format)
   11515     {
   11516       switch (*format++)
   11517 	{
   11518 	case 's': // string
   11519 	  str = va_arg (args_copy, const char *);
   11520 	  break;
   11521 	case 'd': // int
   11522 	  number = va_arg (args_copy, int);
   11523 	  break;
   11524 	case 'f': // float
   11525 	  fnumber = va_arg (args_copy, double);
   11526 	  break;
   11527 	default:
   11528 	  break;
   11529 	}
   11530     }
   11531   va_end (args_copy);
   11532   va_end (args);
   11533 }
   11534 
   11535 int
   11536 main ()
   11537 {
   11538 
   11539   // Check bool.
   11540   _Bool success = false;
   11541 
   11542   // Check restrict.
   11543   if (test_restrict ("String literal") == 0)
   11544     success = true;
   11545   char *restrict newvar = "Another string";
   11546 
   11547   // Check varargs.
   11548   test_varargs ("s, d' f .", "string", 65, 34.234);
   11549   test_varargs_macros ();
   11550 
   11551   // Check flexible array members.
   11552   struct incomplete_array *ia =
   11553     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11554   ia->datasize = 10;
   11555   for (int i = 0; i < ia->datasize; ++i)
   11556     ia->data[i] = i * 1.234;
   11557 
   11558   // Check named initializers.
   11559   struct named_init ni = {
   11560     .number = 34,
   11561     .name = L"Test wide string",
   11562     .average = 543.34343,
   11563   };
   11564 
   11565   ni.number = 58;
   11566 
   11567   int dynamic_array[ni.number];
   11568   dynamic_array[ni.number - 1] = 543;
   11569 
   11570   // work around unused variable warnings
   11571   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11572 	  || dynamic_array[ni.number - 1] != 543);
   11573 
   11574   ;
   11575   return 0;
   11576 }
   11577 _ACEOF
   11578 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11579 do
   11580   CC="$ac_save_CC $ac_arg"
   11581   if ac_fn_c_try_compile "$LINENO"; then :
   11582   ac_cv_prog_cc_c99=$ac_arg
   11583 fi
   11584 rm -f core conftest.err conftest.$ac_objext
   11585   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11586 done
   11587 rm -f conftest.$ac_ext
   11588 CC=$ac_save_CC
   11589 
   11590 fi
   11591 # AC_CACHE_VAL
   11592 case "x$ac_cv_prog_cc_c99" in
   11593   x)
   11594     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11595 $as_echo "none needed" >&6; } ;;
   11596   xno)
   11597     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11598 $as_echo "unsupported" >&6; } ;;
   11599   *)
   11600     CC="$CC $ac_cv_prog_cc_c99"
   11601     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11602 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11603 esac
   11604 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11605 
   11606 fi
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11614 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11615   CLANGCC="yes"
   11616 else
   11617   CLANGCC="no"
   11618 fi
   11619 
   11620 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11621 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11622   INTELCC="yes"
   11623 else
   11624   INTELCC="no"
   11625 fi
   11626 
   11627 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11628 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11629   SUNCC="yes"
   11630 else
   11631   SUNCC="no"
   11632 fi
   11633 
   11634 
   11635 
   11636 
   11637 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11638 	if test -n "$ac_tool_prefix"; then
   11639   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11640 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11642 $as_echo_n "checking for $ac_word... " >&6; }
   11643 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11644   $as_echo_n "(cached) " >&6
   11645 else
   11646   case $PKG_CONFIG in
   11647   [\\/]* | ?:[\\/]*)
   11648   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11649   ;;
   11650   *)
   11651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11652 for as_dir in $PATH
   11653 do
   11654   IFS=$as_save_IFS
   11655   test -z "$as_dir" && as_dir=.
   11656     for ac_exec_ext in '' $ac_executable_extensions; do
   11657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11658     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11660     break 2
   11661   fi
   11662 done
   11663   done
   11664 IFS=$as_save_IFS
   11665 
   11666   ;;
   11667 esac
   11668 fi
   11669 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11670 if test -n "$PKG_CONFIG"; then
   11671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11672 $as_echo "$PKG_CONFIG" >&6; }
   11673 else
   11674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11675 $as_echo "no" >&6; }
   11676 fi
   11677 
   11678 
   11679 fi
   11680 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11681   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11682   # Extract the first word of "pkg-config", so it can be a program name with args.
   11683 set dummy pkg-config; ac_word=$2
   11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11685 $as_echo_n "checking for $ac_word... " >&6; }
   11686 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11687   $as_echo_n "(cached) " >&6
   11688 else
   11689   case $ac_pt_PKG_CONFIG in
   11690   [\\/]* | ?:[\\/]*)
   11691   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11692   ;;
   11693   *)
   11694   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11695 for as_dir in $PATH
   11696 do
   11697   IFS=$as_save_IFS
   11698   test -z "$as_dir" && as_dir=.
   11699     for ac_exec_ext in '' $ac_executable_extensions; do
   11700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11701     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11703     break 2
   11704   fi
   11705 done
   11706   done
   11707 IFS=$as_save_IFS
   11708 
   11709   ;;
   11710 esac
   11711 fi
   11712 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11713 if test -n "$ac_pt_PKG_CONFIG"; then
   11714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11715 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11716 else
   11717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11718 $as_echo "no" >&6; }
   11719 fi
   11720 
   11721   if test "x$ac_pt_PKG_CONFIG" = x; then
   11722     PKG_CONFIG=""
   11723   else
   11724     case $cross_compiling:$ac_tool_warned in
   11725 yes:)
   11726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11728 ac_tool_warned=yes ;;
   11729 esac
   11730     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11731   fi
   11732 else
   11733   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11734 fi
   11735 
   11736 fi
   11737 if test -n "$PKG_CONFIG"; then
   11738 	_pkg_min_version=0.9.0
   11739 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11740 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11741 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11743 $as_echo "yes" >&6; }
   11744 	else
   11745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11746 $as_echo "no" >&6; }
   11747 		PKG_CONFIG=""
   11748 	fi
   11749 
   11750 fi
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 # Check whether --enable-selective-werror was given.
   11757 if test "${enable_selective_werror+set}" = set; then :
   11758   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11759 else
   11760   SELECTIVE_WERROR=yes
   11761 fi
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11768 if test "x$SUNCC" = "xyes"; then
   11769     BASE_CFLAGS="-v"
   11770 else
   11771     BASE_CFLAGS=""
   11772 fi
   11773 
   11774 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 xorg_testset_save_CFLAGS="$CFLAGS"
   11789 
   11790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11793 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11794 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11795   $as_echo_n "(cached) " >&6
   11796 else
   11797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11798 /* end confdefs.h.  */
   11799 int i;
   11800 _ACEOF
   11801 if ac_fn_c_try_compile "$LINENO"; then :
   11802   xorg_cv_cc_flag_unknown_warning_option=yes
   11803 else
   11804   xorg_cv_cc_flag_unknown_warning_option=no
   11805 fi
   11806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11807 fi
   11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11809 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11811 	CFLAGS="$xorg_testset_save_CFLAGS"
   11812 fi
   11813 
   11814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11817 	fi
   11818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11820 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11821 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11822   $as_echo_n "(cached) " >&6
   11823 else
   11824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11825 /* end confdefs.h.  */
   11826 int i;
   11827 _ACEOF
   11828 if ac_fn_c_try_compile "$LINENO"; then :
   11829   xorg_cv_cc_flag_unused_command_line_argument=yes
   11830 else
   11831   xorg_cv_cc_flag_unused_command_line_argument=no
   11832 fi
   11833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11834 fi
   11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11836 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11837 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11838 	CFLAGS="$xorg_testset_save_CFLAGS"
   11839 fi
   11840 
   11841 found="no"
   11842 
   11843 	if test $found = "no" ; then
   11844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11846 		fi
   11847 
   11848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11850 		fi
   11851 
   11852 		CFLAGS="$CFLAGS -Wall"
   11853 
   11854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11855 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11856 		cacheid=xorg_cv_cc_flag__Wall
   11857 		if eval \${$cacheid+:} false; then :
   11858   $as_echo_n "(cached) " >&6
   11859 else
   11860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11861 /* end confdefs.h.  */
   11862 int i;
   11863 int
   11864 main ()
   11865 {
   11866 
   11867   ;
   11868   return 0;
   11869 }
   11870 _ACEOF
   11871 if ac_fn_c_try_link "$LINENO"; then :
   11872   eval $cacheid=yes
   11873 else
   11874   eval $cacheid=no
   11875 fi
   11876 rm -f core conftest.err conftest.$ac_objext \
   11877     conftest$ac_exeext conftest.$ac_ext
   11878 fi
   11879 
   11880 
   11881 		CFLAGS="$xorg_testset_save_CFLAGS"
   11882 
   11883 		eval supported=\$$cacheid
   11884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11885 $as_echo "$supported" >&6; }
   11886 		if test "$supported" = "yes" ; then
   11887 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11888 			found="yes"
   11889 		fi
   11890 	fi
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 xorg_testset_save_CFLAGS="$CFLAGS"
   11907 
   11908 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11909 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11911 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11912 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11913   $as_echo_n "(cached) " >&6
   11914 else
   11915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11916 /* end confdefs.h.  */
   11917 int i;
   11918 _ACEOF
   11919 if ac_fn_c_try_compile "$LINENO"; then :
   11920   xorg_cv_cc_flag_unknown_warning_option=yes
   11921 else
   11922   xorg_cv_cc_flag_unknown_warning_option=no
   11923 fi
   11924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11925 fi
   11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11927 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11928 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11929 	CFLAGS="$xorg_testset_save_CFLAGS"
   11930 fi
   11931 
   11932 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11933 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11934 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11935 	fi
   11936 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11937 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11938 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11939 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11940   $as_echo_n "(cached) " >&6
   11941 else
   11942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11943 /* end confdefs.h.  */
   11944 int i;
   11945 _ACEOF
   11946 if ac_fn_c_try_compile "$LINENO"; then :
   11947   xorg_cv_cc_flag_unused_command_line_argument=yes
   11948 else
   11949   xorg_cv_cc_flag_unused_command_line_argument=no
   11950 fi
   11951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11952 fi
   11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11954 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11955 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11956 	CFLAGS="$xorg_testset_save_CFLAGS"
   11957 fi
   11958 
   11959 found="no"
   11960 
   11961 	if test $found = "no" ; then
   11962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11964 		fi
   11965 
   11966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11968 		fi
   11969 
   11970 		CFLAGS="$CFLAGS -Wpointer-arith"
   11971 
   11972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11973 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11974 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11975 		if eval \${$cacheid+:} false; then :
   11976   $as_echo_n "(cached) " >&6
   11977 else
   11978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11979 /* end confdefs.h.  */
   11980 int i;
   11981 int
   11982 main ()
   11983 {
   11984 
   11985   ;
   11986   return 0;
   11987 }
   11988 _ACEOF
   11989 if ac_fn_c_try_link "$LINENO"; then :
   11990   eval $cacheid=yes
   11991 else
   11992   eval $cacheid=no
   11993 fi
   11994 rm -f core conftest.err conftest.$ac_objext \
   11995     conftest$ac_exeext conftest.$ac_ext
   11996 fi
   11997 
   11998 
   11999 		CFLAGS="$xorg_testset_save_CFLAGS"
   12000 
   12001 		eval supported=\$$cacheid
   12002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12003 $as_echo "$supported" >&6; }
   12004 		if test "$supported" = "yes" ; then
   12005 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12006 			found="yes"
   12007 		fi
   12008 	fi
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 xorg_testset_save_CFLAGS="$CFLAGS"
   12025 
   12026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12029 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12030 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12031   $as_echo_n "(cached) " >&6
   12032 else
   12033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12034 /* end confdefs.h.  */
   12035 int i;
   12036 _ACEOF
   12037 if ac_fn_c_try_compile "$LINENO"; then :
   12038   xorg_cv_cc_flag_unknown_warning_option=yes
   12039 else
   12040   xorg_cv_cc_flag_unknown_warning_option=no
   12041 fi
   12042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12043 fi
   12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12045 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12047 	CFLAGS="$xorg_testset_save_CFLAGS"
   12048 fi
   12049 
   12050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12053 	fi
   12054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12056 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12057 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12058   $as_echo_n "(cached) " >&6
   12059 else
   12060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12061 /* end confdefs.h.  */
   12062 int i;
   12063 _ACEOF
   12064 if ac_fn_c_try_compile "$LINENO"; then :
   12065   xorg_cv_cc_flag_unused_command_line_argument=yes
   12066 else
   12067   xorg_cv_cc_flag_unused_command_line_argument=no
   12068 fi
   12069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12070 fi
   12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12072 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12074 	CFLAGS="$xorg_testset_save_CFLAGS"
   12075 fi
   12076 
   12077 found="no"
   12078 
   12079 	if test $found = "no" ; then
   12080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12082 		fi
   12083 
   12084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12086 		fi
   12087 
   12088 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12089 
   12090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12091 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12092 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12093 		if eval \${$cacheid+:} false; then :
   12094   $as_echo_n "(cached) " >&6
   12095 else
   12096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12097 /* end confdefs.h.  */
   12098 int i;
   12099 int
   12100 main ()
   12101 {
   12102 
   12103   ;
   12104   return 0;
   12105 }
   12106 _ACEOF
   12107 if ac_fn_c_try_link "$LINENO"; then :
   12108   eval $cacheid=yes
   12109 else
   12110   eval $cacheid=no
   12111 fi
   12112 rm -f core conftest.err conftest.$ac_objext \
   12113     conftest$ac_exeext conftest.$ac_ext
   12114 fi
   12115 
   12116 
   12117 		CFLAGS="$xorg_testset_save_CFLAGS"
   12118 
   12119 		eval supported=\$$cacheid
   12120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12121 $as_echo "$supported" >&6; }
   12122 		if test "$supported" = "yes" ; then
   12123 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12124 			found="yes"
   12125 		fi
   12126 	fi
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 xorg_testset_save_CFLAGS="$CFLAGS"
   12143 
   12144 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12145 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12147 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12148 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12149   $as_echo_n "(cached) " >&6
   12150 else
   12151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12152 /* end confdefs.h.  */
   12153 int i;
   12154 _ACEOF
   12155 if ac_fn_c_try_compile "$LINENO"; then :
   12156   xorg_cv_cc_flag_unknown_warning_option=yes
   12157 else
   12158   xorg_cv_cc_flag_unknown_warning_option=no
   12159 fi
   12160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12161 fi
   12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12163 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12164 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12165 	CFLAGS="$xorg_testset_save_CFLAGS"
   12166 fi
   12167 
   12168 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12169 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12171 	fi
   12172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12174 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12175 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12176   $as_echo_n "(cached) " >&6
   12177 else
   12178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12179 /* end confdefs.h.  */
   12180 int i;
   12181 _ACEOF
   12182 if ac_fn_c_try_compile "$LINENO"; then :
   12183   xorg_cv_cc_flag_unused_command_line_argument=yes
   12184 else
   12185   xorg_cv_cc_flag_unused_command_line_argument=no
   12186 fi
   12187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12188 fi
   12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12190 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12192 	CFLAGS="$xorg_testset_save_CFLAGS"
   12193 fi
   12194 
   12195 found="no"
   12196 
   12197 	if test $found = "no" ; then
   12198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12200 		fi
   12201 
   12202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12204 		fi
   12205 
   12206 		CFLAGS="$CFLAGS -Wformat=2"
   12207 
   12208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12209 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12210 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12211 		if eval \${$cacheid+:} false; then :
   12212   $as_echo_n "(cached) " >&6
   12213 else
   12214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12215 /* end confdefs.h.  */
   12216 int i;
   12217 int
   12218 main ()
   12219 {
   12220 
   12221   ;
   12222   return 0;
   12223 }
   12224 _ACEOF
   12225 if ac_fn_c_try_link "$LINENO"; then :
   12226   eval $cacheid=yes
   12227 else
   12228   eval $cacheid=no
   12229 fi
   12230 rm -f core conftest.err conftest.$ac_objext \
   12231     conftest$ac_exeext conftest.$ac_ext
   12232 fi
   12233 
   12234 
   12235 		CFLAGS="$xorg_testset_save_CFLAGS"
   12236 
   12237 		eval supported=\$$cacheid
   12238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12239 $as_echo "$supported" >&6; }
   12240 		if test "$supported" = "yes" ; then
   12241 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12242 			found="yes"
   12243 		fi
   12244 	fi
   12245 
   12246 	if test $found = "no" ; then
   12247 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12248 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12249 		fi
   12250 
   12251 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12252 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12253 		fi
   12254 
   12255 		CFLAGS="$CFLAGS -Wformat"
   12256 
   12257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12258 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12259 		cacheid=xorg_cv_cc_flag__Wformat
   12260 		if eval \${$cacheid+:} false; then :
   12261   $as_echo_n "(cached) " >&6
   12262 else
   12263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12264 /* end confdefs.h.  */
   12265 int i;
   12266 int
   12267 main ()
   12268 {
   12269 
   12270   ;
   12271   return 0;
   12272 }
   12273 _ACEOF
   12274 if ac_fn_c_try_link "$LINENO"; then :
   12275   eval $cacheid=yes
   12276 else
   12277   eval $cacheid=no
   12278 fi
   12279 rm -f core conftest.err conftest.$ac_objext \
   12280     conftest$ac_exeext conftest.$ac_ext
   12281 fi
   12282 
   12283 
   12284 		CFLAGS="$xorg_testset_save_CFLAGS"
   12285 
   12286 		eval supported=\$$cacheid
   12287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12288 $as_echo "$supported" >&6; }
   12289 		if test "$supported" = "yes" ; then
   12290 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12291 			found="yes"
   12292 		fi
   12293 	fi
   12294 
   12295 
   12296 
   12297 
   12298 
   12299 
   12300 
   12301 
   12302 
   12303 
   12304 
   12305 
   12306 
   12307 
   12308 
   12309 
   12310 
   12311 xorg_testset_save_CFLAGS="$CFLAGS"
   12312 
   12313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12316 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12317 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12318   $as_echo_n "(cached) " >&6
   12319 else
   12320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12321 /* end confdefs.h.  */
   12322 int i;
   12323 _ACEOF
   12324 if ac_fn_c_try_compile "$LINENO"; then :
   12325   xorg_cv_cc_flag_unknown_warning_option=yes
   12326 else
   12327   xorg_cv_cc_flag_unknown_warning_option=no
   12328 fi
   12329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12330 fi
   12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12332 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12334 	CFLAGS="$xorg_testset_save_CFLAGS"
   12335 fi
   12336 
   12337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12340 	fi
   12341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12343 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12344 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12345   $as_echo_n "(cached) " >&6
   12346 else
   12347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12348 /* end confdefs.h.  */
   12349 int i;
   12350 _ACEOF
   12351 if ac_fn_c_try_compile "$LINENO"; then :
   12352   xorg_cv_cc_flag_unused_command_line_argument=yes
   12353 else
   12354   xorg_cv_cc_flag_unused_command_line_argument=no
   12355 fi
   12356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12357 fi
   12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12359 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12361 	CFLAGS="$xorg_testset_save_CFLAGS"
   12362 fi
   12363 
   12364 found="no"
   12365 
   12366 	if test $found = "no" ; then
   12367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12369 		fi
   12370 
   12371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12373 		fi
   12374 
   12375 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12376 
   12377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12378 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12379 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12380 		if eval \${$cacheid+:} false; then :
   12381   $as_echo_n "(cached) " >&6
   12382 else
   12383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12384 /* end confdefs.h.  */
   12385 int i;
   12386 int
   12387 main ()
   12388 {
   12389 
   12390   ;
   12391   return 0;
   12392 }
   12393 _ACEOF
   12394 if ac_fn_c_try_link "$LINENO"; then :
   12395   eval $cacheid=yes
   12396 else
   12397   eval $cacheid=no
   12398 fi
   12399 rm -f core conftest.err conftest.$ac_objext \
   12400     conftest$ac_exeext conftest.$ac_ext
   12401 fi
   12402 
   12403 
   12404 		CFLAGS="$xorg_testset_save_CFLAGS"
   12405 
   12406 		eval supported=\$$cacheid
   12407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12408 $as_echo "$supported" >&6; }
   12409 		if test "$supported" = "yes" ; then
   12410 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12411 			found="yes"
   12412 		fi
   12413 	fi
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 xorg_testset_save_CFLAGS="$CFLAGS"
   12430 
   12431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12434 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12435 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12436   $as_echo_n "(cached) " >&6
   12437 else
   12438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12439 /* end confdefs.h.  */
   12440 int i;
   12441 _ACEOF
   12442 if ac_fn_c_try_compile "$LINENO"; then :
   12443   xorg_cv_cc_flag_unknown_warning_option=yes
   12444 else
   12445   xorg_cv_cc_flag_unknown_warning_option=no
   12446 fi
   12447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12448 fi
   12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12450 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12452 	CFLAGS="$xorg_testset_save_CFLAGS"
   12453 fi
   12454 
   12455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12458 	fi
   12459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12461 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12462 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12463   $as_echo_n "(cached) " >&6
   12464 else
   12465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12466 /* end confdefs.h.  */
   12467 int i;
   12468 _ACEOF
   12469 if ac_fn_c_try_compile "$LINENO"; then :
   12470   xorg_cv_cc_flag_unused_command_line_argument=yes
   12471 else
   12472   xorg_cv_cc_flag_unused_command_line_argument=no
   12473 fi
   12474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12475 fi
   12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12477 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12478 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12479 	CFLAGS="$xorg_testset_save_CFLAGS"
   12480 fi
   12481 
   12482 found="no"
   12483 
   12484 	if test $found = "no" ; then
   12485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12487 		fi
   12488 
   12489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12491 		fi
   12492 
   12493 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12494 
   12495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12496 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12497 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12498 		if eval \${$cacheid+:} false; then :
   12499   $as_echo_n "(cached) " >&6
   12500 else
   12501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12502 /* end confdefs.h.  */
   12503 int i;
   12504 int
   12505 main ()
   12506 {
   12507 
   12508   ;
   12509   return 0;
   12510 }
   12511 _ACEOF
   12512 if ac_fn_c_try_link "$LINENO"; then :
   12513   eval $cacheid=yes
   12514 else
   12515   eval $cacheid=no
   12516 fi
   12517 rm -f core conftest.err conftest.$ac_objext \
   12518     conftest$ac_exeext conftest.$ac_ext
   12519 fi
   12520 
   12521 
   12522 		CFLAGS="$xorg_testset_save_CFLAGS"
   12523 
   12524 		eval supported=\$$cacheid
   12525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12526 $as_echo "$supported" >&6; }
   12527 		if test "$supported" = "yes" ; then
   12528 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12529 			found="yes"
   12530 		fi
   12531 	fi
   12532 
   12533 
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 xorg_testset_save_CFLAGS="$CFLAGS"
   12548 
   12549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12552 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12553 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12554   $as_echo_n "(cached) " >&6
   12555 else
   12556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12557 /* end confdefs.h.  */
   12558 int i;
   12559 _ACEOF
   12560 if ac_fn_c_try_compile "$LINENO"; then :
   12561   xorg_cv_cc_flag_unknown_warning_option=yes
   12562 else
   12563   xorg_cv_cc_flag_unknown_warning_option=no
   12564 fi
   12565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12566 fi
   12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12568 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12570 	CFLAGS="$xorg_testset_save_CFLAGS"
   12571 fi
   12572 
   12573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12576 	fi
   12577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12579 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12580 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12581   $as_echo_n "(cached) " >&6
   12582 else
   12583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12584 /* end confdefs.h.  */
   12585 int i;
   12586 _ACEOF
   12587 if ac_fn_c_try_compile "$LINENO"; then :
   12588   xorg_cv_cc_flag_unused_command_line_argument=yes
   12589 else
   12590   xorg_cv_cc_flag_unused_command_line_argument=no
   12591 fi
   12592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12593 fi
   12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12595 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12597 	CFLAGS="$xorg_testset_save_CFLAGS"
   12598 fi
   12599 
   12600 found="no"
   12601 
   12602 	if test $found = "no" ; then
   12603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12605 		fi
   12606 
   12607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12609 		fi
   12610 
   12611 		CFLAGS="$CFLAGS -Wnested-externs"
   12612 
   12613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12614 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12615 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12616 		if eval \${$cacheid+:} false; then :
   12617   $as_echo_n "(cached) " >&6
   12618 else
   12619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12620 /* end confdefs.h.  */
   12621 int i;
   12622 int
   12623 main ()
   12624 {
   12625 
   12626   ;
   12627   return 0;
   12628 }
   12629 _ACEOF
   12630 if ac_fn_c_try_link "$LINENO"; then :
   12631   eval $cacheid=yes
   12632 else
   12633   eval $cacheid=no
   12634 fi
   12635 rm -f core conftest.err conftest.$ac_objext \
   12636     conftest$ac_exeext conftest.$ac_ext
   12637 fi
   12638 
   12639 
   12640 		CFLAGS="$xorg_testset_save_CFLAGS"
   12641 
   12642 		eval supported=\$$cacheid
   12643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12644 $as_echo "$supported" >&6; }
   12645 		if test "$supported" = "yes" ; then
   12646 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12647 			found="yes"
   12648 		fi
   12649 	fi
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 xorg_testset_save_CFLAGS="$CFLAGS"
   12666 
   12667 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12668 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12670 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12671 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12672   $as_echo_n "(cached) " >&6
   12673 else
   12674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12675 /* end confdefs.h.  */
   12676 int i;
   12677 _ACEOF
   12678 if ac_fn_c_try_compile "$LINENO"; then :
   12679   xorg_cv_cc_flag_unknown_warning_option=yes
   12680 else
   12681   xorg_cv_cc_flag_unknown_warning_option=no
   12682 fi
   12683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12684 fi
   12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12686 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12687 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12688 	CFLAGS="$xorg_testset_save_CFLAGS"
   12689 fi
   12690 
   12691 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12692 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12693 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12694 	fi
   12695 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12697 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12698 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12699   $as_echo_n "(cached) " >&6
   12700 else
   12701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12702 /* end confdefs.h.  */
   12703 int i;
   12704 _ACEOF
   12705 if ac_fn_c_try_compile "$LINENO"; then :
   12706   xorg_cv_cc_flag_unused_command_line_argument=yes
   12707 else
   12708   xorg_cv_cc_flag_unused_command_line_argument=no
   12709 fi
   12710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12711 fi
   12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12713 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12714 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12715 	CFLAGS="$xorg_testset_save_CFLAGS"
   12716 fi
   12717 
   12718 found="no"
   12719 
   12720 	if test $found = "no" ; then
   12721 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12723 		fi
   12724 
   12725 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12727 		fi
   12728 
   12729 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12730 
   12731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12732 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12733 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12734 		if eval \${$cacheid+:} false; then :
   12735   $as_echo_n "(cached) " >&6
   12736 else
   12737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12738 /* end confdefs.h.  */
   12739 int i;
   12740 int
   12741 main ()
   12742 {
   12743 
   12744   ;
   12745   return 0;
   12746 }
   12747 _ACEOF
   12748 if ac_fn_c_try_link "$LINENO"; then :
   12749   eval $cacheid=yes
   12750 else
   12751   eval $cacheid=no
   12752 fi
   12753 rm -f core conftest.err conftest.$ac_objext \
   12754     conftest$ac_exeext conftest.$ac_ext
   12755 fi
   12756 
   12757 
   12758 		CFLAGS="$xorg_testset_save_CFLAGS"
   12759 
   12760 		eval supported=\$$cacheid
   12761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12762 $as_echo "$supported" >&6; }
   12763 		if test "$supported" = "yes" ; then
   12764 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12765 			found="yes"
   12766 		fi
   12767 	fi
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 xorg_testset_save_CFLAGS="$CFLAGS"
   12784 
   12785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12788 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12789 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12790   $as_echo_n "(cached) " >&6
   12791 else
   12792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12793 /* end confdefs.h.  */
   12794 int i;
   12795 _ACEOF
   12796 if ac_fn_c_try_compile "$LINENO"; then :
   12797   xorg_cv_cc_flag_unknown_warning_option=yes
   12798 else
   12799   xorg_cv_cc_flag_unknown_warning_option=no
   12800 fi
   12801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12802 fi
   12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12804 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12805 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12806 	CFLAGS="$xorg_testset_save_CFLAGS"
   12807 fi
   12808 
   12809 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12810 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12811 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12812 	fi
   12813 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12815 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12816 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12817   $as_echo_n "(cached) " >&6
   12818 else
   12819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12820 /* end confdefs.h.  */
   12821 int i;
   12822 _ACEOF
   12823 if ac_fn_c_try_compile "$LINENO"; then :
   12824   xorg_cv_cc_flag_unused_command_line_argument=yes
   12825 else
   12826   xorg_cv_cc_flag_unused_command_line_argument=no
   12827 fi
   12828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12829 fi
   12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12831 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12833 	CFLAGS="$xorg_testset_save_CFLAGS"
   12834 fi
   12835 
   12836 found="no"
   12837 
   12838 	if test $found = "no" ; then
   12839 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12841 		fi
   12842 
   12843 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12845 		fi
   12846 
   12847 		CFLAGS="$CFLAGS -Wold-style-definition"
   12848 
   12849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12850 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12851 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12852 		if eval \${$cacheid+:} false; then :
   12853   $as_echo_n "(cached) " >&6
   12854 else
   12855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12856 /* end confdefs.h.  */
   12857 int i;
   12858 int
   12859 main ()
   12860 {
   12861 
   12862   ;
   12863   return 0;
   12864 }
   12865 _ACEOF
   12866 if ac_fn_c_try_link "$LINENO"; then :
   12867   eval $cacheid=yes
   12868 else
   12869   eval $cacheid=no
   12870 fi
   12871 rm -f core conftest.err conftest.$ac_objext \
   12872     conftest$ac_exeext conftest.$ac_ext
   12873 fi
   12874 
   12875 
   12876 		CFLAGS="$xorg_testset_save_CFLAGS"
   12877 
   12878 		eval supported=\$$cacheid
   12879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12880 $as_echo "$supported" >&6; }
   12881 		if test "$supported" = "yes" ; then
   12882 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12883 			found="yes"
   12884 		fi
   12885 	fi
   12886 
   12887 
   12888 
   12889 
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 xorg_testset_save_CFLAGS="$CFLAGS"
   12902 
   12903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12906 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12907 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12908   $as_echo_n "(cached) " >&6
   12909 else
   12910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12911 /* end confdefs.h.  */
   12912 int i;
   12913 _ACEOF
   12914 if ac_fn_c_try_compile "$LINENO"; then :
   12915   xorg_cv_cc_flag_unknown_warning_option=yes
   12916 else
   12917   xorg_cv_cc_flag_unknown_warning_option=no
   12918 fi
   12919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12920 fi
   12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12922 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12924 	CFLAGS="$xorg_testset_save_CFLAGS"
   12925 fi
   12926 
   12927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12930 	fi
   12931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12933 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12934 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12935   $as_echo_n "(cached) " >&6
   12936 else
   12937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12938 /* end confdefs.h.  */
   12939 int i;
   12940 _ACEOF
   12941 if ac_fn_c_try_compile "$LINENO"; then :
   12942   xorg_cv_cc_flag_unused_command_line_argument=yes
   12943 else
   12944   xorg_cv_cc_flag_unused_command_line_argument=no
   12945 fi
   12946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12947 fi
   12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12949 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12951 	CFLAGS="$xorg_testset_save_CFLAGS"
   12952 fi
   12953 
   12954 found="no"
   12955 
   12956 	if test $found = "no" ; then
   12957 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12959 		fi
   12960 
   12961 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12963 		fi
   12964 
   12965 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12966 
   12967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12968 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12969 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12970 		if eval \${$cacheid+:} false; then :
   12971   $as_echo_n "(cached) " >&6
   12972 else
   12973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12974 /* end confdefs.h.  */
   12975 int i;
   12976 int
   12977 main ()
   12978 {
   12979 
   12980   ;
   12981   return 0;
   12982 }
   12983 _ACEOF
   12984 if ac_fn_c_try_link "$LINENO"; then :
   12985   eval $cacheid=yes
   12986 else
   12987   eval $cacheid=no
   12988 fi
   12989 rm -f core conftest.err conftest.$ac_objext \
   12990     conftest$ac_exeext conftest.$ac_ext
   12991 fi
   12992 
   12993 
   12994 		CFLAGS="$xorg_testset_save_CFLAGS"
   12995 
   12996 		eval supported=\$$cacheid
   12997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12998 $as_echo "$supported" >&6; }
   12999 		if test "$supported" = "yes" ; then
   13000 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13001 			found="yes"
   13002 		fi
   13003 	fi
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 # This chunk adds additional warnings that could catch undesired effects.
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 xorg_testset_save_CFLAGS="$CFLAGS"
   13024 
   13025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13030   $as_echo_n "(cached) " >&6
   13031 else
   13032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13033 /* end confdefs.h.  */
   13034 int i;
   13035 _ACEOF
   13036 if ac_fn_c_try_compile "$LINENO"; then :
   13037   xorg_cv_cc_flag_unknown_warning_option=yes
   13038 else
   13039   xorg_cv_cc_flag_unknown_warning_option=no
   13040 fi
   13041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13042 fi
   13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13046 	CFLAGS="$xorg_testset_save_CFLAGS"
   13047 fi
   13048 
   13049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13052 	fi
   13053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13057   $as_echo_n "(cached) " >&6
   13058 else
   13059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13060 /* end confdefs.h.  */
   13061 int i;
   13062 _ACEOF
   13063 if ac_fn_c_try_compile "$LINENO"; then :
   13064   xorg_cv_cc_flag_unused_command_line_argument=yes
   13065 else
   13066   xorg_cv_cc_flag_unused_command_line_argument=no
   13067 fi
   13068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13069 fi
   13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13073 	CFLAGS="$xorg_testset_save_CFLAGS"
   13074 fi
   13075 
   13076 found="no"
   13077 
   13078 	if test $found = "no" ; then
   13079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13081 		fi
   13082 
   13083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13085 		fi
   13086 
   13087 		CFLAGS="$CFLAGS -Wunused"
   13088 
   13089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13090 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13091 		cacheid=xorg_cv_cc_flag__Wunused
   13092 		if eval \${$cacheid+:} false; then :
   13093   $as_echo_n "(cached) " >&6
   13094 else
   13095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13096 /* end confdefs.h.  */
   13097 int i;
   13098 int
   13099 main ()
   13100 {
   13101 
   13102   ;
   13103   return 0;
   13104 }
   13105 _ACEOF
   13106 if ac_fn_c_try_link "$LINENO"; then :
   13107   eval $cacheid=yes
   13108 else
   13109   eval $cacheid=no
   13110 fi
   13111 rm -f core conftest.err conftest.$ac_objext \
   13112     conftest$ac_exeext conftest.$ac_ext
   13113 fi
   13114 
   13115 
   13116 		CFLAGS="$xorg_testset_save_CFLAGS"
   13117 
   13118 		eval supported=\$$cacheid
   13119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13120 $as_echo "$supported" >&6; }
   13121 		if test "$supported" = "yes" ; then
   13122 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13123 			found="yes"
   13124 		fi
   13125 	fi
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 xorg_testset_save_CFLAGS="$CFLAGS"
   13142 
   13143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13146 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13147 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13148   $as_echo_n "(cached) " >&6
   13149 else
   13150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13151 /* end confdefs.h.  */
   13152 int i;
   13153 _ACEOF
   13154 if ac_fn_c_try_compile "$LINENO"; then :
   13155   xorg_cv_cc_flag_unknown_warning_option=yes
   13156 else
   13157   xorg_cv_cc_flag_unknown_warning_option=no
   13158 fi
   13159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13160 fi
   13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13162 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13164 	CFLAGS="$xorg_testset_save_CFLAGS"
   13165 fi
   13166 
   13167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13170 	fi
   13171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13173 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13174 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13175   $as_echo_n "(cached) " >&6
   13176 else
   13177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13178 /* end confdefs.h.  */
   13179 int i;
   13180 _ACEOF
   13181 if ac_fn_c_try_compile "$LINENO"; then :
   13182   xorg_cv_cc_flag_unused_command_line_argument=yes
   13183 else
   13184   xorg_cv_cc_flag_unused_command_line_argument=no
   13185 fi
   13186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13187 fi
   13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13189 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13191 	CFLAGS="$xorg_testset_save_CFLAGS"
   13192 fi
   13193 
   13194 found="no"
   13195 
   13196 	if test $found = "no" ; then
   13197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13199 		fi
   13200 
   13201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13203 		fi
   13204 
   13205 		CFLAGS="$CFLAGS -Wuninitialized"
   13206 
   13207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13208 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13209 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13210 		if eval \${$cacheid+:} false; then :
   13211   $as_echo_n "(cached) " >&6
   13212 else
   13213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13214 /* end confdefs.h.  */
   13215 int i;
   13216 int
   13217 main ()
   13218 {
   13219 
   13220   ;
   13221   return 0;
   13222 }
   13223 _ACEOF
   13224 if ac_fn_c_try_link "$LINENO"; then :
   13225   eval $cacheid=yes
   13226 else
   13227   eval $cacheid=no
   13228 fi
   13229 rm -f core conftest.err conftest.$ac_objext \
   13230     conftest$ac_exeext conftest.$ac_ext
   13231 fi
   13232 
   13233 
   13234 		CFLAGS="$xorg_testset_save_CFLAGS"
   13235 
   13236 		eval supported=\$$cacheid
   13237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13238 $as_echo "$supported" >&6; }
   13239 		if test "$supported" = "yes" ; then
   13240 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13241 			found="yes"
   13242 		fi
   13243 	fi
   13244 
   13245 
   13246 
   13247 
   13248 
   13249 
   13250 
   13251 
   13252 
   13253 
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 xorg_testset_save_CFLAGS="$CFLAGS"
   13260 
   13261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13264 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13265 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13266   $as_echo_n "(cached) " >&6
   13267 else
   13268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13269 /* end confdefs.h.  */
   13270 int i;
   13271 _ACEOF
   13272 if ac_fn_c_try_compile "$LINENO"; then :
   13273   xorg_cv_cc_flag_unknown_warning_option=yes
   13274 else
   13275   xorg_cv_cc_flag_unknown_warning_option=no
   13276 fi
   13277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13278 fi
   13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13280 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13282 	CFLAGS="$xorg_testset_save_CFLAGS"
   13283 fi
   13284 
   13285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13288 	fi
   13289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13291 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13292 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13293   $as_echo_n "(cached) " >&6
   13294 else
   13295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13296 /* end confdefs.h.  */
   13297 int i;
   13298 _ACEOF
   13299 if ac_fn_c_try_compile "$LINENO"; then :
   13300   xorg_cv_cc_flag_unused_command_line_argument=yes
   13301 else
   13302   xorg_cv_cc_flag_unused_command_line_argument=no
   13303 fi
   13304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13305 fi
   13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13307 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13309 	CFLAGS="$xorg_testset_save_CFLAGS"
   13310 fi
   13311 
   13312 found="no"
   13313 
   13314 	if test $found = "no" ; then
   13315 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13317 		fi
   13318 
   13319 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13321 		fi
   13322 
   13323 		CFLAGS="$CFLAGS -Wshadow"
   13324 
   13325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13326 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13327 		cacheid=xorg_cv_cc_flag__Wshadow
   13328 		if eval \${$cacheid+:} false; then :
   13329   $as_echo_n "(cached) " >&6
   13330 else
   13331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13332 /* end confdefs.h.  */
   13333 int i;
   13334 int
   13335 main ()
   13336 {
   13337 
   13338   ;
   13339   return 0;
   13340 }
   13341 _ACEOF
   13342 if ac_fn_c_try_link "$LINENO"; then :
   13343   eval $cacheid=yes
   13344 else
   13345   eval $cacheid=no
   13346 fi
   13347 rm -f core conftest.err conftest.$ac_objext \
   13348     conftest$ac_exeext conftest.$ac_ext
   13349 fi
   13350 
   13351 
   13352 		CFLAGS="$xorg_testset_save_CFLAGS"
   13353 
   13354 		eval supported=\$$cacheid
   13355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13356 $as_echo "$supported" >&6; }
   13357 		if test "$supported" = "yes" ; then
   13358 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13359 			found="yes"
   13360 		fi
   13361 	fi
   13362 
   13363 
   13364 
   13365 
   13366 
   13367 
   13368 
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 xorg_testset_save_CFLAGS="$CFLAGS"
   13378 
   13379 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13380 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13382 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13383 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13384   $as_echo_n "(cached) " >&6
   13385 else
   13386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13387 /* end confdefs.h.  */
   13388 int i;
   13389 _ACEOF
   13390 if ac_fn_c_try_compile "$LINENO"; then :
   13391   xorg_cv_cc_flag_unknown_warning_option=yes
   13392 else
   13393   xorg_cv_cc_flag_unknown_warning_option=no
   13394 fi
   13395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13396 fi
   13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13398 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13399 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13400 	CFLAGS="$xorg_testset_save_CFLAGS"
   13401 fi
   13402 
   13403 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13404 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13405 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13406 	fi
   13407 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13409 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13410 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13411   $as_echo_n "(cached) " >&6
   13412 else
   13413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13414 /* end confdefs.h.  */
   13415 int i;
   13416 _ACEOF
   13417 if ac_fn_c_try_compile "$LINENO"; then :
   13418   xorg_cv_cc_flag_unused_command_line_argument=yes
   13419 else
   13420   xorg_cv_cc_flag_unused_command_line_argument=no
   13421 fi
   13422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13423 fi
   13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13425 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13427 	CFLAGS="$xorg_testset_save_CFLAGS"
   13428 fi
   13429 
   13430 found="no"
   13431 
   13432 	if test $found = "no" ; then
   13433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13435 		fi
   13436 
   13437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13439 		fi
   13440 
   13441 		CFLAGS="$CFLAGS -Wcast-qual"
   13442 
   13443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13444 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13445 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13446 		if eval \${$cacheid+:} false; then :
   13447   $as_echo_n "(cached) " >&6
   13448 else
   13449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13450 /* end confdefs.h.  */
   13451 int i;
   13452 int
   13453 main ()
   13454 {
   13455 
   13456   ;
   13457   return 0;
   13458 }
   13459 _ACEOF
   13460 if ac_fn_c_try_link "$LINENO"; then :
   13461   eval $cacheid=yes
   13462 else
   13463   eval $cacheid=no
   13464 fi
   13465 rm -f core conftest.err conftest.$ac_objext \
   13466     conftest$ac_exeext conftest.$ac_ext
   13467 fi
   13468 
   13469 
   13470 		CFLAGS="$xorg_testset_save_CFLAGS"
   13471 
   13472 		eval supported=\$$cacheid
   13473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13474 $as_echo "$supported" >&6; }
   13475 		if test "$supported" = "yes" ; then
   13476 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13477 			found="yes"
   13478 		fi
   13479 	fi
   13480 
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 xorg_testset_save_CFLAGS="$CFLAGS"
   13496 
   13497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13500 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13501 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13502   $as_echo_n "(cached) " >&6
   13503 else
   13504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13505 /* end confdefs.h.  */
   13506 int i;
   13507 _ACEOF
   13508 if ac_fn_c_try_compile "$LINENO"; then :
   13509   xorg_cv_cc_flag_unknown_warning_option=yes
   13510 else
   13511   xorg_cv_cc_flag_unknown_warning_option=no
   13512 fi
   13513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13514 fi
   13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13516 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13518 	CFLAGS="$xorg_testset_save_CFLAGS"
   13519 fi
   13520 
   13521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13524 	fi
   13525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13527 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13528 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13529   $as_echo_n "(cached) " >&6
   13530 else
   13531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13532 /* end confdefs.h.  */
   13533 int i;
   13534 _ACEOF
   13535 if ac_fn_c_try_compile "$LINENO"; then :
   13536   xorg_cv_cc_flag_unused_command_line_argument=yes
   13537 else
   13538   xorg_cv_cc_flag_unused_command_line_argument=no
   13539 fi
   13540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13541 fi
   13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13543 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13544 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13545 	CFLAGS="$xorg_testset_save_CFLAGS"
   13546 fi
   13547 
   13548 found="no"
   13549 
   13550 	if test $found = "no" ; then
   13551 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13553 		fi
   13554 
   13555 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13557 		fi
   13558 
   13559 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13560 
   13561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13562 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13563 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13564 		if eval \${$cacheid+:} false; then :
   13565   $as_echo_n "(cached) " >&6
   13566 else
   13567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13568 /* end confdefs.h.  */
   13569 int i;
   13570 int
   13571 main ()
   13572 {
   13573 
   13574   ;
   13575   return 0;
   13576 }
   13577 _ACEOF
   13578 if ac_fn_c_try_link "$LINENO"; then :
   13579   eval $cacheid=yes
   13580 else
   13581   eval $cacheid=no
   13582 fi
   13583 rm -f core conftest.err conftest.$ac_objext \
   13584     conftest$ac_exeext conftest.$ac_ext
   13585 fi
   13586 
   13587 
   13588 		CFLAGS="$xorg_testset_save_CFLAGS"
   13589 
   13590 		eval supported=\$$cacheid
   13591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13592 $as_echo "$supported" >&6; }
   13593 		if test "$supported" = "yes" ; then
   13594 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13595 			found="yes"
   13596 		fi
   13597 	fi
   13598 
   13599 
   13600 
   13601 
   13602 
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 xorg_testset_save_CFLAGS="$CFLAGS"
   13614 
   13615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13618 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13619 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13620   $as_echo_n "(cached) " >&6
   13621 else
   13622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13623 /* end confdefs.h.  */
   13624 int i;
   13625 _ACEOF
   13626 if ac_fn_c_try_compile "$LINENO"; then :
   13627   xorg_cv_cc_flag_unknown_warning_option=yes
   13628 else
   13629   xorg_cv_cc_flag_unknown_warning_option=no
   13630 fi
   13631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13632 fi
   13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13634 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13636 	CFLAGS="$xorg_testset_save_CFLAGS"
   13637 fi
   13638 
   13639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13642 	fi
   13643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13645 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13646 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13647   $as_echo_n "(cached) " >&6
   13648 else
   13649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13650 /* end confdefs.h.  */
   13651 int i;
   13652 _ACEOF
   13653 if ac_fn_c_try_compile "$LINENO"; then :
   13654   xorg_cv_cc_flag_unused_command_line_argument=yes
   13655 else
   13656   xorg_cv_cc_flag_unused_command_line_argument=no
   13657 fi
   13658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13659 fi
   13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13661 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13663 	CFLAGS="$xorg_testset_save_CFLAGS"
   13664 fi
   13665 
   13666 found="no"
   13667 
   13668 	if test $found = "no" ; then
   13669 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13671 		fi
   13672 
   13673 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13675 		fi
   13676 
   13677 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13678 
   13679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13680 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13681 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13682 		if eval \${$cacheid+:} false; then :
   13683   $as_echo_n "(cached) " >&6
   13684 else
   13685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13686 /* end confdefs.h.  */
   13687 int i;
   13688 int
   13689 main ()
   13690 {
   13691 
   13692   ;
   13693   return 0;
   13694 }
   13695 _ACEOF
   13696 if ac_fn_c_try_link "$LINENO"; then :
   13697   eval $cacheid=yes
   13698 else
   13699   eval $cacheid=no
   13700 fi
   13701 rm -f core conftest.err conftest.$ac_objext \
   13702     conftest$ac_exeext conftest.$ac_ext
   13703 fi
   13704 
   13705 
   13706 		CFLAGS="$xorg_testset_save_CFLAGS"
   13707 
   13708 		eval supported=\$$cacheid
   13709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13710 $as_echo "$supported" >&6; }
   13711 		if test "$supported" = "yes" ; then
   13712 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13713 			found="yes"
   13714 		fi
   13715 	fi
   13716 
   13717 
   13718 
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 
   13728 
   13729 
   13730 
   13731 xorg_testset_save_CFLAGS="$CFLAGS"
   13732 
   13733 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13736 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13737 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13738   $as_echo_n "(cached) " >&6
   13739 else
   13740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13741 /* end confdefs.h.  */
   13742 int i;
   13743 _ACEOF
   13744 if ac_fn_c_try_compile "$LINENO"; then :
   13745   xorg_cv_cc_flag_unknown_warning_option=yes
   13746 else
   13747   xorg_cv_cc_flag_unknown_warning_option=no
   13748 fi
   13749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13750 fi
   13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13752 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13753 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13754 	CFLAGS="$xorg_testset_save_CFLAGS"
   13755 fi
   13756 
   13757 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13758 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13759 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13760 	fi
   13761 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13763 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13764 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13765   $as_echo_n "(cached) " >&6
   13766 else
   13767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13768 /* end confdefs.h.  */
   13769 int i;
   13770 _ACEOF
   13771 if ac_fn_c_try_compile "$LINENO"; then :
   13772   xorg_cv_cc_flag_unused_command_line_argument=yes
   13773 else
   13774   xorg_cv_cc_flag_unused_command_line_argument=no
   13775 fi
   13776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13777 fi
   13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13779 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13781 	CFLAGS="$xorg_testset_save_CFLAGS"
   13782 fi
   13783 
   13784 found="no"
   13785 
   13786 	if test $found = "no" ; then
   13787 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13789 		fi
   13790 
   13791 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13793 		fi
   13794 
   13795 		CFLAGS="$CFLAGS -Wredundant-decls"
   13796 
   13797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13798 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13799 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13800 		if eval \${$cacheid+:} false; then :
   13801   $as_echo_n "(cached) " >&6
   13802 else
   13803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13804 /* end confdefs.h.  */
   13805 int i;
   13806 int
   13807 main ()
   13808 {
   13809 
   13810   ;
   13811   return 0;
   13812 }
   13813 _ACEOF
   13814 if ac_fn_c_try_link "$LINENO"; then :
   13815   eval $cacheid=yes
   13816 else
   13817   eval $cacheid=no
   13818 fi
   13819 rm -f core conftest.err conftest.$ac_objext \
   13820     conftest$ac_exeext conftest.$ac_ext
   13821 fi
   13822 
   13823 
   13824 		CFLAGS="$xorg_testset_save_CFLAGS"
   13825 
   13826 		eval supported=\$$cacheid
   13827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13828 $as_echo "$supported" >&6; }
   13829 		if test "$supported" = "yes" ; then
   13830 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13831 			found="yes"
   13832 		fi
   13833 	fi
   13834 
   13835 
   13836 
   13837 # These are currently disabled because they are noisy.  They will be enabled
   13838 # in the future once the codebase is sufficiently modernized to silence
   13839 # them.  For now, I don't want them to drown out the other warnings.
   13840 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13841 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13842 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13843 
   13844 # Turn some warnings into errors, so we don't accidently get successful builds
   13845 # when there are problems that should be fixed.
   13846 
   13847 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13848 
   13849 
   13850 
   13851 
   13852 
   13853 
   13854 
   13855 
   13856 
   13857 
   13858 
   13859 
   13860 
   13861 xorg_testset_save_CFLAGS="$CFLAGS"
   13862 
   13863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13866 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13867 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13868   $as_echo_n "(cached) " >&6
   13869 else
   13870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13871 /* end confdefs.h.  */
   13872 int i;
   13873 _ACEOF
   13874 if ac_fn_c_try_compile "$LINENO"; then :
   13875   xorg_cv_cc_flag_unknown_warning_option=yes
   13876 else
   13877   xorg_cv_cc_flag_unknown_warning_option=no
   13878 fi
   13879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13880 fi
   13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13882 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13883 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13884 	CFLAGS="$xorg_testset_save_CFLAGS"
   13885 fi
   13886 
   13887 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13888 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13889 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13890 	fi
   13891 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13893 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13894 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13895   $as_echo_n "(cached) " >&6
   13896 else
   13897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13898 /* end confdefs.h.  */
   13899 int i;
   13900 _ACEOF
   13901 if ac_fn_c_try_compile "$LINENO"; then :
   13902   xorg_cv_cc_flag_unused_command_line_argument=yes
   13903 else
   13904   xorg_cv_cc_flag_unused_command_line_argument=no
   13905 fi
   13906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13907 fi
   13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13909 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13910 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13911 	CFLAGS="$xorg_testset_save_CFLAGS"
   13912 fi
   13913 
   13914 found="no"
   13915 
   13916 	if test $found = "no" ; then
   13917 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13919 		fi
   13920 
   13921 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13923 		fi
   13924 
   13925 		CFLAGS="$CFLAGS -Werror=implicit"
   13926 
   13927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13928 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13929 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13930 		if eval \${$cacheid+:} false; then :
   13931   $as_echo_n "(cached) " >&6
   13932 else
   13933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13934 /* end confdefs.h.  */
   13935 int i;
   13936 int
   13937 main ()
   13938 {
   13939 
   13940   ;
   13941   return 0;
   13942 }
   13943 _ACEOF
   13944 if ac_fn_c_try_link "$LINENO"; then :
   13945   eval $cacheid=yes
   13946 else
   13947   eval $cacheid=no
   13948 fi
   13949 rm -f core conftest.err conftest.$ac_objext \
   13950     conftest$ac_exeext conftest.$ac_ext
   13951 fi
   13952 
   13953 
   13954 		CFLAGS="$xorg_testset_save_CFLAGS"
   13955 
   13956 		eval supported=\$$cacheid
   13957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13958 $as_echo "$supported" >&6; }
   13959 		if test "$supported" = "yes" ; then
   13960 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13961 			found="yes"
   13962 		fi
   13963 	fi
   13964 
   13965 	if test $found = "no" ; then
   13966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13968 		fi
   13969 
   13970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13972 		fi
   13973 
   13974 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13975 
   13976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13977 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13978 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   13979 		if eval \${$cacheid+:} false; then :
   13980   $as_echo_n "(cached) " >&6
   13981 else
   13982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13983 /* end confdefs.h.  */
   13984 int i;
   13985 int
   13986 main ()
   13987 {
   13988 
   13989   ;
   13990   return 0;
   13991 }
   13992 _ACEOF
   13993 if ac_fn_c_try_link "$LINENO"; then :
   13994   eval $cacheid=yes
   13995 else
   13996   eval $cacheid=no
   13997 fi
   13998 rm -f core conftest.err conftest.$ac_objext \
   13999     conftest$ac_exeext conftest.$ac_ext
   14000 fi
   14001 
   14002 
   14003 		CFLAGS="$xorg_testset_save_CFLAGS"
   14004 
   14005 		eval supported=\$$cacheid
   14006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14007 $as_echo "$supported" >&6; }
   14008 		if test "$supported" = "yes" ; then
   14009 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14010 			found="yes"
   14011 		fi
   14012 	fi
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 xorg_testset_save_CFLAGS="$CFLAGS"
   14029 
   14030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14033 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14034 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14035   $as_echo_n "(cached) " >&6
   14036 else
   14037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14038 /* end confdefs.h.  */
   14039 int i;
   14040 _ACEOF
   14041 if ac_fn_c_try_compile "$LINENO"; then :
   14042   xorg_cv_cc_flag_unknown_warning_option=yes
   14043 else
   14044   xorg_cv_cc_flag_unknown_warning_option=no
   14045 fi
   14046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14047 fi
   14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14049 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14051 	CFLAGS="$xorg_testset_save_CFLAGS"
   14052 fi
   14053 
   14054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14057 	fi
   14058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14060 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14061 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14062   $as_echo_n "(cached) " >&6
   14063 else
   14064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14065 /* end confdefs.h.  */
   14066 int i;
   14067 _ACEOF
   14068 if ac_fn_c_try_compile "$LINENO"; then :
   14069   xorg_cv_cc_flag_unused_command_line_argument=yes
   14070 else
   14071   xorg_cv_cc_flag_unused_command_line_argument=no
   14072 fi
   14073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14074 fi
   14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14076 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14078 	CFLAGS="$xorg_testset_save_CFLAGS"
   14079 fi
   14080 
   14081 found="no"
   14082 
   14083 	if test $found = "no" ; then
   14084 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14086 		fi
   14087 
   14088 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14090 		fi
   14091 
   14092 		CFLAGS="$CFLAGS -Werror=nonnull"
   14093 
   14094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14095 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14096 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14097 		if eval \${$cacheid+:} false; then :
   14098   $as_echo_n "(cached) " >&6
   14099 else
   14100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14101 /* end confdefs.h.  */
   14102 int i;
   14103 int
   14104 main ()
   14105 {
   14106 
   14107   ;
   14108   return 0;
   14109 }
   14110 _ACEOF
   14111 if ac_fn_c_try_link "$LINENO"; then :
   14112   eval $cacheid=yes
   14113 else
   14114   eval $cacheid=no
   14115 fi
   14116 rm -f core conftest.err conftest.$ac_objext \
   14117     conftest$ac_exeext conftest.$ac_ext
   14118 fi
   14119 
   14120 
   14121 		CFLAGS="$xorg_testset_save_CFLAGS"
   14122 
   14123 		eval supported=\$$cacheid
   14124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14125 $as_echo "$supported" >&6; }
   14126 		if test "$supported" = "yes" ; then
   14127 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14128 			found="yes"
   14129 		fi
   14130 	fi
   14131 
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 
   14142 
   14143 
   14144 
   14145 
   14146 xorg_testset_save_CFLAGS="$CFLAGS"
   14147 
   14148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14151 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14152 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14153   $as_echo_n "(cached) " >&6
   14154 else
   14155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14156 /* end confdefs.h.  */
   14157 int i;
   14158 _ACEOF
   14159 if ac_fn_c_try_compile "$LINENO"; then :
   14160   xorg_cv_cc_flag_unknown_warning_option=yes
   14161 else
   14162   xorg_cv_cc_flag_unknown_warning_option=no
   14163 fi
   14164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14165 fi
   14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14167 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14169 	CFLAGS="$xorg_testset_save_CFLAGS"
   14170 fi
   14171 
   14172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14175 	fi
   14176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14178 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14179 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14180   $as_echo_n "(cached) " >&6
   14181 else
   14182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14183 /* end confdefs.h.  */
   14184 int i;
   14185 _ACEOF
   14186 if ac_fn_c_try_compile "$LINENO"; then :
   14187   xorg_cv_cc_flag_unused_command_line_argument=yes
   14188 else
   14189   xorg_cv_cc_flag_unused_command_line_argument=no
   14190 fi
   14191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14192 fi
   14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14194 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14195 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14196 	CFLAGS="$xorg_testset_save_CFLAGS"
   14197 fi
   14198 
   14199 found="no"
   14200 
   14201 	if test $found = "no" ; then
   14202 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14204 		fi
   14205 
   14206 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14208 		fi
   14209 
   14210 		CFLAGS="$CFLAGS -Werror=init-self"
   14211 
   14212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14213 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14214 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14215 		if eval \${$cacheid+:} false; then :
   14216   $as_echo_n "(cached) " >&6
   14217 else
   14218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14219 /* end confdefs.h.  */
   14220 int i;
   14221 int
   14222 main ()
   14223 {
   14224 
   14225   ;
   14226   return 0;
   14227 }
   14228 _ACEOF
   14229 if ac_fn_c_try_link "$LINENO"; then :
   14230   eval $cacheid=yes
   14231 else
   14232   eval $cacheid=no
   14233 fi
   14234 rm -f core conftest.err conftest.$ac_objext \
   14235     conftest$ac_exeext conftest.$ac_ext
   14236 fi
   14237 
   14238 
   14239 		CFLAGS="$xorg_testset_save_CFLAGS"
   14240 
   14241 		eval supported=\$$cacheid
   14242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14243 $as_echo "$supported" >&6; }
   14244 		if test "$supported" = "yes" ; then
   14245 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14246 			found="yes"
   14247 		fi
   14248 	fi
   14249 
   14250 
   14251 
   14252 
   14253 
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 xorg_testset_save_CFLAGS="$CFLAGS"
   14265 
   14266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14271   $as_echo_n "(cached) " >&6
   14272 else
   14273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14274 /* end confdefs.h.  */
   14275 int i;
   14276 _ACEOF
   14277 if ac_fn_c_try_compile "$LINENO"; then :
   14278   xorg_cv_cc_flag_unknown_warning_option=yes
   14279 else
   14280   xorg_cv_cc_flag_unknown_warning_option=no
   14281 fi
   14282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14283 fi
   14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14287 	CFLAGS="$xorg_testset_save_CFLAGS"
   14288 fi
   14289 
   14290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14293 	fi
   14294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14298   $as_echo_n "(cached) " >&6
   14299 else
   14300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14301 /* end confdefs.h.  */
   14302 int i;
   14303 _ACEOF
   14304 if ac_fn_c_try_compile "$LINENO"; then :
   14305   xorg_cv_cc_flag_unused_command_line_argument=yes
   14306 else
   14307   xorg_cv_cc_flag_unused_command_line_argument=no
   14308 fi
   14309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14310 fi
   14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14314 	CFLAGS="$xorg_testset_save_CFLAGS"
   14315 fi
   14316 
   14317 found="no"
   14318 
   14319 	if test $found = "no" ; then
   14320 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14322 		fi
   14323 
   14324 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14326 		fi
   14327 
   14328 		CFLAGS="$CFLAGS -Werror=main"
   14329 
   14330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14331 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14332 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14333 		if eval \${$cacheid+:} false; then :
   14334   $as_echo_n "(cached) " >&6
   14335 else
   14336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14337 /* end confdefs.h.  */
   14338 int i;
   14339 int
   14340 main ()
   14341 {
   14342 
   14343   ;
   14344   return 0;
   14345 }
   14346 _ACEOF
   14347 if ac_fn_c_try_link "$LINENO"; then :
   14348   eval $cacheid=yes
   14349 else
   14350   eval $cacheid=no
   14351 fi
   14352 rm -f core conftest.err conftest.$ac_objext \
   14353     conftest$ac_exeext conftest.$ac_ext
   14354 fi
   14355 
   14356 
   14357 		CFLAGS="$xorg_testset_save_CFLAGS"
   14358 
   14359 		eval supported=\$$cacheid
   14360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14361 $as_echo "$supported" >&6; }
   14362 		if test "$supported" = "yes" ; then
   14363 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14364 			found="yes"
   14365 		fi
   14366 	fi
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 xorg_testset_save_CFLAGS="$CFLAGS"
   14383 
   14384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14387 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14388 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14389   $as_echo_n "(cached) " >&6
   14390 else
   14391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14392 /* end confdefs.h.  */
   14393 int i;
   14394 _ACEOF
   14395 if ac_fn_c_try_compile "$LINENO"; then :
   14396   xorg_cv_cc_flag_unknown_warning_option=yes
   14397 else
   14398   xorg_cv_cc_flag_unknown_warning_option=no
   14399 fi
   14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14401 fi
   14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14403 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14405 	CFLAGS="$xorg_testset_save_CFLAGS"
   14406 fi
   14407 
   14408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14411 	fi
   14412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14414 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14415 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14416   $as_echo_n "(cached) " >&6
   14417 else
   14418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14419 /* end confdefs.h.  */
   14420 int i;
   14421 _ACEOF
   14422 if ac_fn_c_try_compile "$LINENO"; then :
   14423   xorg_cv_cc_flag_unused_command_line_argument=yes
   14424 else
   14425   xorg_cv_cc_flag_unused_command_line_argument=no
   14426 fi
   14427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14428 fi
   14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14430 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14431 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14432 	CFLAGS="$xorg_testset_save_CFLAGS"
   14433 fi
   14434 
   14435 found="no"
   14436 
   14437 	if test $found = "no" ; then
   14438 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14439 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14440 		fi
   14441 
   14442 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14443 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14444 		fi
   14445 
   14446 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14447 
   14448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14449 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14450 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14451 		if eval \${$cacheid+:} false; then :
   14452   $as_echo_n "(cached) " >&6
   14453 else
   14454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14455 /* end confdefs.h.  */
   14456 int i;
   14457 int
   14458 main ()
   14459 {
   14460 
   14461   ;
   14462   return 0;
   14463 }
   14464 _ACEOF
   14465 if ac_fn_c_try_link "$LINENO"; then :
   14466   eval $cacheid=yes
   14467 else
   14468   eval $cacheid=no
   14469 fi
   14470 rm -f core conftest.err conftest.$ac_objext \
   14471     conftest$ac_exeext conftest.$ac_ext
   14472 fi
   14473 
   14474 
   14475 		CFLAGS="$xorg_testset_save_CFLAGS"
   14476 
   14477 		eval supported=\$$cacheid
   14478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14479 $as_echo "$supported" >&6; }
   14480 		if test "$supported" = "yes" ; then
   14481 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14482 			found="yes"
   14483 		fi
   14484 	fi
   14485 
   14486 
   14487 
   14488 
   14489 
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 
   14496 
   14497 
   14498 
   14499 
   14500 xorg_testset_save_CFLAGS="$CFLAGS"
   14501 
   14502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14505 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14506 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14507   $as_echo_n "(cached) " >&6
   14508 else
   14509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14510 /* end confdefs.h.  */
   14511 int i;
   14512 _ACEOF
   14513 if ac_fn_c_try_compile "$LINENO"; then :
   14514   xorg_cv_cc_flag_unknown_warning_option=yes
   14515 else
   14516   xorg_cv_cc_flag_unknown_warning_option=no
   14517 fi
   14518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14519 fi
   14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14521 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14523 	CFLAGS="$xorg_testset_save_CFLAGS"
   14524 fi
   14525 
   14526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14529 	fi
   14530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14532 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14533 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14534   $as_echo_n "(cached) " >&6
   14535 else
   14536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14537 /* end confdefs.h.  */
   14538 int i;
   14539 _ACEOF
   14540 if ac_fn_c_try_compile "$LINENO"; then :
   14541   xorg_cv_cc_flag_unused_command_line_argument=yes
   14542 else
   14543   xorg_cv_cc_flag_unused_command_line_argument=no
   14544 fi
   14545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14546 fi
   14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14548 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14550 	CFLAGS="$xorg_testset_save_CFLAGS"
   14551 fi
   14552 
   14553 found="no"
   14554 
   14555 	if test $found = "no" ; then
   14556 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14558 		fi
   14559 
   14560 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14562 		fi
   14563 
   14564 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14565 
   14566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14567 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14568 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14569 		if eval \${$cacheid+:} false; then :
   14570   $as_echo_n "(cached) " >&6
   14571 else
   14572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14573 /* end confdefs.h.  */
   14574 int i;
   14575 int
   14576 main ()
   14577 {
   14578 
   14579   ;
   14580   return 0;
   14581 }
   14582 _ACEOF
   14583 if ac_fn_c_try_link "$LINENO"; then :
   14584   eval $cacheid=yes
   14585 else
   14586   eval $cacheid=no
   14587 fi
   14588 rm -f core conftest.err conftest.$ac_objext \
   14589     conftest$ac_exeext conftest.$ac_ext
   14590 fi
   14591 
   14592 
   14593 		CFLAGS="$xorg_testset_save_CFLAGS"
   14594 
   14595 		eval supported=\$$cacheid
   14596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14597 $as_echo "$supported" >&6; }
   14598 		if test "$supported" = "yes" ; then
   14599 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14600 			found="yes"
   14601 		fi
   14602 	fi
   14603 
   14604 
   14605 
   14606 
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 xorg_testset_save_CFLAGS="$CFLAGS"
   14619 
   14620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14623 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14624 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14625   $as_echo_n "(cached) " >&6
   14626 else
   14627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14628 /* end confdefs.h.  */
   14629 int i;
   14630 _ACEOF
   14631 if ac_fn_c_try_compile "$LINENO"; then :
   14632   xorg_cv_cc_flag_unknown_warning_option=yes
   14633 else
   14634   xorg_cv_cc_flag_unknown_warning_option=no
   14635 fi
   14636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14637 fi
   14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14639 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14641 	CFLAGS="$xorg_testset_save_CFLAGS"
   14642 fi
   14643 
   14644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14647 	fi
   14648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14650 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14651 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14652   $as_echo_n "(cached) " >&6
   14653 else
   14654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14655 /* end confdefs.h.  */
   14656 int i;
   14657 _ACEOF
   14658 if ac_fn_c_try_compile "$LINENO"; then :
   14659   xorg_cv_cc_flag_unused_command_line_argument=yes
   14660 else
   14661   xorg_cv_cc_flag_unused_command_line_argument=no
   14662 fi
   14663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14664 fi
   14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14666 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14667 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14668 	CFLAGS="$xorg_testset_save_CFLAGS"
   14669 fi
   14670 
   14671 found="no"
   14672 
   14673 	if test $found = "no" ; then
   14674 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14675 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14676 		fi
   14677 
   14678 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14679 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14680 		fi
   14681 
   14682 		CFLAGS="$CFLAGS -Werror=return-type"
   14683 
   14684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14685 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14686 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14687 		if eval \${$cacheid+:} false; then :
   14688   $as_echo_n "(cached) " >&6
   14689 else
   14690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14691 /* end confdefs.h.  */
   14692 int i;
   14693 int
   14694 main ()
   14695 {
   14696 
   14697   ;
   14698   return 0;
   14699 }
   14700 _ACEOF
   14701 if ac_fn_c_try_link "$LINENO"; then :
   14702   eval $cacheid=yes
   14703 else
   14704   eval $cacheid=no
   14705 fi
   14706 rm -f core conftest.err conftest.$ac_objext \
   14707     conftest$ac_exeext conftest.$ac_ext
   14708 fi
   14709 
   14710 
   14711 		CFLAGS="$xorg_testset_save_CFLAGS"
   14712 
   14713 		eval supported=\$$cacheid
   14714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14715 $as_echo "$supported" >&6; }
   14716 		if test "$supported" = "yes" ; then
   14717 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14718 			found="yes"
   14719 		fi
   14720 	fi
   14721 
   14722 	if test $found = "no" ; then
   14723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14725 		fi
   14726 
   14727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14729 		fi
   14730 
   14731 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14732 
   14733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14734 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14735 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14736 		if eval \${$cacheid+:} false; then :
   14737   $as_echo_n "(cached) " >&6
   14738 else
   14739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14740 /* end confdefs.h.  */
   14741 int i;
   14742 int
   14743 main ()
   14744 {
   14745 
   14746   ;
   14747   return 0;
   14748 }
   14749 _ACEOF
   14750 if ac_fn_c_try_link "$LINENO"; then :
   14751   eval $cacheid=yes
   14752 else
   14753   eval $cacheid=no
   14754 fi
   14755 rm -f core conftest.err conftest.$ac_objext \
   14756     conftest$ac_exeext conftest.$ac_ext
   14757 fi
   14758 
   14759 
   14760 		CFLAGS="$xorg_testset_save_CFLAGS"
   14761 
   14762 		eval supported=\$$cacheid
   14763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14764 $as_echo "$supported" >&6; }
   14765 		if test "$supported" = "yes" ; then
   14766 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14767 			found="yes"
   14768 		fi
   14769 	fi
   14770 
   14771 
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 xorg_testset_save_CFLAGS="$CFLAGS"
   14786 
   14787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14791 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14792   $as_echo_n "(cached) " >&6
   14793 else
   14794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14795 /* end confdefs.h.  */
   14796 int i;
   14797 _ACEOF
   14798 if ac_fn_c_try_compile "$LINENO"; then :
   14799   xorg_cv_cc_flag_unknown_warning_option=yes
   14800 else
   14801   xorg_cv_cc_flag_unknown_warning_option=no
   14802 fi
   14803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14804 fi
   14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14808 	CFLAGS="$xorg_testset_save_CFLAGS"
   14809 fi
   14810 
   14811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14814 	fi
   14815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14819   $as_echo_n "(cached) " >&6
   14820 else
   14821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14822 /* end confdefs.h.  */
   14823 int i;
   14824 _ACEOF
   14825 if ac_fn_c_try_compile "$LINENO"; then :
   14826   xorg_cv_cc_flag_unused_command_line_argument=yes
   14827 else
   14828   xorg_cv_cc_flag_unused_command_line_argument=no
   14829 fi
   14830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14831 fi
   14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14835 	CFLAGS="$xorg_testset_save_CFLAGS"
   14836 fi
   14837 
   14838 found="no"
   14839 
   14840 	if test $found = "no" ; then
   14841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14843 		fi
   14844 
   14845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14847 		fi
   14848 
   14849 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14850 
   14851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14852 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14853 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14854 		if eval \${$cacheid+:} false; then :
   14855   $as_echo_n "(cached) " >&6
   14856 else
   14857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14858 /* end confdefs.h.  */
   14859 int i;
   14860 int
   14861 main ()
   14862 {
   14863 
   14864   ;
   14865   return 0;
   14866 }
   14867 _ACEOF
   14868 if ac_fn_c_try_link "$LINENO"; then :
   14869   eval $cacheid=yes
   14870 else
   14871   eval $cacheid=no
   14872 fi
   14873 rm -f core conftest.err conftest.$ac_objext \
   14874     conftest$ac_exeext conftest.$ac_ext
   14875 fi
   14876 
   14877 
   14878 		CFLAGS="$xorg_testset_save_CFLAGS"
   14879 
   14880 		eval supported=\$$cacheid
   14881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14882 $as_echo "$supported" >&6; }
   14883 		if test "$supported" = "yes" ; then
   14884 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14885 			found="yes"
   14886 		fi
   14887 	fi
   14888 
   14889 
   14890 
   14891 
   14892 
   14893 
   14894 
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 xorg_testset_save_CFLAGS="$CFLAGS"
   14904 
   14905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14910   $as_echo_n "(cached) " >&6
   14911 else
   14912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14913 /* end confdefs.h.  */
   14914 int i;
   14915 _ACEOF
   14916 if ac_fn_c_try_compile "$LINENO"; then :
   14917   xorg_cv_cc_flag_unknown_warning_option=yes
   14918 else
   14919   xorg_cv_cc_flag_unknown_warning_option=no
   14920 fi
   14921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14922 fi
   14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14926 	CFLAGS="$xorg_testset_save_CFLAGS"
   14927 fi
   14928 
   14929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14932 	fi
   14933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14937   $as_echo_n "(cached) " >&6
   14938 else
   14939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14940 /* end confdefs.h.  */
   14941 int i;
   14942 _ACEOF
   14943 if ac_fn_c_try_compile "$LINENO"; then :
   14944   xorg_cv_cc_flag_unused_command_line_argument=yes
   14945 else
   14946   xorg_cv_cc_flag_unused_command_line_argument=no
   14947 fi
   14948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14949 fi
   14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14953 	CFLAGS="$xorg_testset_save_CFLAGS"
   14954 fi
   14955 
   14956 found="no"
   14957 
   14958 	if test $found = "no" ; then
   14959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14961 		fi
   14962 
   14963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14965 		fi
   14966 
   14967 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14968 
   14969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14970 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14971 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   14972 		if eval \${$cacheid+:} false; then :
   14973   $as_echo_n "(cached) " >&6
   14974 else
   14975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14976 /* end confdefs.h.  */
   14977 int i;
   14978 int
   14979 main ()
   14980 {
   14981 
   14982   ;
   14983   return 0;
   14984 }
   14985 _ACEOF
   14986 if ac_fn_c_try_link "$LINENO"; then :
   14987   eval $cacheid=yes
   14988 else
   14989   eval $cacheid=no
   14990 fi
   14991 rm -f core conftest.err conftest.$ac_objext \
   14992     conftest$ac_exeext conftest.$ac_ext
   14993 fi
   14994 
   14995 
   14996 		CFLAGS="$xorg_testset_save_CFLAGS"
   14997 
   14998 		eval supported=\$$cacheid
   14999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15000 $as_echo "$supported" >&6; }
   15001 		if test "$supported" = "yes" ; then
   15002 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15003 			found="yes"
   15004 		fi
   15005 	fi
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 
   15014 
   15015 
   15016 
   15017 
   15018 
   15019 
   15020 
   15021 xorg_testset_save_CFLAGS="$CFLAGS"
   15022 
   15023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15028   $as_echo_n "(cached) " >&6
   15029 else
   15030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15031 /* end confdefs.h.  */
   15032 int i;
   15033 _ACEOF
   15034 if ac_fn_c_try_compile "$LINENO"; then :
   15035   xorg_cv_cc_flag_unknown_warning_option=yes
   15036 else
   15037   xorg_cv_cc_flag_unknown_warning_option=no
   15038 fi
   15039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15040 fi
   15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15044 	CFLAGS="$xorg_testset_save_CFLAGS"
   15045 fi
   15046 
   15047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15050 	fi
   15051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15055   $as_echo_n "(cached) " >&6
   15056 else
   15057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15058 /* end confdefs.h.  */
   15059 int i;
   15060 _ACEOF
   15061 if ac_fn_c_try_compile "$LINENO"; then :
   15062   xorg_cv_cc_flag_unused_command_line_argument=yes
   15063 else
   15064   xorg_cv_cc_flag_unused_command_line_argument=no
   15065 fi
   15066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15067 fi
   15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15071 	CFLAGS="$xorg_testset_save_CFLAGS"
   15072 fi
   15073 
   15074 found="no"
   15075 
   15076 	if test $found = "no" ; then
   15077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15079 		fi
   15080 
   15081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15083 		fi
   15084 
   15085 		CFLAGS="$CFLAGS -Werror=write-strings"
   15086 
   15087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15088 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15089 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15090 		if eval \${$cacheid+:} false; then :
   15091   $as_echo_n "(cached) " >&6
   15092 else
   15093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15094 /* end confdefs.h.  */
   15095 int i;
   15096 int
   15097 main ()
   15098 {
   15099 
   15100   ;
   15101   return 0;
   15102 }
   15103 _ACEOF
   15104 if ac_fn_c_try_link "$LINENO"; then :
   15105   eval $cacheid=yes
   15106 else
   15107   eval $cacheid=no
   15108 fi
   15109 rm -f core conftest.err conftest.$ac_objext \
   15110     conftest$ac_exeext conftest.$ac_ext
   15111 fi
   15112 
   15113 
   15114 		CFLAGS="$xorg_testset_save_CFLAGS"
   15115 
   15116 		eval supported=\$$cacheid
   15117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15118 $as_echo "$supported" >&6; }
   15119 		if test "$supported" = "yes" ; then
   15120 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15121 			found="yes"
   15122 		fi
   15123 	fi
   15124 
   15125 
   15126 
   15127 
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136 
   15137 
   15138 
   15139 xorg_testset_save_CFLAGS="$CFLAGS"
   15140 
   15141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15144 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15145 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15146   $as_echo_n "(cached) " >&6
   15147 else
   15148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15149 /* end confdefs.h.  */
   15150 int i;
   15151 _ACEOF
   15152 if ac_fn_c_try_compile "$LINENO"; then :
   15153   xorg_cv_cc_flag_unknown_warning_option=yes
   15154 else
   15155   xorg_cv_cc_flag_unknown_warning_option=no
   15156 fi
   15157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15158 fi
   15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15160 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15162 	CFLAGS="$xorg_testset_save_CFLAGS"
   15163 fi
   15164 
   15165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15168 	fi
   15169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15171 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15172 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15173   $as_echo_n "(cached) " >&6
   15174 else
   15175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15176 /* end confdefs.h.  */
   15177 int i;
   15178 _ACEOF
   15179 if ac_fn_c_try_compile "$LINENO"; then :
   15180   xorg_cv_cc_flag_unused_command_line_argument=yes
   15181 else
   15182   xorg_cv_cc_flag_unused_command_line_argument=no
   15183 fi
   15184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15185 fi
   15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15187 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15189 	CFLAGS="$xorg_testset_save_CFLAGS"
   15190 fi
   15191 
   15192 found="no"
   15193 
   15194 	if test $found = "no" ; then
   15195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15197 		fi
   15198 
   15199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15201 		fi
   15202 
   15203 		CFLAGS="$CFLAGS -Werror=address"
   15204 
   15205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15206 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15207 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15208 		if eval \${$cacheid+:} false; then :
   15209   $as_echo_n "(cached) " >&6
   15210 else
   15211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15212 /* end confdefs.h.  */
   15213 int i;
   15214 int
   15215 main ()
   15216 {
   15217 
   15218   ;
   15219   return 0;
   15220 }
   15221 _ACEOF
   15222 if ac_fn_c_try_link "$LINENO"; then :
   15223   eval $cacheid=yes
   15224 else
   15225   eval $cacheid=no
   15226 fi
   15227 rm -f core conftest.err conftest.$ac_objext \
   15228     conftest$ac_exeext conftest.$ac_ext
   15229 fi
   15230 
   15231 
   15232 		CFLAGS="$xorg_testset_save_CFLAGS"
   15233 
   15234 		eval supported=\$$cacheid
   15235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15236 $as_echo "$supported" >&6; }
   15237 		if test "$supported" = "yes" ; then
   15238 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15239 			found="yes"
   15240 		fi
   15241 	fi
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 
   15248 
   15249 
   15250 
   15251 
   15252 
   15253 
   15254 
   15255 
   15256 
   15257 xorg_testset_save_CFLAGS="$CFLAGS"
   15258 
   15259 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15260 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15262 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15263 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15264   $as_echo_n "(cached) " >&6
   15265 else
   15266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15267 /* end confdefs.h.  */
   15268 int i;
   15269 _ACEOF
   15270 if ac_fn_c_try_compile "$LINENO"; then :
   15271   xorg_cv_cc_flag_unknown_warning_option=yes
   15272 else
   15273   xorg_cv_cc_flag_unknown_warning_option=no
   15274 fi
   15275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15276 fi
   15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15278 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15279 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15280 	CFLAGS="$xorg_testset_save_CFLAGS"
   15281 fi
   15282 
   15283 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15284 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15286 	fi
   15287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15289 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15290 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15291   $as_echo_n "(cached) " >&6
   15292 else
   15293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15294 /* end confdefs.h.  */
   15295 int i;
   15296 _ACEOF
   15297 if ac_fn_c_try_compile "$LINENO"; then :
   15298   xorg_cv_cc_flag_unused_command_line_argument=yes
   15299 else
   15300   xorg_cv_cc_flag_unused_command_line_argument=no
   15301 fi
   15302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15303 fi
   15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15305 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15306 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15307 	CFLAGS="$xorg_testset_save_CFLAGS"
   15308 fi
   15309 
   15310 found="no"
   15311 
   15312 	if test $found = "no" ; then
   15313 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15315 		fi
   15316 
   15317 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15319 		fi
   15320 
   15321 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15322 
   15323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15324 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15325 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15326 		if eval \${$cacheid+:} false; then :
   15327   $as_echo_n "(cached) " >&6
   15328 else
   15329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15330 /* end confdefs.h.  */
   15331 int i;
   15332 int
   15333 main ()
   15334 {
   15335 
   15336   ;
   15337   return 0;
   15338 }
   15339 _ACEOF
   15340 if ac_fn_c_try_link "$LINENO"; then :
   15341   eval $cacheid=yes
   15342 else
   15343   eval $cacheid=no
   15344 fi
   15345 rm -f core conftest.err conftest.$ac_objext \
   15346     conftest$ac_exeext conftest.$ac_ext
   15347 fi
   15348 
   15349 
   15350 		CFLAGS="$xorg_testset_save_CFLAGS"
   15351 
   15352 		eval supported=\$$cacheid
   15353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15354 $as_echo "$supported" >&6; }
   15355 		if test "$supported" = "yes" ; then
   15356 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15357 			found="yes"
   15358 		fi
   15359 	fi
   15360 
   15361 	if test $found = "no" ; then
   15362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15364 		fi
   15365 
   15366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15368 		fi
   15369 
   15370 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15371 
   15372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15373 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15374 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15375 		if eval \${$cacheid+:} false; then :
   15376   $as_echo_n "(cached) " >&6
   15377 else
   15378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15379 /* end confdefs.h.  */
   15380 int i;
   15381 int
   15382 main ()
   15383 {
   15384 
   15385   ;
   15386   return 0;
   15387 }
   15388 _ACEOF
   15389 if ac_fn_c_try_link "$LINENO"; then :
   15390   eval $cacheid=yes
   15391 else
   15392   eval $cacheid=no
   15393 fi
   15394 rm -f core conftest.err conftest.$ac_objext \
   15395     conftest$ac_exeext conftest.$ac_ext
   15396 fi
   15397 
   15398 
   15399 		CFLAGS="$xorg_testset_save_CFLAGS"
   15400 
   15401 		eval supported=\$$cacheid
   15402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15403 $as_echo "$supported" >&6; }
   15404 		if test "$supported" = "yes" ; then
   15405 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15406 			found="yes"
   15407 		fi
   15408 	fi
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 xorg_testset_save_CFLAGS="$CFLAGS"
   15425 
   15426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15429 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15430 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15431   $as_echo_n "(cached) " >&6
   15432 else
   15433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15434 /* end confdefs.h.  */
   15435 int i;
   15436 _ACEOF
   15437 if ac_fn_c_try_compile "$LINENO"; then :
   15438   xorg_cv_cc_flag_unknown_warning_option=yes
   15439 else
   15440   xorg_cv_cc_flag_unknown_warning_option=no
   15441 fi
   15442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15443 fi
   15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15445 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15446 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15447 	CFLAGS="$xorg_testset_save_CFLAGS"
   15448 fi
   15449 
   15450 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15451 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15453 	fi
   15454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15456 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15457 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15458   $as_echo_n "(cached) " >&6
   15459 else
   15460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15461 /* end confdefs.h.  */
   15462 int i;
   15463 _ACEOF
   15464 if ac_fn_c_try_compile "$LINENO"; then :
   15465   xorg_cv_cc_flag_unused_command_line_argument=yes
   15466 else
   15467   xorg_cv_cc_flag_unused_command_line_argument=no
   15468 fi
   15469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15470 fi
   15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15472 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15473 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15474 	CFLAGS="$xorg_testset_save_CFLAGS"
   15475 fi
   15476 
   15477 found="no"
   15478 
   15479 	if test $found = "no" ; then
   15480 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15482 		fi
   15483 
   15484 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15486 		fi
   15487 
   15488 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15489 
   15490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15491 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15492 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15493 		if eval \${$cacheid+:} false; then :
   15494   $as_echo_n "(cached) " >&6
   15495 else
   15496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15497 /* end confdefs.h.  */
   15498 int i;
   15499 int
   15500 main ()
   15501 {
   15502 
   15503   ;
   15504   return 0;
   15505 }
   15506 _ACEOF
   15507 if ac_fn_c_try_link "$LINENO"; then :
   15508   eval $cacheid=yes
   15509 else
   15510   eval $cacheid=no
   15511 fi
   15512 rm -f core conftest.err conftest.$ac_objext \
   15513     conftest$ac_exeext conftest.$ac_ext
   15514 fi
   15515 
   15516 
   15517 		CFLAGS="$xorg_testset_save_CFLAGS"
   15518 
   15519 		eval supported=\$$cacheid
   15520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15521 $as_echo "$supported" >&6; }
   15522 		if test "$supported" = "yes" ; then
   15523 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15524 			found="yes"
   15525 		fi
   15526 	fi
   15527 
   15528  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15529 else
   15530 { $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
   15531 $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;}
   15532 
   15533 
   15534 
   15535 
   15536 
   15537 
   15538 
   15539 
   15540 
   15541 
   15542 
   15543 
   15544 
   15545 xorg_testset_save_CFLAGS="$CFLAGS"
   15546 
   15547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15550 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15551 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15552   $as_echo_n "(cached) " >&6
   15553 else
   15554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15555 /* end confdefs.h.  */
   15556 int i;
   15557 _ACEOF
   15558 if ac_fn_c_try_compile "$LINENO"; then :
   15559   xorg_cv_cc_flag_unknown_warning_option=yes
   15560 else
   15561   xorg_cv_cc_flag_unknown_warning_option=no
   15562 fi
   15563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15564 fi
   15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15566 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15567 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15568 	CFLAGS="$xorg_testset_save_CFLAGS"
   15569 fi
   15570 
   15571 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15572 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15573 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15574 	fi
   15575 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15577 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15578 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15579   $as_echo_n "(cached) " >&6
   15580 else
   15581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15582 /* end confdefs.h.  */
   15583 int i;
   15584 _ACEOF
   15585 if ac_fn_c_try_compile "$LINENO"; then :
   15586   xorg_cv_cc_flag_unused_command_line_argument=yes
   15587 else
   15588   xorg_cv_cc_flag_unused_command_line_argument=no
   15589 fi
   15590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15591 fi
   15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15593 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15594 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15595 	CFLAGS="$xorg_testset_save_CFLAGS"
   15596 fi
   15597 
   15598 found="no"
   15599 
   15600 	if test $found = "no" ; then
   15601 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15602 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15603 		fi
   15604 
   15605 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15606 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15607 		fi
   15608 
   15609 		CFLAGS="$CFLAGS -Wimplicit"
   15610 
   15611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15612 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15613 		cacheid=xorg_cv_cc_flag__Wimplicit
   15614 		if eval \${$cacheid+:} false; then :
   15615   $as_echo_n "(cached) " >&6
   15616 else
   15617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15618 /* end confdefs.h.  */
   15619 int i;
   15620 int
   15621 main ()
   15622 {
   15623 
   15624   ;
   15625   return 0;
   15626 }
   15627 _ACEOF
   15628 if ac_fn_c_try_link "$LINENO"; then :
   15629   eval $cacheid=yes
   15630 else
   15631   eval $cacheid=no
   15632 fi
   15633 rm -f core conftest.err conftest.$ac_objext \
   15634     conftest$ac_exeext conftest.$ac_ext
   15635 fi
   15636 
   15637 
   15638 		CFLAGS="$xorg_testset_save_CFLAGS"
   15639 
   15640 		eval supported=\$$cacheid
   15641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15642 $as_echo "$supported" >&6; }
   15643 		if test "$supported" = "yes" ; then
   15644 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15645 			found="yes"
   15646 		fi
   15647 	fi
   15648 
   15649 
   15650 
   15651 
   15652 
   15653 
   15654 
   15655 
   15656 
   15657 
   15658 
   15659 
   15660 
   15661 
   15662 
   15663 xorg_testset_save_CFLAGS="$CFLAGS"
   15664 
   15665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15668 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15669 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15670   $as_echo_n "(cached) " >&6
   15671 else
   15672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15673 /* end confdefs.h.  */
   15674 int i;
   15675 _ACEOF
   15676 if ac_fn_c_try_compile "$LINENO"; then :
   15677   xorg_cv_cc_flag_unknown_warning_option=yes
   15678 else
   15679   xorg_cv_cc_flag_unknown_warning_option=no
   15680 fi
   15681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15682 fi
   15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15684 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15685 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15686 	CFLAGS="$xorg_testset_save_CFLAGS"
   15687 fi
   15688 
   15689 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15690 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15691 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15692 	fi
   15693 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15695 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15696 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15697   $as_echo_n "(cached) " >&6
   15698 else
   15699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15700 /* end confdefs.h.  */
   15701 int i;
   15702 _ACEOF
   15703 if ac_fn_c_try_compile "$LINENO"; then :
   15704   xorg_cv_cc_flag_unused_command_line_argument=yes
   15705 else
   15706   xorg_cv_cc_flag_unused_command_line_argument=no
   15707 fi
   15708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15709 fi
   15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15711 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15712 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15713 	CFLAGS="$xorg_testset_save_CFLAGS"
   15714 fi
   15715 
   15716 found="no"
   15717 
   15718 	if test $found = "no" ; then
   15719 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15720 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15721 		fi
   15722 
   15723 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15724 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15725 		fi
   15726 
   15727 		CFLAGS="$CFLAGS -Wnonnull"
   15728 
   15729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15730 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15731 		cacheid=xorg_cv_cc_flag__Wnonnull
   15732 		if eval \${$cacheid+:} false; then :
   15733   $as_echo_n "(cached) " >&6
   15734 else
   15735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15736 /* end confdefs.h.  */
   15737 int i;
   15738 int
   15739 main ()
   15740 {
   15741 
   15742   ;
   15743   return 0;
   15744 }
   15745 _ACEOF
   15746 if ac_fn_c_try_link "$LINENO"; then :
   15747   eval $cacheid=yes
   15748 else
   15749   eval $cacheid=no
   15750 fi
   15751 rm -f core conftest.err conftest.$ac_objext \
   15752     conftest$ac_exeext conftest.$ac_ext
   15753 fi
   15754 
   15755 
   15756 		CFLAGS="$xorg_testset_save_CFLAGS"
   15757 
   15758 		eval supported=\$$cacheid
   15759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15760 $as_echo "$supported" >&6; }
   15761 		if test "$supported" = "yes" ; then
   15762 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15763 			found="yes"
   15764 		fi
   15765 	fi
   15766 
   15767 
   15768 
   15769 
   15770 
   15771 
   15772 
   15773 
   15774 
   15775 
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 xorg_testset_save_CFLAGS="$CFLAGS"
   15782 
   15783 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15784 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15786 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15787 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15788   $as_echo_n "(cached) " >&6
   15789 else
   15790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15791 /* end confdefs.h.  */
   15792 int i;
   15793 _ACEOF
   15794 if ac_fn_c_try_compile "$LINENO"; then :
   15795   xorg_cv_cc_flag_unknown_warning_option=yes
   15796 else
   15797   xorg_cv_cc_flag_unknown_warning_option=no
   15798 fi
   15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15800 fi
   15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15802 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15804 	CFLAGS="$xorg_testset_save_CFLAGS"
   15805 fi
   15806 
   15807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15810 	fi
   15811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15813 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15814 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15815   $as_echo_n "(cached) " >&6
   15816 else
   15817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15818 /* end confdefs.h.  */
   15819 int i;
   15820 _ACEOF
   15821 if ac_fn_c_try_compile "$LINENO"; then :
   15822   xorg_cv_cc_flag_unused_command_line_argument=yes
   15823 else
   15824   xorg_cv_cc_flag_unused_command_line_argument=no
   15825 fi
   15826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15827 fi
   15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15829 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15830 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15831 	CFLAGS="$xorg_testset_save_CFLAGS"
   15832 fi
   15833 
   15834 found="no"
   15835 
   15836 	if test $found = "no" ; then
   15837 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15839 		fi
   15840 
   15841 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15843 		fi
   15844 
   15845 		CFLAGS="$CFLAGS -Winit-self"
   15846 
   15847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15848 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15849 		cacheid=xorg_cv_cc_flag__Winit_self
   15850 		if eval \${$cacheid+:} false; then :
   15851   $as_echo_n "(cached) " >&6
   15852 else
   15853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15854 /* end confdefs.h.  */
   15855 int i;
   15856 int
   15857 main ()
   15858 {
   15859 
   15860   ;
   15861   return 0;
   15862 }
   15863 _ACEOF
   15864 if ac_fn_c_try_link "$LINENO"; then :
   15865   eval $cacheid=yes
   15866 else
   15867   eval $cacheid=no
   15868 fi
   15869 rm -f core conftest.err conftest.$ac_objext \
   15870     conftest$ac_exeext conftest.$ac_ext
   15871 fi
   15872 
   15873 
   15874 		CFLAGS="$xorg_testset_save_CFLAGS"
   15875 
   15876 		eval supported=\$$cacheid
   15877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15878 $as_echo "$supported" >&6; }
   15879 		if test "$supported" = "yes" ; then
   15880 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15881 			found="yes"
   15882 		fi
   15883 	fi
   15884 
   15885 
   15886 
   15887 
   15888 
   15889 
   15890 
   15891 
   15892 
   15893 
   15894 
   15895 
   15896 
   15897 
   15898 
   15899 xorg_testset_save_CFLAGS="$CFLAGS"
   15900 
   15901 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15902 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15904 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15905 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15906   $as_echo_n "(cached) " >&6
   15907 else
   15908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15909 /* end confdefs.h.  */
   15910 int i;
   15911 _ACEOF
   15912 if ac_fn_c_try_compile "$LINENO"; then :
   15913   xorg_cv_cc_flag_unknown_warning_option=yes
   15914 else
   15915   xorg_cv_cc_flag_unknown_warning_option=no
   15916 fi
   15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15918 fi
   15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15920 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15922 	CFLAGS="$xorg_testset_save_CFLAGS"
   15923 fi
   15924 
   15925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15928 	fi
   15929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15931 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15932 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15933   $as_echo_n "(cached) " >&6
   15934 else
   15935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15936 /* end confdefs.h.  */
   15937 int i;
   15938 _ACEOF
   15939 if ac_fn_c_try_compile "$LINENO"; then :
   15940   xorg_cv_cc_flag_unused_command_line_argument=yes
   15941 else
   15942   xorg_cv_cc_flag_unused_command_line_argument=no
   15943 fi
   15944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15945 fi
   15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15947 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15948 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15949 	CFLAGS="$xorg_testset_save_CFLAGS"
   15950 fi
   15951 
   15952 found="no"
   15953 
   15954 	if test $found = "no" ; then
   15955 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15956 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15957 		fi
   15958 
   15959 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15960 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15961 		fi
   15962 
   15963 		CFLAGS="$CFLAGS -Wmain"
   15964 
   15965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15966 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15967 		cacheid=xorg_cv_cc_flag__Wmain
   15968 		if eval \${$cacheid+:} false; then :
   15969   $as_echo_n "(cached) " >&6
   15970 else
   15971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15972 /* end confdefs.h.  */
   15973 int i;
   15974 int
   15975 main ()
   15976 {
   15977 
   15978   ;
   15979   return 0;
   15980 }
   15981 _ACEOF
   15982 if ac_fn_c_try_link "$LINENO"; then :
   15983   eval $cacheid=yes
   15984 else
   15985   eval $cacheid=no
   15986 fi
   15987 rm -f core conftest.err conftest.$ac_objext \
   15988     conftest$ac_exeext conftest.$ac_ext
   15989 fi
   15990 
   15991 
   15992 		CFLAGS="$xorg_testset_save_CFLAGS"
   15993 
   15994 		eval supported=\$$cacheid
   15995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15996 $as_echo "$supported" >&6; }
   15997 		if test "$supported" = "yes" ; then
   15998 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15999 			found="yes"
   16000 		fi
   16001 	fi
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 
   16013 
   16014 
   16015 
   16016 
   16017 xorg_testset_save_CFLAGS="$CFLAGS"
   16018 
   16019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16022 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16023 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16024   $as_echo_n "(cached) " >&6
   16025 else
   16026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16027 /* end confdefs.h.  */
   16028 int i;
   16029 _ACEOF
   16030 if ac_fn_c_try_compile "$LINENO"; then :
   16031   xorg_cv_cc_flag_unknown_warning_option=yes
   16032 else
   16033   xorg_cv_cc_flag_unknown_warning_option=no
   16034 fi
   16035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16036 fi
   16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16038 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16040 	CFLAGS="$xorg_testset_save_CFLAGS"
   16041 fi
   16042 
   16043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16046 	fi
   16047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16049 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16050 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16051   $as_echo_n "(cached) " >&6
   16052 else
   16053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16054 /* end confdefs.h.  */
   16055 int i;
   16056 _ACEOF
   16057 if ac_fn_c_try_compile "$LINENO"; then :
   16058   xorg_cv_cc_flag_unused_command_line_argument=yes
   16059 else
   16060   xorg_cv_cc_flag_unused_command_line_argument=no
   16061 fi
   16062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16063 fi
   16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16065 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16066 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16067 	CFLAGS="$xorg_testset_save_CFLAGS"
   16068 fi
   16069 
   16070 found="no"
   16071 
   16072 	if test $found = "no" ; then
   16073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16075 		fi
   16076 
   16077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16079 		fi
   16080 
   16081 		CFLAGS="$CFLAGS -Wmissing-braces"
   16082 
   16083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16084 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16085 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16086 		if eval \${$cacheid+:} false; then :
   16087   $as_echo_n "(cached) " >&6
   16088 else
   16089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16090 /* end confdefs.h.  */
   16091 int i;
   16092 int
   16093 main ()
   16094 {
   16095 
   16096   ;
   16097   return 0;
   16098 }
   16099 _ACEOF
   16100 if ac_fn_c_try_link "$LINENO"; then :
   16101   eval $cacheid=yes
   16102 else
   16103   eval $cacheid=no
   16104 fi
   16105 rm -f core conftest.err conftest.$ac_objext \
   16106     conftest$ac_exeext conftest.$ac_ext
   16107 fi
   16108 
   16109 
   16110 		CFLAGS="$xorg_testset_save_CFLAGS"
   16111 
   16112 		eval supported=\$$cacheid
   16113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16114 $as_echo "$supported" >&6; }
   16115 		if test "$supported" = "yes" ; then
   16116 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16117 			found="yes"
   16118 		fi
   16119 	fi
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 xorg_testset_save_CFLAGS="$CFLAGS"
   16136 
   16137 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16138 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16140 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16141 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16142   $as_echo_n "(cached) " >&6
   16143 else
   16144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16145 /* end confdefs.h.  */
   16146 int i;
   16147 _ACEOF
   16148 if ac_fn_c_try_compile "$LINENO"; then :
   16149   xorg_cv_cc_flag_unknown_warning_option=yes
   16150 else
   16151   xorg_cv_cc_flag_unknown_warning_option=no
   16152 fi
   16153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16154 fi
   16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16156 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16157 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16158 	CFLAGS="$xorg_testset_save_CFLAGS"
   16159 fi
   16160 
   16161 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16162 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16164 	fi
   16165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16167 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16168 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16169   $as_echo_n "(cached) " >&6
   16170 else
   16171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16172 /* end confdefs.h.  */
   16173 int i;
   16174 _ACEOF
   16175 if ac_fn_c_try_compile "$LINENO"; then :
   16176   xorg_cv_cc_flag_unused_command_line_argument=yes
   16177 else
   16178   xorg_cv_cc_flag_unused_command_line_argument=no
   16179 fi
   16180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16181 fi
   16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16183 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16184 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16185 	CFLAGS="$xorg_testset_save_CFLAGS"
   16186 fi
   16187 
   16188 found="no"
   16189 
   16190 	if test $found = "no" ; then
   16191 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16193 		fi
   16194 
   16195 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16197 		fi
   16198 
   16199 		CFLAGS="$CFLAGS -Wsequence-point"
   16200 
   16201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16202 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16203 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16204 		if eval \${$cacheid+:} false; then :
   16205   $as_echo_n "(cached) " >&6
   16206 else
   16207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16208 /* end confdefs.h.  */
   16209 int i;
   16210 int
   16211 main ()
   16212 {
   16213 
   16214   ;
   16215   return 0;
   16216 }
   16217 _ACEOF
   16218 if ac_fn_c_try_link "$LINENO"; then :
   16219   eval $cacheid=yes
   16220 else
   16221   eval $cacheid=no
   16222 fi
   16223 rm -f core conftest.err conftest.$ac_objext \
   16224     conftest$ac_exeext conftest.$ac_ext
   16225 fi
   16226 
   16227 
   16228 		CFLAGS="$xorg_testset_save_CFLAGS"
   16229 
   16230 		eval supported=\$$cacheid
   16231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16232 $as_echo "$supported" >&6; }
   16233 		if test "$supported" = "yes" ; then
   16234 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16235 			found="yes"
   16236 		fi
   16237 	fi
   16238 
   16239 
   16240 
   16241 
   16242 
   16243 
   16244 
   16245 
   16246 
   16247 
   16248 
   16249 
   16250 
   16251 
   16252 
   16253 xorg_testset_save_CFLAGS="$CFLAGS"
   16254 
   16255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16257 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16258 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16259 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16260   $as_echo_n "(cached) " >&6
   16261 else
   16262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16263 /* end confdefs.h.  */
   16264 int i;
   16265 _ACEOF
   16266 if ac_fn_c_try_compile "$LINENO"; then :
   16267   xorg_cv_cc_flag_unknown_warning_option=yes
   16268 else
   16269   xorg_cv_cc_flag_unknown_warning_option=no
   16270 fi
   16271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16272 fi
   16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16274 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16275 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16276 	CFLAGS="$xorg_testset_save_CFLAGS"
   16277 fi
   16278 
   16279 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16280 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16281 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16282 	fi
   16283 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16285 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16286 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16287   $as_echo_n "(cached) " >&6
   16288 else
   16289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16290 /* end confdefs.h.  */
   16291 int i;
   16292 _ACEOF
   16293 if ac_fn_c_try_compile "$LINENO"; then :
   16294   xorg_cv_cc_flag_unused_command_line_argument=yes
   16295 else
   16296   xorg_cv_cc_flag_unused_command_line_argument=no
   16297 fi
   16298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16299 fi
   16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16301 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16303 	CFLAGS="$xorg_testset_save_CFLAGS"
   16304 fi
   16305 
   16306 found="no"
   16307 
   16308 	if test $found = "no" ; then
   16309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16311 		fi
   16312 
   16313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16315 		fi
   16316 
   16317 		CFLAGS="$CFLAGS -Wreturn-type"
   16318 
   16319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16320 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16321 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16322 		if eval \${$cacheid+:} false; then :
   16323   $as_echo_n "(cached) " >&6
   16324 else
   16325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16326 /* end confdefs.h.  */
   16327 int i;
   16328 int
   16329 main ()
   16330 {
   16331 
   16332   ;
   16333   return 0;
   16334 }
   16335 _ACEOF
   16336 if ac_fn_c_try_link "$LINENO"; then :
   16337   eval $cacheid=yes
   16338 else
   16339   eval $cacheid=no
   16340 fi
   16341 rm -f core conftest.err conftest.$ac_objext \
   16342     conftest$ac_exeext conftest.$ac_ext
   16343 fi
   16344 
   16345 
   16346 		CFLAGS="$xorg_testset_save_CFLAGS"
   16347 
   16348 		eval supported=\$$cacheid
   16349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16350 $as_echo "$supported" >&6; }
   16351 		if test "$supported" = "yes" ; then
   16352 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16353 			found="yes"
   16354 		fi
   16355 	fi
   16356 
   16357 
   16358 
   16359 
   16360 
   16361 
   16362 
   16363 
   16364 
   16365 
   16366 
   16367 
   16368 
   16369 
   16370 
   16371 xorg_testset_save_CFLAGS="$CFLAGS"
   16372 
   16373 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16374 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16375 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16376 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16377 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16378   $as_echo_n "(cached) " >&6
   16379 else
   16380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16381 /* end confdefs.h.  */
   16382 int i;
   16383 _ACEOF
   16384 if ac_fn_c_try_compile "$LINENO"; then :
   16385   xorg_cv_cc_flag_unknown_warning_option=yes
   16386 else
   16387   xorg_cv_cc_flag_unknown_warning_option=no
   16388 fi
   16389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16390 fi
   16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16392 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16393 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16394 	CFLAGS="$xorg_testset_save_CFLAGS"
   16395 fi
   16396 
   16397 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16398 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16399 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16400 	fi
   16401 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16403 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16404 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16405   $as_echo_n "(cached) " >&6
   16406 else
   16407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16408 /* end confdefs.h.  */
   16409 int i;
   16410 _ACEOF
   16411 if ac_fn_c_try_compile "$LINENO"; then :
   16412   xorg_cv_cc_flag_unused_command_line_argument=yes
   16413 else
   16414   xorg_cv_cc_flag_unused_command_line_argument=no
   16415 fi
   16416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16417 fi
   16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16419 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16420 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16421 	CFLAGS="$xorg_testset_save_CFLAGS"
   16422 fi
   16423 
   16424 found="no"
   16425 
   16426 	if test $found = "no" ; then
   16427 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16429 		fi
   16430 
   16431 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16433 		fi
   16434 
   16435 		CFLAGS="$CFLAGS -Wtrigraphs"
   16436 
   16437 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16438 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16439 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16440 		if eval \${$cacheid+:} false; then :
   16441   $as_echo_n "(cached) " >&6
   16442 else
   16443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16444 /* end confdefs.h.  */
   16445 int i;
   16446 int
   16447 main ()
   16448 {
   16449 
   16450   ;
   16451   return 0;
   16452 }
   16453 _ACEOF
   16454 if ac_fn_c_try_link "$LINENO"; then :
   16455   eval $cacheid=yes
   16456 else
   16457   eval $cacheid=no
   16458 fi
   16459 rm -f core conftest.err conftest.$ac_objext \
   16460     conftest$ac_exeext conftest.$ac_ext
   16461 fi
   16462 
   16463 
   16464 		CFLAGS="$xorg_testset_save_CFLAGS"
   16465 
   16466 		eval supported=\$$cacheid
   16467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16468 $as_echo "$supported" >&6; }
   16469 		if test "$supported" = "yes" ; then
   16470 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16471 			found="yes"
   16472 		fi
   16473 	fi
   16474 
   16475 
   16476 
   16477 
   16478 
   16479 
   16480 
   16481 
   16482 
   16483 
   16484 
   16485 
   16486 
   16487 
   16488 
   16489 xorg_testset_save_CFLAGS="$CFLAGS"
   16490 
   16491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16493 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16494 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16495 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16496   $as_echo_n "(cached) " >&6
   16497 else
   16498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16499 /* end confdefs.h.  */
   16500 int i;
   16501 _ACEOF
   16502 if ac_fn_c_try_compile "$LINENO"; then :
   16503   xorg_cv_cc_flag_unknown_warning_option=yes
   16504 else
   16505   xorg_cv_cc_flag_unknown_warning_option=no
   16506 fi
   16507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16508 fi
   16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16510 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16511 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16512 	CFLAGS="$xorg_testset_save_CFLAGS"
   16513 fi
   16514 
   16515 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16516 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16517 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16518 	fi
   16519 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16521 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16522 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16523   $as_echo_n "(cached) " >&6
   16524 else
   16525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16526 /* end confdefs.h.  */
   16527 int i;
   16528 _ACEOF
   16529 if ac_fn_c_try_compile "$LINENO"; then :
   16530   xorg_cv_cc_flag_unused_command_line_argument=yes
   16531 else
   16532   xorg_cv_cc_flag_unused_command_line_argument=no
   16533 fi
   16534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16535 fi
   16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16537 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16538 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16539 	CFLAGS="$xorg_testset_save_CFLAGS"
   16540 fi
   16541 
   16542 found="no"
   16543 
   16544 	if test $found = "no" ; then
   16545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16547 		fi
   16548 
   16549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16551 		fi
   16552 
   16553 		CFLAGS="$CFLAGS -Warray-bounds"
   16554 
   16555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16556 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16557 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16558 		if eval \${$cacheid+:} false; then :
   16559   $as_echo_n "(cached) " >&6
   16560 else
   16561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16562 /* end confdefs.h.  */
   16563 int i;
   16564 int
   16565 main ()
   16566 {
   16567 
   16568   ;
   16569   return 0;
   16570 }
   16571 _ACEOF
   16572 if ac_fn_c_try_link "$LINENO"; then :
   16573   eval $cacheid=yes
   16574 else
   16575   eval $cacheid=no
   16576 fi
   16577 rm -f core conftest.err conftest.$ac_objext \
   16578     conftest$ac_exeext conftest.$ac_ext
   16579 fi
   16580 
   16581 
   16582 		CFLAGS="$xorg_testset_save_CFLAGS"
   16583 
   16584 		eval supported=\$$cacheid
   16585 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16586 $as_echo "$supported" >&6; }
   16587 		if test "$supported" = "yes" ; then
   16588 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16589 			found="yes"
   16590 		fi
   16591 	fi
   16592 
   16593 
   16594 
   16595 
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 xorg_testset_save_CFLAGS="$CFLAGS"
   16608 
   16609 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16610 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16611 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16612 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16613 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16614   $as_echo_n "(cached) " >&6
   16615 else
   16616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16617 /* end confdefs.h.  */
   16618 int i;
   16619 _ACEOF
   16620 if ac_fn_c_try_compile "$LINENO"; then :
   16621   xorg_cv_cc_flag_unknown_warning_option=yes
   16622 else
   16623   xorg_cv_cc_flag_unknown_warning_option=no
   16624 fi
   16625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16626 fi
   16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16628 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16629 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16630 	CFLAGS="$xorg_testset_save_CFLAGS"
   16631 fi
   16632 
   16633 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16634 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16635 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16636 	fi
   16637 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16639 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16640 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16641   $as_echo_n "(cached) " >&6
   16642 else
   16643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16644 /* end confdefs.h.  */
   16645 int i;
   16646 _ACEOF
   16647 if ac_fn_c_try_compile "$LINENO"; then :
   16648   xorg_cv_cc_flag_unused_command_line_argument=yes
   16649 else
   16650   xorg_cv_cc_flag_unused_command_line_argument=no
   16651 fi
   16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16653 fi
   16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16655 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16657 	CFLAGS="$xorg_testset_save_CFLAGS"
   16658 fi
   16659 
   16660 found="no"
   16661 
   16662 	if test $found = "no" ; then
   16663 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16665 		fi
   16666 
   16667 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16669 		fi
   16670 
   16671 		CFLAGS="$CFLAGS -Wwrite-strings"
   16672 
   16673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16674 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16675 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16676 		if eval \${$cacheid+:} false; then :
   16677   $as_echo_n "(cached) " >&6
   16678 else
   16679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16680 /* end confdefs.h.  */
   16681 int i;
   16682 int
   16683 main ()
   16684 {
   16685 
   16686   ;
   16687   return 0;
   16688 }
   16689 _ACEOF
   16690 if ac_fn_c_try_link "$LINENO"; then :
   16691   eval $cacheid=yes
   16692 else
   16693   eval $cacheid=no
   16694 fi
   16695 rm -f core conftest.err conftest.$ac_objext \
   16696     conftest$ac_exeext conftest.$ac_ext
   16697 fi
   16698 
   16699 
   16700 		CFLAGS="$xorg_testset_save_CFLAGS"
   16701 
   16702 		eval supported=\$$cacheid
   16703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16704 $as_echo "$supported" >&6; }
   16705 		if test "$supported" = "yes" ; then
   16706 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16707 			found="yes"
   16708 		fi
   16709 	fi
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 xorg_testset_save_CFLAGS="$CFLAGS"
   16726 
   16727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16730 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16731 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16732   $as_echo_n "(cached) " >&6
   16733 else
   16734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16735 /* end confdefs.h.  */
   16736 int i;
   16737 _ACEOF
   16738 if ac_fn_c_try_compile "$LINENO"; then :
   16739   xorg_cv_cc_flag_unknown_warning_option=yes
   16740 else
   16741   xorg_cv_cc_flag_unknown_warning_option=no
   16742 fi
   16743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16744 fi
   16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16746 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16748 	CFLAGS="$xorg_testset_save_CFLAGS"
   16749 fi
   16750 
   16751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16754 	fi
   16755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16757 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16758 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16759   $as_echo_n "(cached) " >&6
   16760 else
   16761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16762 /* end confdefs.h.  */
   16763 int i;
   16764 _ACEOF
   16765 if ac_fn_c_try_compile "$LINENO"; then :
   16766   xorg_cv_cc_flag_unused_command_line_argument=yes
   16767 else
   16768   xorg_cv_cc_flag_unused_command_line_argument=no
   16769 fi
   16770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16771 fi
   16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16773 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16775 	CFLAGS="$xorg_testset_save_CFLAGS"
   16776 fi
   16777 
   16778 found="no"
   16779 
   16780 	if test $found = "no" ; then
   16781 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16783 		fi
   16784 
   16785 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16787 		fi
   16788 
   16789 		CFLAGS="$CFLAGS -Waddress"
   16790 
   16791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16792 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16793 		cacheid=xorg_cv_cc_flag__Waddress
   16794 		if eval \${$cacheid+:} false; then :
   16795   $as_echo_n "(cached) " >&6
   16796 else
   16797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16798 /* end confdefs.h.  */
   16799 int i;
   16800 int
   16801 main ()
   16802 {
   16803 
   16804   ;
   16805   return 0;
   16806 }
   16807 _ACEOF
   16808 if ac_fn_c_try_link "$LINENO"; then :
   16809   eval $cacheid=yes
   16810 else
   16811   eval $cacheid=no
   16812 fi
   16813 rm -f core conftest.err conftest.$ac_objext \
   16814     conftest$ac_exeext conftest.$ac_ext
   16815 fi
   16816 
   16817 
   16818 		CFLAGS="$xorg_testset_save_CFLAGS"
   16819 
   16820 		eval supported=\$$cacheid
   16821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16822 $as_echo "$supported" >&6; }
   16823 		if test "$supported" = "yes" ; then
   16824 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16825 			found="yes"
   16826 		fi
   16827 	fi
   16828 
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 xorg_testset_save_CFLAGS="$CFLAGS"
   16844 
   16845 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16848 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16849 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16850   $as_echo_n "(cached) " >&6
   16851 else
   16852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16853 /* end confdefs.h.  */
   16854 int i;
   16855 _ACEOF
   16856 if ac_fn_c_try_compile "$LINENO"; then :
   16857   xorg_cv_cc_flag_unknown_warning_option=yes
   16858 else
   16859   xorg_cv_cc_flag_unknown_warning_option=no
   16860 fi
   16861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16862 fi
   16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16864 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16866 	CFLAGS="$xorg_testset_save_CFLAGS"
   16867 fi
   16868 
   16869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16872 	fi
   16873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16875 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16876 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16877   $as_echo_n "(cached) " >&6
   16878 else
   16879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16880 /* end confdefs.h.  */
   16881 int i;
   16882 _ACEOF
   16883 if ac_fn_c_try_compile "$LINENO"; then :
   16884   xorg_cv_cc_flag_unused_command_line_argument=yes
   16885 else
   16886   xorg_cv_cc_flag_unused_command_line_argument=no
   16887 fi
   16888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16889 fi
   16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16891 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16893 	CFLAGS="$xorg_testset_save_CFLAGS"
   16894 fi
   16895 
   16896 found="no"
   16897 
   16898 	if test $found = "no" ; then
   16899 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16901 		fi
   16902 
   16903 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16905 		fi
   16906 
   16907 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16908 
   16909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16910 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16911 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16912 		if eval \${$cacheid+:} false; then :
   16913   $as_echo_n "(cached) " >&6
   16914 else
   16915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16916 /* end confdefs.h.  */
   16917 int i;
   16918 int
   16919 main ()
   16920 {
   16921 
   16922   ;
   16923   return 0;
   16924 }
   16925 _ACEOF
   16926 if ac_fn_c_try_link "$LINENO"; then :
   16927   eval $cacheid=yes
   16928 else
   16929   eval $cacheid=no
   16930 fi
   16931 rm -f core conftest.err conftest.$ac_objext \
   16932     conftest$ac_exeext conftest.$ac_ext
   16933 fi
   16934 
   16935 
   16936 		CFLAGS="$xorg_testset_save_CFLAGS"
   16937 
   16938 		eval supported=\$$cacheid
   16939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16940 $as_echo "$supported" >&6; }
   16941 		if test "$supported" = "yes" ; then
   16942 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16943 			found="yes"
   16944 		fi
   16945 	fi
   16946 
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 xorg_testset_save_CFLAGS="$CFLAGS"
   16962 
   16963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16966 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16967 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16968   $as_echo_n "(cached) " >&6
   16969 else
   16970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16971 /* end confdefs.h.  */
   16972 int i;
   16973 _ACEOF
   16974 if ac_fn_c_try_compile "$LINENO"; then :
   16975   xorg_cv_cc_flag_unknown_warning_option=yes
   16976 else
   16977   xorg_cv_cc_flag_unknown_warning_option=no
   16978 fi
   16979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16980 fi
   16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16982 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16983 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16984 	CFLAGS="$xorg_testset_save_CFLAGS"
   16985 fi
   16986 
   16987 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16988 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16989 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16990 	fi
   16991 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16993 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16994 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16995   $as_echo_n "(cached) " >&6
   16996 else
   16997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16998 /* end confdefs.h.  */
   16999 int i;
   17000 _ACEOF
   17001 if ac_fn_c_try_compile "$LINENO"; then :
   17002   xorg_cv_cc_flag_unused_command_line_argument=yes
   17003 else
   17004   xorg_cv_cc_flag_unused_command_line_argument=no
   17005 fi
   17006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17007 fi
   17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17009 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17011 	CFLAGS="$xorg_testset_save_CFLAGS"
   17012 fi
   17013 
   17014 found="no"
   17015 
   17016 	if test $found = "no" ; then
   17017 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17019 		fi
   17020 
   17021 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17023 		fi
   17024 
   17025 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17026 
   17027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17028 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17029 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17030 		if eval \${$cacheid+:} false; then :
   17031   $as_echo_n "(cached) " >&6
   17032 else
   17033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17034 /* end confdefs.h.  */
   17035 int i;
   17036 int
   17037 main ()
   17038 {
   17039 
   17040   ;
   17041   return 0;
   17042 }
   17043 _ACEOF
   17044 if ac_fn_c_try_link "$LINENO"; then :
   17045   eval $cacheid=yes
   17046 else
   17047   eval $cacheid=no
   17048 fi
   17049 rm -f core conftest.err conftest.$ac_objext \
   17050     conftest$ac_exeext conftest.$ac_ext
   17051 fi
   17052 
   17053 
   17054 		CFLAGS="$xorg_testset_save_CFLAGS"
   17055 
   17056 		eval supported=\$$cacheid
   17057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17058 $as_echo "$supported" >&6; }
   17059 		if test "$supported" = "yes" ; then
   17060 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17061 			found="yes"
   17062 		fi
   17063 	fi
   17064 
   17065 
   17066 fi
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 		CWARNFLAGS="$BASE_CFLAGS"
   17075 		if  test "x$GCC" = xyes ; then
   17076 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17077 		fi
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 # Check whether --enable-strict-compilation was given.
   17087 if test "${enable_strict_compilation+set}" = set; then :
   17088   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17089 else
   17090   STRICT_COMPILE=no
   17091 fi
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 STRICT_CFLAGS=""
   17099 
   17100 
   17101 
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 xorg_testset_save_CFLAGS="$CFLAGS"
   17113 
   17114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17117 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17118 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17119   $as_echo_n "(cached) " >&6
   17120 else
   17121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17122 /* end confdefs.h.  */
   17123 int i;
   17124 _ACEOF
   17125 if ac_fn_c_try_compile "$LINENO"; then :
   17126   xorg_cv_cc_flag_unknown_warning_option=yes
   17127 else
   17128   xorg_cv_cc_flag_unknown_warning_option=no
   17129 fi
   17130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17131 fi
   17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17133 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17134 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17135 	CFLAGS="$xorg_testset_save_CFLAGS"
   17136 fi
   17137 
   17138 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17139 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17140 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17141 	fi
   17142 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17144 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17145 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17146   $as_echo_n "(cached) " >&6
   17147 else
   17148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17149 /* end confdefs.h.  */
   17150 int i;
   17151 _ACEOF
   17152 if ac_fn_c_try_compile "$LINENO"; then :
   17153   xorg_cv_cc_flag_unused_command_line_argument=yes
   17154 else
   17155   xorg_cv_cc_flag_unused_command_line_argument=no
   17156 fi
   17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17158 fi
   17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17160 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17162 	CFLAGS="$xorg_testset_save_CFLAGS"
   17163 fi
   17164 
   17165 found="no"
   17166 
   17167 	if test $found = "no" ; then
   17168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17170 		fi
   17171 
   17172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17174 		fi
   17175 
   17176 		CFLAGS="$CFLAGS -pedantic"
   17177 
   17178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17179 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17180 		cacheid=xorg_cv_cc_flag__pedantic
   17181 		if eval \${$cacheid+:} false; then :
   17182   $as_echo_n "(cached) " >&6
   17183 else
   17184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17185 /* end confdefs.h.  */
   17186 int i;
   17187 int
   17188 main ()
   17189 {
   17190 
   17191   ;
   17192   return 0;
   17193 }
   17194 _ACEOF
   17195 if ac_fn_c_try_link "$LINENO"; then :
   17196   eval $cacheid=yes
   17197 else
   17198   eval $cacheid=no
   17199 fi
   17200 rm -f core conftest.err conftest.$ac_objext \
   17201     conftest$ac_exeext conftest.$ac_ext
   17202 fi
   17203 
   17204 
   17205 		CFLAGS="$xorg_testset_save_CFLAGS"
   17206 
   17207 		eval supported=\$$cacheid
   17208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17209 $as_echo "$supported" >&6; }
   17210 		if test "$supported" = "yes" ; then
   17211 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17212 			found="yes"
   17213 		fi
   17214 	fi
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 xorg_testset_save_CFLAGS="$CFLAGS"
   17231 
   17232 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17233 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17235 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17236 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17237   $as_echo_n "(cached) " >&6
   17238 else
   17239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17240 /* end confdefs.h.  */
   17241 int i;
   17242 _ACEOF
   17243 if ac_fn_c_try_compile "$LINENO"; then :
   17244   xorg_cv_cc_flag_unknown_warning_option=yes
   17245 else
   17246   xorg_cv_cc_flag_unknown_warning_option=no
   17247 fi
   17248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17249 fi
   17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17251 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17252 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17253 	CFLAGS="$xorg_testset_save_CFLAGS"
   17254 fi
   17255 
   17256 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17257 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17258 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17259 	fi
   17260 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17262 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17263 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17264   $as_echo_n "(cached) " >&6
   17265 else
   17266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17267 /* end confdefs.h.  */
   17268 int i;
   17269 _ACEOF
   17270 if ac_fn_c_try_compile "$LINENO"; then :
   17271   xorg_cv_cc_flag_unused_command_line_argument=yes
   17272 else
   17273   xorg_cv_cc_flag_unused_command_line_argument=no
   17274 fi
   17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17276 fi
   17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17278 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17279 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17280 	CFLAGS="$xorg_testset_save_CFLAGS"
   17281 fi
   17282 
   17283 found="no"
   17284 
   17285 	if test $found = "no" ; then
   17286 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17287 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17288 		fi
   17289 
   17290 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17291 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17292 		fi
   17293 
   17294 		CFLAGS="$CFLAGS -Werror"
   17295 
   17296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17297 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17298 		cacheid=xorg_cv_cc_flag__Werror
   17299 		if eval \${$cacheid+:} false; then :
   17300   $as_echo_n "(cached) " >&6
   17301 else
   17302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17303 /* end confdefs.h.  */
   17304 int i;
   17305 int
   17306 main ()
   17307 {
   17308 
   17309   ;
   17310   return 0;
   17311 }
   17312 _ACEOF
   17313 if ac_fn_c_try_link "$LINENO"; then :
   17314   eval $cacheid=yes
   17315 else
   17316   eval $cacheid=no
   17317 fi
   17318 rm -f core conftest.err conftest.$ac_objext \
   17319     conftest$ac_exeext conftest.$ac_ext
   17320 fi
   17321 
   17322 
   17323 		CFLAGS="$xorg_testset_save_CFLAGS"
   17324 
   17325 		eval supported=\$$cacheid
   17326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17327 $as_echo "$supported" >&6; }
   17328 		if test "$supported" = "yes" ; then
   17329 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17330 			found="yes"
   17331 		fi
   17332 	fi
   17333 
   17334 	if test $found = "no" ; then
   17335 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17337 		fi
   17338 
   17339 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17341 		fi
   17342 
   17343 		CFLAGS="$CFLAGS -errwarn"
   17344 
   17345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17346 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17347 		cacheid=xorg_cv_cc_flag__errwarn
   17348 		if eval \${$cacheid+:} false; then :
   17349   $as_echo_n "(cached) " >&6
   17350 else
   17351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17352 /* end confdefs.h.  */
   17353 int i;
   17354 int
   17355 main ()
   17356 {
   17357 
   17358   ;
   17359   return 0;
   17360 }
   17361 _ACEOF
   17362 if ac_fn_c_try_link "$LINENO"; then :
   17363   eval $cacheid=yes
   17364 else
   17365   eval $cacheid=no
   17366 fi
   17367 rm -f core conftest.err conftest.$ac_objext \
   17368     conftest$ac_exeext conftest.$ac_ext
   17369 fi
   17370 
   17371 
   17372 		CFLAGS="$xorg_testset_save_CFLAGS"
   17373 
   17374 		eval supported=\$$cacheid
   17375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17376 $as_echo "$supported" >&6; }
   17377 		if test "$supported" = "yes" ; then
   17378 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17379 			found="yes"
   17380 		fi
   17381 	fi
   17382 
   17383 
   17384 
   17385 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17386 # activate it with -Werror, so we add it here explicitly.
   17387 
   17388 
   17389 
   17390 
   17391 
   17392 
   17393 
   17394 
   17395 
   17396 
   17397 
   17398 
   17399 
   17400 xorg_testset_save_CFLAGS="$CFLAGS"
   17401 
   17402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17407   $as_echo_n "(cached) " >&6
   17408 else
   17409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17410 /* end confdefs.h.  */
   17411 int i;
   17412 _ACEOF
   17413 if ac_fn_c_try_compile "$LINENO"; then :
   17414   xorg_cv_cc_flag_unknown_warning_option=yes
   17415 else
   17416   xorg_cv_cc_flag_unknown_warning_option=no
   17417 fi
   17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17419 fi
   17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17423 	CFLAGS="$xorg_testset_save_CFLAGS"
   17424 fi
   17425 
   17426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17429 	fi
   17430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17434   $as_echo_n "(cached) " >&6
   17435 else
   17436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17437 /* end confdefs.h.  */
   17438 int i;
   17439 _ACEOF
   17440 if ac_fn_c_try_compile "$LINENO"; then :
   17441   xorg_cv_cc_flag_unused_command_line_argument=yes
   17442 else
   17443   xorg_cv_cc_flag_unused_command_line_argument=no
   17444 fi
   17445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17446 fi
   17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17450 	CFLAGS="$xorg_testset_save_CFLAGS"
   17451 fi
   17452 
   17453 found="no"
   17454 
   17455 	if test $found = "no" ; then
   17456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17458 		fi
   17459 
   17460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17462 		fi
   17463 
   17464 		CFLAGS="$CFLAGS -Werror=attributes"
   17465 
   17466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17467 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17468 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17469 		if eval \${$cacheid+:} false; then :
   17470   $as_echo_n "(cached) " >&6
   17471 else
   17472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17473 /* end confdefs.h.  */
   17474 int i;
   17475 int
   17476 main ()
   17477 {
   17478 
   17479   ;
   17480   return 0;
   17481 }
   17482 _ACEOF
   17483 if ac_fn_c_try_link "$LINENO"; then :
   17484   eval $cacheid=yes
   17485 else
   17486   eval $cacheid=no
   17487 fi
   17488 rm -f core conftest.err conftest.$ac_objext \
   17489     conftest$ac_exeext conftest.$ac_ext
   17490 fi
   17491 
   17492 
   17493 		CFLAGS="$xorg_testset_save_CFLAGS"
   17494 
   17495 		eval supported=\$$cacheid
   17496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17497 $as_echo "$supported" >&6; }
   17498 		if test "$supported" = "yes" ; then
   17499 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17500 			found="yes"
   17501 		fi
   17502 	fi
   17503 
   17504 
   17505 
   17506 if test "x$STRICT_COMPILE" = "xyes"; then
   17507     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17508     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17509 fi
   17510 
   17511 
   17512 
   17513 
   17514 
   17515 
   17516 cat >>confdefs.h <<_ACEOF
   17517 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17518 _ACEOF
   17519 
   17520 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17521 	if test "x$PVM" = "x"; then
   17522 		PVM="0"
   17523 	fi
   17524 
   17525 cat >>confdefs.h <<_ACEOF
   17526 #define PACKAGE_VERSION_MINOR $PVM
   17527 _ACEOF
   17528 
   17529 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17530 	if test "x$PVP" = "x"; then
   17531 		PVP="0"
   17532 	fi
   17533 
   17534 cat >>confdefs.h <<_ACEOF
   17535 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17536 _ACEOF
   17537 
   17538 
   17539 
   17540 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17541 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17542 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17543 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17544 
   17545 
   17546 
   17547 
   17548 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17549 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17550 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17551 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17552 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 if test x$APP_MAN_SUFFIX = x    ; then
   17560     APP_MAN_SUFFIX=1
   17561 fi
   17562 if test x$APP_MAN_DIR = x    ; then
   17563     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17564 fi
   17565 
   17566 if test x$LIB_MAN_SUFFIX = x    ; then
   17567     LIB_MAN_SUFFIX=3
   17568 fi
   17569 if test x$LIB_MAN_DIR = x    ; then
   17570     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17571 fi
   17572 
   17573 if test x$FILE_MAN_SUFFIX = x    ; then
   17574     case $host_os in
   17575 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17576 	*)		FILE_MAN_SUFFIX=5  ;;
   17577     esac
   17578 fi
   17579 if test x$FILE_MAN_DIR = x    ; then
   17580     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17581 fi
   17582 
   17583 if test x$MISC_MAN_SUFFIX = x    ; then
   17584     case $host_os in
   17585 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17586 	*)		MISC_MAN_SUFFIX=7  ;;
   17587     esac
   17588 fi
   17589 if test x$MISC_MAN_DIR = x    ; then
   17590     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17591 fi
   17592 
   17593 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17594     case $host_os in
   17595 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17596 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17597     esac
   17598 fi
   17599 if test x$DRIVER_MAN_DIR = x    ; then
   17600     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17601 fi
   17602 
   17603 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17604     case $host_os in
   17605 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17606 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17607     esac
   17608 fi
   17609 if test x$ADMIN_MAN_DIR = x    ; then
   17610     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17611 fi
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 XORG_MAN_PAGE="X Version 11"
   17628 
   17629 MAN_SUBSTS="\
   17630 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17631 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17632 	-e 's|__xservername__|Xorg|g' \
   17633 	-e 's|__xconfigfile__|xorg.conf|g' \
   17634 	-e 's|__projectroot__|\$(prefix)|g' \
   17635 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17636 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17637 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17638 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17639 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17640 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17641 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17642 
   17643 
   17644 
   17645 # Check whether --enable-silent-rules was given.
   17646 if test "${enable_silent_rules+set}" = set; then :
   17647   enableval=$enable_silent_rules;
   17648 fi
   17649 
   17650 case $enable_silent_rules in # (((
   17651   yes) AM_DEFAULT_VERBOSITY=0;;
   17652    no) AM_DEFAULT_VERBOSITY=1;;
   17653     *) AM_DEFAULT_VERBOSITY=0;;
   17654 esac
   17655 am_make=${MAKE-make}
   17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17657 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17658 if ${am_cv_make_support_nested_variables+:} false; then :
   17659   $as_echo_n "(cached) " >&6
   17660 else
   17661   if $as_echo 'TRUE=$(BAR$(V))
   17662 BAR0=false
   17663 BAR1=true
   17664 V=1
   17665 am__doit:
   17666 	@$(TRUE)
   17667 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17668   am_cv_make_support_nested_variables=yes
   17669 else
   17670   am_cv_make_support_nested_variables=no
   17671 fi
   17672 fi
   17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17674 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17675 if test $am_cv_make_support_nested_variables = yes; then
   17676     AM_V='$(V)'
   17677   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17678 else
   17679   AM_V=$AM_DEFAULT_VERBOSITY
   17680   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17681 fi
   17682 AM_BACKSLASH='\'
   17683 
   17684 
   17685 
   17686 # Check whether --enable-malloc0returnsnull was given.
   17687 if test "${enable_malloc0returnsnull+set}" = set; then :
   17688   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17689 else
   17690   MALLOC_ZERO_RETURNS_NULL=auto
   17691 fi
   17692 
   17693 
   17694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17695 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17696 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17697 	if test "$cross_compiling" = yes; then :
   17698   MALLOC_ZERO_RETURNS_NULL=yes
   17699 else
   17700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17701 /* end confdefs.h.  */
   17702 
   17703 #include <stdlib.h>
   17704 
   17705 int
   17706 main ()
   17707 {
   17708 
   17709     char *m0, *r0, *c0, *p;
   17710     m0 = malloc(0);
   17711     p = malloc(10);
   17712     r0 = realloc(p,0);
   17713     c0 = calloc(0,10);
   17714     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17715 
   17716   ;
   17717   return 0;
   17718 }
   17719 _ACEOF
   17720 if ac_fn_c_try_run "$LINENO"; then :
   17721   MALLOC_ZERO_RETURNS_NULL=yes
   17722 else
   17723   MALLOC_ZERO_RETURNS_NULL=no
   17724 fi
   17725 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17726   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17727 fi
   17728 
   17729 fi
   17730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17731 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17732 
   17733 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17734 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17735 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17736 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17737 else
   17738 	MALLOC_ZERO_CFLAGS=""
   17739 	XMALLOC_ZERO_CFLAGS=""
   17740 	XTMALLOC_ZERO_CFLAGS=""
   17741 fi
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 # Check randr configuration, strip extra digits from package version to
   17749 # find the required protocol version
   17750 RANDR_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   17751 
   17752 
   17753 # Obtain compiler/linker options for depedencies
   17754 
   17755 pkg_failed=no
   17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RANDR" >&5
   17757 $as_echo_n "checking for RANDR... " >&6; }
   17758 
   17759 if test -n "$RANDR_CFLAGS"; then
   17760     pkg_cv_RANDR_CFLAGS="$RANDR_CFLAGS"
   17761  elif test -n "$PKG_CONFIG"; then
   17762     if test -n "$PKG_CONFIG" && \
   17763     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\""; } >&5
   17764   ($PKG_CONFIG --exists --print-errors "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto") 2>&5
   17765   ac_status=$?
   17766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17767   test $ac_status = 0; }; then
   17768   pkg_cv_RANDR_CFLAGS=`$PKG_CONFIG --cflags "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>/dev/null`
   17769 else
   17770   pkg_failed=yes
   17771 fi
   17772  else
   17773     pkg_failed=untried
   17774 fi
   17775 if test -n "$RANDR_LIBS"; then
   17776     pkg_cv_RANDR_LIBS="$RANDR_LIBS"
   17777  elif test -n "$PKG_CONFIG"; then
   17778     if test -n "$PKG_CONFIG" && \
   17779     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\""; } >&5
   17780   ($PKG_CONFIG --exists --print-errors "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto") 2>&5
   17781   ac_status=$?
   17782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17783   test $ac_status = 0; }; then
   17784   pkg_cv_RANDR_LIBS=`$PKG_CONFIG --libs "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>/dev/null`
   17785 else
   17786   pkg_failed=yes
   17787 fi
   17788  else
   17789     pkg_failed=untried
   17790 fi
   17791 
   17792 
   17793 
   17794 if test $pkg_failed = yes; then
   17795 
   17796 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17797         _pkg_short_errors_supported=yes
   17798 else
   17799         _pkg_short_errors_supported=no
   17800 fi
   17801         if test $_pkg_short_errors_supported = yes; then
   17802 	        RANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>&1`
   17803         else
   17804 	        RANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>&1`
   17805         fi
   17806 	# Put the nasty error message in config.log where it belongs
   17807 	echo "$RANDR_PKG_ERRORS" >&5
   17808 
   17809 	as_fn_error $? "Package requirements (x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto) were not met:
   17810 
   17811 $RANDR_PKG_ERRORS
   17812 
   17813 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17814 installed software in a non-standard prefix.
   17815 
   17816 Alternatively, you may set the environment variables RANDR_CFLAGS
   17817 and RANDR_LIBS to avoid the need to call pkg-config.
   17818 See the pkg-config man page for more details.
   17819 " "$LINENO" 5
   17820 elif test $pkg_failed = untried; then
   17821 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17823 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17824 is in your PATH or set the PKG_CONFIG environment variable to the full
   17825 path to pkg-config.
   17826 
   17827 Alternatively, you may set the environment variables RANDR_CFLAGS
   17828 and RANDR_LIBS to avoid the need to call pkg-config.
   17829 See the pkg-config man page for more details.
   17830 
   17831 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17832 See \`config.log' for more details" "$LINENO" 5; }
   17833 else
   17834 	RANDR_CFLAGS=$pkg_cv_RANDR_CFLAGS
   17835 	RANDR_LIBS=$pkg_cv_RANDR_LIBS
   17836         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17837 $as_echo "yes" >&6; }
   17838 	:
   17839 fi
   17840 
   17841 # Check for _XEatDataWords function that may be patched into older Xlib release
   17842 SAVE_LIBS="$LIBS"
   17843 LIBS="$RANDR_LIBS"
   17844 for ac_func in _XEatDataWords
   17845 do :
   17846   ac_fn_c_check_func "$LINENO" "_XEatDataWords" "ac_cv_func__XEatDataWords"
   17847 if test "x$ac_cv_func__XEatDataWords" = xyes; then :
   17848   cat >>confdefs.h <<_ACEOF
   17849 #define HAVE__XEATDATAWORDS 1
   17850 _ACEOF
   17851 
   17852 fi
   17853 done
   17854 
   17855 LIBS="$SAVE_LIBS"
   17856 
   17857 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xrandr.pc"
   17858 
   17859 cat >confcache <<\_ACEOF
   17860 # This file is a shell script that caches the results of configure
   17861 # tests run on this system so they can be shared between configure
   17862 # scripts and configure runs, see configure's option --config-cache.
   17863 # It is not useful on other systems.  If it contains results you don't
   17864 # want to keep, you may remove or edit it.
   17865 #
   17866 # config.status only pays attention to the cache file if you give it
   17867 # the --recheck option to rerun configure.
   17868 #
   17869 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17870 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17871 # following values.
   17872 
   17873 _ACEOF
   17874 
   17875 # The following way of writing the cache mishandles newlines in values,
   17876 # but we know of no workaround that is simple, portable, and efficient.
   17877 # So, we kill variables containing newlines.
   17878 # Ultrix sh set writes to stderr and can't be redirected directly,
   17879 # and sets the high bit in the cache file unless we assign to the vars.
   17880 (
   17881   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17882     eval ac_val=\$$ac_var
   17883     case $ac_val in #(
   17884     *${as_nl}*)
   17885       case $ac_var in #(
   17886       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17887 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17888       esac
   17889       case $ac_var in #(
   17890       _ | IFS | as_nl) ;; #(
   17891       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17892       *) { eval $ac_var=; unset $ac_var;} ;;
   17893       esac ;;
   17894     esac
   17895   done
   17896 
   17897   (set) 2>&1 |
   17898     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17899     *${as_nl}ac_space=\ *)
   17900       # `set' does not quote correctly, so add quotes: double-quote
   17901       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17902       sed -n \
   17903 	"s/'/'\\\\''/g;
   17904 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17905       ;; #(
   17906     *)
   17907       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17908       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17909       ;;
   17910     esac |
   17911     sort
   17912 ) |
   17913   sed '
   17914      /^ac_cv_env_/b end
   17915      t clear
   17916      :clear
   17917      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17918      t end
   17919      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17920      :end' >>confcache
   17921 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17922   if test -w "$cache_file"; then
   17923     if test "x$cache_file" != "x/dev/null"; then
   17924       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17925 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17926       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17927 	cat confcache >"$cache_file"
   17928       else
   17929         case $cache_file in #(
   17930         */* | ?:*)
   17931 	  mv -f confcache "$cache_file"$$ &&
   17932 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17933         *)
   17934 	  mv -f confcache "$cache_file" ;;
   17935 	esac
   17936       fi
   17937     fi
   17938   else
   17939     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17940 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17941   fi
   17942 fi
   17943 rm -f confcache
   17944 
   17945 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17946 # Let make expand exec_prefix.
   17947 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17948 
   17949 DEFS=-DHAVE_CONFIG_H
   17950 
   17951 ac_libobjs=
   17952 ac_ltlibobjs=
   17953 U=
   17954 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17955   # 1. Remove the extension, and $U if already installed.
   17956   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17957   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17958   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17959   #    will be set to the directory where LIBOBJS objects are built.
   17960   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17961   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17962 done
   17963 LIBOBJS=$ac_libobjs
   17964 
   17965 LTLIBOBJS=$ac_ltlibobjs
   17966 
   17967 
   17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17969 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17970    if test -n "$am_sleep_pid"; then
   17971      # Hide warnings about reused PIDs.
   17972      wait $am_sleep_pid 2>/dev/null
   17973    fi
   17974    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17975 $as_echo "done" >&6; }
   17976  if test -n "$EXEEXT"; then
   17977   am__EXEEXT_TRUE=
   17978   am__EXEEXT_FALSE='#'
   17979 else
   17980   am__EXEEXT_TRUE='#'
   17981   am__EXEEXT_FALSE=
   17982 fi
   17983 
   17984 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17985   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17987 fi
   17988 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17989   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17991 fi
   17992 
   17993 : "${CONFIG_STATUS=./config.status}"
   17994 ac_write_fail=0
   17995 ac_clean_files_save=$ac_clean_files
   17996 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17997 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17998 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17999 as_write_fail=0
   18000 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18001 #! $SHELL
   18002 # Generated by $as_me.
   18003 # Run this file to recreate the current configuration.
   18004 # Compiler output produced by configure, useful for debugging
   18005 # configure, is in config.log if it exists.
   18006 
   18007 debug=false
   18008 ac_cs_recheck=false
   18009 ac_cs_silent=false
   18010 
   18011 SHELL=\${CONFIG_SHELL-$SHELL}
   18012 export SHELL
   18013 _ASEOF
   18014 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18015 ## -------------------- ##
   18016 ## M4sh Initialization. ##
   18017 ## -------------------- ##
   18018 
   18019 # Be more Bourne compatible
   18020 DUALCASE=1; export DUALCASE # for MKS sh
   18021 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18022   emulate sh
   18023   NULLCMD=:
   18024   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18025   # is contrary to our usage.  Disable this feature.
   18026   alias -g '${1+"$@"}'='"$@"'
   18027   setopt NO_GLOB_SUBST
   18028 else
   18029   case `(set -o) 2>/dev/null` in #(
   18030   *posix*) :
   18031     set -o posix ;; #(
   18032   *) :
   18033      ;;
   18034 esac
   18035 fi
   18036 
   18037 
   18038 as_nl='
   18039 '
   18040 export as_nl
   18041 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18042 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18043 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18044 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18045 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18046 # but without wasting forks for bash or zsh.
   18047 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18048     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18049   as_echo='print -r --'
   18050   as_echo_n='print -rn --'
   18051 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18052   as_echo='printf %s\n'
   18053   as_echo_n='printf %s'
   18054 else
   18055   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18056     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18057     as_echo_n='/usr/ucb/echo -n'
   18058   else
   18059     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18060     as_echo_n_body='eval
   18061       arg=$1;
   18062       case $arg in #(
   18063       *"$as_nl"*)
   18064 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18065 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18066       esac;
   18067       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18068     '
   18069     export as_echo_n_body
   18070     as_echo_n='sh -c $as_echo_n_body as_echo'
   18071   fi
   18072   export as_echo_body
   18073   as_echo='sh -c $as_echo_body as_echo'
   18074 fi
   18075 
   18076 # The user is always right.
   18077 if test "${PATH_SEPARATOR+set}" != set; then
   18078   PATH_SEPARATOR=:
   18079   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18080     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18081       PATH_SEPARATOR=';'
   18082   }
   18083 fi
   18084 
   18085 
   18086 # IFS
   18087 # We need space, tab and new line, in precisely that order.  Quoting is
   18088 # there to prevent editors from complaining about space-tab.
   18089 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18090 # splitting by setting IFS to empty value.)
   18091 IFS=" ""	$as_nl"
   18092 
   18093 # Find who we are.  Look in the path if we contain no directory separator.
   18094 as_myself=
   18095 case $0 in #((
   18096   *[\\/]* ) as_myself=$0 ;;
   18097   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18098 for as_dir in $PATH
   18099 do
   18100   IFS=$as_save_IFS
   18101   test -z "$as_dir" && as_dir=.
   18102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18103   done
   18104 IFS=$as_save_IFS
   18105 
   18106      ;;
   18107 esac
   18108 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18109 # in which case we are not to be found in the path.
   18110 if test "x$as_myself" = x; then
   18111   as_myself=$0
   18112 fi
   18113 if test ! -f "$as_myself"; then
   18114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18115   exit 1
   18116 fi
   18117 
   18118 # Unset variables that we do not need and which cause bugs (e.g. in
   18119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18120 # suppresses any "Segmentation fault" message there.  '((' could
   18121 # trigger a bug in pdksh 5.2.14.
   18122 for as_var in BASH_ENV ENV MAIL MAILPATH
   18123 do eval test x\${$as_var+set} = xset \
   18124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18125 done
   18126 PS1='$ '
   18127 PS2='> '
   18128 PS4='+ '
   18129 
   18130 # NLS nuisances.
   18131 LC_ALL=C
   18132 export LC_ALL
   18133 LANGUAGE=C
   18134 export LANGUAGE
   18135 
   18136 # CDPATH.
   18137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18138 
   18139 
   18140 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18141 # ----------------------------------------
   18142 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18143 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18144 # script with STATUS, using 1 if that was 0.
   18145 as_fn_error ()
   18146 {
   18147   as_status=$1; test $as_status -eq 0 && as_status=1
   18148   if test "$4"; then
   18149     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18150     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18151   fi
   18152   $as_echo "$as_me: error: $2" >&2
   18153   as_fn_exit $as_status
   18154 } # as_fn_error
   18155 
   18156 
   18157 # as_fn_set_status STATUS
   18158 # -----------------------
   18159 # Set $? to STATUS, without forking.
   18160 as_fn_set_status ()
   18161 {
   18162   return $1
   18163 } # as_fn_set_status
   18164 
   18165 # as_fn_exit STATUS
   18166 # -----------------
   18167 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18168 as_fn_exit ()
   18169 {
   18170   set +e
   18171   as_fn_set_status $1
   18172   exit $1
   18173 } # as_fn_exit
   18174 
   18175 # as_fn_unset VAR
   18176 # ---------------
   18177 # Portably unset VAR.
   18178 as_fn_unset ()
   18179 {
   18180   { eval $1=; unset $1;}
   18181 }
   18182 as_unset=as_fn_unset
   18183 # as_fn_append VAR VALUE
   18184 # ----------------------
   18185 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18186 # advantage of any shell optimizations that allow amortized linear growth over
   18187 # repeated appends, instead of the typical quadratic growth present in naive
   18188 # implementations.
   18189 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18190   eval 'as_fn_append ()
   18191   {
   18192     eval $1+=\$2
   18193   }'
   18194 else
   18195   as_fn_append ()
   18196   {
   18197     eval $1=\$$1\$2
   18198   }
   18199 fi # as_fn_append
   18200 
   18201 # as_fn_arith ARG...
   18202 # ------------------
   18203 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18204 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18205 # must be portable across $(()) and expr.
   18206 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18207   eval 'as_fn_arith ()
   18208   {
   18209     as_val=$(( $* ))
   18210   }'
   18211 else
   18212   as_fn_arith ()
   18213   {
   18214     as_val=`expr "$@" || test $? -eq 1`
   18215   }
   18216 fi # as_fn_arith
   18217 
   18218 
   18219 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18220    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18221   as_expr=expr
   18222 else
   18223   as_expr=false
   18224 fi
   18225 
   18226 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18227   as_basename=basename
   18228 else
   18229   as_basename=false
   18230 fi
   18231 
   18232 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18233   as_dirname=dirname
   18234 else
   18235   as_dirname=false
   18236 fi
   18237 
   18238 as_me=`$as_basename -- "$0" ||
   18239 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18240 	 X"$0" : 'X\(//\)$' \| \
   18241 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18242 $as_echo X/"$0" |
   18243     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18244 	    s//\1/
   18245 	    q
   18246 	  }
   18247 	  /^X\/\(\/\/\)$/{
   18248 	    s//\1/
   18249 	    q
   18250 	  }
   18251 	  /^X\/\(\/\).*/{
   18252 	    s//\1/
   18253 	    q
   18254 	  }
   18255 	  s/.*/./; q'`
   18256 
   18257 # Avoid depending upon Character Ranges.
   18258 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18259 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18260 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18261 as_cr_digits='0123456789'
   18262 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18263 
   18264 ECHO_C= ECHO_N= ECHO_T=
   18265 case `echo -n x` in #(((((
   18266 -n*)
   18267   case `echo 'xy\c'` in
   18268   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18269   xy)  ECHO_C='\c';;
   18270   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18271        ECHO_T='	';;
   18272   esac;;
   18273 *)
   18274   ECHO_N='-n';;
   18275 esac
   18276 
   18277 rm -f conf$$ conf$$.exe conf$$.file
   18278 if test -d conf$$.dir; then
   18279   rm -f conf$$.dir/conf$$.file
   18280 else
   18281   rm -f conf$$.dir
   18282   mkdir conf$$.dir 2>/dev/null
   18283 fi
   18284 if (echo >conf$$.file) 2>/dev/null; then
   18285   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18286     as_ln_s='ln -s'
   18287     # ... but there are two gotchas:
   18288     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18289     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18290     # In both cases, we have to default to `cp -p'.
   18291     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18292       as_ln_s='cp -p'
   18293   elif ln conf$$.file conf$$ 2>/dev/null; then
   18294     as_ln_s=ln
   18295   else
   18296     as_ln_s='cp -p'
   18297   fi
   18298 else
   18299   as_ln_s='cp -p'
   18300 fi
   18301 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18302 rmdir conf$$.dir 2>/dev/null
   18303 
   18304 
   18305 # as_fn_mkdir_p
   18306 # -------------
   18307 # Create "$as_dir" as a directory, including parents if necessary.
   18308 as_fn_mkdir_p ()
   18309 {
   18310 
   18311   case $as_dir in #(
   18312   -*) as_dir=./$as_dir;;
   18313   esac
   18314   test -d "$as_dir" || eval $as_mkdir_p || {
   18315     as_dirs=
   18316     while :; do
   18317       case $as_dir in #(
   18318       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18319       *) as_qdir=$as_dir;;
   18320       esac
   18321       as_dirs="'$as_qdir' $as_dirs"
   18322       as_dir=`$as_dirname -- "$as_dir" ||
   18323 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18324 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18325 	 X"$as_dir" : 'X\(//\)$' \| \
   18326 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18327 $as_echo X"$as_dir" |
   18328     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18329 	    s//\1/
   18330 	    q
   18331 	  }
   18332 	  /^X\(\/\/\)[^/].*/{
   18333 	    s//\1/
   18334 	    q
   18335 	  }
   18336 	  /^X\(\/\/\)$/{
   18337 	    s//\1/
   18338 	    q
   18339 	  }
   18340 	  /^X\(\/\).*/{
   18341 	    s//\1/
   18342 	    q
   18343 	  }
   18344 	  s/.*/./; q'`
   18345       test -d "$as_dir" && break
   18346     done
   18347     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18348   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18349 
   18350 
   18351 } # as_fn_mkdir_p
   18352 if mkdir -p . 2>/dev/null; then
   18353   as_mkdir_p='mkdir -p "$as_dir"'
   18354 else
   18355   test -d ./-p && rmdir ./-p
   18356   as_mkdir_p=false
   18357 fi
   18358 
   18359 if test -x / >/dev/null 2>&1; then
   18360   as_test_x='test -x'
   18361 else
   18362   if ls -dL / >/dev/null 2>&1; then
   18363     as_ls_L_option=L
   18364   else
   18365     as_ls_L_option=
   18366   fi
   18367   as_test_x='
   18368     eval sh -c '\''
   18369       if test -d "$1"; then
   18370 	test -d "$1/.";
   18371       else
   18372 	case $1 in #(
   18373 	-*)set "./$1";;
   18374 	esac;
   18375 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18376 	???[sx]*):;;*)false;;esac;fi
   18377     '\'' sh
   18378   '
   18379 fi
   18380 as_executable_p=$as_test_x
   18381 
   18382 # Sed expression to map a string onto a valid CPP name.
   18383 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18384 
   18385 # Sed expression to map a string onto a valid variable name.
   18386 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18387 
   18388 
   18389 exec 6>&1
   18390 ## ----------------------------------- ##
   18391 ## Main body of $CONFIG_STATUS script. ##
   18392 ## ----------------------------------- ##
   18393 _ASEOF
   18394 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18395 
   18396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18397 # Save the log message, to keep $0 and so on meaningful, and to
   18398 # report actual input values of CONFIG_FILES etc. instead of their
   18399 # values after options handling.
   18400 ac_log="
   18401 This file was extended by libXrandr $as_me 1.4.2, which was
   18402 generated by GNU Autoconf 2.68.  Invocation command line was
   18403 
   18404   CONFIG_FILES    = $CONFIG_FILES
   18405   CONFIG_HEADERS  = $CONFIG_HEADERS
   18406   CONFIG_LINKS    = $CONFIG_LINKS
   18407   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18408   $ $0 $@
   18409 
   18410 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18411 "
   18412 
   18413 _ACEOF
   18414 
   18415 case $ac_config_files in *"
   18416 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18417 esac
   18418 
   18419 case $ac_config_headers in *"
   18420 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18421 esac
   18422 
   18423 
   18424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18425 # Files that config.status was made for.
   18426 config_files="$ac_config_files"
   18427 config_headers="$ac_config_headers"
   18428 config_commands="$ac_config_commands"
   18429 
   18430 _ACEOF
   18431 
   18432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18433 ac_cs_usage="\
   18434 \`$as_me' instantiates files and other configuration actions
   18435 from templates according to the current configuration.  Unless the files
   18436 and actions are specified as TAGs, all are instantiated by default.
   18437 
   18438 Usage: $0 [OPTION]... [TAG]...
   18439 
   18440   -h, --help       print this help, then exit
   18441   -V, --version    print version number and configuration settings, then exit
   18442       --config     print configuration, then exit
   18443   -q, --quiet, --silent
   18444                    do not print progress messages
   18445   -d, --debug      don't remove temporary files
   18446       --recheck    update $as_me by reconfiguring in the same conditions
   18447       --file=FILE[:TEMPLATE]
   18448                    instantiate the configuration file FILE
   18449       --header=FILE[:TEMPLATE]
   18450                    instantiate the configuration header FILE
   18451 
   18452 Configuration files:
   18453 $config_files
   18454 
   18455 Configuration headers:
   18456 $config_headers
   18457 
   18458 Configuration commands:
   18459 $config_commands
   18460 
   18461 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18462 
   18463 _ACEOF
   18464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18465 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18466 ac_cs_version="\\
   18467 libXrandr config.status 1.4.2
   18468 configured by $0, generated by GNU Autoconf 2.68,
   18469   with options \\"\$ac_cs_config\\"
   18470 
   18471 Copyright (C) 2010 Free Software Foundation, Inc.
   18472 This config.status script is free software; the Free Software Foundation
   18473 gives unlimited permission to copy, distribute and modify it."
   18474 
   18475 ac_pwd='$ac_pwd'
   18476 srcdir='$srcdir'
   18477 INSTALL='$INSTALL'
   18478 MKDIR_P='$MKDIR_P'
   18479 AWK='$AWK'
   18480 test -n "\$AWK" || AWK=awk
   18481 _ACEOF
   18482 
   18483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18484 # The default lists apply if the user does not specify any file.
   18485 ac_need_defaults=:
   18486 while test $# != 0
   18487 do
   18488   case $1 in
   18489   --*=?*)
   18490     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18491     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18492     ac_shift=:
   18493     ;;
   18494   --*=)
   18495     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18496     ac_optarg=
   18497     ac_shift=:
   18498     ;;
   18499   *)
   18500     ac_option=$1
   18501     ac_optarg=$2
   18502     ac_shift=shift
   18503     ;;
   18504   esac
   18505 
   18506   case $ac_option in
   18507   # Handling of the options.
   18508   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18509     ac_cs_recheck=: ;;
   18510   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18511     $as_echo "$ac_cs_version"; exit ;;
   18512   --config | --confi | --conf | --con | --co | --c )
   18513     $as_echo "$ac_cs_config"; exit ;;
   18514   --debug | --debu | --deb | --de | --d | -d )
   18515     debug=: ;;
   18516   --file | --fil | --fi | --f )
   18517     $ac_shift
   18518     case $ac_optarg in
   18519     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18520     '') as_fn_error $? "missing file argument" ;;
   18521     esac
   18522     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18523     ac_need_defaults=false;;
   18524   --header | --heade | --head | --hea )
   18525     $ac_shift
   18526     case $ac_optarg in
   18527     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18528     esac
   18529     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18530     ac_need_defaults=false;;
   18531   --he | --h)
   18532     # Conflict between --help and --header
   18533     as_fn_error $? "ambiguous option: \`$1'
   18534 Try \`$0 --help' for more information.";;
   18535   --help | --hel | -h )
   18536     $as_echo "$ac_cs_usage"; exit ;;
   18537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18538   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18539     ac_cs_silent=: ;;
   18540 
   18541   # This is an error.
   18542   -*) as_fn_error $? "unrecognized option: \`$1'
   18543 Try \`$0 --help' for more information." ;;
   18544 
   18545   *) as_fn_append ac_config_targets " $1"
   18546      ac_need_defaults=false ;;
   18547 
   18548   esac
   18549   shift
   18550 done
   18551 
   18552 ac_configure_extra_args=
   18553 
   18554 if $ac_cs_silent; then
   18555   exec 6>/dev/null
   18556   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18557 fi
   18558 
   18559 _ACEOF
   18560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18561 if \$ac_cs_recheck; then
   18562   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18563   shift
   18564   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18565   CONFIG_SHELL='$SHELL'
   18566   export CONFIG_SHELL
   18567   exec "\$@"
   18568 fi
   18569 
   18570 _ACEOF
   18571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18572 exec 5>>config.log
   18573 {
   18574   echo
   18575   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18576 ## Running $as_me. ##
   18577 _ASBOX
   18578   $as_echo "$ac_log"
   18579 } >&5
   18580 
   18581 _ACEOF
   18582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18583 #
   18584 # INIT-COMMANDS
   18585 #
   18586 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18587 
   18588 
   18589 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18590 # if CDPATH is set.
   18591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18592 
   18593 sed_quote_subst='$sed_quote_subst'
   18594 double_quote_subst='$double_quote_subst'
   18595 delay_variable_subst='$delay_variable_subst'
   18596 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18597 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18598 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18599 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18600 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18601 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18602 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18603 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18604 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18605 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18606 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18607 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18608 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18609 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18610 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18611 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18612 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18613 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18614 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18615 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18616 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18617 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18618 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18619 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18620 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18621 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18622 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18623 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18624 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18625 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18626 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18627 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18628 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18629 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18630 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18631 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18632 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18633 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18634 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18635 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18636 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18637 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18638 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18639 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18640 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18641 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18642 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18643 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18644 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18645 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18646 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18647 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18648 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18649 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18650 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18651 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18652 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18653 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18654 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18655 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18656 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18657 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18658 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18659 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18660 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18661 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18662 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18663 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18664 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18665 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18666 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18667 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18668 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18669 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18670 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18671 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18672 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18673 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18674 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18675 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18676 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18677 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18678 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18679 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18680 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18681 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18682 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18683 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18684 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18685 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18686 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18687 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18688 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18689 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18690 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18691 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18692 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18693 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18694 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18695 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18696 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18697 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18698 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18699 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18700 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18701 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18702 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18703 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18704 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18705 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18706 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18707 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18708 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18709 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18710 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18711 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18712 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18713 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18714 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18715 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18716 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18717 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18718 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18719 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18720 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18721 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18722 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18723 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18724 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18725 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18726 
   18727 LTCC='$LTCC'
   18728 LTCFLAGS='$LTCFLAGS'
   18729 compiler='$compiler_DEFAULT'
   18730 
   18731 # A function that is used when there is no print builtin or printf.
   18732 func_fallback_echo ()
   18733 {
   18734   eval 'cat <<_LTECHO_EOF
   18735 \$1
   18736 _LTECHO_EOF'
   18737 }
   18738 
   18739 # Quote evaled strings.
   18740 for var in SHELL \
   18741 ECHO \
   18742 PATH_SEPARATOR \
   18743 SED \
   18744 GREP \
   18745 EGREP \
   18746 FGREP \
   18747 LD \
   18748 NM \
   18749 LN_S \
   18750 lt_SP2NL \
   18751 lt_NL2SP \
   18752 reload_flag \
   18753 OBJDUMP \
   18754 deplibs_check_method \
   18755 file_magic_cmd \
   18756 file_magic_glob \
   18757 want_nocaseglob \
   18758 DLLTOOL \
   18759 sharedlib_from_linklib_cmd \
   18760 AR \
   18761 AR_FLAGS \
   18762 archiver_list_spec \
   18763 STRIP \
   18764 RANLIB \
   18765 CC \
   18766 CFLAGS \
   18767 compiler \
   18768 lt_cv_sys_global_symbol_pipe \
   18769 lt_cv_sys_global_symbol_to_cdecl \
   18770 lt_cv_sys_global_symbol_to_c_name_address \
   18771 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18772 nm_file_list_spec \
   18773 lt_prog_compiler_no_builtin_flag \
   18774 lt_prog_compiler_pic \
   18775 lt_prog_compiler_wl \
   18776 lt_prog_compiler_static \
   18777 lt_cv_prog_compiler_c_o \
   18778 need_locks \
   18779 MANIFEST_TOOL \
   18780 DSYMUTIL \
   18781 NMEDIT \
   18782 LIPO \
   18783 OTOOL \
   18784 OTOOL64 \
   18785 shrext_cmds \
   18786 export_dynamic_flag_spec \
   18787 whole_archive_flag_spec \
   18788 compiler_needs_object \
   18789 with_gnu_ld \
   18790 allow_undefined_flag \
   18791 no_undefined_flag \
   18792 hardcode_libdir_flag_spec \
   18793 hardcode_libdir_separator \
   18794 exclude_expsyms \
   18795 include_expsyms \
   18796 file_list_spec \
   18797 variables_saved_for_relink \
   18798 libname_spec \
   18799 library_names_spec \
   18800 soname_spec \
   18801 install_override_mode \
   18802 finish_eval \
   18803 old_striplib \
   18804 striplib; do
   18805     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18806     *[\\\\\\\`\\"\\\$]*)
   18807       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18808       ;;
   18809     *)
   18810       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18811       ;;
   18812     esac
   18813 done
   18814 
   18815 # Double-quote double-evaled strings.
   18816 for var in reload_cmds \
   18817 old_postinstall_cmds \
   18818 old_postuninstall_cmds \
   18819 old_archive_cmds \
   18820 extract_expsyms_cmds \
   18821 old_archive_from_new_cmds \
   18822 old_archive_from_expsyms_cmds \
   18823 archive_cmds \
   18824 archive_expsym_cmds \
   18825 module_cmds \
   18826 module_expsym_cmds \
   18827 export_symbols_cmds \
   18828 prelink_cmds \
   18829 postlink_cmds \
   18830 postinstall_cmds \
   18831 postuninstall_cmds \
   18832 finish_cmds \
   18833 sys_lib_search_path_spec \
   18834 sys_lib_dlsearch_path_spec; do
   18835     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18836     *[\\\\\\\`\\"\\\$]*)
   18837       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18838       ;;
   18839     *)
   18840       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18841       ;;
   18842     esac
   18843 done
   18844 
   18845 ac_aux_dir='$ac_aux_dir'
   18846 xsi_shell='$xsi_shell'
   18847 lt_shell_append='$lt_shell_append'
   18848 
   18849 # See if we are running on zsh, and set the options which allow our
   18850 # commands through without removal of \ escapes INIT.
   18851 if test -n "\${ZSH_VERSION+set}" ; then
   18852    setopt NO_GLOB_SUBST
   18853 fi
   18854 
   18855 
   18856     PACKAGE='$PACKAGE'
   18857     VERSION='$VERSION'
   18858     TIMESTAMP='$TIMESTAMP'
   18859     RM='$RM'
   18860     ofile='$ofile'
   18861 
   18862 
   18863 
   18864 
   18865 _ACEOF
   18866 
   18867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18868 
   18869 # Handling of arguments.
   18870 for ac_config_target in $ac_config_targets
   18871 do
   18872   case $ac_config_target in
   18873     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18874     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18875     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18876     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18877     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18878     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18879     "xrandr.pc") CONFIG_FILES="$CONFIG_FILES xrandr.pc" ;;
   18880 
   18881   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18882   esac
   18883 done
   18884 
   18885 
   18886 # If the user did not use the arguments to specify the items to instantiate,
   18887 # then the envvar interface is used.  Set only those that are not.
   18888 # We use the long form for the default assignment because of an extremely
   18889 # bizarre bug on SunOS 4.1.3.
   18890 if $ac_need_defaults; then
   18891   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18892   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18893   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18894 fi
   18895 
   18896 # Have a temporary directory for convenience.  Make it in the build tree
   18897 # simply because there is no reason against having it here, and in addition,
   18898 # creating and moving files from /tmp can sometimes cause problems.
   18899 # Hook for its removal unless debugging.
   18900 # Note that there is a small window in which the directory will not be cleaned:
   18901 # after its creation but before its name has been assigned to `$tmp'.
   18902 $debug ||
   18903 {
   18904   tmp= ac_tmp=
   18905   trap 'exit_status=$?
   18906   : "${ac_tmp:=$tmp}"
   18907   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18908 ' 0
   18909   trap 'as_fn_exit 1' 1 2 13 15
   18910 }
   18911 # Create a (secure) tmp directory for tmp files.
   18912 
   18913 {
   18914   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18915   test -d "$tmp"
   18916 }  ||
   18917 {
   18918   tmp=./conf$$-$RANDOM
   18919   (umask 077 && mkdir "$tmp")
   18920 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18921 ac_tmp=$tmp
   18922 
   18923 # Set up the scripts for CONFIG_FILES section.
   18924 # No need to generate them if there are no CONFIG_FILES.
   18925 # This happens for instance with `./config.status config.h'.
   18926 if test -n "$CONFIG_FILES"; then
   18927 
   18928 
   18929 ac_cr=`echo X | tr X '\015'`
   18930 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18931 # But we know of no other shell where ac_cr would be empty at this
   18932 # point, so we can use a bashism as a fallback.
   18933 if test "x$ac_cr" = x; then
   18934   eval ac_cr=\$\'\\r\'
   18935 fi
   18936 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18937 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18938   ac_cs_awk_cr='\\r'
   18939 else
   18940   ac_cs_awk_cr=$ac_cr
   18941 fi
   18942 
   18943 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18944 _ACEOF
   18945 
   18946 
   18947 {
   18948   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18949   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18950   echo "_ACEOF"
   18951 } >conf$$subs.sh ||
   18952   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18953 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18954 ac_delim='%!_!# '
   18955 for ac_last_try in false false false false false :; do
   18956   . ./conf$$subs.sh ||
   18957     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18958 
   18959   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18960   if test $ac_delim_n = $ac_delim_num; then
   18961     break
   18962   elif $ac_last_try; then
   18963     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18964   else
   18965     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18966   fi
   18967 done
   18968 rm -f conf$$subs.sh
   18969 
   18970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18971 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18972 _ACEOF
   18973 sed -n '
   18974 h
   18975 s/^/S["/; s/!.*/"]=/
   18976 p
   18977 g
   18978 s/^[^!]*!//
   18979 :repl
   18980 t repl
   18981 s/'"$ac_delim"'$//
   18982 t delim
   18983 :nl
   18984 h
   18985 s/\(.\{148\}\)..*/\1/
   18986 t more1
   18987 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18988 p
   18989 n
   18990 b repl
   18991 :more1
   18992 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18993 p
   18994 g
   18995 s/.\{148\}//
   18996 t nl
   18997 :delim
   18998 h
   18999 s/\(.\{148\}\)..*/\1/
   19000 t more2
   19001 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19002 p
   19003 b
   19004 :more2
   19005 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19006 p
   19007 g
   19008 s/.\{148\}//
   19009 t delim
   19010 ' <conf$$subs.awk | sed '
   19011 /^[^""]/{
   19012   N
   19013   s/\n//
   19014 }
   19015 ' >>$CONFIG_STATUS || ac_write_fail=1
   19016 rm -f conf$$subs.awk
   19017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19018 _ACAWK
   19019 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19020   for (key in S) S_is_set[key] = 1
   19021   FS = ""
   19022 
   19023 }
   19024 {
   19025   line = $ 0
   19026   nfields = split(line, field, "@")
   19027   substed = 0
   19028   len = length(field[1])
   19029   for (i = 2; i < nfields; i++) {
   19030     key = field[i]
   19031     keylen = length(key)
   19032     if (S_is_set[key]) {
   19033       value = S[key]
   19034       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19035       len += length(value) + length(field[++i])
   19036       substed = 1
   19037     } else
   19038       len += 1 + keylen
   19039   }
   19040 
   19041   print line
   19042 }
   19043 
   19044 _ACAWK
   19045 _ACEOF
   19046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19047 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19048   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19049 else
   19050   cat
   19051 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19052   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19053 _ACEOF
   19054 
   19055 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19056 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19057 # trailing colons and then remove the whole line if VPATH becomes empty
   19058 # (actually we leave an empty line to preserve line numbers).
   19059 if test "x$srcdir" = x.; then
   19060   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19061 h
   19062 s///
   19063 s/^/:/
   19064 s/[	 ]*$/:/
   19065 s/:\$(srcdir):/:/g
   19066 s/:\${srcdir}:/:/g
   19067 s/:@srcdir@:/:/g
   19068 s/^:*//
   19069 s/:*$//
   19070 x
   19071 s/\(=[	 ]*\).*/\1/
   19072 G
   19073 s/\n//
   19074 s/^[^=]*=[	 ]*$//
   19075 }'
   19076 fi
   19077 
   19078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19079 fi # test -n "$CONFIG_FILES"
   19080 
   19081 # Set up the scripts for CONFIG_HEADERS section.
   19082 # No need to generate them if there are no CONFIG_HEADERS.
   19083 # This happens for instance with `./config.status Makefile'.
   19084 if test -n "$CONFIG_HEADERS"; then
   19085 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19086 BEGIN {
   19087 _ACEOF
   19088 
   19089 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19090 # here-document in config.status, that substitutes the proper values into
   19091 # config.h.in to produce config.h.
   19092 
   19093 # Create a delimiter string that does not exist in confdefs.h, to ease
   19094 # handling of long lines.
   19095 ac_delim='%!_!# '
   19096 for ac_last_try in false false :; do
   19097   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19098   if test -z "$ac_tt"; then
   19099     break
   19100   elif $ac_last_try; then
   19101     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19102   else
   19103     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19104   fi
   19105 done
   19106 
   19107 # For the awk script, D is an array of macro values keyed by name,
   19108 # likewise P contains macro parameters if any.  Preserve backslash
   19109 # newline sequences.
   19110 
   19111 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19112 sed -n '
   19113 s/.\{148\}/&'"$ac_delim"'/g
   19114 t rset
   19115 :rset
   19116 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19117 t def
   19118 d
   19119 :def
   19120 s/\\$//
   19121 t bsnl
   19122 s/["\\]/\\&/g
   19123 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19124 D["\1"]=" \3"/p
   19125 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19126 d
   19127 :bsnl
   19128 s/["\\]/\\&/g
   19129 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19130 D["\1"]=" \3\\\\\\n"\\/p
   19131 t cont
   19132 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19133 t cont
   19134 d
   19135 :cont
   19136 n
   19137 s/.\{148\}/&'"$ac_delim"'/g
   19138 t clear
   19139 :clear
   19140 s/\\$//
   19141 t bsnlc
   19142 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19143 d
   19144 :bsnlc
   19145 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19146 b cont
   19147 ' <confdefs.h | sed '
   19148 s/'"$ac_delim"'/"\\\
   19149 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19150 
   19151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19152   for (key in D) D_is_set[key] = 1
   19153   FS = ""
   19154 }
   19155 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19156   line = \$ 0
   19157   split(line, arg, " ")
   19158   if (arg[1] == "#") {
   19159     defundef = arg[2]
   19160     mac1 = arg[3]
   19161   } else {
   19162     defundef = substr(arg[1], 2)
   19163     mac1 = arg[2]
   19164   }
   19165   split(mac1, mac2, "(") #)
   19166   macro = mac2[1]
   19167   prefix = substr(line, 1, index(line, defundef) - 1)
   19168   if (D_is_set[macro]) {
   19169     # Preserve the white space surrounding the "#".
   19170     print prefix "define", macro P[macro] D[macro]
   19171     next
   19172   } else {
   19173     # Replace #undef with comments.  This is necessary, for example,
   19174     # in the case of _POSIX_SOURCE, which is predefined and required
   19175     # on some systems where configure will not decide to define it.
   19176     if (defundef == "undef") {
   19177       print "/*", prefix defundef, macro, "*/"
   19178       next
   19179     }
   19180   }
   19181 }
   19182 { print }
   19183 _ACAWK
   19184 _ACEOF
   19185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19186   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19187 fi # test -n "$CONFIG_HEADERS"
   19188 
   19189 
   19190 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19191 shift
   19192 for ac_tag
   19193 do
   19194   case $ac_tag in
   19195   :[FHLC]) ac_mode=$ac_tag; continue;;
   19196   esac
   19197   case $ac_mode$ac_tag in
   19198   :[FHL]*:*);;
   19199   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19200   :[FH]-) ac_tag=-:-;;
   19201   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19202   esac
   19203   ac_save_IFS=$IFS
   19204   IFS=:
   19205   set x $ac_tag
   19206   IFS=$ac_save_IFS
   19207   shift
   19208   ac_file=$1
   19209   shift
   19210 
   19211   case $ac_mode in
   19212   :L) ac_source=$1;;
   19213   :[FH])
   19214     ac_file_inputs=
   19215     for ac_f
   19216     do
   19217       case $ac_f in
   19218       -) ac_f="$ac_tmp/stdin";;
   19219       *) # Look for the file first in the build tree, then in the source tree
   19220 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19221 	 # because $ac_f cannot contain `:'.
   19222 	 test -f "$ac_f" ||
   19223 	   case $ac_f in
   19224 	   [\\/$]*) false;;
   19225 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19226 	   esac ||
   19227 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19228       esac
   19229       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19230       as_fn_append ac_file_inputs " '$ac_f'"
   19231     done
   19232 
   19233     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19234     # use $as_me), people would be surprised to read:
   19235     #    /* config.h.  Generated by config.status.  */
   19236     configure_input='Generated from '`
   19237 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19238 	`' by configure.'
   19239     if test x"$ac_file" != x-; then
   19240       configure_input="$ac_file.  $configure_input"
   19241       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19242 $as_echo "$as_me: creating $ac_file" >&6;}
   19243     fi
   19244     # Neutralize special characters interpreted by sed in replacement strings.
   19245     case $configure_input in #(
   19246     *\&* | *\|* | *\\* )
   19247        ac_sed_conf_input=`$as_echo "$configure_input" |
   19248        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19249     *) ac_sed_conf_input=$configure_input;;
   19250     esac
   19251 
   19252     case $ac_tag in
   19253     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19254       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19255     esac
   19256     ;;
   19257   esac
   19258 
   19259   ac_dir=`$as_dirname -- "$ac_file" ||
   19260 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19261 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19262 	 X"$ac_file" : 'X\(//\)$' \| \
   19263 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19264 $as_echo X"$ac_file" |
   19265     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19266 	    s//\1/
   19267 	    q
   19268 	  }
   19269 	  /^X\(\/\/\)[^/].*/{
   19270 	    s//\1/
   19271 	    q
   19272 	  }
   19273 	  /^X\(\/\/\)$/{
   19274 	    s//\1/
   19275 	    q
   19276 	  }
   19277 	  /^X\(\/\).*/{
   19278 	    s//\1/
   19279 	    q
   19280 	  }
   19281 	  s/.*/./; q'`
   19282   as_dir="$ac_dir"; as_fn_mkdir_p
   19283   ac_builddir=.
   19284 
   19285 case "$ac_dir" in
   19286 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19287 *)
   19288   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19289   # A ".." for each directory in $ac_dir_suffix.
   19290   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19291   case $ac_top_builddir_sub in
   19292   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19293   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19294   esac ;;
   19295 esac
   19296 ac_abs_top_builddir=$ac_pwd
   19297 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19298 # for backward compatibility:
   19299 ac_top_builddir=$ac_top_build_prefix
   19300 
   19301 case $srcdir in
   19302   .)  # We are building in place.
   19303     ac_srcdir=.
   19304     ac_top_srcdir=$ac_top_builddir_sub
   19305     ac_abs_top_srcdir=$ac_pwd ;;
   19306   [\\/]* | ?:[\\/]* )  # Absolute name.
   19307     ac_srcdir=$srcdir$ac_dir_suffix;
   19308     ac_top_srcdir=$srcdir
   19309     ac_abs_top_srcdir=$srcdir ;;
   19310   *) # Relative name.
   19311     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19312     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19313     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19314 esac
   19315 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19316 
   19317 
   19318   case $ac_mode in
   19319   :F)
   19320   #
   19321   # CONFIG_FILE
   19322   #
   19323 
   19324   case $INSTALL in
   19325   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19326   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19327   esac
   19328   ac_MKDIR_P=$MKDIR_P
   19329   case $MKDIR_P in
   19330   [\\/$]* | ?:[\\/]* ) ;;
   19331   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19332   esac
   19333 _ACEOF
   19334 
   19335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19336 # If the template does not know about datarootdir, expand it.
   19337 # FIXME: This hack should be removed a few years after 2.60.
   19338 ac_datarootdir_hack=; ac_datarootdir_seen=
   19339 ac_sed_dataroot='
   19340 /datarootdir/ {
   19341   p
   19342   q
   19343 }
   19344 /@datadir@/p
   19345 /@docdir@/p
   19346 /@infodir@/p
   19347 /@localedir@/p
   19348 /@mandir@/p'
   19349 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19350 *datarootdir*) ac_datarootdir_seen=yes;;
   19351 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19352   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19353 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19354 _ACEOF
   19355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19356   ac_datarootdir_hack='
   19357   s&@datadir@&$datadir&g
   19358   s&@docdir@&$docdir&g
   19359   s&@infodir@&$infodir&g
   19360   s&@localedir@&$localedir&g
   19361   s&@mandir@&$mandir&g
   19362   s&\\\${datarootdir}&$datarootdir&g' ;;
   19363 esac
   19364 _ACEOF
   19365 
   19366 # Neutralize VPATH when `$srcdir' = `.'.
   19367 # Shell code in configure.ac might set extrasub.
   19368 # FIXME: do we really want to maintain this feature?
   19369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19370 ac_sed_extra="$ac_vpsub
   19371 $extrasub
   19372 _ACEOF
   19373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19374 :t
   19375 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19376 s|@configure_input@|$ac_sed_conf_input|;t t
   19377 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19378 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19379 s&@srcdir@&$ac_srcdir&;t t
   19380 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19381 s&@top_srcdir@&$ac_top_srcdir&;t t
   19382 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19383 s&@builddir@&$ac_builddir&;t t
   19384 s&@abs_builddir@&$ac_abs_builddir&;t t
   19385 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19386 s&@INSTALL@&$ac_INSTALL&;t t
   19387 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19388 $ac_datarootdir_hack
   19389 "
   19390 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19391   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19392 
   19393 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19394   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19395   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19396       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19397   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19398 which seems to be undefined.  Please make sure it is defined" >&5
   19399 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19400 which seems to be undefined.  Please make sure it is defined" >&2;}
   19401 
   19402   rm -f "$ac_tmp/stdin"
   19403   case $ac_file in
   19404   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19405   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19406   esac \
   19407   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19408  ;;
   19409   :H)
   19410   #
   19411   # CONFIG_HEADER
   19412   #
   19413   if test x"$ac_file" != x-; then
   19414     {
   19415       $as_echo "/* $configure_input  */" \
   19416       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19417     } >"$ac_tmp/config.h" \
   19418       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19419     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19420       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19421 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19422     else
   19423       rm -f "$ac_file"
   19424       mv "$ac_tmp/config.h" "$ac_file" \
   19425 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19426     fi
   19427   else
   19428     $as_echo "/* $configure_input  */" \
   19429       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19430       || as_fn_error $? "could not create -" "$LINENO" 5
   19431   fi
   19432 # Compute "$ac_file"'s index in $config_headers.
   19433 _am_arg="$ac_file"
   19434 _am_stamp_count=1
   19435 for _am_header in $config_headers :; do
   19436   case $_am_header in
   19437     $_am_arg | $_am_arg:* )
   19438       break ;;
   19439     * )
   19440       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19441   esac
   19442 done
   19443 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19444 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19445 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19446 	 X"$_am_arg" : 'X\(//\)$' \| \
   19447 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19448 $as_echo X"$_am_arg" |
   19449     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19450 	    s//\1/
   19451 	    q
   19452 	  }
   19453 	  /^X\(\/\/\)[^/].*/{
   19454 	    s//\1/
   19455 	    q
   19456 	  }
   19457 	  /^X\(\/\/\)$/{
   19458 	    s//\1/
   19459 	    q
   19460 	  }
   19461 	  /^X\(\/\).*/{
   19462 	    s//\1/
   19463 	    q
   19464 	  }
   19465 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19466  ;;
   19467 
   19468   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19469 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19470  ;;
   19471   esac
   19472 
   19473 
   19474   case $ac_file$ac_mode in
   19475     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19476   # Older Autoconf quotes --file arguments for eval, but not when files
   19477   # are listed without --file.  Let's play safe and only enable the eval
   19478   # if we detect the quoting.
   19479   case $CONFIG_FILES in
   19480   *\'*) eval set x "$CONFIG_FILES" ;;
   19481   *)   set x $CONFIG_FILES ;;
   19482   esac
   19483   shift
   19484   for mf
   19485   do
   19486     # Strip MF so we end up with the name of the file.
   19487     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19488     # Check whether this is an Automake generated Makefile or not.
   19489     # We used to match only the files named 'Makefile.in', but
   19490     # some people rename them; so instead we look at the file content.
   19491     # Grep'ing the first line is not enough: some people post-process
   19492     # each Makefile.in and add a new line on top of each file to say so.
   19493     # Grep'ing the whole file is not good either: AIX grep has a line
   19494     # limit of 2048, but all sed's we know have understand at least 4000.
   19495     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19496       dirpart=`$as_dirname -- "$mf" ||
   19497 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19498 	 X"$mf" : 'X\(//\)[^/]' \| \
   19499 	 X"$mf" : 'X\(//\)$' \| \
   19500 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19501 $as_echo X"$mf" |
   19502     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19503 	    s//\1/
   19504 	    q
   19505 	  }
   19506 	  /^X\(\/\/\)[^/].*/{
   19507 	    s//\1/
   19508 	    q
   19509 	  }
   19510 	  /^X\(\/\/\)$/{
   19511 	    s//\1/
   19512 	    q
   19513 	  }
   19514 	  /^X\(\/\).*/{
   19515 	    s//\1/
   19516 	    q
   19517 	  }
   19518 	  s/.*/./; q'`
   19519     else
   19520       continue
   19521     fi
   19522     # Extract the definition of DEPDIR, am__include, and am__quote
   19523     # from the Makefile without running 'make'.
   19524     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19525     test -z "$DEPDIR" && continue
   19526     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19527     test -z "$am__include" && continue
   19528     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19529     # Find all dependency output files, they are included files with
   19530     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19531     # simplest approach to changing $(DEPDIR) to its actual value in the
   19532     # expansion.
   19533     for file in `sed -n "
   19534       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19535 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19536       # Make sure the directory exists.
   19537       test -f "$dirpart/$file" && continue
   19538       fdir=`$as_dirname -- "$file" ||
   19539 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19540 	 X"$file" : 'X\(//\)[^/]' \| \
   19541 	 X"$file" : 'X\(//\)$' \| \
   19542 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19543 $as_echo X"$file" |
   19544     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19545 	    s//\1/
   19546 	    q
   19547 	  }
   19548 	  /^X\(\/\/\)[^/].*/{
   19549 	    s//\1/
   19550 	    q
   19551 	  }
   19552 	  /^X\(\/\/\)$/{
   19553 	    s//\1/
   19554 	    q
   19555 	  }
   19556 	  /^X\(\/\).*/{
   19557 	    s//\1/
   19558 	    q
   19559 	  }
   19560 	  s/.*/./; q'`
   19561       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19562       # echo "creating $dirpart/$file"
   19563       echo '# dummy' > "$dirpart/$file"
   19564     done
   19565   done
   19566 }
   19567  ;;
   19568     "libtool":C)
   19569 
   19570     # See if we are running on zsh, and set the options which allow our
   19571     # commands through without removal of \ escapes.
   19572     if test -n "${ZSH_VERSION+set}" ; then
   19573       setopt NO_GLOB_SUBST
   19574     fi
   19575 
   19576     cfgfile="${ofile}T"
   19577     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19578     $RM "$cfgfile"
   19579 
   19580     cat <<_LT_EOF >> "$cfgfile"
   19581 #! $SHELL
   19582 
   19583 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19584 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19585 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19586 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19587 #
   19588 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19589 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19590 #                 Foundation, Inc.
   19591 #   Written by Gordon Matzigkeit, 1996
   19592 #
   19593 #   This file is part of GNU Libtool.
   19594 #
   19595 # GNU Libtool is free software; you can redistribute it and/or
   19596 # modify it under the terms of the GNU General Public License as
   19597 # published by the Free Software Foundation; either version 2 of
   19598 # the License, or (at your option) any later version.
   19599 #
   19600 # As a special exception to the GNU General Public License,
   19601 # if you distribute this file as part of a program or library that
   19602 # is built using GNU Libtool, you may include this file under the
   19603 # same distribution terms that you use for the rest of that program.
   19604 #
   19605 # GNU Libtool is distributed in the hope that it will be useful,
   19606 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19607 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19608 # GNU General Public License for more details.
   19609 #
   19610 # You should have received a copy of the GNU General Public License
   19611 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19612 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19613 # obtained by writing to the Free Software Foundation, Inc.,
   19614 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19615 
   19616 
   19617 # The names of the tagged configurations supported by this script.
   19618 available_tags=""
   19619 
   19620 # ### BEGIN LIBTOOL CONFIG
   19621 
   19622 # Which release of libtool.m4 was used?
   19623 macro_version=$macro_version
   19624 macro_revision=$macro_revision
   19625 
   19626 # Whether or not to build shared libraries.
   19627 build_libtool_libs=$enable_shared
   19628 
   19629 # Whether or not to build static libraries.
   19630 build_old_libs=$enable_static
   19631 
   19632 # What type of objects to build.
   19633 pic_mode=$pic_mode
   19634 
   19635 # Whether or not to optimize for fast installation.
   19636 fast_install=$enable_fast_install
   19637 
   19638 # Shell to use when invoking shell scripts.
   19639 SHELL=$lt_SHELL
   19640 
   19641 # An echo program that protects backslashes.
   19642 ECHO=$lt_ECHO
   19643 
   19644 # The PATH separator for the build system.
   19645 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19646 
   19647 # The host system.
   19648 host_alias=$host_alias
   19649 host=$host
   19650 host_os=$host_os
   19651 
   19652 # The build system.
   19653 build_alias=$build_alias
   19654 build=$build
   19655 build_os=$build_os
   19656 
   19657 # A sed program that does not truncate output.
   19658 SED=$lt_SED
   19659 
   19660 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19661 Xsed="\$SED -e 1s/^X//"
   19662 
   19663 # A grep program that handles long lines.
   19664 GREP=$lt_GREP
   19665 
   19666 # An ERE matcher.
   19667 EGREP=$lt_EGREP
   19668 
   19669 # A literal string matcher.
   19670 FGREP=$lt_FGREP
   19671 
   19672 # A BSD- or MS-compatible name lister.
   19673 NM=$lt_NM
   19674 
   19675 # Whether we need soft or hard links.
   19676 LN_S=$lt_LN_S
   19677 
   19678 # What is the maximum length of a command?
   19679 max_cmd_len=$max_cmd_len
   19680 
   19681 # Object file suffix (normally "o").
   19682 objext=$ac_objext
   19683 
   19684 # Executable file suffix (normally "").
   19685 exeext=$exeext
   19686 
   19687 # whether the shell understands "unset".
   19688 lt_unset=$lt_unset
   19689 
   19690 # turn spaces into newlines.
   19691 SP2NL=$lt_lt_SP2NL
   19692 
   19693 # turn newlines into spaces.
   19694 NL2SP=$lt_lt_NL2SP
   19695 
   19696 # convert \$build file names to \$host format.
   19697 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19698 
   19699 # convert \$build files to toolchain format.
   19700 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19701 
   19702 # An object symbol dumper.
   19703 OBJDUMP=$lt_OBJDUMP
   19704 
   19705 # Method to check whether dependent libraries are shared objects.
   19706 deplibs_check_method=$lt_deplibs_check_method
   19707 
   19708 # Command to use when deplibs_check_method = "file_magic".
   19709 file_magic_cmd=$lt_file_magic_cmd
   19710 
   19711 # How to find potential files when deplibs_check_method = "file_magic".
   19712 file_magic_glob=$lt_file_magic_glob
   19713 
   19714 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19715 want_nocaseglob=$lt_want_nocaseglob
   19716 
   19717 # DLL creation program.
   19718 DLLTOOL=$lt_DLLTOOL
   19719 
   19720 # Command to associate shared and link libraries.
   19721 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19722 
   19723 # The archiver.
   19724 AR=$lt_AR
   19725 
   19726 # Flags to create an archive.
   19727 AR_FLAGS=$lt_AR_FLAGS
   19728 
   19729 # How to feed a file listing to the archiver.
   19730 archiver_list_spec=$lt_archiver_list_spec
   19731 
   19732 # A symbol stripping program.
   19733 STRIP=$lt_STRIP
   19734 
   19735 # Commands used to install an old-style archive.
   19736 RANLIB=$lt_RANLIB
   19737 old_postinstall_cmds=$lt_old_postinstall_cmds
   19738 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19739 
   19740 # Whether to use a lock for old archive extraction.
   19741 lock_old_archive_extraction=$lock_old_archive_extraction
   19742 
   19743 # A C compiler.
   19744 LTCC=$lt_CC
   19745 
   19746 # LTCC compiler flags.
   19747 LTCFLAGS=$lt_CFLAGS
   19748 
   19749 # Take the output of nm and produce a listing of raw symbols and C names.
   19750 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19751 
   19752 # Transform the output of nm in a proper C declaration.
   19753 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19754 
   19755 # Transform the output of nm in a C name address pair.
   19756 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19757 
   19758 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19759 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19760 
   19761 # Specify filename containing input files for \$NM.
   19762 nm_file_list_spec=$lt_nm_file_list_spec
   19763 
   19764 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19765 lt_sysroot=$lt_sysroot
   19766 
   19767 # The name of the directory that contains temporary libtool files.
   19768 objdir=$objdir
   19769 
   19770 # Used to examine libraries when file_magic_cmd begins with "file".
   19771 MAGIC_CMD=$MAGIC_CMD
   19772 
   19773 # Must we lock files when doing compilation?
   19774 need_locks=$lt_need_locks
   19775 
   19776 # Manifest tool.
   19777 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19778 
   19779 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19780 DSYMUTIL=$lt_DSYMUTIL
   19781 
   19782 # Tool to change global to local symbols on Mac OS X.
   19783 NMEDIT=$lt_NMEDIT
   19784 
   19785 # Tool to manipulate fat objects and archives on Mac OS X.
   19786 LIPO=$lt_LIPO
   19787 
   19788 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19789 OTOOL=$lt_OTOOL
   19790 
   19791 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19792 OTOOL64=$lt_OTOOL64
   19793 
   19794 # Old archive suffix (normally "a").
   19795 libext=$libext
   19796 
   19797 # Shared library suffix (normally ".so").
   19798 shrext_cmds=$lt_shrext_cmds
   19799 
   19800 # The commands to extract the exported symbol list from a shared archive.
   19801 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19802 
   19803 # Variables whose values should be saved in libtool wrapper scripts and
   19804 # restored at link time.
   19805 variables_saved_for_relink=$lt_variables_saved_for_relink
   19806 
   19807 # Do we need the "lib" prefix for modules?
   19808 need_lib_prefix=$need_lib_prefix
   19809 
   19810 # Do we need a version for libraries?
   19811 need_version=$need_version
   19812 
   19813 # Library versioning type.
   19814 version_type=$version_type
   19815 
   19816 # Shared library runtime path variable.
   19817 runpath_var=$runpath_var
   19818 
   19819 # Shared library path variable.
   19820 shlibpath_var=$shlibpath_var
   19821 
   19822 # Is shlibpath searched before the hard-coded library search path?
   19823 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19824 
   19825 # Format of library name prefix.
   19826 libname_spec=$lt_libname_spec
   19827 
   19828 # List of archive names.  First name is the real one, the rest are links.
   19829 # The last name is the one that the linker finds with -lNAME
   19830 library_names_spec=$lt_library_names_spec
   19831 
   19832 # The coded name of the library, if different from the real name.
   19833 soname_spec=$lt_soname_spec
   19834 
   19835 # Permission mode override for installation of shared libraries.
   19836 install_override_mode=$lt_install_override_mode
   19837 
   19838 # Command to use after installation of a shared archive.
   19839 postinstall_cmds=$lt_postinstall_cmds
   19840 
   19841 # Command to use after uninstallation of a shared archive.
   19842 postuninstall_cmds=$lt_postuninstall_cmds
   19843 
   19844 # Commands used to finish a libtool library installation in a directory.
   19845 finish_cmds=$lt_finish_cmds
   19846 
   19847 # As "finish_cmds", except a single script fragment to be evaled but
   19848 # not shown.
   19849 finish_eval=$lt_finish_eval
   19850 
   19851 # Whether we should hardcode library paths into libraries.
   19852 hardcode_into_libs=$hardcode_into_libs
   19853 
   19854 # Compile-time system search path for libraries.
   19855 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19856 
   19857 # Run-time system search path for libraries.
   19858 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19859 
   19860 # Whether dlopen is supported.
   19861 dlopen_support=$enable_dlopen
   19862 
   19863 # Whether dlopen of programs is supported.
   19864 dlopen_self=$enable_dlopen_self
   19865 
   19866 # Whether dlopen of statically linked programs is supported.
   19867 dlopen_self_static=$enable_dlopen_self_static
   19868 
   19869 # Commands to strip libraries.
   19870 old_striplib=$lt_old_striplib
   19871 striplib=$lt_striplib
   19872 
   19873 
   19874 # The linker used to build libraries.
   19875 LD=$lt_LD
   19876 
   19877 # How to create reloadable object files.
   19878 reload_flag=$lt_reload_flag
   19879 reload_cmds=$lt_reload_cmds
   19880 
   19881 # Commands used to build an old-style archive.
   19882 old_archive_cmds=$lt_old_archive_cmds
   19883 
   19884 # A language specific compiler.
   19885 CC=$lt_compiler
   19886 
   19887 # Is the compiler the GNU compiler?
   19888 with_gcc=$GCC
   19889 
   19890 # Compiler flag to turn off builtin functions.
   19891 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19892 
   19893 # Additional compiler flags for building library objects.
   19894 pic_flag=$lt_lt_prog_compiler_pic
   19895 
   19896 # How to pass a linker flag through the compiler.
   19897 wl=$lt_lt_prog_compiler_wl
   19898 
   19899 # Compiler flag to prevent dynamic linking.
   19900 link_static_flag=$lt_lt_prog_compiler_static
   19901 
   19902 # Does compiler simultaneously support -c and -o options?
   19903 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19904 
   19905 # Whether or not to add -lc for building shared libraries.
   19906 build_libtool_need_lc=$archive_cmds_need_lc
   19907 
   19908 # Whether or not to disallow shared libs when runtime libs are static.
   19909 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19910 
   19911 # Compiler flag to allow reflexive dlopens.
   19912 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19913 
   19914 # Compiler flag to generate shared objects directly from archives.
   19915 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19916 
   19917 # Whether the compiler copes with passing no objects directly.
   19918 compiler_needs_object=$lt_compiler_needs_object
   19919 
   19920 # Create an old-style archive from a shared archive.
   19921 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19922 
   19923 # Create a temporary old-style archive to link instead of a shared archive.
   19924 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19925 
   19926 # Commands used to build a shared archive.
   19927 archive_cmds=$lt_archive_cmds
   19928 archive_expsym_cmds=$lt_archive_expsym_cmds
   19929 
   19930 # Commands used to build a loadable module if different from building
   19931 # a shared archive.
   19932 module_cmds=$lt_module_cmds
   19933 module_expsym_cmds=$lt_module_expsym_cmds
   19934 
   19935 # Whether we are building with GNU ld or not.
   19936 with_gnu_ld=$lt_with_gnu_ld
   19937 
   19938 # Flag that allows shared libraries with undefined symbols to be built.
   19939 allow_undefined_flag=$lt_allow_undefined_flag
   19940 
   19941 # Flag that enforces no undefined symbols.
   19942 no_undefined_flag=$lt_no_undefined_flag
   19943 
   19944 # Flag to hardcode \$libdir into a binary during linking.
   19945 # This must work even if \$libdir does not exist
   19946 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19947 
   19948 # Whether we need a single "-rpath" flag with a separated argument.
   19949 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19950 
   19951 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19952 # DIR into the resulting binary.
   19953 hardcode_direct=$hardcode_direct
   19954 
   19955 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19956 # DIR into the resulting binary and the resulting library dependency is
   19957 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19958 # library is relocated.
   19959 hardcode_direct_absolute=$hardcode_direct_absolute
   19960 
   19961 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19962 # into the resulting binary.
   19963 hardcode_minus_L=$hardcode_minus_L
   19964 
   19965 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19966 # into the resulting binary.
   19967 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19968 
   19969 # Set to "yes" if building a shared library automatically hardcodes DIR
   19970 # into the library and all subsequent libraries and executables linked
   19971 # against it.
   19972 hardcode_automatic=$hardcode_automatic
   19973 
   19974 # Set to yes if linker adds runtime paths of dependent libraries
   19975 # to runtime path list.
   19976 inherit_rpath=$inherit_rpath
   19977 
   19978 # Whether libtool must link a program against all its dependency libraries.
   19979 link_all_deplibs=$link_all_deplibs
   19980 
   19981 # Set to "yes" if exported symbols are required.
   19982 always_export_symbols=$always_export_symbols
   19983 
   19984 # The commands to list exported symbols.
   19985 export_symbols_cmds=$lt_export_symbols_cmds
   19986 
   19987 # Symbols that should not be listed in the preloaded symbols.
   19988 exclude_expsyms=$lt_exclude_expsyms
   19989 
   19990 # Symbols that must always be exported.
   19991 include_expsyms=$lt_include_expsyms
   19992 
   19993 # Commands necessary for linking programs (against libraries) with templates.
   19994 prelink_cmds=$lt_prelink_cmds
   19995 
   19996 # Commands necessary for finishing linking programs.
   19997 postlink_cmds=$lt_postlink_cmds
   19998 
   19999 # Specify filename containing input files.
   20000 file_list_spec=$lt_file_list_spec
   20001 
   20002 # How to hardcode a shared library path into an executable.
   20003 hardcode_action=$hardcode_action
   20004 
   20005 # ### END LIBTOOL CONFIG
   20006 
   20007 _LT_EOF
   20008 
   20009   case $host_os in
   20010   aix3*)
   20011     cat <<\_LT_EOF >> "$cfgfile"
   20012 # AIX sometimes has problems with the GCC collect2 program.  For some
   20013 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20014 # vanish in a puff of smoke.
   20015 if test "X${COLLECT_NAMES+set}" != Xset; then
   20016   COLLECT_NAMES=
   20017   export COLLECT_NAMES
   20018 fi
   20019 _LT_EOF
   20020     ;;
   20021   esac
   20022 
   20023 
   20024 ltmain="$ac_aux_dir/ltmain.sh"
   20025 
   20026 
   20027   # We use sed instead of cat because bash on DJGPP gets confused if
   20028   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20029   # text mode, it properly converts lines to CR/LF.  This bash problem
   20030   # is reportedly fixed, but why not run on old versions too?
   20031   sed '$q' "$ltmain" >> "$cfgfile" \
   20032      || (rm -f "$cfgfile"; exit 1)
   20033 
   20034   if test x"$xsi_shell" = xyes; then
   20035   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20036 func_dirname ()\
   20037 {\
   20038 \    case ${1} in\
   20039 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20040 \      *  ) func_dirname_result="${3}" ;;\
   20041 \    esac\
   20042 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20043   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20044     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20045 test 0 -eq $? || _lt_function_replace_fail=:
   20046 
   20047 
   20048   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20049 func_basename ()\
   20050 {\
   20051 \    func_basename_result="${1##*/}"\
   20052 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20053   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20054     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20055 test 0 -eq $? || _lt_function_replace_fail=:
   20056 
   20057 
   20058   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20059 func_dirname_and_basename ()\
   20060 {\
   20061 \    case ${1} in\
   20062 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20063 \      *  ) func_dirname_result="${3}" ;;\
   20064 \    esac\
   20065 \    func_basename_result="${1##*/}"\
   20066 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20067   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20068     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20069 test 0 -eq $? || _lt_function_replace_fail=:
   20070 
   20071 
   20072   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20073 func_stripname ()\
   20074 {\
   20075 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20076 \    # positional parameters, so assign one to ordinary parameter first.\
   20077 \    func_stripname_result=${3}\
   20078 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20079 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20080 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20081   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20082     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20083 test 0 -eq $? || _lt_function_replace_fail=:
   20084 
   20085 
   20086   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20087 func_split_long_opt ()\
   20088 {\
   20089 \    func_split_long_opt_name=${1%%=*}\
   20090 \    func_split_long_opt_arg=${1#*=}\
   20091 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20092   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20093     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20094 test 0 -eq $? || _lt_function_replace_fail=:
   20095 
   20096 
   20097   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20098 func_split_short_opt ()\
   20099 {\
   20100 \    func_split_short_opt_arg=${1#??}\
   20101 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20102 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20103   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20104     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20105 test 0 -eq $? || _lt_function_replace_fail=:
   20106 
   20107 
   20108   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20109 func_lo2o ()\
   20110 {\
   20111 \    case ${1} in\
   20112 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20113 \      *)    func_lo2o_result=${1} ;;\
   20114 \    esac\
   20115 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20116   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20117     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20118 test 0 -eq $? || _lt_function_replace_fail=:
   20119 
   20120 
   20121   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20122 func_xform ()\
   20123 {\
   20124     func_xform_result=${1%.*}.lo\
   20125 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20126   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20127     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20128 test 0 -eq $? || _lt_function_replace_fail=:
   20129 
   20130 
   20131   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20132 func_arith ()\
   20133 {\
   20134     func_arith_result=$(( $* ))\
   20135 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20136   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20137     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20138 test 0 -eq $? || _lt_function_replace_fail=:
   20139 
   20140 
   20141   sed -e '/^func_len ()$/,/^} # func_len /c\
   20142 func_len ()\
   20143 {\
   20144     func_len_result=${#1}\
   20145 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20146   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20147     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20148 test 0 -eq $? || _lt_function_replace_fail=:
   20149 
   20150 fi
   20151 
   20152 if test x"$lt_shell_append" = xyes; then
   20153   sed -e '/^func_append ()$/,/^} # func_append /c\
   20154 func_append ()\
   20155 {\
   20156     eval "${1}+=\\${2}"\
   20157 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20158   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20159     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20160 test 0 -eq $? || _lt_function_replace_fail=:
   20161 
   20162 
   20163   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20164 func_append_quoted ()\
   20165 {\
   20166 \    func_quote_for_eval "${2}"\
   20167 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20168 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20169   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20170     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20171 test 0 -eq $? || _lt_function_replace_fail=:
   20172 
   20173 
   20174   # Save a `func_append' function call where possible by direct use of '+='
   20175   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20176     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20177       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20178   test 0 -eq $? || _lt_function_replace_fail=:
   20179 else
   20180   # Save a `func_append' function call even when '+=' is not available
   20181   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20182     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20183       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20184   test 0 -eq $? || _lt_function_replace_fail=:
   20185 fi
   20186 
   20187 if test x"$_lt_function_replace_fail" = x":"; then
   20188   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20189 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20190 fi
   20191 
   20192 
   20193    mv -f "$cfgfile" "$ofile" ||
   20194     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20195   chmod +x "$ofile"
   20196 
   20197  ;;
   20198 
   20199   esac
   20200 done # for ac_tag
   20201 
   20202 
   20203 as_fn_exit 0
   20204 _ACEOF
   20205 ac_clean_files=$ac_clean_files_save
   20206 
   20207 test $ac_write_fail = 0 ||
   20208   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20209 
   20210 
   20211 # configure is writing to config.log, and then calls config.status.
   20212 # config.status does its own redirection, appending to config.log.
   20213 # Unfortunately, on DOS this fails, as config.log is still kept open
   20214 # by configure, so config.status won't be able to write to it; its
   20215 # output is simply discarded.  So we exec the FD to /dev/null,
   20216 # effectively closing config.log, so it can be properly (re)opened and
   20217 # appended to by config.status.  When coming back to configure, we
   20218 # need to make the FD available again.
   20219 if test "$no_create" != yes; then
   20220   ac_cs_success=:
   20221   ac_config_status_args=
   20222   test "$silent" = yes &&
   20223     ac_config_status_args="$ac_config_status_args --quiet"
   20224   exec 5>/dev/null
   20225   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20226   exec 5>>config.log
   20227   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20228   # would make configure fail if this is the last instruction.
   20229   $ac_cs_success || as_fn_exit 1
   20230 fi
   20231 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20232   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20233 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20234 fi
   20235 
   20236