Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-ati 7.8.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='xf86-video-ati'
    593 PACKAGE_TARNAME='xf86-video-ati'
    594 PACKAGE_VERSION='7.8.0'
    595 PACKAGE_STRING='xf86-video-ati 7.8.0'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 DRIVER_NAME
    641 moduledir
    642 PCIACCESS_LIBS
    643 PCIACCESS_CFLAGS
    644 GLAMOR_FALSE
    645 GLAMOR_TRUE
    646 LIBGLAMOR_EGL_LIBS
    647 LIBGLAMOR_EGL_CFLAGS
    648 LIBGLAMOR_LIBS
    649 LIBGLAMOR_CFLAGS
    650 LIBUDEV_FALSE
    651 LIBUDEV_TRUE
    652 LIBUDEV_LIBS
    653 LIBUDEV_CFLAGS
    654 HAVE_XEXTPROTO_71_FALSE
    655 HAVE_XEXTPROTO_71_TRUE
    656 XEXT_LIBS
    657 XEXT_CFLAGS
    658 XORG_LIBS
    659 XORG_CFLAGS
    660 LIBDRM_RADEON_LIBS
    661 LIBDRM_RADEON_CFLAGS
    662 LIBDRM_LIBS
    663 LIBDRM_CFLAGS
    664 LT_SYS_LIBRARY_PATH
    665 OTOOL64
    666 OTOOL
    667 LIPO
    668 NMEDIT
    669 DSYMUTIL
    670 MANIFEST_TOOL
    671 RANLIB
    672 ac_ct_AR
    673 AR
    674 DLLTOOL
    675 OBJDUMP
    676 LN_S
    677 NM
    678 ac_ct_DUMPBIN
    679 DUMPBIN
    680 LD
    681 FGREP
    682 LIBTOOL
    683 MAN_SUBSTS
    684 XORG_MAN_PAGE
    685 ADMIN_MAN_DIR
    686 DRIVER_MAN_DIR
    687 MISC_MAN_DIR
    688 FILE_MAN_DIR
    689 LIB_MAN_DIR
    690 APP_MAN_DIR
    691 ADMIN_MAN_SUFFIX
    692 DRIVER_MAN_SUFFIX
    693 MISC_MAN_SUFFIX
    694 FILE_MAN_SUFFIX
    695 LIB_MAN_SUFFIX
    696 APP_MAN_SUFFIX
    697 SED
    698 host_os
    699 host_vendor
    700 host_cpu
    701 host
    702 build_os
    703 build_vendor
    704 build_cpu
    705 build
    706 INSTALL_CMD
    707 PKG_CONFIG_LIBDIR
    708 PKG_CONFIG_PATH
    709 PKG_CONFIG
    710 CHANGELOG_CMD
    711 STRICT_CFLAGS
    712 CWARNFLAGS
    713 BASE_CFLAGS
    714 EGREP
    715 GREP
    716 CPP
    717 am__fastdepCC_FALSE
    718 am__fastdepCC_TRUE
    719 CCDEPMODE
    720 am__nodep
    721 AMDEPBACKSLASH
    722 AMDEP_FALSE
    723 AMDEP_TRUE
    724 am__quote
    725 am__include
    726 DEPDIR
    727 OBJEXT
    728 EXEEXT
    729 ac_ct_CC
    730 CPPFLAGS
    731 LDFLAGS
    732 CFLAGS
    733 CC
    734 AM_BACKSLASH
    735 AM_DEFAULT_VERBOSITY
    736 AM_DEFAULT_V
    737 AM_V
    738 am__untar
    739 am__tar
    740 AMTAR
    741 am__leading_dot
    742 SET_MAKE
    743 AWK
    744 mkdir_p
    745 MKDIR_P
    746 INSTALL_STRIP_PROGRAM
    747 STRIP
    748 install_sh
    749 MAKEINFO
    750 AUTOHEADER
    751 AUTOMAKE
    752 AUTOCONF
    753 ACLOCAL
    754 VERSION
    755 PACKAGE
    756 CYGPATH_W
    757 am__isrc
    758 INSTALL_DATA
    759 INSTALL_SCRIPT
    760 INSTALL_PROGRAM
    761 target_alias
    762 host_alias
    763 build_alias
    764 LIBS
    765 ECHO_T
    766 ECHO_N
    767 ECHO_C
    768 DEFS
    769 mandir
    770 localedir
    771 libdir
    772 psdir
    773 pdfdir
    774 dvidir
    775 htmldir
    776 infodir
    777 docdir
    778 oldincludedir
    779 includedir
    780 runstatedir
    781 localstatedir
    782 sharedstatedir
    783 sysconfdir
    784 datadir
    785 datarootdir
    786 libexecdir
    787 sbindir
    788 bindir
    789 program_transform_name
    790 prefix
    791 exec_prefix
    792 PACKAGE_URL
    793 PACKAGE_BUGREPORT
    794 PACKAGE_STRING
    795 PACKAGE_VERSION
    796 PACKAGE_TARNAME
    797 PACKAGE_NAME
    798 PATH_SEPARATOR
    799 SHELL'
    800 ac_subst_files=''
    801 ac_user_opts='
    802 enable_option_checking
    803 enable_silent_rules
    804 enable_largefile
    805 enable_dependency_tracking
    806 enable_selective_werror
    807 enable_strict_compilation
    808 enable_static
    809 enable_shared
    810 with_pic
    811 enable_fast_install
    812 with_aix_soname
    813 with_gnu_ld
    814 with_sysroot
    815 enable_libtool_lock
    816 with_xorg_module_dir
    817 enable_udev
    818 enable_glamor
    819 '
    820       ac_precious_vars='build_alias
    821 host_alias
    822 target_alias
    823 CC
    824 CFLAGS
    825 LDFLAGS
    826 LIBS
    827 CPPFLAGS
    828 CPP
    829 PKG_CONFIG
    830 PKG_CONFIG_PATH
    831 PKG_CONFIG_LIBDIR
    832 LT_SYS_LIBRARY_PATH
    833 LIBDRM_CFLAGS
    834 LIBDRM_LIBS
    835 LIBDRM_RADEON_CFLAGS
    836 LIBDRM_RADEON_LIBS
    837 XORG_CFLAGS
    838 XORG_LIBS
    839 XEXT_CFLAGS
    840 XEXT_LIBS
    841 LIBUDEV_CFLAGS
    842 LIBUDEV_LIBS
    843 LIBGLAMOR_CFLAGS
    844 LIBGLAMOR_LIBS
    845 LIBGLAMOR_EGL_CFLAGS
    846 LIBGLAMOR_EGL_LIBS
    847 PCIACCESS_CFLAGS
    848 PCIACCESS_LIBS'
    849 
    850 
    851 # Initialize some variables set by options.
    852 ac_init_help=
    853 ac_init_version=false
    854 ac_unrecognized_opts=
    855 ac_unrecognized_sep=
    856 # The variables have the same names as the options, with
    857 # dashes changed to underlines.
    858 cache_file=/dev/null
    859 exec_prefix=NONE
    860 no_create=
    861 no_recursion=
    862 prefix=NONE
    863 program_prefix=NONE
    864 program_suffix=NONE
    865 program_transform_name=s,x,x,
    866 silent=
    867 site=
    868 srcdir=
    869 verbose=
    870 x_includes=NONE
    871 x_libraries=NONE
    872 
    873 # Installation directory options.
    874 # These are left unexpanded so users can "make install exec_prefix=/foo"
    875 # and all the variables that are supposed to be based on exec_prefix
    876 # by default will actually change.
    877 # Use braces instead of parens because sh, perl, etc. also accept them.
    878 # (The list follows the same order as the GNU Coding Standards.)
    879 bindir='${exec_prefix}/bin'
    880 sbindir='${exec_prefix}/sbin'
    881 libexecdir='${exec_prefix}/libexec'
    882 datarootdir='${prefix}/share'
    883 datadir='${datarootdir}'
    884 sysconfdir='${prefix}/etc'
    885 sharedstatedir='${prefix}/com'
    886 localstatedir='${prefix}/var'
    887 runstatedir='${localstatedir}/run'
    888 includedir='${prefix}/include'
    889 oldincludedir='/usr/include'
    890 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    891 infodir='${datarootdir}/info'
    892 htmldir='${docdir}'
    893 dvidir='${docdir}'
    894 pdfdir='${docdir}'
    895 psdir='${docdir}'
    896 libdir='${exec_prefix}/lib'
    897 localedir='${datarootdir}/locale'
    898 mandir='${datarootdir}/man'
    899 
    900 ac_prev=
    901 ac_dashdash=
    902 for ac_option
    903 do
    904   # If the previous option needs an argument, assign it.
    905   if test -n "$ac_prev"; then
    906     eval $ac_prev=\$ac_option
    907     ac_prev=
    908     continue
    909   fi
    910 
    911   case $ac_option in
    912   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    913   *=)   ac_optarg= ;;
    914   *)    ac_optarg=yes ;;
    915   esac
    916 
    917   # Accept the important Cygnus configure options, so we can diagnose typos.
    918 
    919   case $ac_dashdash$ac_option in
    920   --)
    921     ac_dashdash=yes ;;
    922 
    923   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    924     ac_prev=bindir ;;
    925   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    926     bindir=$ac_optarg ;;
    927 
    928   -build | --build | --buil | --bui | --bu)
    929     ac_prev=build_alias ;;
    930   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    931     build_alias=$ac_optarg ;;
    932 
    933   -cache-file | --cache-file | --cache-fil | --cache-fi \
    934   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    935     ac_prev=cache_file ;;
    936   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    937   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    938     cache_file=$ac_optarg ;;
    939 
    940   --config-cache | -C)
    941     cache_file=config.cache ;;
    942 
    943   -datadir | --datadir | --datadi | --datad)
    944     ac_prev=datadir ;;
    945   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    946     datadir=$ac_optarg ;;
    947 
    948   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    949   | --dataroo | --dataro | --datar)
    950     ac_prev=datarootdir ;;
    951   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    952   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    953     datarootdir=$ac_optarg ;;
    954 
    955   -disable-* | --disable-*)
    956     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    957     # Reject names that are not valid shell variable names.
    958     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    959       as_fn_error $? "invalid feature name: $ac_useropt"
    960     ac_useropt_orig=$ac_useropt
    961     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    962     case $ac_user_opts in
    963       *"
    964 "enable_$ac_useropt"
    965 "*) ;;
    966       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    967 	 ac_unrecognized_sep=', ';;
    968     esac
    969     eval enable_$ac_useropt=no ;;
    970 
    971   -docdir | --docdir | --docdi | --doc | --do)
    972     ac_prev=docdir ;;
    973   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    974     docdir=$ac_optarg ;;
    975 
    976   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    977     ac_prev=dvidir ;;
    978   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    979     dvidir=$ac_optarg ;;
    980 
    981   -enable-* | --enable-*)
    982     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    983     # Reject names that are not valid shell variable names.
    984     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    985       as_fn_error $? "invalid feature name: $ac_useropt"
    986     ac_useropt_orig=$ac_useropt
    987     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    988     case $ac_user_opts in
    989       *"
    990 "enable_$ac_useropt"
    991 "*) ;;
    992       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    993 	 ac_unrecognized_sep=', ';;
    994     esac
    995     eval enable_$ac_useropt=\$ac_optarg ;;
    996 
    997   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    998   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    999   | --exec | --exe | --ex)
   1000     ac_prev=exec_prefix ;;
   1001   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1002   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1003   | --exec=* | --exe=* | --ex=*)
   1004     exec_prefix=$ac_optarg ;;
   1005 
   1006   -gas | --gas | --ga | --g)
   1007     # Obsolete; use --with-gas.
   1008     with_gas=yes ;;
   1009 
   1010   -help | --help | --hel | --he | -h)
   1011     ac_init_help=long ;;
   1012   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1013     ac_init_help=recursive ;;
   1014   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1015     ac_init_help=short ;;
   1016 
   1017   -host | --host | --hos | --ho)
   1018     ac_prev=host_alias ;;
   1019   -host=* | --host=* | --hos=* | --ho=*)
   1020     host_alias=$ac_optarg ;;
   1021 
   1022   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1023     ac_prev=htmldir ;;
   1024   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1025   | --ht=*)
   1026     htmldir=$ac_optarg ;;
   1027 
   1028   -includedir | --includedir | --includedi | --included | --include \
   1029   | --includ | --inclu | --incl | --inc)
   1030     ac_prev=includedir ;;
   1031   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1032   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1033     includedir=$ac_optarg ;;
   1034 
   1035   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1036     ac_prev=infodir ;;
   1037   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1038     infodir=$ac_optarg ;;
   1039 
   1040   -libdir | --libdir | --libdi | --libd)
   1041     ac_prev=libdir ;;
   1042   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1043     libdir=$ac_optarg ;;
   1044 
   1045   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1046   | --libexe | --libex | --libe)
   1047     ac_prev=libexecdir ;;
   1048   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1049   | --libexe=* | --libex=* | --libe=*)
   1050     libexecdir=$ac_optarg ;;
   1051 
   1052   -localedir | --localedir | --localedi | --localed | --locale)
   1053     ac_prev=localedir ;;
   1054   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1055     localedir=$ac_optarg ;;
   1056 
   1057   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1058   | --localstate | --localstat | --localsta | --localst | --locals)
   1059     ac_prev=localstatedir ;;
   1060   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1061   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1062     localstatedir=$ac_optarg ;;
   1063 
   1064   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1065     ac_prev=mandir ;;
   1066   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1067     mandir=$ac_optarg ;;
   1068 
   1069   -nfp | --nfp | --nf)
   1070     # Obsolete; use --without-fp.
   1071     with_fp=no ;;
   1072 
   1073   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1074   | --no-cr | --no-c | -n)
   1075     no_create=yes ;;
   1076 
   1077   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1078   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1079     no_recursion=yes ;;
   1080 
   1081   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1082   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1083   | --oldin | --oldi | --old | --ol | --o)
   1084     ac_prev=oldincludedir ;;
   1085   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1086   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1087   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1088     oldincludedir=$ac_optarg ;;
   1089 
   1090   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1091     ac_prev=prefix ;;
   1092   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1093     prefix=$ac_optarg ;;
   1094 
   1095   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1096   | --program-pre | --program-pr | --program-p)
   1097     ac_prev=program_prefix ;;
   1098   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1099   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1100     program_prefix=$ac_optarg ;;
   1101 
   1102   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1103   | --program-suf | --program-su | --program-s)
   1104     ac_prev=program_suffix ;;
   1105   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1106   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1107     program_suffix=$ac_optarg ;;
   1108 
   1109   -program-transform-name | --program-transform-name \
   1110   | --program-transform-nam | --program-transform-na \
   1111   | --program-transform-n | --program-transform- \
   1112   | --program-transform | --program-transfor \
   1113   | --program-transfo | --program-transf \
   1114   | --program-trans | --program-tran \
   1115   | --progr-tra | --program-tr | --program-t)
   1116     ac_prev=program_transform_name ;;
   1117   -program-transform-name=* | --program-transform-name=* \
   1118   | --program-transform-nam=* | --program-transform-na=* \
   1119   | --program-transform-n=* | --program-transform-=* \
   1120   | --program-transform=* | --program-transfor=* \
   1121   | --program-transfo=* | --program-transf=* \
   1122   | --program-trans=* | --program-tran=* \
   1123   | --progr-tra=* | --program-tr=* | --program-t=*)
   1124     program_transform_name=$ac_optarg ;;
   1125 
   1126   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1127     ac_prev=pdfdir ;;
   1128   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1129     pdfdir=$ac_optarg ;;
   1130 
   1131   -psdir | --psdir | --psdi | --psd | --ps)
   1132     ac_prev=psdir ;;
   1133   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1134     psdir=$ac_optarg ;;
   1135 
   1136   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1137   | -silent | --silent | --silen | --sile | --sil)
   1138     silent=yes ;;
   1139 
   1140   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1141   | --runstate | --runstat | --runsta | --runst | --runs \
   1142   | --run | --ru | --r)
   1143     ac_prev=runstatedir ;;
   1144   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1145   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1146   | --run=* | --ru=* | --r=*)
   1147     runstatedir=$ac_optarg ;;
   1148 
   1149   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1150     ac_prev=sbindir ;;
   1151   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1152   | --sbi=* | --sb=*)
   1153     sbindir=$ac_optarg ;;
   1154 
   1155   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1156   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1157   | --sharedst | --shareds | --shared | --share | --shar \
   1158   | --sha | --sh)
   1159     ac_prev=sharedstatedir ;;
   1160   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1161   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1162   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1163   | --sha=* | --sh=*)
   1164     sharedstatedir=$ac_optarg ;;
   1165 
   1166   -site | --site | --sit)
   1167     ac_prev=site ;;
   1168   -site=* | --site=* | --sit=*)
   1169     site=$ac_optarg ;;
   1170 
   1171   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1172     ac_prev=srcdir ;;
   1173   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1174     srcdir=$ac_optarg ;;
   1175 
   1176   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1177   | --syscon | --sysco | --sysc | --sys | --sy)
   1178     ac_prev=sysconfdir ;;
   1179   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1180   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1181     sysconfdir=$ac_optarg ;;
   1182 
   1183   -target | --target | --targe | --targ | --tar | --ta | --t)
   1184     ac_prev=target_alias ;;
   1185   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1186     target_alias=$ac_optarg ;;
   1187 
   1188   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1189     verbose=yes ;;
   1190 
   1191   -version | --version | --versio | --versi | --vers | -V)
   1192     ac_init_version=: ;;
   1193 
   1194   -with-* | --with-*)
   1195     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1196     # Reject names that are not valid shell variable names.
   1197     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1198       as_fn_error $? "invalid package name: $ac_useropt"
   1199     ac_useropt_orig=$ac_useropt
   1200     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1201     case $ac_user_opts in
   1202       *"
   1203 "with_$ac_useropt"
   1204 "*) ;;
   1205       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1206 	 ac_unrecognized_sep=', ';;
   1207     esac
   1208     eval with_$ac_useropt=\$ac_optarg ;;
   1209 
   1210   -without-* | --without-*)
   1211     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1212     # Reject names that are not valid shell variable names.
   1213     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1214       as_fn_error $? "invalid package name: $ac_useropt"
   1215     ac_useropt_orig=$ac_useropt
   1216     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1217     case $ac_user_opts in
   1218       *"
   1219 "with_$ac_useropt"
   1220 "*) ;;
   1221       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1222 	 ac_unrecognized_sep=', ';;
   1223     esac
   1224     eval with_$ac_useropt=no ;;
   1225 
   1226   --x)
   1227     # Obsolete; use --with-x.
   1228     with_x=yes ;;
   1229 
   1230   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1231   | --x-incl | --x-inc | --x-in | --x-i)
   1232     ac_prev=x_includes ;;
   1233   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1234   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1235     x_includes=$ac_optarg ;;
   1236 
   1237   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1238   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1239     ac_prev=x_libraries ;;
   1240   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1241   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1242     x_libraries=$ac_optarg ;;
   1243 
   1244   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1245 Try \`$0 --help' for more information"
   1246     ;;
   1247 
   1248   *=*)
   1249     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1250     # Reject names that are not valid shell variable names.
   1251     case $ac_envvar in #(
   1252       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1253       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1254     esac
   1255     eval $ac_envvar=\$ac_optarg
   1256     export $ac_envvar ;;
   1257 
   1258   *)
   1259     # FIXME: should be removed in autoconf 3.0.
   1260     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1261     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1262       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1263     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1264     ;;
   1265 
   1266   esac
   1267 done
   1268 
   1269 if test -n "$ac_prev"; then
   1270   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1271   as_fn_error $? "missing argument to $ac_option"
   1272 fi
   1273 
   1274 if test -n "$ac_unrecognized_opts"; then
   1275   case $enable_option_checking in
   1276     no) ;;
   1277     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1278     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1279   esac
   1280 fi
   1281 
   1282 # Check all directory arguments for consistency.
   1283 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1284 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1285 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1286 		libdir localedir mandir runstatedir
   1287 do
   1288   eval ac_val=\$$ac_var
   1289   # Remove trailing slashes.
   1290   case $ac_val in
   1291     */ )
   1292       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1293       eval $ac_var=\$ac_val;;
   1294   esac
   1295   # Be sure to have absolute directory names.
   1296   case $ac_val in
   1297     [\\/$]* | ?:[\\/]* )  continue;;
   1298     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1299   esac
   1300   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1301 done
   1302 
   1303 # There might be people who depend on the old broken behavior: `$host'
   1304 # used to hold the argument of --host etc.
   1305 # FIXME: To remove some day.
   1306 build=$build_alias
   1307 host=$host_alias
   1308 target=$target_alias
   1309 
   1310 # FIXME: To remove some day.
   1311 if test "x$host_alias" != x; then
   1312   if test "x$build_alias" = x; then
   1313     cross_compiling=maybe
   1314   elif test "x$build_alias" != "x$host_alias"; then
   1315     cross_compiling=yes
   1316   fi
   1317 fi
   1318 
   1319 ac_tool_prefix=
   1320 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1321 
   1322 test "$silent" = yes && exec 6>/dev/null
   1323 
   1324 
   1325 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1326 ac_ls_di=`ls -di .` &&
   1327 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1328   as_fn_error $? "working directory cannot be determined"
   1329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1330   as_fn_error $? "pwd does not report name of working directory"
   1331 
   1332 
   1333 # Find the source files, if location was not specified.
   1334 if test -z "$srcdir"; then
   1335   ac_srcdir_defaulted=yes
   1336   # Try the directory containing this script, then the parent directory.
   1337   ac_confdir=`$as_dirname -- "$as_myself" ||
   1338 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1339 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1340 	 X"$as_myself" : 'X\(//\)$' \| \
   1341 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1342 $as_echo X"$as_myself" |
   1343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1344 	    s//\1/
   1345 	    q
   1346 	  }
   1347 	  /^X\(\/\/\)[^/].*/{
   1348 	    s//\1/
   1349 	    q
   1350 	  }
   1351 	  /^X\(\/\/\)$/{
   1352 	    s//\1/
   1353 	    q
   1354 	  }
   1355 	  /^X\(\/\).*/{
   1356 	    s//\1/
   1357 	    q
   1358 	  }
   1359 	  s/.*/./; q'`
   1360   srcdir=$ac_confdir
   1361   if test ! -r "$srcdir/$ac_unique_file"; then
   1362     srcdir=..
   1363   fi
   1364 else
   1365   ac_srcdir_defaulted=no
   1366 fi
   1367 if test ! -r "$srcdir/$ac_unique_file"; then
   1368   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1369   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1370 fi
   1371 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1372 ac_abs_confdir=`(
   1373 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1374 	pwd)`
   1375 # When building in place, set srcdir=.
   1376 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1377   srcdir=.
   1378 fi
   1379 # Remove unnecessary trailing slashes from srcdir.
   1380 # Double slashes in file names in object file debugging info
   1381 # mess up M-x gdb in Emacs.
   1382 case $srcdir in
   1383 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1384 esac
   1385 for ac_var in $ac_precious_vars; do
   1386   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1387   eval ac_env_${ac_var}_value=\$${ac_var}
   1388   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1389   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1390 done
   1391 
   1392 #
   1393 # Report the --help message.
   1394 #
   1395 if test "$ac_init_help" = "long"; then
   1396   # Omit some internal or obsolete options to make the list less imposing.
   1397   # This message is too long to be a string in the A/UX 3.1 sh.
   1398   cat <<_ACEOF
   1399 \`configure' configures xf86-video-ati 7.8.0 to adapt to many kinds of systems.
   1400 
   1401 Usage: $0 [OPTION]... [VAR=VALUE]...
   1402 
   1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1404 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1405 
   1406 Defaults for the options are specified in brackets.
   1407 
   1408 Configuration:
   1409   -h, --help              display this help and exit
   1410       --help=short        display options specific to this package
   1411       --help=recursive    display the short help of all the included packages
   1412   -V, --version           display version information and exit
   1413   -q, --quiet, --silent   do not print \`checking ...' messages
   1414       --cache-file=FILE   cache test results in FILE [disabled]
   1415   -C, --config-cache      alias for \`--cache-file=config.cache'
   1416   -n, --no-create         do not create output files
   1417       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1418 
   1419 Installation directories:
   1420   --prefix=PREFIX         install architecture-independent files in PREFIX
   1421                           [$ac_default_prefix]
   1422   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1423                           [PREFIX]
   1424 
   1425 By default, \`make install' will install all the files in
   1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1428 for instance \`--prefix=\$HOME'.
   1429 
   1430 For better control, use the options below.
   1431 
   1432 Fine tuning of the installation directories:
   1433   --bindir=DIR            user executables [EPREFIX/bin]
   1434   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1435   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1436   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1437   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1438   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1439   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1440   --libdir=DIR            object code libraries [EPREFIX/lib]
   1441   --includedir=DIR        C header files [PREFIX/include]
   1442   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1443   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1444   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1445   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1446   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1447   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1448   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-ati]
   1449   --htmldir=DIR           html documentation [DOCDIR]
   1450   --dvidir=DIR            dvi documentation [DOCDIR]
   1451   --pdfdir=DIR            pdf documentation [DOCDIR]
   1452   --psdir=DIR             ps documentation [DOCDIR]
   1453 _ACEOF
   1454 
   1455   cat <<\_ACEOF
   1456 
   1457 Program names:
   1458   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1459   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1460   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1461 
   1462 System types:
   1463   --build=BUILD     configure for building on BUILD [guessed]
   1464   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1465 _ACEOF
   1466 fi
   1467 
   1468 if test -n "$ac_init_help"; then
   1469   case $ac_init_help in
   1470      short | recursive ) echo "Configuration of xf86-video-ati 7.8.0:";;
   1471    esac
   1472   cat <<\_ACEOF
   1473 
   1474 Optional Features:
   1475   --disable-option-checking  ignore unrecognized --enable/--with options
   1476   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1477   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1478   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1479   --disable-silent-rules  verbose build output (undo: "make V=0")
   1480   --disable-largefile     omit support for large files
   1481   --enable-dependency-tracking
   1482                           do not reject slow dependency extractors
   1483   --disable-dependency-tracking
   1484                           speeds up one-time build
   1485   --disable-selective-werror
   1486                           Turn off selective compiler errors. (default:
   1487                           enabled)
   1488   --enable-strict-compilation
   1489                           Enable all warnings from compiler and make them
   1490                           errors (default: disabled)
   1491   --enable-static[=PKGS]  build static libraries [default=no]
   1492   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1493   --enable-fast-install[=PKGS]
   1494                           optimize for fast installation [default=yes]
   1495   --disable-libtool-lock  avoid locking (might break parallel builds)
   1496   --disable-udev          Disable libudev support [default=auto]
   1497   --disable-glamor        Disable glamor, a new GL-based acceleration
   1498                           [default=enabled]
   1499 
   1500 Optional Packages:
   1501   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1502   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1503   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1504                           both]
   1505   --with-aix-soname=aix|svr4|both
   1506                           shared library versioning (aka "SONAME") variant to
   1507                           provide on AIX, [default=aix].
   1508   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1509   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1510                           compiler's sysroot if not specified).
   1511   --with-xorg-module-dir=DIR
   1512                           Default xorg module directory
   1513                           [[default=$libdir/xorg/modules]]
   1514 
   1515 Some influential environment variables:
   1516   CC          C compiler command
   1517   CFLAGS      C compiler flags
   1518   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1519               nonstandard directory <lib dir>
   1520   LIBS        libraries to pass to the linker, e.g. -l<library>
   1521   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1522               you have headers in a nonstandard directory <include dir>
   1523   CPP         C preprocessor
   1524   PKG_CONFIG  path to pkg-config utility
   1525   PKG_CONFIG_PATH
   1526               directories to add to pkg-config's search path
   1527   PKG_CONFIG_LIBDIR
   1528               path overriding pkg-config's built-in search path
   1529   LT_SYS_LIBRARY_PATH
   1530               User-defined run-time library search path.
   1531   LIBDRM_CFLAGS
   1532               C compiler flags for LIBDRM, overriding pkg-config
   1533   LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
   1534   LIBDRM_RADEON_CFLAGS
   1535               C compiler flags for LIBDRM_RADEON, overriding pkg-config
   1536   LIBDRM_RADEON_LIBS
   1537               linker flags for LIBDRM_RADEON, overriding pkg-config
   1538   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1539   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1540   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1541   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1542   LIBUDEV_CFLAGS
   1543               C compiler flags for LIBUDEV, overriding pkg-config
   1544   LIBUDEV_LIBS
   1545               linker flags for LIBUDEV, overriding pkg-config
   1546   LIBGLAMOR_CFLAGS
   1547               C compiler flags for LIBGLAMOR, overriding pkg-config
   1548   LIBGLAMOR_LIBS
   1549               linker flags for LIBGLAMOR, overriding pkg-config
   1550   LIBGLAMOR_EGL_CFLAGS
   1551               C compiler flags for LIBGLAMOR_EGL, overriding pkg-config
   1552   LIBGLAMOR_EGL_LIBS
   1553               linker flags for LIBGLAMOR_EGL, overriding pkg-config
   1554   PCIACCESS_CFLAGS
   1555               C compiler flags for PCIACCESS, overriding pkg-config
   1556   PCIACCESS_LIBS
   1557               linker flags for PCIACCESS, overriding pkg-config
   1558 
   1559 Use these variables to override the choices made by `configure' or to help
   1560 it to find libraries and programs with nonstandard names/locations.
   1561 
   1562 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1563 _ACEOF
   1564 ac_status=$?
   1565 fi
   1566 
   1567 if test "$ac_init_help" = "recursive"; then
   1568   # If there are subdirs, report their specific --help.
   1569   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1570     test -d "$ac_dir" ||
   1571       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1572       continue
   1573     ac_builddir=.
   1574 
   1575 case "$ac_dir" in
   1576 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1577 *)
   1578   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1579   # A ".." for each directory in $ac_dir_suffix.
   1580   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1581   case $ac_top_builddir_sub in
   1582   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1583   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1584   esac ;;
   1585 esac
   1586 ac_abs_top_builddir=$ac_pwd
   1587 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1588 # for backward compatibility:
   1589 ac_top_builddir=$ac_top_build_prefix
   1590 
   1591 case $srcdir in
   1592   .)  # We are building in place.
   1593     ac_srcdir=.
   1594     ac_top_srcdir=$ac_top_builddir_sub
   1595     ac_abs_top_srcdir=$ac_pwd ;;
   1596   [\\/]* | ?:[\\/]* )  # Absolute name.
   1597     ac_srcdir=$srcdir$ac_dir_suffix;
   1598     ac_top_srcdir=$srcdir
   1599     ac_abs_top_srcdir=$srcdir ;;
   1600   *) # Relative name.
   1601     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1602     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1603     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1604 esac
   1605 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1606 
   1607     cd "$ac_dir" || { ac_status=$?; continue; }
   1608     # Check for guested configure.
   1609     if test -f "$ac_srcdir/configure.gnu"; then
   1610       echo &&
   1611       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1612     elif test -f "$ac_srcdir/configure"; then
   1613       echo &&
   1614       $SHELL "$ac_srcdir/configure" --help=recursive
   1615     else
   1616       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1617     fi || ac_status=$?
   1618     cd "$ac_pwd" || { ac_status=$?; break; }
   1619   done
   1620 fi
   1621 
   1622 test -n "$ac_init_help" && exit $ac_status
   1623 if $ac_init_version; then
   1624   cat <<\_ACEOF
   1625 xf86-video-ati configure 7.8.0
   1626 generated by GNU Autoconf 2.69
   1627 
   1628 Copyright (C) 2012 Free Software Foundation, Inc.
   1629 This configure script is free software; the Free Software Foundation
   1630 gives unlimited permission to copy, distribute and modify it.
   1631 _ACEOF
   1632   exit
   1633 fi
   1634 
   1635 ## ------------------------ ##
   1636 ## Autoconf initialization. ##
   1637 ## ------------------------ ##
   1638 
   1639 # ac_fn_c_try_compile LINENO
   1640 # --------------------------
   1641 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1642 ac_fn_c_try_compile ()
   1643 {
   1644   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1645   rm -f conftest.$ac_objext
   1646   if { { ac_try="$ac_compile"
   1647 case "(($ac_try" in
   1648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1649   *) ac_try_echo=$ac_try;;
   1650 esac
   1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1652 $as_echo "$ac_try_echo"; } >&5
   1653   (eval "$ac_compile") 2>conftest.err
   1654   ac_status=$?
   1655   if test -s conftest.err; then
   1656     grep -v '^ *+' conftest.err >conftest.er1
   1657     cat conftest.er1 >&5
   1658     mv -f conftest.er1 conftest.err
   1659   fi
   1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1661   test $ac_status = 0; } && {
   1662 	 test -z "$ac_c_werror_flag" ||
   1663 	 test ! -s conftest.err
   1664        } && test -s conftest.$ac_objext; then :
   1665   ac_retval=0
   1666 else
   1667   $as_echo "$as_me: failed program was:" >&5
   1668 sed 's/^/| /' conftest.$ac_ext >&5
   1669 
   1670 	ac_retval=1
   1671 fi
   1672   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1673   as_fn_set_status $ac_retval
   1674 
   1675 } # ac_fn_c_try_compile
   1676 
   1677 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1678 # ---------------------------------------------
   1679 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1680 # accordingly.
   1681 ac_fn_c_check_decl ()
   1682 {
   1683   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1684   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1685   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1687 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1688 if eval \${$3+:} false; then :
   1689   $as_echo_n "(cached) " >&6
   1690 else
   1691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1692 /* end confdefs.h.  */
   1693 $4
   1694 int
   1695 main ()
   1696 {
   1697 #ifndef $as_decl_name
   1698 #ifdef __cplusplus
   1699   (void) $as_decl_use;
   1700 #else
   1701   (void) $as_decl_name;
   1702 #endif
   1703 #endif
   1704 
   1705   ;
   1706   return 0;
   1707 }
   1708 _ACEOF
   1709 if ac_fn_c_try_compile "$LINENO"; then :
   1710   eval "$3=yes"
   1711 else
   1712   eval "$3=no"
   1713 fi
   1714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1715 fi
   1716 eval ac_res=\$$3
   1717 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1718 $as_echo "$ac_res" >&6; }
   1719   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1720 
   1721 } # ac_fn_c_check_decl
   1722 
   1723 # ac_fn_c_try_cpp LINENO
   1724 # ----------------------
   1725 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1726 ac_fn_c_try_cpp ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1730 case "(($ac_try" in
   1731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1732   *) ac_try_echo=$ac_try;;
   1733 esac
   1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1735 $as_echo "$ac_try_echo"; } >&5
   1736   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1737   ac_status=$?
   1738   if test -s conftest.err; then
   1739     grep -v '^ *+' conftest.err >conftest.er1
   1740     cat conftest.er1 >&5
   1741     mv -f conftest.er1 conftest.err
   1742   fi
   1743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1744   test $ac_status = 0; } > conftest.i && {
   1745 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1746 	 test ! -s conftest.err
   1747        }; then :
   1748   ac_retval=0
   1749 else
   1750   $as_echo "$as_me: failed program was:" >&5
   1751 sed 's/^/| /' conftest.$ac_ext >&5
   1752 
   1753     ac_retval=1
   1754 fi
   1755   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1756   as_fn_set_status $ac_retval
   1757 
   1758 } # ac_fn_c_try_cpp
   1759 
   1760 # ac_fn_c_try_run LINENO
   1761 # ----------------------
   1762 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1763 # that executables *can* be run.
   1764 ac_fn_c_try_run ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   if { { ac_try="$ac_link"
   1768 case "(($ac_try" in
   1769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1770   *) ac_try_echo=$ac_try;;
   1771 esac
   1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1773 $as_echo "$ac_try_echo"; } >&5
   1774   (eval "$ac_link") 2>&5
   1775   ac_status=$?
   1776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1777   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1778   { { case "(($ac_try" in
   1779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1780   *) ac_try_echo=$ac_try;;
   1781 esac
   1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1783 $as_echo "$ac_try_echo"; } >&5
   1784   (eval "$ac_try") 2>&5
   1785   ac_status=$?
   1786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1787   test $ac_status = 0; }; }; then :
   1788   ac_retval=0
   1789 else
   1790   $as_echo "$as_me: program exited with status $ac_status" >&5
   1791        $as_echo "$as_me: failed program was:" >&5
   1792 sed 's/^/| /' conftest.$ac_ext >&5
   1793 
   1794        ac_retval=$ac_status
   1795 fi
   1796   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798   as_fn_set_status $ac_retval
   1799 
   1800 } # ac_fn_c_try_run
   1801 
   1802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1803 # -------------------------------------------------------
   1804 # Tests whether HEADER exists and can be compiled using the include files in
   1805 # INCLUDES, setting the cache variable VAR accordingly.
   1806 ac_fn_c_check_header_compile ()
   1807 {
   1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1810 $as_echo_n "checking for $2... " >&6; }
   1811 if eval \${$3+:} false; then :
   1812   $as_echo_n "(cached) " >&6
   1813 else
   1814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1815 /* end confdefs.h.  */
   1816 $4
   1817 #include <$2>
   1818 _ACEOF
   1819 if ac_fn_c_try_compile "$LINENO"; then :
   1820   eval "$3=yes"
   1821 else
   1822   eval "$3=no"
   1823 fi
   1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1825 fi
   1826 eval ac_res=\$$3
   1827 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1828 $as_echo "$ac_res" >&6; }
   1829   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1830 
   1831 } # ac_fn_c_check_header_compile
   1832 
   1833 # ac_fn_c_try_link LINENO
   1834 # -----------------------
   1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1836 ac_fn_c_try_link ()
   1837 {
   1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1839   rm -f conftest.$ac_objext conftest$ac_exeext
   1840   if { { ac_try="$ac_link"
   1841 case "(($ac_try" in
   1842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1843   *) ac_try_echo=$ac_try;;
   1844 esac
   1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1846 $as_echo "$ac_try_echo"; } >&5
   1847   (eval "$ac_link") 2>conftest.err
   1848   ac_status=$?
   1849   if test -s conftest.err; then
   1850     grep -v '^ *+' conftest.err >conftest.er1
   1851     cat conftest.er1 >&5
   1852     mv -f conftest.er1 conftest.err
   1853   fi
   1854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1855   test $ac_status = 0; } && {
   1856 	 test -z "$ac_c_werror_flag" ||
   1857 	 test ! -s conftest.err
   1858        } && test -s conftest$ac_exeext && {
   1859 	 test "$cross_compiling" = yes ||
   1860 	 test -x conftest$ac_exeext
   1861        }; then :
   1862   ac_retval=0
   1863 else
   1864   $as_echo "$as_me: failed program was:" >&5
   1865 sed 's/^/| /' conftest.$ac_ext >&5
   1866 
   1867 	ac_retval=1
   1868 fi
   1869   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1870   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1871   # interfere with the next link command; also delete a directory that is
   1872   # left behind by Apple's compiler.  We do this before executing the actions.
   1873   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1874   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1875   as_fn_set_status $ac_retval
   1876 
   1877 } # ac_fn_c_try_link
   1878 
   1879 # ac_fn_c_check_func LINENO FUNC VAR
   1880 # ----------------------------------
   1881 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1882 ac_fn_c_check_func ()
   1883 {
   1884   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1886 $as_echo_n "checking for $2... " >&6; }
   1887 if eval \${$3+:} false; then :
   1888   $as_echo_n "(cached) " >&6
   1889 else
   1890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1891 /* end confdefs.h.  */
   1892 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1894 #define $2 innocuous_$2
   1895 
   1896 /* System header to define __stub macros and hopefully few prototypes,
   1897     which can conflict with char $2 (); below.
   1898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1899     <limits.h> exists even on freestanding compilers.  */
   1900 
   1901 #ifdef __STDC__
   1902 # include <limits.h>
   1903 #else
   1904 # include <assert.h>
   1905 #endif
   1906 
   1907 #undef $2
   1908 
   1909 /* Override any GCC internal prototype to avoid an error.
   1910    Use char because int might match the return type of a GCC
   1911    builtin and then its argument prototype would still apply.  */
   1912 #ifdef __cplusplus
   1913 extern "C"
   1914 #endif
   1915 char $2 ();
   1916 /* The GNU C library defines this for functions which it implements
   1917     to always fail with ENOSYS.  Some functions are actually named
   1918     something starting with __ and the normal name is an alias.  */
   1919 #if defined __stub_$2 || defined __stub___$2
   1920 choke me
   1921 #endif
   1922 
   1923 int
   1924 main ()
   1925 {
   1926 return $2 ();
   1927   ;
   1928   return 0;
   1929 }
   1930 _ACEOF
   1931 if ac_fn_c_try_link "$LINENO"; then :
   1932   eval "$3=yes"
   1933 else
   1934   eval "$3=no"
   1935 fi
   1936 rm -f core conftest.err conftest.$ac_objext \
   1937     conftest$ac_exeext conftest.$ac_ext
   1938 fi
   1939 eval ac_res=\$$3
   1940 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1941 $as_echo "$ac_res" >&6; }
   1942   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1943 
   1944 } # ac_fn_c_check_func
   1945 
   1946 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1947 # -------------------------------------------------------
   1948 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1949 # the include files in INCLUDES and setting the cache variable VAR
   1950 # accordingly.
   1951 ac_fn_c_check_header_mongrel ()
   1952 {
   1953   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1954   if eval \${$3+:} false; then :
   1955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1956 $as_echo_n "checking for $2... " >&6; }
   1957 if eval \${$3+:} false; then :
   1958   $as_echo_n "(cached) " >&6
   1959 fi
   1960 eval ac_res=\$$3
   1961 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1962 $as_echo "$ac_res" >&6; }
   1963 else
   1964   # Is the header compilable?
   1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1966 $as_echo_n "checking $2 usability... " >&6; }
   1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1968 /* end confdefs.h.  */
   1969 $4
   1970 #include <$2>
   1971 _ACEOF
   1972 if ac_fn_c_try_compile "$LINENO"; then :
   1973   ac_header_compiler=yes
   1974 else
   1975   ac_header_compiler=no
   1976 fi
   1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1979 $as_echo "$ac_header_compiler" >&6; }
   1980 
   1981 # Is the header present?
   1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1983 $as_echo_n "checking $2 presence... " >&6; }
   1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1985 /* end confdefs.h.  */
   1986 #include <$2>
   1987 _ACEOF
   1988 if ac_fn_c_try_cpp "$LINENO"; then :
   1989   ac_header_preproc=yes
   1990 else
   1991   ac_header_preproc=no
   1992 fi
   1993 rm -f conftest.err conftest.i conftest.$ac_ext
   1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1995 $as_echo "$ac_header_preproc" >&6; }
   1996 
   1997 # So?  What about this header?
   1998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1999   yes:no: )
   2000     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2001 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2002     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2003 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2004     ;;
   2005   no:yes:* )
   2006     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2007 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2008     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2009 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2010     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2011 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2012     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2013 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2014     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2015 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2016 ( $as_echo "## ---------------------------------------------------------------------- ##
   2017 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   2018 ## ---------------------------------------------------------------------- ##"
   2019      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2020     ;;
   2021 esac
   2022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2023 $as_echo_n "checking for $2... " >&6; }
   2024 if eval \${$3+:} false; then :
   2025   $as_echo_n "(cached) " >&6
   2026 else
   2027   eval "$3=\$ac_header_compiler"
   2028 fi
   2029 eval ac_res=\$$3
   2030 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2031 $as_echo "$ac_res" >&6; }
   2032 fi
   2033   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2034 
   2035 } # ac_fn_c_check_header_mongrel
   2036 cat >config.log <<_ACEOF
   2037 This file contains any messages produced by compilers while
   2038 running configure, to aid debugging if configure makes a mistake.
   2039 
   2040 It was created by xf86-video-ati $as_me 7.8.0, which was
   2041 generated by GNU Autoconf 2.69.  Invocation command line was
   2042 
   2043   $ $0 $@
   2044 
   2045 _ACEOF
   2046 exec 5>>config.log
   2047 {
   2048 cat <<_ASUNAME
   2049 ## --------- ##
   2050 ## Platform. ##
   2051 ## --------- ##
   2052 
   2053 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2054 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2055 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2056 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2057 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2058 
   2059 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2060 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2061 
   2062 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2063 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2064 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2065 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2066 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2067 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2068 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2069 
   2070 _ASUNAME
   2071 
   2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2073 for as_dir in $PATH
   2074 do
   2075   IFS=$as_save_IFS
   2076   test -z "$as_dir" && as_dir=.
   2077     $as_echo "PATH: $as_dir"
   2078   done
   2079 IFS=$as_save_IFS
   2080 
   2081 } >&5
   2082 
   2083 cat >&5 <<_ACEOF
   2084 
   2085 
   2086 ## ----------- ##
   2087 ## Core tests. ##
   2088 ## ----------- ##
   2089 
   2090 _ACEOF
   2091 
   2092 
   2093 # Keep a trace of the command line.
   2094 # Strip out --no-create and --no-recursion so they do not pile up.
   2095 # Strip out --silent because we don't want to record it for future runs.
   2096 # Also quote any args containing shell meta-characters.
   2097 # Make two passes to allow for proper duplicate-argument suppression.
   2098 ac_configure_args=
   2099 ac_configure_args0=
   2100 ac_configure_args1=
   2101 ac_must_keep_next=false
   2102 for ac_pass in 1 2
   2103 do
   2104   for ac_arg
   2105   do
   2106     case $ac_arg in
   2107     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2108     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2109     | -silent | --silent | --silen | --sile | --sil)
   2110       continue ;;
   2111     *\'*)
   2112       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2113     esac
   2114     case $ac_pass in
   2115     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2116     2)
   2117       as_fn_append ac_configure_args1 " '$ac_arg'"
   2118       if test $ac_must_keep_next = true; then
   2119 	ac_must_keep_next=false # Got value, back to normal.
   2120       else
   2121 	case $ac_arg in
   2122 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2123 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2124 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2125 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2126 	    case "$ac_configure_args0 " in
   2127 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2128 	    esac
   2129 	    ;;
   2130 	  -* ) ac_must_keep_next=true ;;
   2131 	esac
   2132       fi
   2133       as_fn_append ac_configure_args " '$ac_arg'"
   2134       ;;
   2135     esac
   2136   done
   2137 done
   2138 { ac_configure_args0=; unset ac_configure_args0;}
   2139 { ac_configure_args1=; unset ac_configure_args1;}
   2140 
   2141 # When interrupted or exit'd, cleanup temporary files, and complete
   2142 # config.log.  We remove comments because anyway the quotes in there
   2143 # would cause problems or look ugly.
   2144 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2145 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2146 trap 'exit_status=$?
   2147   # Save into config.log some information that might help in debugging.
   2148   {
   2149     echo
   2150 
   2151     $as_echo "## ---------------- ##
   2152 ## Cache variables. ##
   2153 ## ---------------- ##"
   2154     echo
   2155     # The following way of writing the cache mishandles newlines in values,
   2156 (
   2157   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2158     eval ac_val=\$$ac_var
   2159     case $ac_val in #(
   2160     *${as_nl}*)
   2161       case $ac_var in #(
   2162       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2163 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2164       esac
   2165       case $ac_var in #(
   2166       _ | IFS | as_nl) ;; #(
   2167       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2168       *) { eval $ac_var=; unset $ac_var;} ;;
   2169       esac ;;
   2170     esac
   2171   done
   2172   (set) 2>&1 |
   2173     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2174     *${as_nl}ac_space=\ *)
   2175       sed -n \
   2176 	"s/'\''/'\''\\\\'\'''\''/g;
   2177 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2178       ;; #(
   2179     *)
   2180       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2181       ;;
   2182     esac |
   2183     sort
   2184 )
   2185     echo
   2186 
   2187     $as_echo "## ----------------- ##
   2188 ## Output variables. ##
   2189 ## ----------------- ##"
   2190     echo
   2191     for ac_var in $ac_subst_vars
   2192     do
   2193       eval ac_val=\$$ac_var
   2194       case $ac_val in
   2195       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2196       esac
   2197       $as_echo "$ac_var='\''$ac_val'\''"
   2198     done | sort
   2199     echo
   2200 
   2201     if test -n "$ac_subst_files"; then
   2202       $as_echo "## ------------------- ##
   2203 ## File substitutions. ##
   2204 ## ------------------- ##"
   2205       echo
   2206       for ac_var in $ac_subst_files
   2207       do
   2208 	eval ac_val=\$$ac_var
   2209 	case $ac_val in
   2210 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2211 	esac
   2212 	$as_echo "$ac_var='\''$ac_val'\''"
   2213       done | sort
   2214       echo
   2215     fi
   2216 
   2217     if test -s confdefs.h; then
   2218       $as_echo "## ----------- ##
   2219 ## confdefs.h. ##
   2220 ## ----------- ##"
   2221       echo
   2222       cat confdefs.h
   2223       echo
   2224     fi
   2225     test "$ac_signal" != 0 &&
   2226       $as_echo "$as_me: caught signal $ac_signal"
   2227     $as_echo "$as_me: exit $exit_status"
   2228   } >&5
   2229   rm -f core *.core core.conftest.* &&
   2230     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2231     exit $exit_status
   2232 ' 0
   2233 for ac_signal in 1 2 13 15; do
   2234   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2235 done
   2236 ac_signal=0
   2237 
   2238 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2239 rm -f -r conftest* confdefs.h
   2240 
   2241 $as_echo "/* confdefs.h */" > confdefs.h
   2242 
   2243 # Predefined preprocessor variables.
   2244 
   2245 cat >>confdefs.h <<_ACEOF
   2246 #define PACKAGE_NAME "$PACKAGE_NAME"
   2247 _ACEOF
   2248 
   2249 cat >>confdefs.h <<_ACEOF
   2250 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2251 _ACEOF
   2252 
   2253 cat >>confdefs.h <<_ACEOF
   2254 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2255 _ACEOF
   2256 
   2257 cat >>confdefs.h <<_ACEOF
   2258 #define PACKAGE_STRING "$PACKAGE_STRING"
   2259 _ACEOF
   2260 
   2261 cat >>confdefs.h <<_ACEOF
   2262 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2263 _ACEOF
   2264 
   2265 cat >>confdefs.h <<_ACEOF
   2266 #define PACKAGE_URL "$PACKAGE_URL"
   2267 _ACEOF
   2268 
   2269 
   2270 # Let the site file select an alternate cache file if it wants to.
   2271 # Prefer an explicitly selected file to automatically selected ones.
   2272 ac_site_file1=NONE
   2273 ac_site_file2=NONE
   2274 if test -n "$CONFIG_SITE"; then
   2275   # We do not want a PATH search for config.site.
   2276   case $CONFIG_SITE in #((
   2277     -*)  ac_site_file1=./$CONFIG_SITE;;
   2278     */*) ac_site_file1=$CONFIG_SITE;;
   2279     *)   ac_site_file1=./$CONFIG_SITE;;
   2280   esac
   2281 elif test "x$prefix" != xNONE; then
   2282   ac_site_file1=$prefix/share/config.site
   2283   ac_site_file2=$prefix/etc/config.site
   2284 else
   2285   ac_site_file1=$ac_default_prefix/share/config.site
   2286   ac_site_file2=$ac_default_prefix/etc/config.site
   2287 fi
   2288 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2289 do
   2290   test "x$ac_site_file" = xNONE && continue
   2291   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2292     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2293 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2294     sed 's/^/| /' "$ac_site_file" >&5
   2295     . "$ac_site_file" \
   2296       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2298 as_fn_error $? "failed to load site script $ac_site_file
   2299 See \`config.log' for more details" "$LINENO" 5; }
   2300   fi
   2301 done
   2302 
   2303 if test -r "$cache_file"; then
   2304   # Some versions of bash will fail to source /dev/null (special files
   2305   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2306   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2307     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2308 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2309     case $cache_file in
   2310       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2311       *)                      . "./$cache_file";;
   2312     esac
   2313   fi
   2314 else
   2315   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2316 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2317   >$cache_file
   2318 fi
   2319 
   2320 # Check that the precious variables saved in the cache have kept the same
   2321 # value.
   2322 ac_cache_corrupted=false
   2323 for ac_var in $ac_precious_vars; do
   2324   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2325   eval ac_new_set=\$ac_env_${ac_var}_set
   2326   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2327   eval ac_new_val=\$ac_env_${ac_var}_value
   2328   case $ac_old_set,$ac_new_set in
   2329     set,)
   2330       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2331 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2332       ac_cache_corrupted=: ;;
   2333     ,set)
   2334       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2335 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2336       ac_cache_corrupted=: ;;
   2337     ,);;
   2338     *)
   2339       if test "x$ac_old_val" != "x$ac_new_val"; then
   2340 	# differences in whitespace do not lead to failure.
   2341 	ac_old_val_w=`echo x $ac_old_val`
   2342 	ac_new_val_w=`echo x $ac_new_val`
   2343 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2344 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2345 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2346 	  ac_cache_corrupted=:
   2347 	else
   2348 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2349 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2350 	  eval $ac_var=\$ac_old_val
   2351 	fi
   2352 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2353 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2354 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2355 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2356       fi;;
   2357   esac
   2358   # Pass precious variables to config.status.
   2359   if test "$ac_new_set" = set; then
   2360     case $ac_new_val in
   2361     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2362     *) ac_arg=$ac_var=$ac_new_val ;;
   2363     esac
   2364     case " $ac_configure_args " in
   2365       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2366       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2367     esac
   2368   fi
   2369 done
   2370 if $ac_cache_corrupted; then
   2371   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2373   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2374 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2375   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2376 fi
   2377 ## -------------------- ##
   2378 ## Main body of script. ##
   2379 ## -------------------- ##
   2380 
   2381 ac_ext=c
   2382 ac_cpp='$CPP $CPPFLAGS'
   2383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2386 
   2387 
   2388 
   2389 
   2390 ac_config_headers="$ac_config_headers config.h"
   2391 
   2392 
   2393 ac_aux_dir=
   2394 for ac_dir in . "$srcdir"/.; do
   2395   if test -f "$ac_dir/install-sh"; then
   2396     ac_aux_dir=$ac_dir
   2397     ac_install_sh="$ac_aux_dir/install-sh -c"
   2398     break
   2399   elif test -f "$ac_dir/install.sh"; then
   2400     ac_aux_dir=$ac_dir
   2401     ac_install_sh="$ac_aux_dir/install.sh -c"
   2402     break
   2403   elif test -f "$ac_dir/shtool"; then
   2404     ac_aux_dir=$ac_dir
   2405     ac_install_sh="$ac_aux_dir/shtool install -c"
   2406     break
   2407   fi
   2408 done
   2409 if test -z "$ac_aux_dir"; then
   2410   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2411 fi
   2412 
   2413 # These three variables are undocumented and unsupported,
   2414 # and are intended to be withdrawn in a future Autoconf release.
   2415 # They can cause serious problems if a builder's source tree is in a directory
   2416 # whose full name contains unusual characters.
   2417 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2418 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2419 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2420 
   2421 
   2422 
   2423 # Initialize Automake
   2424 am__api_version='1.15'
   2425 
   2426 # Find a good install program.  We prefer a C program (faster),
   2427 # so one script is as good as another.  But avoid the broken or
   2428 # incompatible versions:
   2429 # SysV /etc/install, /usr/sbin/install
   2430 # SunOS /usr/etc/install
   2431 # IRIX /sbin/install
   2432 # AIX /bin/install
   2433 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2434 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2435 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2436 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2437 # OS/2's system install, which has a completely different semantic
   2438 # ./install, which can be erroneously created by make from ./install.sh.
   2439 # Reject install programs that cannot install multiple files.
   2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2441 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2442 if test -z "$INSTALL"; then
   2443 if ${ac_cv_path_install+:} false; then :
   2444   $as_echo_n "(cached) " >&6
   2445 else
   2446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2447 for as_dir in $PATH
   2448 do
   2449   IFS=$as_save_IFS
   2450   test -z "$as_dir" && as_dir=.
   2451     # Account for people who put trailing slashes in PATH elements.
   2452 case $as_dir/ in #((
   2453   ./ | .// | /[cC]/* | \
   2454   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2455   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2456   /usr/ucb/* ) ;;
   2457   *)
   2458     # OSF1 and SCO ODT 3.0 have their own names for install.
   2459     # Don't use installbsd from OSF since it installs stuff as root
   2460     # by default.
   2461     for ac_prog in ginstall scoinst install; do
   2462       for ac_exec_ext in '' $ac_executable_extensions; do
   2463 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2464 	  if test $ac_prog = install &&
   2465 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2466 	    # AIX install.  It has an incompatible calling convention.
   2467 	    :
   2468 	  elif test $ac_prog = install &&
   2469 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2470 	    # program-specific install script used by HP pwplus--don't use.
   2471 	    :
   2472 	  else
   2473 	    rm -rf conftest.one conftest.two conftest.dir
   2474 	    echo one > conftest.one
   2475 	    echo two > conftest.two
   2476 	    mkdir conftest.dir
   2477 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2478 	      test -s conftest.one && test -s conftest.two &&
   2479 	      test -s conftest.dir/conftest.one &&
   2480 	      test -s conftest.dir/conftest.two
   2481 	    then
   2482 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2483 	      break 3
   2484 	    fi
   2485 	  fi
   2486 	fi
   2487       done
   2488     done
   2489     ;;
   2490 esac
   2491 
   2492   done
   2493 IFS=$as_save_IFS
   2494 
   2495 rm -rf conftest.one conftest.two conftest.dir
   2496 
   2497 fi
   2498   if test "${ac_cv_path_install+set}" = set; then
   2499     INSTALL=$ac_cv_path_install
   2500   else
   2501     # As a last resort, use the slow shell script.  Don't cache a
   2502     # value for INSTALL within a source directory, because that will
   2503     # break other packages using the cache if that directory is
   2504     # removed, or if the value is a relative name.
   2505     INSTALL=$ac_install_sh
   2506   fi
   2507 fi
   2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2509 $as_echo "$INSTALL" >&6; }
   2510 
   2511 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2512 # It thinks the first close brace ends the variable substitution.
   2513 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2514 
   2515 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2516 
   2517 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2518 
   2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2520 $as_echo_n "checking whether build environment is sane... " >&6; }
   2521 # Reject unsafe characters in $srcdir or the absolute working directory
   2522 # name.  Accept space and tab only in the latter.
   2523 am_lf='
   2524 '
   2525 case `pwd` in
   2526   *[\\\"\#\$\&\'\`$am_lf]*)
   2527     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2528 esac
   2529 case $srcdir in
   2530   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2531     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2532 esac
   2533 
   2534 # Do 'set' in a subshell so we don't clobber the current shell's
   2535 # arguments.  Must try -L first in case configure is actually a
   2536 # symlink; some systems play weird games with the mod time of symlinks
   2537 # (eg FreeBSD returns the mod time of the symlink's containing
   2538 # directory).
   2539 if (
   2540    am_has_slept=no
   2541    for am_try in 1 2; do
   2542      echo "timestamp, slept: $am_has_slept" > conftest.file
   2543      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2544      if test "$*" = "X"; then
   2545 	# -L didn't work.
   2546 	set X `ls -t "$srcdir/configure" conftest.file`
   2547      fi
   2548      if test "$*" != "X $srcdir/configure conftest.file" \
   2549 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2550 
   2551 	# If neither matched, then we have a broken ls.  This can happen
   2552 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2553 	# broken ls alias from the environment.  This has actually
   2554 	# happened.  Such a system could not be considered "sane".
   2555 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2556   alias in your environment" "$LINENO" 5
   2557      fi
   2558      if test "$2" = conftest.file || test $am_try -eq 2; then
   2559        break
   2560      fi
   2561      # Just in case.
   2562      sleep 1
   2563      am_has_slept=yes
   2564    done
   2565    test "$2" = conftest.file
   2566    )
   2567 then
   2568    # Ok.
   2569    :
   2570 else
   2571    as_fn_error $? "newly created file is older than distributed files!
   2572 Check your system clock" "$LINENO" 5
   2573 fi
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2575 $as_echo "yes" >&6; }
   2576 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2577 # generated files are strictly newer.
   2578 am_sleep_pid=
   2579 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2580   ( sleep 1 ) &
   2581   am_sleep_pid=$!
   2582 fi
   2583 
   2584 rm -f conftest.file
   2585 
   2586 test "$program_prefix" != NONE &&
   2587   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2588 # Use a double $ so make ignores it.
   2589 test "$program_suffix" != NONE &&
   2590   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2591 # Double any \ or $.
   2592 # By default was `s,x,x', remove it if useless.
   2593 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2594 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2595 
   2596 # Expand $ac_aux_dir to an absolute path.
   2597 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2598 
   2599 if test x"${MISSING+set}" != xset; then
   2600   case $am_aux_dir in
   2601   *\ * | *\	*)
   2602     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2603   *)
   2604     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2605   esac
   2606 fi
   2607 # Use eval to expand $SHELL
   2608 if eval "$MISSING --is-lightweight"; then
   2609   am_missing_run="$MISSING "
   2610 else
   2611   am_missing_run=
   2612   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2613 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2614 fi
   2615 
   2616 if test x"${install_sh+set}" != xset; then
   2617   case $am_aux_dir in
   2618   *\ * | *\	*)
   2619     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2620   *)
   2621     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2622   esac
   2623 fi
   2624 
   2625 # Installed binaries are usually stripped using 'strip' when the user
   2626 # run "make install-strip".  However 'strip' might not be the right
   2627 # tool to use in cross-compilation environments, therefore Automake
   2628 # will honor the 'STRIP' environment variable to overrule this program.
   2629 if test "$cross_compiling" != no; then
   2630   if test -n "$ac_tool_prefix"; then
   2631   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2632 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2634 $as_echo_n "checking for $ac_word... " >&6; }
   2635 if ${ac_cv_prog_STRIP+:} false; then :
   2636   $as_echo_n "(cached) " >&6
   2637 else
   2638   if test -n "$STRIP"; then
   2639   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2640 else
   2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2642 for as_dir in $PATH
   2643 do
   2644   IFS=$as_save_IFS
   2645   test -z "$as_dir" && as_dir=.
   2646     for ac_exec_ext in '' $ac_executable_extensions; do
   2647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2648     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2650     break 2
   2651   fi
   2652 done
   2653   done
   2654 IFS=$as_save_IFS
   2655 
   2656 fi
   2657 fi
   2658 STRIP=$ac_cv_prog_STRIP
   2659 if test -n "$STRIP"; then
   2660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2661 $as_echo "$STRIP" >&6; }
   2662 else
   2663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2664 $as_echo "no" >&6; }
   2665 fi
   2666 
   2667 
   2668 fi
   2669 if test -z "$ac_cv_prog_STRIP"; then
   2670   ac_ct_STRIP=$STRIP
   2671   # Extract the first word of "strip", so it can be a program name with args.
   2672 set dummy strip; ac_word=$2
   2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2674 $as_echo_n "checking for $ac_word... " >&6; }
   2675 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2676   $as_echo_n "(cached) " >&6
   2677 else
   2678   if test -n "$ac_ct_STRIP"; then
   2679   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2680 else
   2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2682 for as_dir in $PATH
   2683 do
   2684   IFS=$as_save_IFS
   2685   test -z "$as_dir" && as_dir=.
   2686     for ac_exec_ext in '' $ac_executable_extensions; do
   2687   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2688     ac_cv_prog_ac_ct_STRIP="strip"
   2689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2690     break 2
   2691   fi
   2692 done
   2693   done
   2694 IFS=$as_save_IFS
   2695 
   2696 fi
   2697 fi
   2698 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2699 if test -n "$ac_ct_STRIP"; then
   2700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2701 $as_echo "$ac_ct_STRIP" >&6; }
   2702 else
   2703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2704 $as_echo "no" >&6; }
   2705 fi
   2706 
   2707   if test "x$ac_ct_STRIP" = x; then
   2708     STRIP=":"
   2709   else
   2710     case $cross_compiling:$ac_tool_warned in
   2711 yes:)
   2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2714 ac_tool_warned=yes ;;
   2715 esac
   2716     STRIP=$ac_ct_STRIP
   2717   fi
   2718 else
   2719   STRIP="$ac_cv_prog_STRIP"
   2720 fi
   2721 
   2722 fi
   2723 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2724 
   2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2726 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2727 if test -z "$MKDIR_P"; then
   2728   if ${ac_cv_path_mkdir+:} false; then :
   2729   $as_echo_n "(cached) " >&6
   2730 else
   2731   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2732 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2733 do
   2734   IFS=$as_save_IFS
   2735   test -z "$as_dir" && as_dir=.
   2736     for ac_prog in mkdir gmkdir; do
   2737 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2738 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2739 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2740 	     'mkdir (GNU coreutils) '* | \
   2741 	     'mkdir (coreutils) '* | \
   2742 	     'mkdir (fileutils) '4.1*)
   2743 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2744 	       break 3;;
   2745 	   esac
   2746 	 done
   2747        done
   2748   done
   2749 IFS=$as_save_IFS
   2750 
   2751 fi
   2752 
   2753   test -d ./--version && rmdir ./--version
   2754   if test "${ac_cv_path_mkdir+set}" = set; then
   2755     MKDIR_P="$ac_cv_path_mkdir -p"
   2756   else
   2757     # As a last resort, use the slow shell script.  Don't cache a
   2758     # value for MKDIR_P within a source directory, because that will
   2759     # break other packages using the cache if that directory is
   2760     # removed, or if the value is a relative name.
   2761     MKDIR_P="$ac_install_sh -d"
   2762   fi
   2763 fi
   2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2765 $as_echo "$MKDIR_P" >&6; }
   2766 
   2767 for ac_prog in gawk mawk nawk awk
   2768 do
   2769   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2770 set dummy $ac_prog; ac_word=$2
   2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2772 $as_echo_n "checking for $ac_word... " >&6; }
   2773 if ${ac_cv_prog_AWK+:} false; then :
   2774   $as_echo_n "(cached) " >&6
   2775 else
   2776   if test -n "$AWK"; then
   2777   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2778 else
   2779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2780 for as_dir in $PATH
   2781 do
   2782   IFS=$as_save_IFS
   2783   test -z "$as_dir" && as_dir=.
   2784     for ac_exec_ext in '' $ac_executable_extensions; do
   2785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2786     ac_cv_prog_AWK="$ac_prog"
   2787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2788     break 2
   2789   fi
   2790 done
   2791   done
   2792 IFS=$as_save_IFS
   2793 
   2794 fi
   2795 fi
   2796 AWK=$ac_cv_prog_AWK
   2797 if test -n "$AWK"; then
   2798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2799 $as_echo "$AWK" >&6; }
   2800 else
   2801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2802 $as_echo "no" >&6; }
   2803 fi
   2804 
   2805 
   2806   test -n "$AWK" && break
   2807 done
   2808 
   2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2810 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2811 set x ${MAKE-make}
   2812 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2813 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2814   $as_echo_n "(cached) " >&6
   2815 else
   2816   cat >conftest.make <<\_ACEOF
   2817 SHELL = /bin/sh
   2818 all:
   2819 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2820 _ACEOF
   2821 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2822 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2823   *@@@%%%=?*=@@@%%%*)
   2824     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2825   *)
   2826     eval ac_cv_prog_make_${ac_make}_set=no;;
   2827 esac
   2828 rm -f conftest.make
   2829 fi
   2830 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2832 $as_echo "yes" >&6; }
   2833   SET_MAKE=
   2834 else
   2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2836 $as_echo "no" >&6; }
   2837   SET_MAKE="MAKE=${MAKE-make}"
   2838 fi
   2839 
   2840 rm -rf .tst 2>/dev/null
   2841 mkdir .tst 2>/dev/null
   2842 if test -d .tst; then
   2843   am__leading_dot=.
   2844 else
   2845   am__leading_dot=_
   2846 fi
   2847 rmdir .tst 2>/dev/null
   2848 
   2849 # Check whether --enable-silent-rules was given.
   2850 if test "${enable_silent_rules+set}" = set; then :
   2851   enableval=$enable_silent_rules;
   2852 fi
   2853 
   2854 case $enable_silent_rules in # (((
   2855   yes) AM_DEFAULT_VERBOSITY=0;;
   2856    no) AM_DEFAULT_VERBOSITY=1;;
   2857     *) AM_DEFAULT_VERBOSITY=1;;
   2858 esac
   2859 am_make=${MAKE-make}
   2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2861 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2862 if ${am_cv_make_support_nested_variables+:} false; then :
   2863   $as_echo_n "(cached) " >&6
   2864 else
   2865   if $as_echo 'TRUE=$(BAR$(V))
   2866 BAR0=false
   2867 BAR1=true
   2868 V=1
   2869 am__doit:
   2870 	@$(TRUE)
   2871 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2872   am_cv_make_support_nested_variables=yes
   2873 else
   2874   am_cv_make_support_nested_variables=no
   2875 fi
   2876 fi
   2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2878 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2879 if test $am_cv_make_support_nested_variables = yes; then
   2880     AM_V='$(V)'
   2881   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2882 else
   2883   AM_V=$AM_DEFAULT_VERBOSITY
   2884   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2885 fi
   2886 AM_BACKSLASH='\'
   2887 
   2888 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2889   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2890   # is not polluted with repeated "-I."
   2891   am__isrc=' -I$(srcdir)'
   2892   # test to see if srcdir already configured
   2893   if test -f $srcdir/config.status; then
   2894     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2895   fi
   2896 fi
   2897 
   2898 # test whether we have cygpath
   2899 if test -z "$CYGPATH_W"; then
   2900   if (cygpath --version) >/dev/null 2>/dev/null; then
   2901     CYGPATH_W='cygpath -w'
   2902   else
   2903     CYGPATH_W=echo
   2904   fi
   2905 fi
   2906 
   2907 
   2908 # Define the identity of the package.
   2909  PACKAGE='xf86-video-ati'
   2910  VERSION='7.8.0'
   2911 
   2912 
   2913 cat >>confdefs.h <<_ACEOF
   2914 #define PACKAGE "$PACKAGE"
   2915 _ACEOF
   2916 
   2917 
   2918 cat >>confdefs.h <<_ACEOF
   2919 #define VERSION "$VERSION"
   2920 _ACEOF
   2921 
   2922 # Some tools Automake needs.
   2923 
   2924 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2925 
   2926 
   2927 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2928 
   2929 
   2930 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2931 
   2932 
   2933 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2934 
   2935 
   2936 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2937 
   2938 # For better backward compatibility.  To be removed once Automake 1.9.x
   2939 # dies out for good.  For more background, see:
   2940 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2941 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2942 mkdir_p='$(MKDIR_P)'
   2943 
   2944 # We need awk for the "check" target (and possibly the TAP driver).  The
   2945 # system "awk" is bad on some platforms.
   2946 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2947 # in the wild :-(  We should find a proper way to deprecate it ...
   2948 AMTAR='$${TAR-tar}'
   2949 
   2950 
   2951 # We'll loop over all known methods to create a tar archive until one works.
   2952 _am_tools='gnutar  pax cpio none'
   2953 
   2954 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2955 
   2956 
   2957 
   2958 
   2959 
   2960 
   2961 # POSIX will say in a future version that running "rm -f" with no argument
   2962 # is OK; and we want to be able to make that assumption in our Makefile
   2963 # recipes.  So use an aggressive probe to check that the usage we want is
   2964 # actually supported "in the wild" to an acceptable degree.
   2965 # See automake bug#10828.
   2966 # To make any issue more visible, cause the running configure to be aborted
   2967 # by default if the 'rm' program in use doesn't match our expectations; the
   2968 # user can still override this though.
   2969 if rm -f && rm -fr && rm -rf; then : OK; else
   2970   cat >&2 <<'END'
   2971 Oops!
   2972 
   2973 Your 'rm' program seems unable to run without file operands specified
   2974 on the command line, even when the '-f' option is present.  This is contrary
   2975 to the behaviour of most rm programs out there, and not conforming with
   2976 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2977 
   2978 Please tell bug-automake@gnu.org about your system, including the value
   2979 of your $PATH and any error possibly output before this message.  This
   2980 can help us improve future automake versions.
   2981 
   2982 END
   2983   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2984     echo 'Configuration will proceed anyway, since you have set the' >&2
   2985     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2986     echo >&2
   2987   else
   2988     cat >&2 <<'END'
   2989 Aborting the configuration process, to ensure you take notice of the issue.
   2990 
   2991 You can download and install GNU coreutils to get an 'rm' implementation
   2992 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2993 
   2994 If you want to complete the configuration process using your problematic
   2995 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2996 to "yes", and re-run configure.
   2997 
   2998 END
   2999     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3000   fi
   3001 fi
   3002 
   3003 DEPDIR="${am__leading_dot}deps"
   3004 
   3005 ac_config_commands="$ac_config_commands depfiles"
   3006 
   3007 
   3008 am_make=${MAKE-make}
   3009 cat > confinc << 'END'
   3010 am__doit:
   3011 	@echo this is the am__doit target
   3012 .PHONY: am__doit
   3013 END
   3014 # If we don't find an include directive, just comment out the code.
   3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3016 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3017 am__include="#"
   3018 am__quote=
   3019 _am_result=none
   3020 # First try GNU make style include.
   3021 echo "include confinc" > confmf
   3022 # Ignore all kinds of additional output from 'make'.
   3023 case `$am_make -s -f confmf 2> /dev/null` in #(
   3024 *the\ am__doit\ target*)
   3025   am__include=include
   3026   am__quote=
   3027   _am_result=GNU
   3028   ;;
   3029 esac
   3030 # Now try BSD make style include.
   3031 if test "$am__include" = "#"; then
   3032    echo '.include "confinc"' > confmf
   3033    case `$am_make -s -f confmf 2> /dev/null` in #(
   3034    *the\ am__doit\ target*)
   3035      am__include=.include
   3036      am__quote="\""
   3037      _am_result=BSD
   3038      ;;
   3039    esac
   3040 fi
   3041 
   3042 
   3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3044 $as_echo "$_am_result" >&6; }
   3045 rm -f confinc confmf
   3046 
   3047 # Check whether --enable-dependency-tracking was given.
   3048 if test "${enable_dependency_tracking+set}" = set; then :
   3049   enableval=$enable_dependency_tracking;
   3050 fi
   3051 
   3052 if test "x$enable_dependency_tracking" != xno; then
   3053   am_depcomp="$ac_aux_dir/depcomp"
   3054   AMDEPBACKSLASH='\'
   3055   am__nodep='_no'
   3056 fi
   3057  if test "x$enable_dependency_tracking" != xno; then
   3058   AMDEP_TRUE=
   3059   AMDEP_FALSE='#'
   3060 else
   3061   AMDEP_TRUE='#'
   3062   AMDEP_FALSE=
   3063 fi
   3064 
   3065 
   3066 ac_ext=c
   3067 ac_cpp='$CPP $CPPFLAGS'
   3068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3071 if test -n "$ac_tool_prefix"; then
   3072   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3073 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3075 $as_echo_n "checking for $ac_word... " >&6; }
   3076 if ${ac_cv_prog_CC+:} false; then :
   3077   $as_echo_n "(cached) " >&6
   3078 else
   3079   if test -n "$CC"; then
   3080   ac_cv_prog_CC="$CC" # Let the user override the test.
   3081 else
   3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3083 for as_dir in $PATH
   3084 do
   3085   IFS=$as_save_IFS
   3086   test -z "$as_dir" && as_dir=.
   3087     for ac_exec_ext in '' $ac_executable_extensions; do
   3088   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3089     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3091     break 2
   3092   fi
   3093 done
   3094   done
   3095 IFS=$as_save_IFS
   3096 
   3097 fi
   3098 fi
   3099 CC=$ac_cv_prog_CC
   3100 if test -n "$CC"; then
   3101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3102 $as_echo "$CC" >&6; }
   3103 else
   3104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3105 $as_echo "no" >&6; }
   3106 fi
   3107 
   3108 
   3109 fi
   3110 if test -z "$ac_cv_prog_CC"; then
   3111   ac_ct_CC=$CC
   3112   # Extract the first word of "gcc", so it can be a program name with args.
   3113 set dummy gcc; ac_word=$2
   3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3115 $as_echo_n "checking for $ac_word... " >&6; }
   3116 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3117   $as_echo_n "(cached) " >&6
   3118 else
   3119   if test -n "$ac_ct_CC"; then
   3120   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3121 else
   3122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3123 for as_dir in $PATH
   3124 do
   3125   IFS=$as_save_IFS
   3126   test -z "$as_dir" && as_dir=.
   3127     for ac_exec_ext in '' $ac_executable_extensions; do
   3128   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3129     ac_cv_prog_ac_ct_CC="gcc"
   3130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3131     break 2
   3132   fi
   3133 done
   3134   done
   3135 IFS=$as_save_IFS
   3136 
   3137 fi
   3138 fi
   3139 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3140 if test -n "$ac_ct_CC"; then
   3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3142 $as_echo "$ac_ct_CC" >&6; }
   3143 else
   3144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3145 $as_echo "no" >&6; }
   3146 fi
   3147 
   3148   if test "x$ac_ct_CC" = x; then
   3149     CC=""
   3150   else
   3151     case $cross_compiling:$ac_tool_warned in
   3152 yes:)
   3153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3155 ac_tool_warned=yes ;;
   3156 esac
   3157     CC=$ac_ct_CC
   3158   fi
   3159 else
   3160   CC="$ac_cv_prog_CC"
   3161 fi
   3162 
   3163 if test -z "$CC"; then
   3164           if test -n "$ac_tool_prefix"; then
   3165     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3166 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3168 $as_echo_n "checking for $ac_word... " >&6; }
   3169 if ${ac_cv_prog_CC+:} false; then :
   3170   $as_echo_n "(cached) " >&6
   3171 else
   3172   if test -n "$CC"; then
   3173   ac_cv_prog_CC="$CC" # Let the user override the test.
   3174 else
   3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3176 for as_dir in $PATH
   3177 do
   3178   IFS=$as_save_IFS
   3179   test -z "$as_dir" && as_dir=.
   3180     for ac_exec_ext in '' $ac_executable_extensions; do
   3181   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3182     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3184     break 2
   3185   fi
   3186 done
   3187   done
   3188 IFS=$as_save_IFS
   3189 
   3190 fi
   3191 fi
   3192 CC=$ac_cv_prog_CC
   3193 if test -n "$CC"; then
   3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3195 $as_echo "$CC" >&6; }
   3196 else
   3197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3198 $as_echo "no" >&6; }
   3199 fi
   3200 
   3201 
   3202   fi
   3203 fi
   3204 if test -z "$CC"; then
   3205   # Extract the first word of "cc", so it can be a program name with args.
   3206 set dummy cc; ac_word=$2
   3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3208 $as_echo_n "checking for $ac_word... " >&6; }
   3209 if ${ac_cv_prog_CC+:} false; then :
   3210   $as_echo_n "(cached) " >&6
   3211 else
   3212   if test -n "$CC"; then
   3213   ac_cv_prog_CC="$CC" # Let the user override the test.
   3214 else
   3215   ac_prog_rejected=no
   3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3217 for as_dir in $PATH
   3218 do
   3219   IFS=$as_save_IFS
   3220   test -z "$as_dir" && as_dir=.
   3221     for ac_exec_ext in '' $ac_executable_extensions; do
   3222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3223     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3224        ac_prog_rejected=yes
   3225        continue
   3226      fi
   3227     ac_cv_prog_CC="cc"
   3228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3229     break 2
   3230   fi
   3231 done
   3232   done
   3233 IFS=$as_save_IFS
   3234 
   3235 if test $ac_prog_rejected = yes; then
   3236   # We found a bogon in the path, so make sure we never use it.
   3237   set dummy $ac_cv_prog_CC
   3238   shift
   3239   if test $# != 0; then
   3240     # We chose a different compiler from the bogus one.
   3241     # However, it has the same basename, so the bogon will be chosen
   3242     # first if we set CC to just the basename; use the full file name.
   3243     shift
   3244     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3245   fi
   3246 fi
   3247 fi
   3248 fi
   3249 CC=$ac_cv_prog_CC
   3250 if test -n "$CC"; then
   3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3252 $as_echo "$CC" >&6; }
   3253 else
   3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3255 $as_echo "no" >&6; }
   3256 fi
   3257 
   3258 
   3259 fi
   3260 if test -z "$CC"; then
   3261   if test -n "$ac_tool_prefix"; then
   3262   for ac_prog in cl.exe
   3263   do
   3264     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3267 $as_echo_n "checking for $ac_word... " >&6; }
   3268 if ${ac_cv_prog_CC+:} false; then :
   3269   $as_echo_n "(cached) " >&6
   3270 else
   3271   if test -n "$CC"; then
   3272   ac_cv_prog_CC="$CC" # Let the user override the test.
   3273 else
   3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3275 for as_dir in $PATH
   3276 do
   3277   IFS=$as_save_IFS
   3278   test -z "$as_dir" && as_dir=.
   3279     for ac_exec_ext in '' $ac_executable_extensions; do
   3280   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3281     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3283     break 2
   3284   fi
   3285 done
   3286   done
   3287 IFS=$as_save_IFS
   3288 
   3289 fi
   3290 fi
   3291 CC=$ac_cv_prog_CC
   3292 if test -n "$CC"; then
   3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3294 $as_echo "$CC" >&6; }
   3295 else
   3296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3297 $as_echo "no" >&6; }
   3298 fi
   3299 
   3300 
   3301     test -n "$CC" && break
   3302   done
   3303 fi
   3304 if test -z "$CC"; then
   3305   ac_ct_CC=$CC
   3306   for ac_prog in cl.exe
   3307 do
   3308   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3309 set dummy $ac_prog; ac_word=$2
   3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3311 $as_echo_n "checking for $ac_word... " >&6; }
   3312 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3313   $as_echo_n "(cached) " >&6
   3314 else
   3315   if test -n "$ac_ct_CC"; then
   3316   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3317 else
   3318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3319 for as_dir in $PATH
   3320 do
   3321   IFS=$as_save_IFS
   3322   test -z "$as_dir" && as_dir=.
   3323     for ac_exec_ext in '' $ac_executable_extensions; do
   3324   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3325     ac_cv_prog_ac_ct_CC="$ac_prog"
   3326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3327     break 2
   3328   fi
   3329 done
   3330   done
   3331 IFS=$as_save_IFS
   3332 
   3333 fi
   3334 fi
   3335 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3336 if test -n "$ac_ct_CC"; then
   3337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3338 $as_echo "$ac_ct_CC" >&6; }
   3339 else
   3340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3341 $as_echo "no" >&6; }
   3342 fi
   3343 
   3344 
   3345   test -n "$ac_ct_CC" && break
   3346 done
   3347 
   3348   if test "x$ac_ct_CC" = x; then
   3349     CC=""
   3350   else
   3351     case $cross_compiling:$ac_tool_warned in
   3352 yes:)
   3353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3355 ac_tool_warned=yes ;;
   3356 esac
   3357     CC=$ac_ct_CC
   3358   fi
   3359 fi
   3360 
   3361 fi
   3362 
   3363 
   3364 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3366 as_fn_error $? "no acceptable C compiler found in \$PATH
   3367 See \`config.log' for more details" "$LINENO" 5; }
   3368 
   3369 # Provide some information about the compiler.
   3370 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3371 set X $ac_compile
   3372 ac_compiler=$2
   3373 for ac_option in --version -v -V -qversion; do
   3374   { { ac_try="$ac_compiler $ac_option >&5"
   3375 case "(($ac_try" in
   3376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3377   *) ac_try_echo=$ac_try;;
   3378 esac
   3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3380 $as_echo "$ac_try_echo"; } >&5
   3381   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3382   ac_status=$?
   3383   if test -s conftest.err; then
   3384     sed '10a\
   3385 ... rest of stderr output deleted ...
   3386          10q' conftest.err >conftest.er1
   3387     cat conftest.er1 >&5
   3388   fi
   3389   rm -f conftest.er1 conftest.err
   3390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3391   test $ac_status = 0; }
   3392 done
   3393 
   3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3395 /* end confdefs.h.  */
   3396 
   3397 int
   3398 main ()
   3399 {
   3400 
   3401   ;
   3402   return 0;
   3403 }
   3404 _ACEOF
   3405 ac_clean_files_save=$ac_clean_files
   3406 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3407 # Try to create an executable without -o first, disregard a.out.
   3408 # It will help us diagnose broken compilers, and finding out an intuition
   3409 # of exeext.
   3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3411 $as_echo_n "checking whether the C compiler works... " >&6; }
   3412 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3413 
   3414 # The possible output files:
   3415 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3416 
   3417 ac_rmfiles=
   3418 for ac_file in $ac_files
   3419 do
   3420   case $ac_file in
   3421     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3422     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3423   esac
   3424 done
   3425 rm -f $ac_rmfiles
   3426 
   3427 if { { ac_try="$ac_link_default"
   3428 case "(($ac_try" in
   3429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3430   *) ac_try_echo=$ac_try;;
   3431 esac
   3432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3433 $as_echo "$ac_try_echo"; } >&5
   3434   (eval "$ac_link_default") 2>&5
   3435   ac_status=$?
   3436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3437   test $ac_status = 0; }; then :
   3438   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3439 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3440 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3441 # so that the user can short-circuit this test for compilers unknown to
   3442 # Autoconf.
   3443 for ac_file in $ac_files ''
   3444 do
   3445   test -f "$ac_file" || continue
   3446   case $ac_file in
   3447     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3448 	;;
   3449     [ab].out )
   3450 	# We found the default executable, but exeext='' is most
   3451 	# certainly right.
   3452 	break;;
   3453     *.* )
   3454 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3455 	then :; else
   3456 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3457 	fi
   3458 	# We set ac_cv_exeext here because the later test for it is not
   3459 	# safe: cross compilers may not add the suffix if given an `-o'
   3460 	# argument, so we may need to know it at that point already.
   3461 	# Even if this section looks crufty: it has the advantage of
   3462 	# actually working.
   3463 	break;;
   3464     * )
   3465 	break;;
   3466   esac
   3467 done
   3468 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3469 
   3470 else
   3471   ac_file=''
   3472 fi
   3473 if test -z "$ac_file"; then :
   3474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3475 $as_echo "no" >&6; }
   3476 $as_echo "$as_me: failed program was:" >&5
   3477 sed 's/^/| /' conftest.$ac_ext >&5
   3478 
   3479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3481 as_fn_error 77 "C compiler cannot create executables
   3482 See \`config.log' for more details" "$LINENO" 5; }
   3483 else
   3484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3485 $as_echo "yes" >&6; }
   3486 fi
   3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3488 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3490 $as_echo "$ac_file" >&6; }
   3491 ac_exeext=$ac_cv_exeext
   3492 
   3493 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3494 ac_clean_files=$ac_clean_files_save
   3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3496 $as_echo_n "checking for suffix of executables... " >&6; }
   3497 if { { ac_try="$ac_link"
   3498 case "(($ac_try" in
   3499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3500   *) ac_try_echo=$ac_try;;
   3501 esac
   3502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3503 $as_echo "$ac_try_echo"; } >&5
   3504   (eval "$ac_link") 2>&5
   3505   ac_status=$?
   3506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3507   test $ac_status = 0; }; then :
   3508   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3509 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3510 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3511 # `rm'.
   3512 for ac_file in conftest.exe conftest conftest.*; do
   3513   test -f "$ac_file" || continue
   3514   case $ac_file in
   3515     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3516     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3517 	  break;;
   3518     * ) break;;
   3519   esac
   3520 done
   3521 else
   3522   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3524 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3525 See \`config.log' for more details" "$LINENO" 5; }
   3526 fi
   3527 rm -f conftest conftest$ac_cv_exeext
   3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3529 $as_echo "$ac_cv_exeext" >&6; }
   3530 
   3531 rm -f conftest.$ac_ext
   3532 EXEEXT=$ac_cv_exeext
   3533 ac_exeext=$EXEEXT
   3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3535 /* end confdefs.h.  */
   3536 #include <stdio.h>
   3537 int
   3538 main ()
   3539 {
   3540 FILE *f = fopen ("conftest.out", "w");
   3541  return ferror (f) || fclose (f) != 0;
   3542 
   3543   ;
   3544   return 0;
   3545 }
   3546 _ACEOF
   3547 ac_clean_files="$ac_clean_files conftest.out"
   3548 # Check that the compiler produces executables we can run.  If not, either
   3549 # the compiler is broken, or we cross compile.
   3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3551 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3552 if test "$cross_compiling" != yes; then
   3553   { { ac_try="$ac_link"
   3554 case "(($ac_try" in
   3555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3556   *) ac_try_echo=$ac_try;;
   3557 esac
   3558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3559 $as_echo "$ac_try_echo"; } >&5
   3560   (eval "$ac_link") 2>&5
   3561   ac_status=$?
   3562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3563   test $ac_status = 0; }
   3564   if { ac_try='./conftest$ac_cv_exeext'
   3565   { { case "(($ac_try" in
   3566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3567   *) ac_try_echo=$ac_try;;
   3568 esac
   3569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3570 $as_echo "$ac_try_echo"; } >&5
   3571   (eval "$ac_try") 2>&5
   3572   ac_status=$?
   3573   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3574   test $ac_status = 0; }; }; then
   3575     cross_compiling=no
   3576   else
   3577     if test "$cross_compiling" = maybe; then
   3578 	cross_compiling=yes
   3579     else
   3580 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3582 as_fn_error $? "cannot run C compiled programs.
   3583 If you meant to cross compile, use \`--host'.
   3584 See \`config.log' for more details" "$LINENO" 5; }
   3585     fi
   3586   fi
   3587 fi
   3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3589 $as_echo "$cross_compiling" >&6; }
   3590 
   3591 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3592 ac_clean_files=$ac_clean_files_save
   3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3594 $as_echo_n "checking for suffix of object files... " >&6; }
   3595 if ${ac_cv_objext+:} false; then :
   3596   $as_echo_n "(cached) " >&6
   3597 else
   3598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3599 /* end confdefs.h.  */
   3600 
   3601 int
   3602 main ()
   3603 {
   3604 
   3605   ;
   3606   return 0;
   3607 }
   3608 _ACEOF
   3609 rm -f conftest.o conftest.obj
   3610 if { { ac_try="$ac_compile"
   3611 case "(($ac_try" in
   3612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3613   *) ac_try_echo=$ac_try;;
   3614 esac
   3615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3616 $as_echo "$ac_try_echo"; } >&5
   3617   (eval "$ac_compile") 2>&5
   3618   ac_status=$?
   3619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3620   test $ac_status = 0; }; then :
   3621   for ac_file in conftest.o conftest.obj conftest.*; do
   3622   test -f "$ac_file" || continue;
   3623   case $ac_file in
   3624     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3625     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3626        break;;
   3627   esac
   3628 done
   3629 else
   3630   $as_echo "$as_me: failed program was:" >&5
   3631 sed 's/^/| /' conftest.$ac_ext >&5
   3632 
   3633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3635 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3636 See \`config.log' for more details" "$LINENO" 5; }
   3637 fi
   3638 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3639 fi
   3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3641 $as_echo "$ac_cv_objext" >&6; }
   3642 OBJEXT=$ac_cv_objext
   3643 ac_objext=$OBJEXT
   3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3645 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3646 if ${ac_cv_c_compiler_gnu+:} false; then :
   3647   $as_echo_n "(cached) " >&6
   3648 else
   3649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3650 /* end confdefs.h.  */
   3651 
   3652 int
   3653 main ()
   3654 {
   3655 #ifndef __GNUC__
   3656        choke me
   3657 #endif
   3658 
   3659   ;
   3660   return 0;
   3661 }
   3662 _ACEOF
   3663 if ac_fn_c_try_compile "$LINENO"; then :
   3664   ac_compiler_gnu=yes
   3665 else
   3666   ac_compiler_gnu=no
   3667 fi
   3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3669 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3670 
   3671 fi
   3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3673 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3674 if test $ac_compiler_gnu = yes; then
   3675   GCC=yes
   3676 else
   3677   GCC=
   3678 fi
   3679 ac_test_CFLAGS=${CFLAGS+set}
   3680 ac_save_CFLAGS=$CFLAGS
   3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3682 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3683 if ${ac_cv_prog_cc_g+:} false; then :
   3684   $as_echo_n "(cached) " >&6
   3685 else
   3686   ac_save_c_werror_flag=$ac_c_werror_flag
   3687    ac_c_werror_flag=yes
   3688    ac_cv_prog_cc_g=no
   3689    CFLAGS="-g"
   3690    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3691 /* end confdefs.h.  */
   3692 
   3693 int
   3694 main ()
   3695 {
   3696 
   3697   ;
   3698   return 0;
   3699 }
   3700 _ACEOF
   3701 if ac_fn_c_try_compile "$LINENO"; then :
   3702   ac_cv_prog_cc_g=yes
   3703 else
   3704   CFLAGS=""
   3705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3706 /* end confdefs.h.  */
   3707 
   3708 int
   3709 main ()
   3710 {
   3711 
   3712   ;
   3713   return 0;
   3714 }
   3715 _ACEOF
   3716 if ac_fn_c_try_compile "$LINENO"; then :
   3717 
   3718 else
   3719   ac_c_werror_flag=$ac_save_c_werror_flag
   3720 	 CFLAGS="-g"
   3721 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3722 /* end confdefs.h.  */
   3723 
   3724 int
   3725 main ()
   3726 {
   3727 
   3728   ;
   3729   return 0;
   3730 }
   3731 _ACEOF
   3732 if ac_fn_c_try_compile "$LINENO"; then :
   3733   ac_cv_prog_cc_g=yes
   3734 fi
   3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3736 fi
   3737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3738 fi
   3739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3740    ac_c_werror_flag=$ac_save_c_werror_flag
   3741 fi
   3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3743 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3744 if test "$ac_test_CFLAGS" = set; then
   3745   CFLAGS=$ac_save_CFLAGS
   3746 elif test $ac_cv_prog_cc_g = yes; then
   3747   if test "$GCC" = yes; then
   3748     CFLAGS="-g -O2"
   3749   else
   3750     CFLAGS="-g"
   3751   fi
   3752 else
   3753   if test "$GCC" = yes; then
   3754     CFLAGS="-O2"
   3755   else
   3756     CFLAGS=
   3757   fi
   3758 fi
   3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3760 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3761 if ${ac_cv_prog_cc_c89+:} false; then :
   3762   $as_echo_n "(cached) " >&6
   3763 else
   3764   ac_cv_prog_cc_c89=no
   3765 ac_save_CC=$CC
   3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3767 /* end confdefs.h.  */
   3768 #include <stdarg.h>
   3769 #include <stdio.h>
   3770 struct stat;
   3771 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3772 struct buf { int x; };
   3773 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3774 static char *e (p, i)
   3775      char **p;
   3776      int i;
   3777 {
   3778   return p[i];
   3779 }
   3780 static char *f (char * (*g) (char **, int), char **p, ...)
   3781 {
   3782   char *s;
   3783   va_list v;
   3784   va_start (v,p);
   3785   s = g (p, va_arg (v,int));
   3786   va_end (v);
   3787   return s;
   3788 }
   3789 
   3790 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3791    function prototypes and stuff, but not '\xHH' hex character constants.
   3792    These don't provoke an error unfortunately, instead are silently treated
   3793    as 'x'.  The following induces an error, until -std is added to get
   3794    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3795    array size at least.  It's necessary to write '\x00'==0 to get something
   3796    that's true only with -std.  */
   3797 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3798 
   3799 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3800    inside strings and character constants.  */
   3801 #define FOO(x) 'x'
   3802 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3803 
   3804 int test (int i, double x);
   3805 struct s1 {int (*f) (int a);};
   3806 struct s2 {int (*f) (double a);};
   3807 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3808 int argc;
   3809 char **argv;
   3810 int
   3811 main ()
   3812 {
   3813 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3814   ;
   3815   return 0;
   3816 }
   3817 _ACEOF
   3818 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3819 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3820 do
   3821   CC="$ac_save_CC $ac_arg"
   3822   if ac_fn_c_try_compile "$LINENO"; then :
   3823   ac_cv_prog_cc_c89=$ac_arg
   3824 fi
   3825 rm -f core conftest.err conftest.$ac_objext
   3826   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3827 done
   3828 rm -f conftest.$ac_ext
   3829 CC=$ac_save_CC
   3830 
   3831 fi
   3832 # AC_CACHE_VAL
   3833 case "x$ac_cv_prog_cc_c89" in
   3834   x)
   3835     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3836 $as_echo "none needed" >&6; } ;;
   3837   xno)
   3838     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3839 $as_echo "unsupported" >&6; } ;;
   3840   *)
   3841     CC="$CC $ac_cv_prog_cc_c89"
   3842     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3843 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3844 esac
   3845 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3846 
   3847 fi
   3848 
   3849 ac_ext=c
   3850 ac_cpp='$CPP $CPPFLAGS'
   3851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3854 
   3855 ac_ext=c
   3856 ac_cpp='$CPP $CPPFLAGS'
   3857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3861 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3862 if ${am_cv_prog_cc_c_o+:} false; then :
   3863   $as_echo_n "(cached) " >&6
   3864 else
   3865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3866 /* end confdefs.h.  */
   3867 
   3868 int
   3869 main ()
   3870 {
   3871 
   3872   ;
   3873   return 0;
   3874 }
   3875 _ACEOF
   3876   # Make sure it works both with $CC and with simple cc.
   3877   # Following AC_PROG_CC_C_O, we do the test twice because some
   3878   # compilers refuse to overwrite an existing .o file with -o,
   3879   # though they will create one.
   3880   am_cv_prog_cc_c_o=yes
   3881   for am_i in 1 2; do
   3882     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3883    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3884    ac_status=$?
   3885    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3886    (exit $ac_status); } \
   3887          && test -f conftest2.$ac_objext; then
   3888       : OK
   3889     else
   3890       am_cv_prog_cc_c_o=no
   3891       break
   3892     fi
   3893   done
   3894   rm -f core conftest*
   3895   unset am_i
   3896 fi
   3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3898 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3899 if test "$am_cv_prog_cc_c_o" != yes; then
   3900    # Losing compiler, so override with the script.
   3901    # FIXME: It is wrong to rewrite CC.
   3902    # But if we don't then we get into trouble of one sort or another.
   3903    # A longer-term fix would be to have automake use am__CC in this case,
   3904    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3905    CC="$am_aux_dir/compile $CC"
   3906 fi
   3907 ac_ext=c
   3908 ac_cpp='$CPP $CPPFLAGS'
   3909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3912 
   3913 
   3914 depcc="$CC"   am_compiler_list=
   3915 
   3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3917 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3918 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3919   $as_echo_n "(cached) " >&6
   3920 else
   3921   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3922   # We make a subdir and do the tests there.  Otherwise we can end up
   3923   # making bogus files that we don't know about and never remove.  For
   3924   # instance it was reported that on HP-UX the gcc test will end up
   3925   # making a dummy file named 'D' -- because '-MD' means "put the output
   3926   # in D".
   3927   rm -rf conftest.dir
   3928   mkdir conftest.dir
   3929   # Copy depcomp to subdir because otherwise we won't find it if we're
   3930   # using a relative directory.
   3931   cp "$am_depcomp" conftest.dir
   3932   cd conftest.dir
   3933   # We will build objects and dependencies in a subdirectory because
   3934   # it helps to detect inapplicable dependency modes.  For instance
   3935   # both Tru64's cc and ICC support -MD to output dependencies as a
   3936   # side effect of compilation, but ICC will put the dependencies in
   3937   # the current directory while Tru64 will put them in the object
   3938   # directory.
   3939   mkdir sub
   3940 
   3941   am_cv_CC_dependencies_compiler_type=none
   3942   if test "$am_compiler_list" = ""; then
   3943      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3944   fi
   3945   am__universal=false
   3946   case " $depcc " in #(
   3947      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3948      esac
   3949 
   3950   for depmode in $am_compiler_list; do
   3951     # Setup a source with many dependencies, because some compilers
   3952     # like to wrap large dependency lists on column 80 (with \), and
   3953     # we should not choose a depcomp mode which is confused by this.
   3954     #
   3955     # We need to recreate these files for each test, as the compiler may
   3956     # overwrite some of them when testing with obscure command lines.
   3957     # This happens at least with the AIX C compiler.
   3958     : > sub/conftest.c
   3959     for i in 1 2 3 4 5 6; do
   3960       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3961       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3962       # Solaris 10 /bin/sh.
   3963       echo '/* dummy */' > sub/conftst$i.h
   3964     done
   3965     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3966 
   3967     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3968     # mode.  It turns out that the SunPro C++ compiler does not properly
   3969     # handle '-M -o', and we need to detect this.  Also, some Intel
   3970     # versions had trouble with output in subdirs.
   3971     am__obj=sub/conftest.${OBJEXT-o}
   3972     am__minus_obj="-o $am__obj"
   3973     case $depmode in
   3974     gcc)
   3975       # This depmode causes a compiler race in universal mode.
   3976       test "$am__universal" = false || continue
   3977       ;;
   3978     nosideeffect)
   3979       # After this tag, mechanisms are not by side-effect, so they'll
   3980       # only be used when explicitly requested.
   3981       if test "x$enable_dependency_tracking" = xyes; then
   3982 	continue
   3983       else
   3984 	break
   3985       fi
   3986       ;;
   3987     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3988       # This compiler won't grok '-c -o', but also, the minuso test has
   3989       # not run yet.  These depmodes are late enough in the game, and
   3990       # so weak that their functioning should not be impacted.
   3991       am__obj=conftest.${OBJEXT-o}
   3992       am__minus_obj=
   3993       ;;
   3994     none) break ;;
   3995     esac
   3996     if depmode=$depmode \
   3997        source=sub/conftest.c object=$am__obj \
   3998        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3999        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4000          >/dev/null 2>conftest.err &&
   4001        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4002        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4003        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4004        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4005       # icc doesn't choke on unknown options, it will just issue warnings
   4006       # or remarks (even with -Werror).  So we grep stderr for any message
   4007       # that says an option was ignored or not supported.
   4008       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4009       #   icc: Command line warning: ignoring option '-M'; no argument required
   4010       # The diagnosis changed in icc 8.0:
   4011       #   icc: Command line remark: option '-MP' not supported
   4012       if (grep 'ignoring option' conftest.err ||
   4013           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4014         am_cv_CC_dependencies_compiler_type=$depmode
   4015         break
   4016       fi
   4017     fi
   4018   done
   4019 
   4020   cd ..
   4021   rm -rf conftest.dir
   4022 else
   4023   am_cv_CC_dependencies_compiler_type=none
   4024 fi
   4025 
   4026 fi
   4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4028 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4029 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4030 
   4031  if
   4032   test "x$enable_dependency_tracking" != xno \
   4033   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4034   am__fastdepCC_TRUE=
   4035   am__fastdepCC_FALSE='#'
   4036 else
   4037   am__fastdepCC_TRUE='#'
   4038   am__fastdepCC_FALSE=
   4039 fi
   4040 
   4041 
   4042 
   4043 # Check whether --enable-largefile was given.
   4044 if test "${enable_largefile+set}" = set; then :
   4045   enableval=$enable_largefile;
   4046 fi
   4047 
   4048 if test "$enable_largefile" != no; then
   4049 
   4050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   4051 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   4052 if ${ac_cv_sys_largefile_CC+:} false; then :
   4053   $as_echo_n "(cached) " >&6
   4054 else
   4055   ac_cv_sys_largefile_CC=no
   4056      if test "$GCC" != yes; then
   4057        ac_save_CC=$CC
   4058        while :; do
   4059 	 # IRIX 6.2 and later do not support large files by default,
   4060 	 # so use the C compiler's -n32 option if that helps.
   4061 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4062 /* end confdefs.h.  */
   4063 #include <sys/types.h>
   4064  /* Check that off_t can represent 2**63 - 1 correctly.
   4065     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4066     since some C++ compilers masquerading as C compilers
   4067     incorrectly reject 9223372036854775807.  */
   4068 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
   4069   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4070 		       && LARGE_OFF_T % 2147483647 == 1)
   4071 		      ? 1 : -1];
   4072 int
   4073 main ()
   4074 {
   4075 
   4076   ;
   4077   return 0;
   4078 }
   4079 _ACEOF
   4080 	 if ac_fn_c_try_compile "$LINENO"; then :
   4081   break
   4082 fi
   4083 rm -f core conftest.err conftest.$ac_objext
   4084 	 CC="$CC -n32"
   4085 	 if ac_fn_c_try_compile "$LINENO"; then :
   4086   ac_cv_sys_largefile_CC=' -n32'; break
   4087 fi
   4088 rm -f core conftest.err conftest.$ac_objext
   4089 	 break
   4090        done
   4091        CC=$ac_save_CC
   4092        rm -f conftest.$ac_ext
   4093     fi
   4094 fi
   4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   4096 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   4097   if test "$ac_cv_sys_largefile_CC" != no; then
   4098     CC=$CC$ac_cv_sys_largefile_CC
   4099   fi
   4100 
   4101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   4102 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   4103 if ${ac_cv_sys_file_offset_bits+:} false; then :
   4104   $as_echo_n "(cached) " >&6
   4105 else
   4106   while :; do
   4107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4108 /* end confdefs.h.  */
   4109 #include <sys/types.h>
   4110  /* Check that off_t can represent 2**63 - 1 correctly.
   4111     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4112     since some C++ compilers masquerading as C compilers
   4113     incorrectly reject 9223372036854775807.  */
   4114 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
   4115   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4116 		       && LARGE_OFF_T % 2147483647 == 1)
   4117 		      ? 1 : -1];
   4118 int
   4119 main ()
   4120 {
   4121 
   4122   ;
   4123   return 0;
   4124 }
   4125 _ACEOF
   4126 if ac_fn_c_try_compile "$LINENO"; then :
   4127   ac_cv_sys_file_offset_bits=no; break
   4128 fi
   4129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4131 /* end confdefs.h.  */
   4132 #define _FILE_OFFSET_BITS 64
   4133 #include <sys/types.h>
   4134  /* Check that off_t can represent 2**63 - 1 correctly.
   4135     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4136     since some C++ compilers masquerading as C compilers
   4137     incorrectly reject 9223372036854775807.  */
   4138 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
   4139   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4140 		       && LARGE_OFF_T % 2147483647 == 1)
   4141 		      ? 1 : -1];
   4142 int
   4143 main ()
   4144 {
   4145 
   4146   ;
   4147   return 0;
   4148 }
   4149 _ACEOF
   4150 if ac_fn_c_try_compile "$LINENO"; then :
   4151   ac_cv_sys_file_offset_bits=64; break
   4152 fi
   4153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4154   ac_cv_sys_file_offset_bits=unknown
   4155   break
   4156 done
   4157 fi
   4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   4159 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   4160 case $ac_cv_sys_file_offset_bits in #(
   4161   no | unknown) ;;
   4162   *)
   4163 cat >>confdefs.h <<_ACEOF
   4164 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   4165 _ACEOF
   4166 ;;
   4167 esac
   4168 rm -rf conftest*
   4169   if test $ac_cv_sys_file_offset_bits = unknown; then
   4170     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   4171 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   4172 if ${ac_cv_sys_large_files+:} false; then :
   4173   $as_echo_n "(cached) " >&6
   4174 else
   4175   while :; do
   4176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4177 /* end confdefs.h.  */
   4178 #include <sys/types.h>
   4179  /* Check that off_t can represent 2**63 - 1 correctly.
   4180     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4181     since some C++ compilers masquerading as C compilers
   4182     incorrectly reject 9223372036854775807.  */
   4183 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
   4184   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4185 		       && LARGE_OFF_T % 2147483647 == 1)
   4186 		      ? 1 : -1];
   4187 int
   4188 main ()
   4189 {
   4190 
   4191   ;
   4192   return 0;
   4193 }
   4194 _ACEOF
   4195 if ac_fn_c_try_compile "$LINENO"; then :
   4196   ac_cv_sys_large_files=no; break
   4197 fi
   4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4200 /* end confdefs.h.  */
   4201 #define _LARGE_FILES 1
   4202 #include <sys/types.h>
   4203  /* Check that off_t can represent 2**63 - 1 correctly.
   4204     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4205     since some C++ compilers masquerading as C compilers
   4206     incorrectly reject 9223372036854775807.  */
   4207 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
   4208   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4209 		       && LARGE_OFF_T % 2147483647 == 1)
   4210 		      ? 1 : -1];
   4211 int
   4212 main ()
   4213 {
   4214 
   4215   ;
   4216   return 0;
   4217 }
   4218 _ACEOF
   4219 if ac_fn_c_try_compile "$LINENO"; then :
   4220   ac_cv_sys_large_files=1; break
   4221 fi
   4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4223   ac_cv_sys_large_files=unknown
   4224   break
   4225 done
   4226 fi
   4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   4228 $as_echo "$ac_cv_sys_large_files" >&6; }
   4229 case $ac_cv_sys_large_files in #(
   4230   no | unknown) ;;
   4231   *)
   4232 cat >>confdefs.h <<_ACEOF
   4233 #define _LARGE_FILES $ac_cv_sys_large_files
   4234 _ACEOF
   4235 ;;
   4236 esac
   4237 rm -rf conftest*
   4238   fi
   4239 
   4240 
   4241 fi
   4242 
   4243 
   4244 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4245 
   4246 
   4247 
   4248 
   4249 
   4250 
   4251 
   4252 
   4253 
   4254 
   4255 
   4256    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4257 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4258 if ${ac_cv_prog_cc_c99+:} false; then :
   4259   $as_echo_n "(cached) " >&6
   4260 else
   4261   ac_cv_prog_cc_c99=no
   4262 ac_save_CC=$CC
   4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4264 /* end confdefs.h.  */
   4265 #include <stdarg.h>
   4266 #include <stdbool.h>
   4267 #include <stdlib.h>
   4268 #include <wchar.h>
   4269 #include <stdio.h>
   4270 
   4271 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4272 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4273 #define showlist(...) puts (#__VA_ARGS__)
   4274 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4275 static void
   4276 test_varargs_macros (void)
   4277 {
   4278   int x = 1234;
   4279   int y = 5678;
   4280   debug ("Flag");
   4281   debug ("X = %d\n", x);
   4282   showlist (The first, second, and third items.);
   4283   report (x>y, "x is %d but y is %d", x, y);
   4284 }
   4285 
   4286 // Check long long types.
   4287 #define BIG64 18446744073709551615ull
   4288 #define BIG32 4294967295ul
   4289 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4290 #if !BIG_OK
   4291   your preprocessor is broken;
   4292 #endif
   4293 #if BIG_OK
   4294 #else
   4295   your preprocessor is broken;
   4296 #endif
   4297 static long long int bignum = -9223372036854775807LL;
   4298 static unsigned long long int ubignum = BIG64;
   4299 
   4300 struct incomplete_array
   4301 {
   4302   int datasize;
   4303   double data[];
   4304 };
   4305 
   4306 struct named_init {
   4307   int number;
   4308   const wchar_t *name;
   4309   double average;
   4310 };
   4311 
   4312 typedef const char *ccp;
   4313 
   4314 static inline int
   4315 test_restrict (ccp restrict text)
   4316 {
   4317   // See if C++-style comments work.
   4318   // Iterate through items via the restricted pointer.
   4319   // Also check for declarations in for loops.
   4320   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4321     continue;
   4322   return 0;
   4323 }
   4324 
   4325 // Check varargs and va_copy.
   4326 static void
   4327 test_varargs (const char *format, ...)
   4328 {
   4329   va_list args;
   4330   va_start (args, format);
   4331   va_list args_copy;
   4332   va_copy (args_copy, args);
   4333 
   4334   const char *str;
   4335   int number;
   4336   float fnumber;
   4337 
   4338   while (*format)
   4339     {
   4340       switch (*format++)
   4341 	{
   4342 	case 's': // string
   4343 	  str = va_arg (args_copy, const char *);
   4344 	  break;
   4345 	case 'd': // int
   4346 	  number = va_arg (args_copy, int);
   4347 	  break;
   4348 	case 'f': // float
   4349 	  fnumber = va_arg (args_copy, double);
   4350 	  break;
   4351 	default:
   4352 	  break;
   4353 	}
   4354     }
   4355   va_end (args_copy);
   4356   va_end (args);
   4357 }
   4358 
   4359 int
   4360 main ()
   4361 {
   4362 
   4363   // Check bool.
   4364   _Bool success = false;
   4365 
   4366   // Check restrict.
   4367   if (test_restrict ("String literal") == 0)
   4368     success = true;
   4369   char *restrict newvar = "Another string";
   4370 
   4371   // Check varargs.
   4372   test_varargs ("s, d' f .", "string", 65, 34.234);
   4373   test_varargs_macros ();
   4374 
   4375   // Check flexible array members.
   4376   struct incomplete_array *ia =
   4377     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4378   ia->datasize = 10;
   4379   for (int i = 0; i < ia->datasize; ++i)
   4380     ia->data[i] = i * 1.234;
   4381 
   4382   // Check named initializers.
   4383   struct named_init ni = {
   4384     .number = 34,
   4385     .name = L"Test wide string",
   4386     .average = 543.34343,
   4387   };
   4388 
   4389   ni.number = 58;
   4390 
   4391   int dynamic_array[ni.number];
   4392   dynamic_array[ni.number - 1] = 543;
   4393 
   4394   // work around unused variable warnings
   4395   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4396 	  || dynamic_array[ni.number - 1] != 543);
   4397 
   4398   ;
   4399   return 0;
   4400 }
   4401 _ACEOF
   4402 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4403 do
   4404   CC="$ac_save_CC $ac_arg"
   4405   if ac_fn_c_try_compile "$LINENO"; then :
   4406   ac_cv_prog_cc_c99=$ac_arg
   4407 fi
   4408 rm -f core conftest.err conftest.$ac_objext
   4409   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4410 done
   4411 rm -f conftest.$ac_ext
   4412 CC=$ac_save_CC
   4413 
   4414 fi
   4415 # AC_CACHE_VAL
   4416 case "x$ac_cv_prog_cc_c99" in
   4417   x)
   4418     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4419 $as_echo "none needed" >&6; } ;;
   4420   xno)
   4421     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4422 $as_echo "unsupported" >&6; } ;;
   4423   *)
   4424     CC="$CC $ac_cv_prog_cc_c99"
   4425     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4426 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4427 esac
   4428 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4429 
   4430 fi
   4431 
   4432 
   4433 ac_ext=c
   4434 ac_cpp='$CPP $CPPFLAGS'
   4435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4439 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4440 # On Suns, sometimes $CPP names a directory.
   4441 if test -n "$CPP" && test -d "$CPP"; then
   4442   CPP=
   4443 fi
   4444 if test -z "$CPP"; then
   4445   if ${ac_cv_prog_CPP+:} false; then :
   4446   $as_echo_n "(cached) " >&6
   4447 else
   4448       # Double quotes because CPP needs to be expanded
   4449     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4450     do
   4451       ac_preproc_ok=false
   4452 for ac_c_preproc_warn_flag in '' yes
   4453 do
   4454   # Use a header file that comes with gcc, so configuring glibc
   4455   # with a fresh cross-compiler works.
   4456   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4457   # <limits.h> exists even on freestanding compilers.
   4458   # On the NeXT, cc -E runs the code through the compiler's parser,
   4459   # not just through cpp. "Syntax error" is here to catch this case.
   4460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4461 /* end confdefs.h.  */
   4462 #ifdef __STDC__
   4463 # include <limits.h>
   4464 #else
   4465 # include <assert.h>
   4466 #endif
   4467 		     Syntax error
   4468 _ACEOF
   4469 if ac_fn_c_try_cpp "$LINENO"; then :
   4470 
   4471 else
   4472   # Broken: fails on valid input.
   4473 continue
   4474 fi
   4475 rm -f conftest.err conftest.i conftest.$ac_ext
   4476 
   4477   # OK, works on sane cases.  Now check whether nonexistent headers
   4478   # can be detected and how.
   4479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4480 /* end confdefs.h.  */
   4481 #include <ac_nonexistent.h>
   4482 _ACEOF
   4483 if ac_fn_c_try_cpp "$LINENO"; then :
   4484   # Broken: success on invalid input.
   4485 continue
   4486 else
   4487   # Passes both tests.
   4488 ac_preproc_ok=:
   4489 break
   4490 fi
   4491 rm -f conftest.err conftest.i conftest.$ac_ext
   4492 
   4493 done
   4494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4495 rm -f conftest.i conftest.err conftest.$ac_ext
   4496 if $ac_preproc_ok; then :
   4497   break
   4498 fi
   4499 
   4500     done
   4501     ac_cv_prog_CPP=$CPP
   4502 
   4503 fi
   4504   CPP=$ac_cv_prog_CPP
   4505 else
   4506   ac_cv_prog_CPP=$CPP
   4507 fi
   4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4509 $as_echo "$CPP" >&6; }
   4510 ac_preproc_ok=false
   4511 for ac_c_preproc_warn_flag in '' yes
   4512 do
   4513   # Use a header file that comes with gcc, so configuring glibc
   4514   # with a fresh cross-compiler works.
   4515   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4516   # <limits.h> exists even on freestanding compilers.
   4517   # On the NeXT, cc -E runs the code through the compiler's parser,
   4518   # not just through cpp. "Syntax error" is here to catch this case.
   4519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4520 /* end confdefs.h.  */
   4521 #ifdef __STDC__
   4522 # include <limits.h>
   4523 #else
   4524 # include <assert.h>
   4525 #endif
   4526 		     Syntax error
   4527 _ACEOF
   4528 if ac_fn_c_try_cpp "$LINENO"; then :
   4529 
   4530 else
   4531   # Broken: fails on valid input.
   4532 continue
   4533 fi
   4534 rm -f conftest.err conftest.i conftest.$ac_ext
   4535 
   4536   # OK, works on sane cases.  Now check whether nonexistent headers
   4537   # can be detected and how.
   4538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4539 /* end confdefs.h.  */
   4540 #include <ac_nonexistent.h>
   4541 _ACEOF
   4542 if ac_fn_c_try_cpp "$LINENO"; then :
   4543   # Broken: success on invalid input.
   4544 continue
   4545 else
   4546   # Passes both tests.
   4547 ac_preproc_ok=:
   4548 break
   4549 fi
   4550 rm -f conftest.err conftest.i conftest.$ac_ext
   4551 
   4552 done
   4553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4554 rm -f conftest.i conftest.err conftest.$ac_ext
   4555 if $ac_preproc_ok; then :
   4556 
   4557 else
   4558   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4560 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4561 See \`config.log' for more details" "$LINENO" 5; }
   4562 fi
   4563 
   4564 ac_ext=c
   4565 ac_cpp='$CPP $CPPFLAGS'
   4566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4569 
   4570 
   4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4572 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4573 if ${ac_cv_path_GREP+:} false; then :
   4574   $as_echo_n "(cached) " >&6
   4575 else
   4576   if test -z "$GREP"; then
   4577   ac_path_GREP_found=false
   4578   # Loop through the user's path and test for each of PROGNAME-LIST
   4579   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4580 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4581 do
   4582   IFS=$as_save_IFS
   4583   test -z "$as_dir" && as_dir=.
   4584     for ac_prog in grep ggrep; do
   4585     for ac_exec_ext in '' $ac_executable_extensions; do
   4586       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4587       as_fn_executable_p "$ac_path_GREP" || continue
   4588 # Check for GNU ac_path_GREP and select it if it is found.
   4589   # Check for GNU $ac_path_GREP
   4590 case `"$ac_path_GREP" --version 2>&1` in
   4591 *GNU*)
   4592   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4593 *)
   4594   ac_count=0
   4595   $as_echo_n 0123456789 >"conftest.in"
   4596   while :
   4597   do
   4598     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4599     mv "conftest.tmp" "conftest.in"
   4600     cp "conftest.in" "conftest.nl"
   4601     $as_echo 'GREP' >> "conftest.nl"
   4602     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4603     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4604     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4605     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4606       # Best one so far, save it but keep looking for a better one
   4607       ac_cv_path_GREP="$ac_path_GREP"
   4608       ac_path_GREP_max=$ac_count
   4609     fi
   4610     # 10*(2^10) chars as input seems more than enough
   4611     test $ac_count -gt 10 && break
   4612   done
   4613   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4614 esac
   4615 
   4616       $ac_path_GREP_found && break 3
   4617     done
   4618   done
   4619   done
   4620 IFS=$as_save_IFS
   4621   if test -z "$ac_cv_path_GREP"; then
   4622     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4623   fi
   4624 else
   4625   ac_cv_path_GREP=$GREP
   4626 fi
   4627 
   4628 fi
   4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4630 $as_echo "$ac_cv_path_GREP" >&6; }
   4631  GREP="$ac_cv_path_GREP"
   4632 
   4633 
   4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4635 $as_echo_n "checking for egrep... " >&6; }
   4636 if ${ac_cv_path_EGREP+:} false; then :
   4637   $as_echo_n "(cached) " >&6
   4638 else
   4639   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4640    then ac_cv_path_EGREP="$GREP -E"
   4641    else
   4642      if test -z "$EGREP"; then
   4643   ac_path_EGREP_found=false
   4644   # Loop through the user's path and test for each of PROGNAME-LIST
   4645   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4646 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4647 do
   4648   IFS=$as_save_IFS
   4649   test -z "$as_dir" && as_dir=.
   4650     for ac_prog in egrep; do
   4651     for ac_exec_ext in '' $ac_executable_extensions; do
   4652       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4653       as_fn_executable_p "$ac_path_EGREP" || continue
   4654 # Check for GNU ac_path_EGREP and select it if it is found.
   4655   # Check for GNU $ac_path_EGREP
   4656 case `"$ac_path_EGREP" --version 2>&1` in
   4657 *GNU*)
   4658   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4659 *)
   4660   ac_count=0
   4661   $as_echo_n 0123456789 >"conftest.in"
   4662   while :
   4663   do
   4664     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4665     mv "conftest.tmp" "conftest.in"
   4666     cp "conftest.in" "conftest.nl"
   4667     $as_echo 'EGREP' >> "conftest.nl"
   4668     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4669     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4670     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4671     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4672       # Best one so far, save it but keep looking for a better one
   4673       ac_cv_path_EGREP="$ac_path_EGREP"
   4674       ac_path_EGREP_max=$ac_count
   4675     fi
   4676     # 10*(2^10) chars as input seems more than enough
   4677     test $ac_count -gt 10 && break
   4678   done
   4679   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4680 esac
   4681 
   4682       $ac_path_EGREP_found && break 3
   4683     done
   4684   done
   4685   done
   4686 IFS=$as_save_IFS
   4687   if test -z "$ac_cv_path_EGREP"; then
   4688     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4689   fi
   4690 else
   4691   ac_cv_path_EGREP=$EGREP
   4692 fi
   4693 
   4694    fi
   4695 fi
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4697 $as_echo "$ac_cv_path_EGREP" >&6; }
   4698  EGREP="$ac_cv_path_EGREP"
   4699 
   4700 
   4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4702 $as_echo_n "checking for ANSI C header files... " >&6; }
   4703 if ${ac_cv_header_stdc+:} false; then :
   4704   $as_echo_n "(cached) " >&6
   4705 else
   4706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4707 /* end confdefs.h.  */
   4708 #include <stdlib.h>
   4709 #include <stdarg.h>
   4710 #include <string.h>
   4711 #include <float.h>
   4712 
   4713 int
   4714 main ()
   4715 {
   4716 
   4717   ;
   4718   return 0;
   4719 }
   4720 _ACEOF
   4721 if ac_fn_c_try_compile "$LINENO"; then :
   4722   ac_cv_header_stdc=yes
   4723 else
   4724   ac_cv_header_stdc=no
   4725 fi
   4726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4727 
   4728 if test $ac_cv_header_stdc = yes; then
   4729   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4731 /* end confdefs.h.  */
   4732 #include <string.h>
   4733 
   4734 _ACEOF
   4735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4736   $EGREP "memchr" >/dev/null 2>&1; then :
   4737 
   4738 else
   4739   ac_cv_header_stdc=no
   4740 fi
   4741 rm -f conftest*
   4742 
   4743 fi
   4744 
   4745 if test $ac_cv_header_stdc = yes; then
   4746   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4748 /* end confdefs.h.  */
   4749 #include <stdlib.h>
   4750 
   4751 _ACEOF
   4752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4753   $EGREP "free" >/dev/null 2>&1; then :
   4754 
   4755 else
   4756   ac_cv_header_stdc=no
   4757 fi
   4758 rm -f conftest*
   4759 
   4760 fi
   4761 
   4762 if test $ac_cv_header_stdc = yes; then
   4763   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4764   if test "$cross_compiling" = yes; then :
   4765   :
   4766 else
   4767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4768 /* end confdefs.h.  */
   4769 #include <ctype.h>
   4770 #include <stdlib.h>
   4771 #if ((' ' & 0x0FF) == 0x020)
   4772 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4773 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4774 #else
   4775 # define ISLOWER(c) \
   4776 		   (('a' <= (c) && (c) <= 'i') \
   4777 		     || ('j' <= (c) && (c) <= 'r') \
   4778 		     || ('s' <= (c) && (c) <= 'z'))
   4779 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4780 #endif
   4781 
   4782 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4783 int
   4784 main ()
   4785 {
   4786   int i;
   4787   for (i = 0; i < 256; i++)
   4788     if (XOR (islower (i), ISLOWER (i))
   4789 	|| toupper (i) != TOUPPER (i))
   4790       return 2;
   4791   return 0;
   4792 }
   4793 _ACEOF
   4794 if ac_fn_c_try_run "$LINENO"; then :
   4795 
   4796 else
   4797   ac_cv_header_stdc=no
   4798 fi
   4799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4800   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4801 fi
   4802 
   4803 fi
   4804 fi
   4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4806 $as_echo "$ac_cv_header_stdc" >&6; }
   4807 if test $ac_cv_header_stdc = yes; then
   4808 
   4809 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4810 
   4811 fi
   4812 
   4813 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4814 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4815 		  inttypes.h stdint.h unistd.h
   4816 do :
   4817   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4818 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4819 "
   4820 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4821   cat >>confdefs.h <<_ACEOF
   4822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4823 _ACEOF
   4824 
   4825 fi
   4826 
   4827 done
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4835 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4836   CLANGCC="yes"
   4837 else
   4838   CLANGCC="no"
   4839 fi
   4840 
   4841 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4842 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4843   INTELCC="yes"
   4844 else
   4845   INTELCC="no"
   4846 fi
   4847 
   4848 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4849 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4850   SUNCC="yes"
   4851 else
   4852   SUNCC="no"
   4853 fi
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4864 	if test -n "$ac_tool_prefix"; then
   4865   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4866 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4868 $as_echo_n "checking for $ac_word... " >&6; }
   4869 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4870   $as_echo_n "(cached) " >&6
   4871 else
   4872   case $PKG_CONFIG in
   4873   [\\/]* | ?:[\\/]*)
   4874   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4875   ;;
   4876   *)
   4877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4878 for as_dir in $PATH
   4879 do
   4880   IFS=$as_save_IFS
   4881   test -z "$as_dir" && as_dir=.
   4882     for ac_exec_ext in '' $ac_executable_extensions; do
   4883   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4884     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4886     break 2
   4887   fi
   4888 done
   4889   done
   4890 IFS=$as_save_IFS
   4891 
   4892   ;;
   4893 esac
   4894 fi
   4895 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4896 if test -n "$PKG_CONFIG"; then
   4897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4898 $as_echo "$PKG_CONFIG" >&6; }
   4899 else
   4900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4901 $as_echo "no" >&6; }
   4902 fi
   4903 
   4904 
   4905 fi
   4906 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4907   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4908   # Extract the first word of "pkg-config", so it can be a program name with args.
   4909 set dummy pkg-config; ac_word=$2
   4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4911 $as_echo_n "checking for $ac_word... " >&6; }
   4912 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4913   $as_echo_n "(cached) " >&6
   4914 else
   4915   case $ac_pt_PKG_CONFIG in
   4916   [\\/]* | ?:[\\/]*)
   4917   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4918   ;;
   4919   *)
   4920   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4921 for as_dir in $PATH
   4922 do
   4923   IFS=$as_save_IFS
   4924   test -z "$as_dir" && as_dir=.
   4925     for ac_exec_ext in '' $ac_executable_extensions; do
   4926   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4927     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4928     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4929     break 2
   4930   fi
   4931 done
   4932   done
   4933 IFS=$as_save_IFS
   4934 
   4935   ;;
   4936 esac
   4937 fi
   4938 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4939 if test -n "$ac_pt_PKG_CONFIG"; then
   4940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4941 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4942 else
   4943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4944 $as_echo "no" >&6; }
   4945 fi
   4946 
   4947   if test "x$ac_pt_PKG_CONFIG" = x; then
   4948     PKG_CONFIG=""
   4949   else
   4950     case $cross_compiling:$ac_tool_warned in
   4951 yes:)
   4952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4954 ac_tool_warned=yes ;;
   4955 esac
   4956     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4957   fi
   4958 else
   4959   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4960 fi
   4961 
   4962 fi
   4963 if test -n "$PKG_CONFIG"; then
   4964 	_pkg_min_version=0.9.0
   4965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4966 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4967 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4969 $as_echo "yes" >&6; }
   4970 	else
   4971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4972 $as_echo "no" >&6; }
   4973 		PKG_CONFIG=""
   4974 	fi
   4975 fi
   4976 # Make sure we can run config.sub.
   4977 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4978   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4979 
   4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4981 $as_echo_n "checking build system type... " >&6; }
   4982 if ${ac_cv_build+:} false; then :
   4983   $as_echo_n "(cached) " >&6
   4984 else
   4985   ac_build_alias=$build_alias
   4986 test "x$ac_build_alias" = x &&
   4987   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4988 test "x$ac_build_alias" = x &&
   4989   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4990 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4991   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4992 
   4993 fi
   4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4995 $as_echo "$ac_cv_build" >&6; }
   4996 case $ac_cv_build in
   4997 *-*-*) ;;
   4998 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4999 esac
   5000 build=$ac_cv_build
   5001 ac_save_IFS=$IFS; IFS='-'
   5002 set x $ac_cv_build
   5003 shift
   5004 build_cpu=$1
   5005 build_vendor=$2
   5006 shift; shift
   5007 # Remember, the first character of IFS is used to create $*,
   5008 # except with old shells:
   5009 build_os=$*
   5010 IFS=$ac_save_IFS
   5011 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5012 
   5013 
   5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5015 $as_echo_n "checking host system type... " >&6; }
   5016 if ${ac_cv_host+:} false; then :
   5017   $as_echo_n "(cached) " >&6
   5018 else
   5019   if test "x$host_alias" = x; then
   5020   ac_cv_host=$ac_cv_build
   5021 else
   5022   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5023     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5024 fi
   5025 
   5026 fi
   5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5028 $as_echo "$ac_cv_host" >&6; }
   5029 case $ac_cv_host in
   5030 *-*-*) ;;
   5031 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5032 esac
   5033 host=$ac_cv_host
   5034 ac_save_IFS=$IFS; IFS='-'
   5035 set x $ac_cv_host
   5036 shift
   5037 host_cpu=$1
   5038 host_vendor=$2
   5039 shift; shift
   5040 # Remember, the first character of IFS is used to create $*,
   5041 # except with old shells:
   5042 host_os=$*
   5043 IFS=$ac_save_IFS
   5044 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5045 
   5046 
   5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5048 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5049 if ${ac_cv_path_SED+:} false; then :
   5050   $as_echo_n "(cached) " >&6
   5051 else
   5052             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5053      for ac_i in 1 2 3 4 5 6 7; do
   5054        ac_script="$ac_script$as_nl$ac_script"
   5055      done
   5056      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5057      { ac_script=; unset ac_script;}
   5058      if test -z "$SED"; then
   5059   ac_path_SED_found=false
   5060   # Loop through the user's path and test for each of PROGNAME-LIST
   5061   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5062 for as_dir in $PATH
   5063 do
   5064   IFS=$as_save_IFS
   5065   test -z "$as_dir" && as_dir=.
   5066     for ac_prog in sed gsed; do
   5067     for ac_exec_ext in '' $ac_executable_extensions; do
   5068       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5069       as_fn_executable_p "$ac_path_SED" || continue
   5070 # Check for GNU ac_path_SED and select it if it is found.
   5071   # Check for GNU $ac_path_SED
   5072 case `"$ac_path_SED" --version 2>&1` in
   5073 *GNU*)
   5074   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5075 *)
   5076   ac_count=0
   5077   $as_echo_n 0123456789 >"conftest.in"
   5078   while :
   5079   do
   5080     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5081     mv "conftest.tmp" "conftest.in"
   5082     cp "conftest.in" "conftest.nl"
   5083     $as_echo '' >> "conftest.nl"
   5084     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5085     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5086     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5087     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5088       # Best one so far, save it but keep looking for a better one
   5089       ac_cv_path_SED="$ac_path_SED"
   5090       ac_path_SED_max=$ac_count
   5091     fi
   5092     # 10*(2^10) chars as input seems more than enough
   5093     test $ac_count -gt 10 && break
   5094   done
   5095   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5096 esac
   5097 
   5098       $ac_path_SED_found && break 3
   5099     done
   5100   done
   5101   done
   5102 IFS=$as_save_IFS
   5103   if test -z "$ac_cv_path_SED"; then
   5104     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5105   fi
   5106 else
   5107   ac_cv_path_SED=$SED
   5108 fi
   5109 
   5110 fi
   5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5112 $as_echo "$ac_cv_path_SED" >&6; }
   5113  SED="$ac_cv_path_SED"
   5114   rm -f conftest.sed
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 # Check whether --enable-selective-werror was given.
   5122 if test "${enable_selective_werror+set}" = set; then :
   5123   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5124 else
   5125   SELECTIVE_WERROR=yes
   5126 fi
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5133 if test "x$SUNCC" = "xyes"; then
   5134     BASE_CFLAGS="-v"
   5135 else
   5136     BASE_CFLAGS=""
   5137 fi
   5138 
   5139 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 xorg_testset_save_CFLAGS="$CFLAGS"
   5154 
   5155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5158 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5159 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5160   $as_echo_n "(cached) " >&6
   5161 else
   5162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5163 /* end confdefs.h.  */
   5164 int i;
   5165 _ACEOF
   5166 if ac_fn_c_try_compile "$LINENO"; then :
   5167   xorg_cv_cc_flag_unknown_warning_option=yes
   5168 else
   5169   xorg_cv_cc_flag_unknown_warning_option=no
   5170 fi
   5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5172 fi
   5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5174 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5176 	CFLAGS="$xorg_testset_save_CFLAGS"
   5177 fi
   5178 
   5179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5182 	fi
   5183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5185 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5186 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5187   $as_echo_n "(cached) " >&6
   5188 else
   5189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5190 /* end confdefs.h.  */
   5191 int i;
   5192 _ACEOF
   5193 if ac_fn_c_try_compile "$LINENO"; then :
   5194   xorg_cv_cc_flag_unused_command_line_argument=yes
   5195 else
   5196   xorg_cv_cc_flag_unused_command_line_argument=no
   5197 fi
   5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5199 fi
   5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5201 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5203 	CFLAGS="$xorg_testset_save_CFLAGS"
   5204 fi
   5205 
   5206 found="no"
   5207 
   5208 	if test $found = "no" ; then
   5209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5211 		fi
   5212 
   5213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5215 		fi
   5216 
   5217 		CFLAGS="$CFLAGS -Wall"
   5218 
   5219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5220 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5221 		cacheid=xorg_cv_cc_flag__Wall
   5222 		if eval \${$cacheid+:} false; then :
   5223   $as_echo_n "(cached) " >&6
   5224 else
   5225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5226 /* end confdefs.h.  */
   5227 int i;
   5228 int
   5229 main ()
   5230 {
   5231 
   5232   ;
   5233   return 0;
   5234 }
   5235 _ACEOF
   5236 if ac_fn_c_try_link "$LINENO"; then :
   5237   eval $cacheid=yes
   5238 else
   5239   eval $cacheid=no
   5240 fi
   5241 rm -f core conftest.err conftest.$ac_objext \
   5242     conftest$ac_exeext conftest.$ac_ext
   5243 fi
   5244 
   5245 
   5246 		CFLAGS="$xorg_testset_save_CFLAGS"
   5247 
   5248 		eval supported=\$$cacheid
   5249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5250 $as_echo "$supported" >&6; }
   5251 		if test "$supported" = "yes" ; then
   5252 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5253 			found="yes"
   5254 		fi
   5255 	fi
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 xorg_testset_save_CFLAGS="$CFLAGS"
   5272 
   5273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5276 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5277 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5278   $as_echo_n "(cached) " >&6
   5279 else
   5280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5281 /* end confdefs.h.  */
   5282 int i;
   5283 _ACEOF
   5284 if ac_fn_c_try_compile "$LINENO"; then :
   5285   xorg_cv_cc_flag_unknown_warning_option=yes
   5286 else
   5287   xorg_cv_cc_flag_unknown_warning_option=no
   5288 fi
   5289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5290 fi
   5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5292 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5294 	CFLAGS="$xorg_testset_save_CFLAGS"
   5295 fi
   5296 
   5297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5300 	fi
   5301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5303 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5304 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5305   $as_echo_n "(cached) " >&6
   5306 else
   5307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5308 /* end confdefs.h.  */
   5309 int i;
   5310 _ACEOF
   5311 if ac_fn_c_try_compile "$LINENO"; then :
   5312   xorg_cv_cc_flag_unused_command_line_argument=yes
   5313 else
   5314   xorg_cv_cc_flag_unused_command_line_argument=no
   5315 fi
   5316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5317 fi
   5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5319 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5321 	CFLAGS="$xorg_testset_save_CFLAGS"
   5322 fi
   5323 
   5324 found="no"
   5325 
   5326 	if test $found = "no" ; then
   5327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5329 		fi
   5330 
   5331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5333 		fi
   5334 
   5335 		CFLAGS="$CFLAGS -Wpointer-arith"
   5336 
   5337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5338 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5339 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5340 		if eval \${$cacheid+:} false; then :
   5341   $as_echo_n "(cached) " >&6
   5342 else
   5343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5344 /* end confdefs.h.  */
   5345 int i;
   5346 int
   5347 main ()
   5348 {
   5349 
   5350   ;
   5351   return 0;
   5352 }
   5353 _ACEOF
   5354 if ac_fn_c_try_link "$LINENO"; then :
   5355   eval $cacheid=yes
   5356 else
   5357   eval $cacheid=no
   5358 fi
   5359 rm -f core conftest.err conftest.$ac_objext \
   5360     conftest$ac_exeext conftest.$ac_ext
   5361 fi
   5362 
   5363 
   5364 		CFLAGS="$xorg_testset_save_CFLAGS"
   5365 
   5366 		eval supported=\$$cacheid
   5367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5368 $as_echo "$supported" >&6; }
   5369 		if test "$supported" = "yes" ; then
   5370 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5371 			found="yes"
   5372 		fi
   5373 	fi
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 xorg_testset_save_CFLAGS="$CFLAGS"
   5390 
   5391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5394 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5395 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5396   $as_echo_n "(cached) " >&6
   5397 else
   5398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5399 /* end confdefs.h.  */
   5400 int i;
   5401 _ACEOF
   5402 if ac_fn_c_try_compile "$LINENO"; then :
   5403   xorg_cv_cc_flag_unknown_warning_option=yes
   5404 else
   5405   xorg_cv_cc_flag_unknown_warning_option=no
   5406 fi
   5407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5408 fi
   5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5410 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5411 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5412 	CFLAGS="$xorg_testset_save_CFLAGS"
   5413 fi
   5414 
   5415 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5416 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5417 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5418 	fi
   5419 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5421 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5422 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5423   $as_echo_n "(cached) " >&6
   5424 else
   5425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5426 /* end confdefs.h.  */
   5427 int i;
   5428 _ACEOF
   5429 if ac_fn_c_try_compile "$LINENO"; then :
   5430   xorg_cv_cc_flag_unused_command_line_argument=yes
   5431 else
   5432   xorg_cv_cc_flag_unused_command_line_argument=no
   5433 fi
   5434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5435 fi
   5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5437 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5439 	CFLAGS="$xorg_testset_save_CFLAGS"
   5440 fi
   5441 
   5442 found="no"
   5443 
   5444 	if test $found = "no" ; then
   5445 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5447 		fi
   5448 
   5449 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5451 		fi
   5452 
   5453 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5454 
   5455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5456 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5457 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5458 		if eval \${$cacheid+:} false; then :
   5459   $as_echo_n "(cached) " >&6
   5460 else
   5461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5462 /* end confdefs.h.  */
   5463 int i;
   5464 int
   5465 main ()
   5466 {
   5467 
   5468   ;
   5469   return 0;
   5470 }
   5471 _ACEOF
   5472 if ac_fn_c_try_link "$LINENO"; then :
   5473   eval $cacheid=yes
   5474 else
   5475   eval $cacheid=no
   5476 fi
   5477 rm -f core conftest.err conftest.$ac_objext \
   5478     conftest$ac_exeext conftest.$ac_ext
   5479 fi
   5480 
   5481 
   5482 		CFLAGS="$xorg_testset_save_CFLAGS"
   5483 
   5484 		eval supported=\$$cacheid
   5485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5486 $as_echo "$supported" >&6; }
   5487 		if test "$supported" = "yes" ; then
   5488 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5489 			found="yes"
   5490 		fi
   5491 	fi
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 xorg_testset_save_CFLAGS="$CFLAGS"
   5508 
   5509 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5510 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5512 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5513 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5514   $as_echo_n "(cached) " >&6
   5515 else
   5516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5517 /* end confdefs.h.  */
   5518 int i;
   5519 _ACEOF
   5520 if ac_fn_c_try_compile "$LINENO"; then :
   5521   xorg_cv_cc_flag_unknown_warning_option=yes
   5522 else
   5523   xorg_cv_cc_flag_unknown_warning_option=no
   5524 fi
   5525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5526 fi
   5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5528 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5529 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5530 	CFLAGS="$xorg_testset_save_CFLAGS"
   5531 fi
   5532 
   5533 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5534 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5535 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5536 	fi
   5537 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5539 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5540 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5541   $as_echo_n "(cached) " >&6
   5542 else
   5543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5544 /* end confdefs.h.  */
   5545 int i;
   5546 _ACEOF
   5547 if ac_fn_c_try_compile "$LINENO"; then :
   5548   xorg_cv_cc_flag_unused_command_line_argument=yes
   5549 else
   5550   xorg_cv_cc_flag_unused_command_line_argument=no
   5551 fi
   5552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5553 fi
   5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5555 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5556 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5557 	CFLAGS="$xorg_testset_save_CFLAGS"
   5558 fi
   5559 
   5560 found="no"
   5561 
   5562 	if test $found = "no" ; then
   5563 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5564 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5565 		fi
   5566 
   5567 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5568 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5569 		fi
   5570 
   5571 		CFLAGS="$CFLAGS -Wformat=2"
   5572 
   5573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5574 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5575 		cacheid=xorg_cv_cc_flag__Wformat_2
   5576 		if eval \${$cacheid+:} false; then :
   5577   $as_echo_n "(cached) " >&6
   5578 else
   5579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5580 /* end confdefs.h.  */
   5581 int i;
   5582 int
   5583 main ()
   5584 {
   5585 
   5586   ;
   5587   return 0;
   5588 }
   5589 _ACEOF
   5590 if ac_fn_c_try_link "$LINENO"; then :
   5591   eval $cacheid=yes
   5592 else
   5593   eval $cacheid=no
   5594 fi
   5595 rm -f core conftest.err conftest.$ac_objext \
   5596     conftest$ac_exeext conftest.$ac_ext
   5597 fi
   5598 
   5599 
   5600 		CFLAGS="$xorg_testset_save_CFLAGS"
   5601 
   5602 		eval supported=\$$cacheid
   5603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5604 $as_echo "$supported" >&6; }
   5605 		if test "$supported" = "yes" ; then
   5606 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5607 			found="yes"
   5608 		fi
   5609 	fi
   5610 
   5611 	if test $found = "no" ; then
   5612 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5614 		fi
   5615 
   5616 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5618 		fi
   5619 
   5620 		CFLAGS="$CFLAGS -Wformat"
   5621 
   5622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5623 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5624 		cacheid=xorg_cv_cc_flag__Wformat
   5625 		if eval \${$cacheid+:} false; then :
   5626   $as_echo_n "(cached) " >&6
   5627 else
   5628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5629 /* end confdefs.h.  */
   5630 int i;
   5631 int
   5632 main ()
   5633 {
   5634 
   5635   ;
   5636   return 0;
   5637 }
   5638 _ACEOF
   5639 if ac_fn_c_try_link "$LINENO"; then :
   5640   eval $cacheid=yes
   5641 else
   5642   eval $cacheid=no
   5643 fi
   5644 rm -f core conftest.err conftest.$ac_objext \
   5645     conftest$ac_exeext conftest.$ac_ext
   5646 fi
   5647 
   5648 
   5649 		CFLAGS="$xorg_testset_save_CFLAGS"
   5650 
   5651 		eval supported=\$$cacheid
   5652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5653 $as_echo "$supported" >&6; }
   5654 		if test "$supported" = "yes" ; then
   5655 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5656 			found="yes"
   5657 		fi
   5658 	fi
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 xorg_testset_save_CFLAGS="$CFLAGS"
   5677 
   5678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5681 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5682 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5683   $as_echo_n "(cached) " >&6
   5684 else
   5685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5686 /* end confdefs.h.  */
   5687 int i;
   5688 _ACEOF
   5689 if ac_fn_c_try_compile "$LINENO"; then :
   5690   xorg_cv_cc_flag_unknown_warning_option=yes
   5691 else
   5692   xorg_cv_cc_flag_unknown_warning_option=no
   5693 fi
   5694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5695 fi
   5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5697 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5698 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5699 	CFLAGS="$xorg_testset_save_CFLAGS"
   5700 fi
   5701 
   5702 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5703 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5704 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5705 	fi
   5706 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5708 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5709 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5710   $as_echo_n "(cached) " >&6
   5711 else
   5712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5713 /* end confdefs.h.  */
   5714 int i;
   5715 _ACEOF
   5716 if ac_fn_c_try_compile "$LINENO"; then :
   5717   xorg_cv_cc_flag_unused_command_line_argument=yes
   5718 else
   5719   xorg_cv_cc_flag_unused_command_line_argument=no
   5720 fi
   5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5722 fi
   5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5724 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5726 	CFLAGS="$xorg_testset_save_CFLAGS"
   5727 fi
   5728 
   5729 found="no"
   5730 
   5731 	if test $found = "no" ; then
   5732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5734 		fi
   5735 
   5736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5738 		fi
   5739 
   5740 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5741 
   5742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5743 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5744 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5745 		if eval \${$cacheid+:} false; then :
   5746   $as_echo_n "(cached) " >&6
   5747 else
   5748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5749 /* end confdefs.h.  */
   5750 int i;
   5751 int
   5752 main ()
   5753 {
   5754 
   5755   ;
   5756   return 0;
   5757 }
   5758 _ACEOF
   5759 if ac_fn_c_try_link "$LINENO"; then :
   5760   eval $cacheid=yes
   5761 else
   5762   eval $cacheid=no
   5763 fi
   5764 rm -f core conftest.err conftest.$ac_objext \
   5765     conftest$ac_exeext conftest.$ac_ext
   5766 fi
   5767 
   5768 
   5769 		CFLAGS="$xorg_testset_save_CFLAGS"
   5770 
   5771 		eval supported=\$$cacheid
   5772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5773 $as_echo "$supported" >&6; }
   5774 		if test "$supported" = "yes" ; then
   5775 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5776 			found="yes"
   5777 		fi
   5778 	fi
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 xorg_testset_save_CFLAGS="$CFLAGS"
   5795 
   5796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5799 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5800 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5801   $as_echo_n "(cached) " >&6
   5802 else
   5803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5804 /* end confdefs.h.  */
   5805 int i;
   5806 _ACEOF
   5807 if ac_fn_c_try_compile "$LINENO"; then :
   5808   xorg_cv_cc_flag_unknown_warning_option=yes
   5809 else
   5810   xorg_cv_cc_flag_unknown_warning_option=no
   5811 fi
   5812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5813 fi
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5815 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5817 	CFLAGS="$xorg_testset_save_CFLAGS"
   5818 fi
   5819 
   5820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5823 	fi
   5824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5826 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5827 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5828   $as_echo_n "(cached) " >&6
   5829 else
   5830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5831 /* end confdefs.h.  */
   5832 int i;
   5833 _ACEOF
   5834 if ac_fn_c_try_compile "$LINENO"; then :
   5835   xorg_cv_cc_flag_unused_command_line_argument=yes
   5836 else
   5837   xorg_cv_cc_flag_unused_command_line_argument=no
   5838 fi
   5839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5840 fi
   5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5842 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5844 	CFLAGS="$xorg_testset_save_CFLAGS"
   5845 fi
   5846 
   5847 found="no"
   5848 
   5849 	if test $found = "no" ; then
   5850 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5852 		fi
   5853 
   5854 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5856 		fi
   5857 
   5858 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5859 
   5860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5861 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5862 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5863 		if eval \${$cacheid+:} false; then :
   5864   $as_echo_n "(cached) " >&6
   5865 else
   5866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5867 /* end confdefs.h.  */
   5868 int i;
   5869 int
   5870 main ()
   5871 {
   5872 
   5873   ;
   5874   return 0;
   5875 }
   5876 _ACEOF
   5877 if ac_fn_c_try_link "$LINENO"; then :
   5878   eval $cacheid=yes
   5879 else
   5880   eval $cacheid=no
   5881 fi
   5882 rm -f core conftest.err conftest.$ac_objext \
   5883     conftest$ac_exeext conftest.$ac_ext
   5884 fi
   5885 
   5886 
   5887 		CFLAGS="$xorg_testset_save_CFLAGS"
   5888 
   5889 		eval supported=\$$cacheid
   5890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5891 $as_echo "$supported" >&6; }
   5892 		if test "$supported" = "yes" ; then
   5893 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5894 			found="yes"
   5895 		fi
   5896 	fi
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 xorg_testset_save_CFLAGS="$CFLAGS"
   5913 
   5914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5917 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5918 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5919   $as_echo_n "(cached) " >&6
   5920 else
   5921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5922 /* end confdefs.h.  */
   5923 int i;
   5924 _ACEOF
   5925 if ac_fn_c_try_compile "$LINENO"; then :
   5926   xorg_cv_cc_flag_unknown_warning_option=yes
   5927 else
   5928   xorg_cv_cc_flag_unknown_warning_option=no
   5929 fi
   5930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5931 fi
   5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5933 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5935 	CFLAGS="$xorg_testset_save_CFLAGS"
   5936 fi
   5937 
   5938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5941 	fi
   5942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5944 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5945 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5946   $as_echo_n "(cached) " >&6
   5947 else
   5948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5949 /* end confdefs.h.  */
   5950 int i;
   5951 _ACEOF
   5952 if ac_fn_c_try_compile "$LINENO"; then :
   5953   xorg_cv_cc_flag_unused_command_line_argument=yes
   5954 else
   5955   xorg_cv_cc_flag_unused_command_line_argument=no
   5956 fi
   5957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5958 fi
   5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5960 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5962 	CFLAGS="$xorg_testset_save_CFLAGS"
   5963 fi
   5964 
   5965 found="no"
   5966 
   5967 	if test $found = "no" ; then
   5968 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5970 		fi
   5971 
   5972 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5974 		fi
   5975 
   5976 		CFLAGS="$CFLAGS -Wnested-externs"
   5977 
   5978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5979 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5980 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5981 		if eval \${$cacheid+:} false; then :
   5982   $as_echo_n "(cached) " >&6
   5983 else
   5984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5985 /* end confdefs.h.  */
   5986 int i;
   5987 int
   5988 main ()
   5989 {
   5990 
   5991   ;
   5992   return 0;
   5993 }
   5994 _ACEOF
   5995 if ac_fn_c_try_link "$LINENO"; then :
   5996   eval $cacheid=yes
   5997 else
   5998   eval $cacheid=no
   5999 fi
   6000 rm -f core conftest.err conftest.$ac_objext \
   6001     conftest$ac_exeext conftest.$ac_ext
   6002 fi
   6003 
   6004 
   6005 		CFLAGS="$xorg_testset_save_CFLAGS"
   6006 
   6007 		eval supported=\$$cacheid
   6008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6009 $as_echo "$supported" >&6; }
   6010 		if test "$supported" = "yes" ; then
   6011 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6012 			found="yes"
   6013 		fi
   6014 	fi
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 xorg_testset_save_CFLAGS="$CFLAGS"
   6031 
   6032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6035 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6036 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6037   $as_echo_n "(cached) " >&6
   6038 else
   6039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6040 /* end confdefs.h.  */
   6041 int i;
   6042 _ACEOF
   6043 if ac_fn_c_try_compile "$LINENO"; then :
   6044   xorg_cv_cc_flag_unknown_warning_option=yes
   6045 else
   6046   xorg_cv_cc_flag_unknown_warning_option=no
   6047 fi
   6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6049 fi
   6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6051 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6053 	CFLAGS="$xorg_testset_save_CFLAGS"
   6054 fi
   6055 
   6056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6059 	fi
   6060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6062 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6063 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6064   $as_echo_n "(cached) " >&6
   6065 else
   6066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6067 /* end confdefs.h.  */
   6068 int i;
   6069 _ACEOF
   6070 if ac_fn_c_try_compile "$LINENO"; then :
   6071   xorg_cv_cc_flag_unused_command_line_argument=yes
   6072 else
   6073   xorg_cv_cc_flag_unused_command_line_argument=no
   6074 fi
   6075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6076 fi
   6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6078 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6079 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6080 	CFLAGS="$xorg_testset_save_CFLAGS"
   6081 fi
   6082 
   6083 found="no"
   6084 
   6085 	if test $found = "no" ; then
   6086 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6088 		fi
   6089 
   6090 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6092 		fi
   6093 
   6094 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6095 
   6096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6097 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   6098 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6099 		if eval \${$cacheid+:} false; then :
   6100   $as_echo_n "(cached) " >&6
   6101 else
   6102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6103 /* end confdefs.h.  */
   6104 int i;
   6105 int
   6106 main ()
   6107 {
   6108 
   6109   ;
   6110   return 0;
   6111 }
   6112 _ACEOF
   6113 if ac_fn_c_try_link "$LINENO"; then :
   6114   eval $cacheid=yes
   6115 else
   6116   eval $cacheid=no
   6117 fi
   6118 rm -f core conftest.err conftest.$ac_objext \
   6119     conftest$ac_exeext conftest.$ac_ext
   6120 fi
   6121 
   6122 
   6123 		CFLAGS="$xorg_testset_save_CFLAGS"
   6124 
   6125 		eval supported=\$$cacheid
   6126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6127 $as_echo "$supported" >&6; }
   6128 		if test "$supported" = "yes" ; then
   6129 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6130 			found="yes"
   6131 		fi
   6132 	fi
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 xorg_testset_save_CFLAGS="$CFLAGS"
   6149 
   6150 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6151 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6153 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6154 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6155   $as_echo_n "(cached) " >&6
   6156 else
   6157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6158 /* end confdefs.h.  */
   6159 int i;
   6160 _ACEOF
   6161 if ac_fn_c_try_compile "$LINENO"; then :
   6162   xorg_cv_cc_flag_unknown_warning_option=yes
   6163 else
   6164   xorg_cv_cc_flag_unknown_warning_option=no
   6165 fi
   6166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6167 fi
   6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6169 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6171 	CFLAGS="$xorg_testset_save_CFLAGS"
   6172 fi
   6173 
   6174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6177 	fi
   6178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6180 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6181 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6182   $as_echo_n "(cached) " >&6
   6183 else
   6184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6185 /* end confdefs.h.  */
   6186 int i;
   6187 _ACEOF
   6188 if ac_fn_c_try_compile "$LINENO"; then :
   6189   xorg_cv_cc_flag_unused_command_line_argument=yes
   6190 else
   6191   xorg_cv_cc_flag_unused_command_line_argument=no
   6192 fi
   6193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6194 fi
   6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6196 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6198 	CFLAGS="$xorg_testset_save_CFLAGS"
   6199 fi
   6200 
   6201 found="no"
   6202 
   6203 	if test $found = "no" ; then
   6204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6206 		fi
   6207 
   6208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6210 		fi
   6211 
   6212 		CFLAGS="$CFLAGS -Wold-style-definition"
   6213 
   6214 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6215 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6216 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6217 		if eval \${$cacheid+:} false; then :
   6218   $as_echo_n "(cached) " >&6
   6219 else
   6220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6221 /* end confdefs.h.  */
   6222 int i;
   6223 int
   6224 main ()
   6225 {
   6226 
   6227   ;
   6228   return 0;
   6229 }
   6230 _ACEOF
   6231 if ac_fn_c_try_link "$LINENO"; then :
   6232   eval $cacheid=yes
   6233 else
   6234   eval $cacheid=no
   6235 fi
   6236 rm -f core conftest.err conftest.$ac_objext \
   6237     conftest$ac_exeext conftest.$ac_ext
   6238 fi
   6239 
   6240 
   6241 		CFLAGS="$xorg_testset_save_CFLAGS"
   6242 
   6243 		eval supported=\$$cacheid
   6244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6245 $as_echo "$supported" >&6; }
   6246 		if test "$supported" = "yes" ; then
   6247 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6248 			found="yes"
   6249 		fi
   6250 	fi
   6251 
   6252 	if test $found = "no" ; then
   6253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6255 		fi
   6256 
   6257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6259 		fi
   6260 
   6261 		CFLAGS="$CFLAGS -fd"
   6262 
   6263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6264 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6265 		cacheid=xorg_cv_cc_flag__fd
   6266 		if eval \${$cacheid+:} false; then :
   6267   $as_echo_n "(cached) " >&6
   6268 else
   6269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6270 /* end confdefs.h.  */
   6271 int i;
   6272 int
   6273 main ()
   6274 {
   6275 
   6276   ;
   6277   return 0;
   6278 }
   6279 _ACEOF
   6280 if ac_fn_c_try_link "$LINENO"; then :
   6281   eval $cacheid=yes
   6282 else
   6283   eval $cacheid=no
   6284 fi
   6285 rm -f core conftest.err conftest.$ac_objext \
   6286     conftest$ac_exeext conftest.$ac_ext
   6287 fi
   6288 
   6289 
   6290 		CFLAGS="$xorg_testset_save_CFLAGS"
   6291 
   6292 		eval supported=\$$cacheid
   6293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6294 $as_echo "$supported" >&6; }
   6295 		if test "$supported" = "yes" ; then
   6296 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6297 			found="yes"
   6298 		fi
   6299 	fi
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 xorg_testset_save_CFLAGS="$CFLAGS"
   6316 
   6317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6322   $as_echo_n "(cached) " >&6
   6323 else
   6324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6325 /* end confdefs.h.  */
   6326 int i;
   6327 _ACEOF
   6328 if ac_fn_c_try_compile "$LINENO"; then :
   6329   xorg_cv_cc_flag_unknown_warning_option=yes
   6330 else
   6331   xorg_cv_cc_flag_unknown_warning_option=no
   6332 fi
   6333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6334 fi
   6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6338 	CFLAGS="$xorg_testset_save_CFLAGS"
   6339 fi
   6340 
   6341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6344 	fi
   6345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6349   $as_echo_n "(cached) " >&6
   6350 else
   6351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6352 /* end confdefs.h.  */
   6353 int i;
   6354 _ACEOF
   6355 if ac_fn_c_try_compile "$LINENO"; then :
   6356   xorg_cv_cc_flag_unused_command_line_argument=yes
   6357 else
   6358   xorg_cv_cc_flag_unused_command_line_argument=no
   6359 fi
   6360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6361 fi
   6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6365 	CFLAGS="$xorg_testset_save_CFLAGS"
   6366 fi
   6367 
   6368 found="no"
   6369 
   6370 	if test $found = "no" ; then
   6371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6373 		fi
   6374 
   6375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6377 		fi
   6378 
   6379 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6380 
   6381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6382 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6383 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6384 		if eval \${$cacheid+:} false; then :
   6385   $as_echo_n "(cached) " >&6
   6386 else
   6387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6388 /* end confdefs.h.  */
   6389 int i;
   6390 int
   6391 main ()
   6392 {
   6393 
   6394   ;
   6395   return 0;
   6396 }
   6397 _ACEOF
   6398 if ac_fn_c_try_link "$LINENO"; then :
   6399   eval $cacheid=yes
   6400 else
   6401   eval $cacheid=no
   6402 fi
   6403 rm -f core conftest.err conftest.$ac_objext \
   6404     conftest$ac_exeext conftest.$ac_ext
   6405 fi
   6406 
   6407 
   6408 		CFLAGS="$xorg_testset_save_CFLAGS"
   6409 
   6410 		eval supported=\$$cacheid
   6411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6412 $as_echo "$supported" >&6; }
   6413 		if test "$supported" = "yes" ; then
   6414 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6415 			found="yes"
   6416 		fi
   6417 	fi
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 # This chunk adds additional warnings that could catch undesired effects.
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 xorg_testset_save_CFLAGS="$CFLAGS"
   6438 
   6439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6442 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6443 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6444   $as_echo_n "(cached) " >&6
   6445 else
   6446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6447 /* end confdefs.h.  */
   6448 int i;
   6449 _ACEOF
   6450 if ac_fn_c_try_compile "$LINENO"; then :
   6451   xorg_cv_cc_flag_unknown_warning_option=yes
   6452 else
   6453   xorg_cv_cc_flag_unknown_warning_option=no
   6454 fi
   6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6456 fi
   6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6458 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6459 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6460 	CFLAGS="$xorg_testset_save_CFLAGS"
   6461 fi
   6462 
   6463 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6464 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6465 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6466 	fi
   6467 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6468 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6469 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6470 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6471   $as_echo_n "(cached) " >&6
   6472 else
   6473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6474 /* end confdefs.h.  */
   6475 int i;
   6476 _ACEOF
   6477 if ac_fn_c_try_compile "$LINENO"; then :
   6478   xorg_cv_cc_flag_unused_command_line_argument=yes
   6479 else
   6480   xorg_cv_cc_flag_unused_command_line_argument=no
   6481 fi
   6482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6483 fi
   6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6485 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6486 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6487 	CFLAGS="$xorg_testset_save_CFLAGS"
   6488 fi
   6489 
   6490 found="no"
   6491 
   6492 	if test $found = "no" ; then
   6493 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6495 		fi
   6496 
   6497 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6499 		fi
   6500 
   6501 		CFLAGS="$CFLAGS -Wunused"
   6502 
   6503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6504 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6505 		cacheid=xorg_cv_cc_flag__Wunused
   6506 		if eval \${$cacheid+:} false; then :
   6507   $as_echo_n "(cached) " >&6
   6508 else
   6509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6510 /* end confdefs.h.  */
   6511 int i;
   6512 int
   6513 main ()
   6514 {
   6515 
   6516   ;
   6517   return 0;
   6518 }
   6519 _ACEOF
   6520 if ac_fn_c_try_link "$LINENO"; then :
   6521   eval $cacheid=yes
   6522 else
   6523   eval $cacheid=no
   6524 fi
   6525 rm -f core conftest.err conftest.$ac_objext \
   6526     conftest$ac_exeext conftest.$ac_ext
   6527 fi
   6528 
   6529 
   6530 		CFLAGS="$xorg_testset_save_CFLAGS"
   6531 
   6532 		eval supported=\$$cacheid
   6533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6534 $as_echo "$supported" >&6; }
   6535 		if test "$supported" = "yes" ; then
   6536 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6537 			found="yes"
   6538 		fi
   6539 	fi
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 xorg_testset_save_CFLAGS="$CFLAGS"
   6556 
   6557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6560 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6561 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6562   $as_echo_n "(cached) " >&6
   6563 else
   6564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6565 /* end confdefs.h.  */
   6566 int i;
   6567 _ACEOF
   6568 if ac_fn_c_try_compile "$LINENO"; then :
   6569   xorg_cv_cc_flag_unknown_warning_option=yes
   6570 else
   6571   xorg_cv_cc_flag_unknown_warning_option=no
   6572 fi
   6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6574 fi
   6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6576 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6578 	CFLAGS="$xorg_testset_save_CFLAGS"
   6579 fi
   6580 
   6581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6584 	fi
   6585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6587 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6588 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6589   $as_echo_n "(cached) " >&6
   6590 else
   6591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6592 /* end confdefs.h.  */
   6593 int i;
   6594 _ACEOF
   6595 if ac_fn_c_try_compile "$LINENO"; then :
   6596   xorg_cv_cc_flag_unused_command_line_argument=yes
   6597 else
   6598   xorg_cv_cc_flag_unused_command_line_argument=no
   6599 fi
   6600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6601 fi
   6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6603 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6605 	CFLAGS="$xorg_testset_save_CFLAGS"
   6606 fi
   6607 
   6608 found="no"
   6609 
   6610 	if test $found = "no" ; then
   6611 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6613 		fi
   6614 
   6615 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6617 		fi
   6618 
   6619 		CFLAGS="$CFLAGS -Wuninitialized"
   6620 
   6621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6622 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6623 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6624 		if eval \${$cacheid+:} false; then :
   6625   $as_echo_n "(cached) " >&6
   6626 else
   6627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6628 /* end confdefs.h.  */
   6629 int i;
   6630 int
   6631 main ()
   6632 {
   6633 
   6634   ;
   6635   return 0;
   6636 }
   6637 _ACEOF
   6638 if ac_fn_c_try_link "$LINENO"; then :
   6639   eval $cacheid=yes
   6640 else
   6641   eval $cacheid=no
   6642 fi
   6643 rm -f core conftest.err conftest.$ac_objext \
   6644     conftest$ac_exeext conftest.$ac_ext
   6645 fi
   6646 
   6647 
   6648 		CFLAGS="$xorg_testset_save_CFLAGS"
   6649 
   6650 		eval supported=\$$cacheid
   6651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6652 $as_echo "$supported" >&6; }
   6653 		if test "$supported" = "yes" ; then
   6654 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6655 			found="yes"
   6656 		fi
   6657 	fi
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 xorg_testset_save_CFLAGS="$CFLAGS"
   6674 
   6675 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6676 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6678 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6679 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6680   $as_echo_n "(cached) " >&6
   6681 else
   6682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 _ACEOF
   6686 if ac_fn_c_try_compile "$LINENO"; then :
   6687   xorg_cv_cc_flag_unknown_warning_option=yes
   6688 else
   6689   xorg_cv_cc_flag_unknown_warning_option=no
   6690 fi
   6691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6692 fi
   6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6694 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6696 	CFLAGS="$xorg_testset_save_CFLAGS"
   6697 fi
   6698 
   6699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6702 	fi
   6703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6704 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6705 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6706 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6707   $as_echo_n "(cached) " >&6
   6708 else
   6709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6710 /* end confdefs.h.  */
   6711 int i;
   6712 _ACEOF
   6713 if ac_fn_c_try_compile "$LINENO"; then :
   6714   xorg_cv_cc_flag_unused_command_line_argument=yes
   6715 else
   6716   xorg_cv_cc_flag_unused_command_line_argument=no
   6717 fi
   6718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6719 fi
   6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6721 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6723 	CFLAGS="$xorg_testset_save_CFLAGS"
   6724 fi
   6725 
   6726 found="no"
   6727 
   6728 	if test $found = "no" ; then
   6729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6731 		fi
   6732 
   6733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6735 		fi
   6736 
   6737 		CFLAGS="$CFLAGS -Wshadow"
   6738 
   6739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6740 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6741 		cacheid=xorg_cv_cc_flag__Wshadow
   6742 		if eval \${$cacheid+:} false; then :
   6743   $as_echo_n "(cached) " >&6
   6744 else
   6745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6746 /* end confdefs.h.  */
   6747 int i;
   6748 int
   6749 main ()
   6750 {
   6751 
   6752   ;
   6753   return 0;
   6754 }
   6755 _ACEOF
   6756 if ac_fn_c_try_link "$LINENO"; then :
   6757   eval $cacheid=yes
   6758 else
   6759   eval $cacheid=no
   6760 fi
   6761 rm -f core conftest.err conftest.$ac_objext \
   6762     conftest$ac_exeext conftest.$ac_ext
   6763 fi
   6764 
   6765 
   6766 		CFLAGS="$xorg_testset_save_CFLAGS"
   6767 
   6768 		eval supported=\$$cacheid
   6769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6770 $as_echo "$supported" >&6; }
   6771 		if test "$supported" = "yes" ; then
   6772 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6773 			found="yes"
   6774 		fi
   6775 	fi
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 xorg_testset_save_CFLAGS="$CFLAGS"
   6792 
   6793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6796 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6797 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6798   $as_echo_n "(cached) " >&6
   6799 else
   6800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 _ACEOF
   6804 if ac_fn_c_try_compile "$LINENO"; then :
   6805   xorg_cv_cc_flag_unknown_warning_option=yes
   6806 else
   6807   xorg_cv_cc_flag_unknown_warning_option=no
   6808 fi
   6809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6810 fi
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6812 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6814 	CFLAGS="$xorg_testset_save_CFLAGS"
   6815 fi
   6816 
   6817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6820 	fi
   6821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6823 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6824 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6825   $as_echo_n "(cached) " >&6
   6826 else
   6827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6828 /* end confdefs.h.  */
   6829 int i;
   6830 _ACEOF
   6831 if ac_fn_c_try_compile "$LINENO"; then :
   6832   xorg_cv_cc_flag_unused_command_line_argument=yes
   6833 else
   6834   xorg_cv_cc_flag_unused_command_line_argument=no
   6835 fi
   6836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6837 fi
   6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6839 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6841 	CFLAGS="$xorg_testset_save_CFLAGS"
   6842 fi
   6843 
   6844 found="no"
   6845 
   6846 	if test $found = "no" ; then
   6847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6849 		fi
   6850 
   6851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6853 		fi
   6854 
   6855 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6856 
   6857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6858 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6859 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6860 		if eval \${$cacheid+:} false; then :
   6861   $as_echo_n "(cached) " >&6
   6862 else
   6863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6864 /* end confdefs.h.  */
   6865 int i;
   6866 int
   6867 main ()
   6868 {
   6869 
   6870   ;
   6871   return 0;
   6872 }
   6873 _ACEOF
   6874 if ac_fn_c_try_link "$LINENO"; then :
   6875   eval $cacheid=yes
   6876 else
   6877   eval $cacheid=no
   6878 fi
   6879 rm -f core conftest.err conftest.$ac_objext \
   6880     conftest$ac_exeext conftest.$ac_ext
   6881 fi
   6882 
   6883 
   6884 		CFLAGS="$xorg_testset_save_CFLAGS"
   6885 
   6886 		eval supported=\$$cacheid
   6887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6888 $as_echo "$supported" >&6; }
   6889 		if test "$supported" = "yes" ; then
   6890 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6891 			found="yes"
   6892 		fi
   6893 	fi
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 xorg_testset_save_CFLAGS="$CFLAGS"
   6910 
   6911 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6912 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6914 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6915 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6916   $as_echo_n "(cached) " >&6
   6917 else
   6918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6919 /* end confdefs.h.  */
   6920 int i;
   6921 _ACEOF
   6922 if ac_fn_c_try_compile "$LINENO"; then :
   6923   xorg_cv_cc_flag_unknown_warning_option=yes
   6924 else
   6925   xorg_cv_cc_flag_unknown_warning_option=no
   6926 fi
   6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6928 fi
   6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6930 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6931 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6932 	CFLAGS="$xorg_testset_save_CFLAGS"
   6933 fi
   6934 
   6935 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6936 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6937 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6938 	fi
   6939 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6941 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6942 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6943   $as_echo_n "(cached) " >&6
   6944 else
   6945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6946 /* end confdefs.h.  */
   6947 int i;
   6948 _ACEOF
   6949 if ac_fn_c_try_compile "$LINENO"; then :
   6950   xorg_cv_cc_flag_unused_command_line_argument=yes
   6951 else
   6952   xorg_cv_cc_flag_unused_command_line_argument=no
   6953 fi
   6954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6955 fi
   6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6957 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6958 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6959 	CFLAGS="$xorg_testset_save_CFLAGS"
   6960 fi
   6961 
   6962 found="no"
   6963 
   6964 	if test $found = "no" ; then
   6965 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6966 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6967 		fi
   6968 
   6969 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6970 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6971 		fi
   6972 
   6973 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6974 
   6975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6976 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6977 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6978 		if eval \${$cacheid+:} false; then :
   6979   $as_echo_n "(cached) " >&6
   6980 else
   6981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6982 /* end confdefs.h.  */
   6983 int i;
   6984 int
   6985 main ()
   6986 {
   6987 
   6988   ;
   6989   return 0;
   6990 }
   6991 _ACEOF
   6992 if ac_fn_c_try_link "$LINENO"; then :
   6993   eval $cacheid=yes
   6994 else
   6995   eval $cacheid=no
   6996 fi
   6997 rm -f core conftest.err conftest.$ac_objext \
   6998     conftest$ac_exeext conftest.$ac_ext
   6999 fi
   7000 
   7001 
   7002 		CFLAGS="$xorg_testset_save_CFLAGS"
   7003 
   7004 		eval supported=\$$cacheid
   7005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7006 $as_echo "$supported" >&6; }
   7007 		if test "$supported" = "yes" ; then
   7008 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7009 			found="yes"
   7010 		fi
   7011 	fi
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 xorg_testset_save_CFLAGS="$CFLAGS"
   7028 
   7029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7032 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7033 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7034   $as_echo_n "(cached) " >&6
   7035 else
   7036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7037 /* end confdefs.h.  */
   7038 int i;
   7039 _ACEOF
   7040 if ac_fn_c_try_compile "$LINENO"; then :
   7041   xorg_cv_cc_flag_unknown_warning_option=yes
   7042 else
   7043   xorg_cv_cc_flag_unknown_warning_option=no
   7044 fi
   7045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7046 fi
   7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7048 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7050 	CFLAGS="$xorg_testset_save_CFLAGS"
   7051 fi
   7052 
   7053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7056 	fi
   7057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7059 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7060 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7061   $as_echo_n "(cached) " >&6
   7062 else
   7063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7064 /* end confdefs.h.  */
   7065 int i;
   7066 _ACEOF
   7067 if ac_fn_c_try_compile "$LINENO"; then :
   7068   xorg_cv_cc_flag_unused_command_line_argument=yes
   7069 else
   7070   xorg_cv_cc_flag_unused_command_line_argument=no
   7071 fi
   7072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7073 fi
   7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7075 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7077 	CFLAGS="$xorg_testset_save_CFLAGS"
   7078 fi
   7079 
   7080 found="no"
   7081 
   7082 	if test $found = "no" ; then
   7083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7085 		fi
   7086 
   7087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7089 		fi
   7090 
   7091 		CFLAGS="$CFLAGS -Wredundant-decls"
   7092 
   7093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7094 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   7095 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7096 		if eval \${$cacheid+:} false; then :
   7097   $as_echo_n "(cached) " >&6
   7098 else
   7099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7100 /* end confdefs.h.  */
   7101 int i;
   7102 int
   7103 main ()
   7104 {
   7105 
   7106   ;
   7107   return 0;
   7108 }
   7109 _ACEOF
   7110 if ac_fn_c_try_link "$LINENO"; then :
   7111   eval $cacheid=yes
   7112 else
   7113   eval $cacheid=no
   7114 fi
   7115 rm -f core conftest.err conftest.$ac_objext \
   7116     conftest$ac_exeext conftest.$ac_ext
   7117 fi
   7118 
   7119 
   7120 		CFLAGS="$xorg_testset_save_CFLAGS"
   7121 
   7122 		eval supported=\$$cacheid
   7123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7124 $as_echo "$supported" >&6; }
   7125 		if test "$supported" = "yes" ; then
   7126 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7127 			found="yes"
   7128 		fi
   7129 	fi
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 xorg_testset_save_CFLAGS="$CFLAGS"
   7146 
   7147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7149 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7150 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7151 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7152   $as_echo_n "(cached) " >&6
   7153 else
   7154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7155 /* end confdefs.h.  */
   7156 int i;
   7157 _ACEOF
   7158 if ac_fn_c_try_compile "$LINENO"; then :
   7159   xorg_cv_cc_flag_unknown_warning_option=yes
   7160 else
   7161   xorg_cv_cc_flag_unknown_warning_option=no
   7162 fi
   7163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7164 fi
   7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7166 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7167 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7168 	CFLAGS="$xorg_testset_save_CFLAGS"
   7169 fi
   7170 
   7171 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7172 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7173 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7174 	fi
   7175 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7177 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7178 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7179   $as_echo_n "(cached) " >&6
   7180 else
   7181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7182 /* end confdefs.h.  */
   7183 int i;
   7184 _ACEOF
   7185 if ac_fn_c_try_compile "$LINENO"; then :
   7186   xorg_cv_cc_flag_unused_command_line_argument=yes
   7187 else
   7188   xorg_cv_cc_flag_unused_command_line_argument=no
   7189 fi
   7190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7191 fi
   7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7193 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7194 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7195 	CFLAGS="$xorg_testset_save_CFLAGS"
   7196 fi
   7197 
   7198 found="no"
   7199 
   7200 	if test $found = "no" ; then
   7201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7203 		fi
   7204 
   7205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7207 		fi
   7208 
   7209 		CFLAGS="$CFLAGS -Wlogical-op"
   7210 
   7211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7212 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   7213 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7214 		if eval \${$cacheid+:} false; then :
   7215   $as_echo_n "(cached) " >&6
   7216 else
   7217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7218 /* end confdefs.h.  */
   7219 int i;
   7220 int
   7221 main ()
   7222 {
   7223 
   7224   ;
   7225   return 0;
   7226 }
   7227 _ACEOF
   7228 if ac_fn_c_try_link "$LINENO"; then :
   7229   eval $cacheid=yes
   7230 else
   7231   eval $cacheid=no
   7232 fi
   7233 rm -f core conftest.err conftest.$ac_objext \
   7234     conftest$ac_exeext conftest.$ac_ext
   7235 fi
   7236 
   7237 
   7238 		CFLAGS="$xorg_testset_save_CFLAGS"
   7239 
   7240 		eval supported=\$$cacheid
   7241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7242 $as_echo "$supported" >&6; }
   7243 		if test "$supported" = "yes" ; then
   7244 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7245 			found="yes"
   7246 		fi
   7247 	fi
   7248 
   7249 
   7250 
   7251 # These are currently disabled because they are noisy.  They will be enabled
   7252 # in the future once the codebase is sufficiently modernized to silence
   7253 # them.  For now, I don't want them to drown out the other warnings.
   7254 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7255 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7256 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7257 
   7258 # Turn some warnings into errors, so we don't accidently get successful builds
   7259 # when there are problems that should be fixed.
   7260 
   7261 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 xorg_testset_save_CFLAGS="$CFLAGS"
   7276 
   7277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7280 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7281 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7282   $as_echo_n "(cached) " >&6
   7283 else
   7284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7285 /* end confdefs.h.  */
   7286 int i;
   7287 _ACEOF
   7288 if ac_fn_c_try_compile "$LINENO"; then :
   7289   xorg_cv_cc_flag_unknown_warning_option=yes
   7290 else
   7291   xorg_cv_cc_flag_unknown_warning_option=no
   7292 fi
   7293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7294 fi
   7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7296 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7298 	CFLAGS="$xorg_testset_save_CFLAGS"
   7299 fi
   7300 
   7301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7304 	fi
   7305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7307 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7308 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7309   $as_echo_n "(cached) " >&6
   7310 else
   7311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7312 /* end confdefs.h.  */
   7313 int i;
   7314 _ACEOF
   7315 if ac_fn_c_try_compile "$LINENO"; then :
   7316   xorg_cv_cc_flag_unused_command_line_argument=yes
   7317 else
   7318   xorg_cv_cc_flag_unused_command_line_argument=no
   7319 fi
   7320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7321 fi
   7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7323 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7325 	CFLAGS="$xorg_testset_save_CFLAGS"
   7326 fi
   7327 
   7328 found="no"
   7329 
   7330 	if test $found = "no" ; then
   7331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7333 		fi
   7334 
   7335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7337 		fi
   7338 
   7339 		CFLAGS="$CFLAGS -Werror=implicit"
   7340 
   7341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7342 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7343 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7344 		if eval \${$cacheid+:} false; then :
   7345   $as_echo_n "(cached) " >&6
   7346 else
   7347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7348 /* end confdefs.h.  */
   7349 int i;
   7350 int
   7351 main ()
   7352 {
   7353 
   7354   ;
   7355   return 0;
   7356 }
   7357 _ACEOF
   7358 if ac_fn_c_try_link "$LINENO"; then :
   7359   eval $cacheid=yes
   7360 else
   7361   eval $cacheid=no
   7362 fi
   7363 rm -f core conftest.err conftest.$ac_objext \
   7364     conftest$ac_exeext conftest.$ac_ext
   7365 fi
   7366 
   7367 
   7368 		CFLAGS="$xorg_testset_save_CFLAGS"
   7369 
   7370 		eval supported=\$$cacheid
   7371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7372 $as_echo "$supported" >&6; }
   7373 		if test "$supported" = "yes" ; then
   7374 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7375 			found="yes"
   7376 		fi
   7377 	fi
   7378 
   7379 	if test $found = "no" ; then
   7380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7382 		fi
   7383 
   7384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7386 		fi
   7387 
   7388 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7389 
   7390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7391 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7392 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7393 		if eval \${$cacheid+:} false; then :
   7394   $as_echo_n "(cached) " >&6
   7395 else
   7396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7397 /* end confdefs.h.  */
   7398 int i;
   7399 int
   7400 main ()
   7401 {
   7402 
   7403   ;
   7404   return 0;
   7405 }
   7406 _ACEOF
   7407 if ac_fn_c_try_link "$LINENO"; then :
   7408   eval $cacheid=yes
   7409 else
   7410   eval $cacheid=no
   7411 fi
   7412 rm -f core conftest.err conftest.$ac_objext \
   7413     conftest$ac_exeext conftest.$ac_ext
   7414 fi
   7415 
   7416 
   7417 		CFLAGS="$xorg_testset_save_CFLAGS"
   7418 
   7419 		eval supported=\$$cacheid
   7420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7421 $as_echo "$supported" >&6; }
   7422 		if test "$supported" = "yes" ; then
   7423 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7424 			found="yes"
   7425 		fi
   7426 	fi
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 xorg_testset_save_CFLAGS="$CFLAGS"
   7443 
   7444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7447 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7448 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7449   $as_echo_n "(cached) " >&6
   7450 else
   7451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7452 /* end confdefs.h.  */
   7453 int i;
   7454 _ACEOF
   7455 if ac_fn_c_try_compile "$LINENO"; then :
   7456   xorg_cv_cc_flag_unknown_warning_option=yes
   7457 else
   7458   xorg_cv_cc_flag_unknown_warning_option=no
   7459 fi
   7460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7461 fi
   7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7463 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7465 	CFLAGS="$xorg_testset_save_CFLAGS"
   7466 fi
   7467 
   7468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7471 	fi
   7472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7474 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7475 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7476   $as_echo_n "(cached) " >&6
   7477 else
   7478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7479 /* end confdefs.h.  */
   7480 int i;
   7481 _ACEOF
   7482 if ac_fn_c_try_compile "$LINENO"; then :
   7483   xorg_cv_cc_flag_unused_command_line_argument=yes
   7484 else
   7485   xorg_cv_cc_flag_unused_command_line_argument=no
   7486 fi
   7487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7488 fi
   7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7490 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7492 	CFLAGS="$xorg_testset_save_CFLAGS"
   7493 fi
   7494 
   7495 found="no"
   7496 
   7497 	if test $found = "no" ; then
   7498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7500 		fi
   7501 
   7502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7504 		fi
   7505 
   7506 		CFLAGS="$CFLAGS -Werror=nonnull"
   7507 
   7508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7509 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7510 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7511 		if eval \${$cacheid+:} false; then :
   7512   $as_echo_n "(cached) " >&6
   7513 else
   7514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7515 /* end confdefs.h.  */
   7516 int i;
   7517 int
   7518 main ()
   7519 {
   7520 
   7521   ;
   7522   return 0;
   7523 }
   7524 _ACEOF
   7525 if ac_fn_c_try_link "$LINENO"; then :
   7526   eval $cacheid=yes
   7527 else
   7528   eval $cacheid=no
   7529 fi
   7530 rm -f core conftest.err conftest.$ac_objext \
   7531     conftest$ac_exeext conftest.$ac_ext
   7532 fi
   7533 
   7534 
   7535 		CFLAGS="$xorg_testset_save_CFLAGS"
   7536 
   7537 		eval supported=\$$cacheid
   7538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7539 $as_echo "$supported" >&6; }
   7540 		if test "$supported" = "yes" ; then
   7541 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7542 			found="yes"
   7543 		fi
   7544 	fi
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 xorg_testset_save_CFLAGS="$CFLAGS"
   7561 
   7562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7567   $as_echo_n "(cached) " >&6
   7568 else
   7569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7570 /* end confdefs.h.  */
   7571 int i;
   7572 _ACEOF
   7573 if ac_fn_c_try_compile "$LINENO"; then :
   7574   xorg_cv_cc_flag_unknown_warning_option=yes
   7575 else
   7576   xorg_cv_cc_flag_unknown_warning_option=no
   7577 fi
   7578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7579 fi
   7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7583 	CFLAGS="$xorg_testset_save_CFLAGS"
   7584 fi
   7585 
   7586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7589 	fi
   7590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7594   $as_echo_n "(cached) " >&6
   7595 else
   7596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7597 /* end confdefs.h.  */
   7598 int i;
   7599 _ACEOF
   7600 if ac_fn_c_try_compile "$LINENO"; then :
   7601   xorg_cv_cc_flag_unused_command_line_argument=yes
   7602 else
   7603   xorg_cv_cc_flag_unused_command_line_argument=no
   7604 fi
   7605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7606 fi
   7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7610 	CFLAGS="$xorg_testset_save_CFLAGS"
   7611 fi
   7612 
   7613 found="no"
   7614 
   7615 	if test $found = "no" ; then
   7616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7618 		fi
   7619 
   7620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7622 		fi
   7623 
   7624 		CFLAGS="$CFLAGS -Werror=init-self"
   7625 
   7626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7627 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7628 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7629 		if eval \${$cacheid+:} false; then :
   7630   $as_echo_n "(cached) " >&6
   7631 else
   7632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7633 /* end confdefs.h.  */
   7634 int i;
   7635 int
   7636 main ()
   7637 {
   7638 
   7639   ;
   7640   return 0;
   7641 }
   7642 _ACEOF
   7643 if ac_fn_c_try_link "$LINENO"; then :
   7644   eval $cacheid=yes
   7645 else
   7646   eval $cacheid=no
   7647 fi
   7648 rm -f core conftest.err conftest.$ac_objext \
   7649     conftest$ac_exeext conftest.$ac_ext
   7650 fi
   7651 
   7652 
   7653 		CFLAGS="$xorg_testset_save_CFLAGS"
   7654 
   7655 		eval supported=\$$cacheid
   7656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7657 $as_echo "$supported" >&6; }
   7658 		if test "$supported" = "yes" ; then
   7659 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7660 			found="yes"
   7661 		fi
   7662 	fi
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 xorg_testset_save_CFLAGS="$CFLAGS"
   7679 
   7680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7685   $as_echo_n "(cached) " >&6
   7686 else
   7687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7688 /* end confdefs.h.  */
   7689 int i;
   7690 _ACEOF
   7691 if ac_fn_c_try_compile "$LINENO"; then :
   7692   xorg_cv_cc_flag_unknown_warning_option=yes
   7693 else
   7694   xorg_cv_cc_flag_unknown_warning_option=no
   7695 fi
   7696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7697 fi
   7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7701 	CFLAGS="$xorg_testset_save_CFLAGS"
   7702 fi
   7703 
   7704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7707 	fi
   7708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7712   $as_echo_n "(cached) " >&6
   7713 else
   7714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7715 /* end confdefs.h.  */
   7716 int i;
   7717 _ACEOF
   7718 if ac_fn_c_try_compile "$LINENO"; then :
   7719   xorg_cv_cc_flag_unused_command_line_argument=yes
   7720 else
   7721   xorg_cv_cc_flag_unused_command_line_argument=no
   7722 fi
   7723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7724 fi
   7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7728 	CFLAGS="$xorg_testset_save_CFLAGS"
   7729 fi
   7730 
   7731 found="no"
   7732 
   7733 	if test $found = "no" ; then
   7734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7736 		fi
   7737 
   7738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7740 		fi
   7741 
   7742 		CFLAGS="$CFLAGS -Werror=main"
   7743 
   7744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7745 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7746 		cacheid=xorg_cv_cc_flag__Werror_main
   7747 		if eval \${$cacheid+:} false; then :
   7748   $as_echo_n "(cached) " >&6
   7749 else
   7750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7751 /* end confdefs.h.  */
   7752 int i;
   7753 int
   7754 main ()
   7755 {
   7756 
   7757   ;
   7758   return 0;
   7759 }
   7760 _ACEOF
   7761 if ac_fn_c_try_link "$LINENO"; then :
   7762   eval $cacheid=yes
   7763 else
   7764   eval $cacheid=no
   7765 fi
   7766 rm -f core conftest.err conftest.$ac_objext \
   7767     conftest$ac_exeext conftest.$ac_ext
   7768 fi
   7769 
   7770 
   7771 		CFLAGS="$xorg_testset_save_CFLAGS"
   7772 
   7773 		eval supported=\$$cacheid
   7774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7775 $as_echo "$supported" >&6; }
   7776 		if test "$supported" = "yes" ; then
   7777 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7778 			found="yes"
   7779 		fi
   7780 	fi
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 xorg_testset_save_CFLAGS="$CFLAGS"
   7797 
   7798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7803   $as_echo_n "(cached) " >&6
   7804 else
   7805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7806 /* end confdefs.h.  */
   7807 int i;
   7808 _ACEOF
   7809 if ac_fn_c_try_compile "$LINENO"; then :
   7810   xorg_cv_cc_flag_unknown_warning_option=yes
   7811 else
   7812   xorg_cv_cc_flag_unknown_warning_option=no
   7813 fi
   7814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7815 fi
   7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7819 	CFLAGS="$xorg_testset_save_CFLAGS"
   7820 fi
   7821 
   7822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7825 	fi
   7826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7830   $as_echo_n "(cached) " >&6
   7831 else
   7832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7833 /* end confdefs.h.  */
   7834 int i;
   7835 _ACEOF
   7836 if ac_fn_c_try_compile "$LINENO"; then :
   7837   xorg_cv_cc_flag_unused_command_line_argument=yes
   7838 else
   7839   xorg_cv_cc_flag_unused_command_line_argument=no
   7840 fi
   7841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7842 fi
   7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7846 	CFLAGS="$xorg_testset_save_CFLAGS"
   7847 fi
   7848 
   7849 found="no"
   7850 
   7851 	if test $found = "no" ; then
   7852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7854 		fi
   7855 
   7856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7858 		fi
   7859 
   7860 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7861 
   7862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7863 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7864 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7865 		if eval \${$cacheid+:} false; then :
   7866   $as_echo_n "(cached) " >&6
   7867 else
   7868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7869 /* end confdefs.h.  */
   7870 int i;
   7871 int
   7872 main ()
   7873 {
   7874 
   7875   ;
   7876   return 0;
   7877 }
   7878 _ACEOF
   7879 if ac_fn_c_try_link "$LINENO"; then :
   7880   eval $cacheid=yes
   7881 else
   7882   eval $cacheid=no
   7883 fi
   7884 rm -f core conftest.err conftest.$ac_objext \
   7885     conftest$ac_exeext conftest.$ac_ext
   7886 fi
   7887 
   7888 
   7889 		CFLAGS="$xorg_testset_save_CFLAGS"
   7890 
   7891 		eval supported=\$$cacheid
   7892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7893 $as_echo "$supported" >&6; }
   7894 		if test "$supported" = "yes" ; then
   7895 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7896 			found="yes"
   7897 		fi
   7898 	fi
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 xorg_testset_save_CFLAGS="$CFLAGS"
   7915 
   7916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7919 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7920 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7921   $as_echo_n "(cached) " >&6
   7922 else
   7923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7924 /* end confdefs.h.  */
   7925 int i;
   7926 _ACEOF
   7927 if ac_fn_c_try_compile "$LINENO"; then :
   7928   xorg_cv_cc_flag_unknown_warning_option=yes
   7929 else
   7930   xorg_cv_cc_flag_unknown_warning_option=no
   7931 fi
   7932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7933 fi
   7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7935 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7937 	CFLAGS="$xorg_testset_save_CFLAGS"
   7938 fi
   7939 
   7940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7943 	fi
   7944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7946 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7947 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7948   $as_echo_n "(cached) " >&6
   7949 else
   7950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7951 /* end confdefs.h.  */
   7952 int i;
   7953 _ACEOF
   7954 if ac_fn_c_try_compile "$LINENO"; then :
   7955   xorg_cv_cc_flag_unused_command_line_argument=yes
   7956 else
   7957   xorg_cv_cc_flag_unused_command_line_argument=no
   7958 fi
   7959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7960 fi
   7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7962 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7964 	CFLAGS="$xorg_testset_save_CFLAGS"
   7965 fi
   7966 
   7967 found="no"
   7968 
   7969 	if test $found = "no" ; then
   7970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7972 		fi
   7973 
   7974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7976 		fi
   7977 
   7978 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7979 
   7980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7981 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7982 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7983 		if eval \${$cacheid+:} false; then :
   7984   $as_echo_n "(cached) " >&6
   7985 else
   7986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7987 /* end confdefs.h.  */
   7988 int i;
   7989 int
   7990 main ()
   7991 {
   7992 
   7993   ;
   7994   return 0;
   7995 }
   7996 _ACEOF
   7997 if ac_fn_c_try_link "$LINENO"; then :
   7998   eval $cacheid=yes
   7999 else
   8000   eval $cacheid=no
   8001 fi
   8002 rm -f core conftest.err conftest.$ac_objext \
   8003     conftest$ac_exeext conftest.$ac_ext
   8004 fi
   8005 
   8006 
   8007 		CFLAGS="$xorg_testset_save_CFLAGS"
   8008 
   8009 		eval supported=\$$cacheid
   8010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8011 $as_echo "$supported" >&6; }
   8012 		if test "$supported" = "yes" ; then
   8013 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8014 			found="yes"
   8015 		fi
   8016 	fi
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 xorg_testset_save_CFLAGS="$CFLAGS"
   8033 
   8034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8037 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8038 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8039   $as_echo_n "(cached) " >&6
   8040 else
   8041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8042 /* end confdefs.h.  */
   8043 int i;
   8044 _ACEOF
   8045 if ac_fn_c_try_compile "$LINENO"; then :
   8046   xorg_cv_cc_flag_unknown_warning_option=yes
   8047 else
   8048   xorg_cv_cc_flag_unknown_warning_option=no
   8049 fi
   8050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8051 fi
   8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8053 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8055 	CFLAGS="$xorg_testset_save_CFLAGS"
   8056 fi
   8057 
   8058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8061 	fi
   8062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8064 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8065 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8066   $as_echo_n "(cached) " >&6
   8067 else
   8068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8069 /* end confdefs.h.  */
   8070 int i;
   8071 _ACEOF
   8072 if ac_fn_c_try_compile "$LINENO"; then :
   8073   xorg_cv_cc_flag_unused_command_line_argument=yes
   8074 else
   8075   xorg_cv_cc_flag_unused_command_line_argument=no
   8076 fi
   8077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8078 fi
   8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8080 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8082 	CFLAGS="$xorg_testset_save_CFLAGS"
   8083 fi
   8084 
   8085 found="no"
   8086 
   8087 	if test $found = "no" ; then
   8088 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8090 		fi
   8091 
   8092 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8094 		fi
   8095 
   8096 		CFLAGS="$CFLAGS -Werror=return-type"
   8097 
   8098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8099 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   8100 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8101 		if eval \${$cacheid+:} false; then :
   8102   $as_echo_n "(cached) " >&6
   8103 else
   8104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8105 /* end confdefs.h.  */
   8106 int i;
   8107 int
   8108 main ()
   8109 {
   8110 
   8111   ;
   8112   return 0;
   8113 }
   8114 _ACEOF
   8115 if ac_fn_c_try_link "$LINENO"; then :
   8116   eval $cacheid=yes
   8117 else
   8118   eval $cacheid=no
   8119 fi
   8120 rm -f core conftest.err conftest.$ac_objext \
   8121     conftest$ac_exeext conftest.$ac_ext
   8122 fi
   8123 
   8124 
   8125 		CFLAGS="$xorg_testset_save_CFLAGS"
   8126 
   8127 		eval supported=\$$cacheid
   8128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8129 $as_echo "$supported" >&6; }
   8130 		if test "$supported" = "yes" ; then
   8131 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8132 			found="yes"
   8133 		fi
   8134 	fi
   8135 
   8136 	if test $found = "no" ; then
   8137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8139 		fi
   8140 
   8141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8143 		fi
   8144 
   8145 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8146 
   8147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8148 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8149 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8150 		if eval \${$cacheid+:} false; then :
   8151   $as_echo_n "(cached) " >&6
   8152 else
   8153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8154 /* end confdefs.h.  */
   8155 int i;
   8156 int
   8157 main ()
   8158 {
   8159 
   8160   ;
   8161   return 0;
   8162 }
   8163 _ACEOF
   8164 if ac_fn_c_try_link "$LINENO"; then :
   8165   eval $cacheid=yes
   8166 else
   8167   eval $cacheid=no
   8168 fi
   8169 rm -f core conftest.err conftest.$ac_objext \
   8170     conftest$ac_exeext conftest.$ac_ext
   8171 fi
   8172 
   8173 
   8174 		CFLAGS="$xorg_testset_save_CFLAGS"
   8175 
   8176 		eval supported=\$$cacheid
   8177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8178 $as_echo "$supported" >&6; }
   8179 		if test "$supported" = "yes" ; then
   8180 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8181 			found="yes"
   8182 		fi
   8183 	fi
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 xorg_testset_save_CFLAGS="$CFLAGS"
   8200 
   8201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8206   $as_echo_n "(cached) " >&6
   8207 else
   8208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8209 /* end confdefs.h.  */
   8210 int i;
   8211 _ACEOF
   8212 if ac_fn_c_try_compile "$LINENO"; then :
   8213   xorg_cv_cc_flag_unknown_warning_option=yes
   8214 else
   8215   xorg_cv_cc_flag_unknown_warning_option=no
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8218 fi
   8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8222 	CFLAGS="$xorg_testset_save_CFLAGS"
   8223 fi
   8224 
   8225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8228 	fi
   8229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8233   $as_echo_n "(cached) " >&6
   8234 else
   8235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8236 /* end confdefs.h.  */
   8237 int i;
   8238 _ACEOF
   8239 if ac_fn_c_try_compile "$LINENO"; then :
   8240   xorg_cv_cc_flag_unused_command_line_argument=yes
   8241 else
   8242   xorg_cv_cc_flag_unused_command_line_argument=no
   8243 fi
   8244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8245 fi
   8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8249 	CFLAGS="$xorg_testset_save_CFLAGS"
   8250 fi
   8251 
   8252 found="no"
   8253 
   8254 	if test $found = "no" ; then
   8255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8257 		fi
   8258 
   8259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8261 		fi
   8262 
   8263 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8264 
   8265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8266 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8267 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8268 		if eval \${$cacheid+:} false; then :
   8269   $as_echo_n "(cached) " >&6
   8270 else
   8271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8272 /* end confdefs.h.  */
   8273 int i;
   8274 int
   8275 main ()
   8276 {
   8277 
   8278   ;
   8279   return 0;
   8280 }
   8281 _ACEOF
   8282 if ac_fn_c_try_link "$LINENO"; then :
   8283   eval $cacheid=yes
   8284 else
   8285   eval $cacheid=no
   8286 fi
   8287 rm -f core conftest.err conftest.$ac_objext \
   8288     conftest$ac_exeext conftest.$ac_ext
   8289 fi
   8290 
   8291 
   8292 		CFLAGS="$xorg_testset_save_CFLAGS"
   8293 
   8294 		eval supported=\$$cacheid
   8295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8296 $as_echo "$supported" >&6; }
   8297 		if test "$supported" = "yes" ; then
   8298 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8299 			found="yes"
   8300 		fi
   8301 	fi
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 xorg_testset_save_CFLAGS="$CFLAGS"
   8318 
   8319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8324   $as_echo_n "(cached) " >&6
   8325 else
   8326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8327 /* end confdefs.h.  */
   8328 int i;
   8329 _ACEOF
   8330 if ac_fn_c_try_compile "$LINENO"; then :
   8331   xorg_cv_cc_flag_unknown_warning_option=yes
   8332 else
   8333   xorg_cv_cc_flag_unknown_warning_option=no
   8334 fi
   8335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8336 fi
   8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8340 	CFLAGS="$xorg_testset_save_CFLAGS"
   8341 fi
   8342 
   8343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8346 	fi
   8347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8351   $as_echo_n "(cached) " >&6
   8352 else
   8353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8354 /* end confdefs.h.  */
   8355 int i;
   8356 _ACEOF
   8357 if ac_fn_c_try_compile "$LINENO"; then :
   8358   xorg_cv_cc_flag_unused_command_line_argument=yes
   8359 else
   8360   xorg_cv_cc_flag_unused_command_line_argument=no
   8361 fi
   8362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8363 fi
   8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8367 	CFLAGS="$xorg_testset_save_CFLAGS"
   8368 fi
   8369 
   8370 found="no"
   8371 
   8372 	if test $found = "no" ; then
   8373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8375 		fi
   8376 
   8377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8379 		fi
   8380 
   8381 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8382 
   8383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8384 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8385 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8386 		if eval \${$cacheid+:} false; then :
   8387   $as_echo_n "(cached) " >&6
   8388 else
   8389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8390 /* end confdefs.h.  */
   8391 int i;
   8392 int
   8393 main ()
   8394 {
   8395 
   8396   ;
   8397   return 0;
   8398 }
   8399 _ACEOF
   8400 if ac_fn_c_try_link "$LINENO"; then :
   8401   eval $cacheid=yes
   8402 else
   8403   eval $cacheid=no
   8404 fi
   8405 rm -f core conftest.err conftest.$ac_objext \
   8406     conftest$ac_exeext conftest.$ac_ext
   8407 fi
   8408 
   8409 
   8410 		CFLAGS="$xorg_testset_save_CFLAGS"
   8411 
   8412 		eval supported=\$$cacheid
   8413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8414 $as_echo "$supported" >&6; }
   8415 		if test "$supported" = "yes" ; then
   8416 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8417 			found="yes"
   8418 		fi
   8419 	fi
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 xorg_testset_save_CFLAGS="$CFLAGS"
   8436 
   8437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8440 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8441 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8442   $as_echo_n "(cached) " >&6
   8443 else
   8444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8445 /* end confdefs.h.  */
   8446 int i;
   8447 _ACEOF
   8448 if ac_fn_c_try_compile "$LINENO"; then :
   8449   xorg_cv_cc_flag_unknown_warning_option=yes
   8450 else
   8451   xorg_cv_cc_flag_unknown_warning_option=no
   8452 fi
   8453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8454 fi
   8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8456 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8458 	CFLAGS="$xorg_testset_save_CFLAGS"
   8459 fi
   8460 
   8461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8464 	fi
   8465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8467 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8468 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8469   $as_echo_n "(cached) " >&6
   8470 else
   8471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8472 /* end confdefs.h.  */
   8473 int i;
   8474 _ACEOF
   8475 if ac_fn_c_try_compile "$LINENO"; then :
   8476   xorg_cv_cc_flag_unused_command_line_argument=yes
   8477 else
   8478   xorg_cv_cc_flag_unused_command_line_argument=no
   8479 fi
   8480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8481 fi
   8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8483 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8485 	CFLAGS="$xorg_testset_save_CFLAGS"
   8486 fi
   8487 
   8488 found="no"
   8489 
   8490 	if test $found = "no" ; then
   8491 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8493 		fi
   8494 
   8495 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8497 		fi
   8498 
   8499 		CFLAGS="$CFLAGS -Werror=write-strings"
   8500 
   8501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8502 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8503 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8504 		if eval \${$cacheid+:} false; then :
   8505   $as_echo_n "(cached) " >&6
   8506 else
   8507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8508 /* end confdefs.h.  */
   8509 int i;
   8510 int
   8511 main ()
   8512 {
   8513 
   8514   ;
   8515   return 0;
   8516 }
   8517 _ACEOF
   8518 if ac_fn_c_try_link "$LINENO"; then :
   8519   eval $cacheid=yes
   8520 else
   8521   eval $cacheid=no
   8522 fi
   8523 rm -f core conftest.err conftest.$ac_objext \
   8524     conftest$ac_exeext conftest.$ac_ext
   8525 fi
   8526 
   8527 
   8528 		CFLAGS="$xorg_testset_save_CFLAGS"
   8529 
   8530 		eval supported=\$$cacheid
   8531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8532 $as_echo "$supported" >&6; }
   8533 		if test "$supported" = "yes" ; then
   8534 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8535 			found="yes"
   8536 		fi
   8537 	fi
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 xorg_testset_save_CFLAGS="$CFLAGS"
   8554 
   8555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8558 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8559 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8560   $as_echo_n "(cached) " >&6
   8561 else
   8562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8563 /* end confdefs.h.  */
   8564 int i;
   8565 _ACEOF
   8566 if ac_fn_c_try_compile "$LINENO"; then :
   8567   xorg_cv_cc_flag_unknown_warning_option=yes
   8568 else
   8569   xorg_cv_cc_flag_unknown_warning_option=no
   8570 fi
   8571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8572 fi
   8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8574 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8576 	CFLAGS="$xorg_testset_save_CFLAGS"
   8577 fi
   8578 
   8579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8582 	fi
   8583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8585 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8586 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8587   $as_echo_n "(cached) " >&6
   8588 else
   8589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8590 /* end confdefs.h.  */
   8591 int i;
   8592 _ACEOF
   8593 if ac_fn_c_try_compile "$LINENO"; then :
   8594   xorg_cv_cc_flag_unused_command_line_argument=yes
   8595 else
   8596   xorg_cv_cc_flag_unused_command_line_argument=no
   8597 fi
   8598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8599 fi
   8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8601 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8603 	CFLAGS="$xorg_testset_save_CFLAGS"
   8604 fi
   8605 
   8606 found="no"
   8607 
   8608 	if test $found = "no" ; then
   8609 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8611 		fi
   8612 
   8613 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8615 		fi
   8616 
   8617 		CFLAGS="$CFLAGS -Werror=address"
   8618 
   8619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8620 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8621 		cacheid=xorg_cv_cc_flag__Werror_address
   8622 		if eval \${$cacheid+:} false; then :
   8623   $as_echo_n "(cached) " >&6
   8624 else
   8625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8626 /* end confdefs.h.  */
   8627 int i;
   8628 int
   8629 main ()
   8630 {
   8631 
   8632   ;
   8633   return 0;
   8634 }
   8635 _ACEOF
   8636 if ac_fn_c_try_link "$LINENO"; then :
   8637   eval $cacheid=yes
   8638 else
   8639   eval $cacheid=no
   8640 fi
   8641 rm -f core conftest.err conftest.$ac_objext \
   8642     conftest$ac_exeext conftest.$ac_ext
   8643 fi
   8644 
   8645 
   8646 		CFLAGS="$xorg_testset_save_CFLAGS"
   8647 
   8648 		eval supported=\$$cacheid
   8649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8650 $as_echo "$supported" >&6; }
   8651 		if test "$supported" = "yes" ; then
   8652 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8653 			found="yes"
   8654 		fi
   8655 	fi
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 xorg_testset_save_CFLAGS="$CFLAGS"
   8672 
   8673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8676 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8677 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8678   $as_echo_n "(cached) " >&6
   8679 else
   8680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8681 /* end confdefs.h.  */
   8682 int i;
   8683 _ACEOF
   8684 if ac_fn_c_try_compile "$LINENO"; then :
   8685   xorg_cv_cc_flag_unknown_warning_option=yes
   8686 else
   8687   xorg_cv_cc_flag_unknown_warning_option=no
   8688 fi
   8689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8690 fi
   8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8692 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8694 	CFLAGS="$xorg_testset_save_CFLAGS"
   8695 fi
   8696 
   8697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8700 	fi
   8701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8703 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8704 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8705   $as_echo_n "(cached) " >&6
   8706 else
   8707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8708 /* end confdefs.h.  */
   8709 int i;
   8710 _ACEOF
   8711 if ac_fn_c_try_compile "$LINENO"; then :
   8712   xorg_cv_cc_flag_unused_command_line_argument=yes
   8713 else
   8714   xorg_cv_cc_flag_unused_command_line_argument=no
   8715 fi
   8716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8717 fi
   8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8719 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8721 	CFLAGS="$xorg_testset_save_CFLAGS"
   8722 fi
   8723 
   8724 found="no"
   8725 
   8726 	if test $found = "no" ; then
   8727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8729 		fi
   8730 
   8731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8733 		fi
   8734 
   8735 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8736 
   8737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8738 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8739 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8740 		if eval \${$cacheid+:} false; then :
   8741   $as_echo_n "(cached) " >&6
   8742 else
   8743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8744 /* end confdefs.h.  */
   8745 int i;
   8746 int
   8747 main ()
   8748 {
   8749 
   8750   ;
   8751   return 0;
   8752 }
   8753 _ACEOF
   8754 if ac_fn_c_try_link "$LINENO"; then :
   8755   eval $cacheid=yes
   8756 else
   8757   eval $cacheid=no
   8758 fi
   8759 rm -f core conftest.err conftest.$ac_objext \
   8760     conftest$ac_exeext conftest.$ac_ext
   8761 fi
   8762 
   8763 
   8764 		CFLAGS="$xorg_testset_save_CFLAGS"
   8765 
   8766 		eval supported=\$$cacheid
   8767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8768 $as_echo "$supported" >&6; }
   8769 		if test "$supported" = "yes" ; then
   8770 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8771 			found="yes"
   8772 		fi
   8773 	fi
   8774 
   8775 	if test $found = "no" ; then
   8776 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8778 		fi
   8779 
   8780 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8782 		fi
   8783 
   8784 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8785 
   8786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8787 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8788 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8789 		if eval \${$cacheid+:} false; then :
   8790   $as_echo_n "(cached) " >&6
   8791 else
   8792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8793 /* end confdefs.h.  */
   8794 int i;
   8795 int
   8796 main ()
   8797 {
   8798 
   8799   ;
   8800   return 0;
   8801 }
   8802 _ACEOF
   8803 if ac_fn_c_try_link "$LINENO"; then :
   8804   eval $cacheid=yes
   8805 else
   8806   eval $cacheid=no
   8807 fi
   8808 rm -f core conftest.err conftest.$ac_objext \
   8809     conftest$ac_exeext conftest.$ac_ext
   8810 fi
   8811 
   8812 
   8813 		CFLAGS="$xorg_testset_save_CFLAGS"
   8814 
   8815 		eval supported=\$$cacheid
   8816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8817 $as_echo "$supported" >&6; }
   8818 		if test "$supported" = "yes" ; then
   8819 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8820 			found="yes"
   8821 		fi
   8822 	fi
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 xorg_testset_save_CFLAGS="$CFLAGS"
   8839 
   8840 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8841 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8843 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8844 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8845   $as_echo_n "(cached) " >&6
   8846 else
   8847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8848 /* end confdefs.h.  */
   8849 int i;
   8850 _ACEOF
   8851 if ac_fn_c_try_compile "$LINENO"; then :
   8852   xorg_cv_cc_flag_unknown_warning_option=yes
   8853 else
   8854   xorg_cv_cc_flag_unknown_warning_option=no
   8855 fi
   8856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8857 fi
   8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8859 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8860 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8861 	CFLAGS="$xorg_testset_save_CFLAGS"
   8862 fi
   8863 
   8864 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8865 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8866 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8867 	fi
   8868 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8870 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8871 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8872   $as_echo_n "(cached) " >&6
   8873 else
   8874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8875 /* end confdefs.h.  */
   8876 int i;
   8877 _ACEOF
   8878 if ac_fn_c_try_compile "$LINENO"; then :
   8879   xorg_cv_cc_flag_unused_command_line_argument=yes
   8880 else
   8881   xorg_cv_cc_flag_unused_command_line_argument=no
   8882 fi
   8883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8884 fi
   8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8886 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8888 	CFLAGS="$xorg_testset_save_CFLAGS"
   8889 fi
   8890 
   8891 found="no"
   8892 
   8893 	if test $found = "no" ; then
   8894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8896 		fi
   8897 
   8898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8900 		fi
   8901 
   8902 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8903 
   8904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8905 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8906 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8907 		if eval \${$cacheid+:} false; then :
   8908   $as_echo_n "(cached) " >&6
   8909 else
   8910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8911 /* end confdefs.h.  */
   8912 int i;
   8913 int
   8914 main ()
   8915 {
   8916 
   8917   ;
   8918   return 0;
   8919 }
   8920 _ACEOF
   8921 if ac_fn_c_try_link "$LINENO"; then :
   8922   eval $cacheid=yes
   8923 else
   8924   eval $cacheid=no
   8925 fi
   8926 rm -f core conftest.err conftest.$ac_objext \
   8927     conftest$ac_exeext conftest.$ac_ext
   8928 fi
   8929 
   8930 
   8931 		CFLAGS="$xorg_testset_save_CFLAGS"
   8932 
   8933 		eval supported=\$$cacheid
   8934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8935 $as_echo "$supported" >&6; }
   8936 		if test "$supported" = "yes" ; then
   8937 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8938 			found="yes"
   8939 		fi
   8940 	fi
   8941 
   8942  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8943 else
   8944 { $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
   8945 $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;}
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 xorg_testset_save_CFLAGS="$CFLAGS"
   8960 
   8961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8966   $as_echo_n "(cached) " >&6
   8967 else
   8968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8969 /* end confdefs.h.  */
   8970 int i;
   8971 _ACEOF
   8972 if ac_fn_c_try_compile "$LINENO"; then :
   8973   xorg_cv_cc_flag_unknown_warning_option=yes
   8974 else
   8975   xorg_cv_cc_flag_unknown_warning_option=no
   8976 fi
   8977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8978 fi
   8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8982 	CFLAGS="$xorg_testset_save_CFLAGS"
   8983 fi
   8984 
   8985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8988 	fi
   8989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8993   $as_echo_n "(cached) " >&6
   8994 else
   8995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8996 /* end confdefs.h.  */
   8997 int i;
   8998 _ACEOF
   8999 if ac_fn_c_try_compile "$LINENO"; then :
   9000   xorg_cv_cc_flag_unused_command_line_argument=yes
   9001 else
   9002   xorg_cv_cc_flag_unused_command_line_argument=no
   9003 fi
   9004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9005 fi
   9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9009 	CFLAGS="$xorg_testset_save_CFLAGS"
   9010 fi
   9011 
   9012 found="no"
   9013 
   9014 	if test $found = "no" ; then
   9015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9017 		fi
   9018 
   9019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9021 		fi
   9022 
   9023 		CFLAGS="$CFLAGS -Wimplicit"
   9024 
   9025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9026 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   9027 		cacheid=xorg_cv_cc_flag__Wimplicit
   9028 		if eval \${$cacheid+:} false; then :
   9029   $as_echo_n "(cached) " >&6
   9030 else
   9031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9032 /* end confdefs.h.  */
   9033 int i;
   9034 int
   9035 main ()
   9036 {
   9037 
   9038   ;
   9039   return 0;
   9040 }
   9041 _ACEOF
   9042 if ac_fn_c_try_link "$LINENO"; then :
   9043   eval $cacheid=yes
   9044 else
   9045   eval $cacheid=no
   9046 fi
   9047 rm -f core conftest.err conftest.$ac_objext \
   9048     conftest$ac_exeext conftest.$ac_ext
   9049 fi
   9050 
   9051 
   9052 		CFLAGS="$xorg_testset_save_CFLAGS"
   9053 
   9054 		eval supported=\$$cacheid
   9055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9056 $as_echo "$supported" >&6; }
   9057 		if test "$supported" = "yes" ; then
   9058 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9059 			found="yes"
   9060 		fi
   9061 	fi
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 xorg_testset_save_CFLAGS="$CFLAGS"
   9078 
   9079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9082 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9083 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9084   $as_echo_n "(cached) " >&6
   9085 else
   9086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9087 /* end confdefs.h.  */
   9088 int i;
   9089 _ACEOF
   9090 if ac_fn_c_try_compile "$LINENO"; then :
   9091   xorg_cv_cc_flag_unknown_warning_option=yes
   9092 else
   9093   xorg_cv_cc_flag_unknown_warning_option=no
   9094 fi
   9095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9096 fi
   9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9098 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9100 	CFLAGS="$xorg_testset_save_CFLAGS"
   9101 fi
   9102 
   9103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9106 	fi
   9107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9109 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9110 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9111   $as_echo_n "(cached) " >&6
   9112 else
   9113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9114 /* end confdefs.h.  */
   9115 int i;
   9116 _ACEOF
   9117 if ac_fn_c_try_compile "$LINENO"; then :
   9118   xorg_cv_cc_flag_unused_command_line_argument=yes
   9119 else
   9120   xorg_cv_cc_flag_unused_command_line_argument=no
   9121 fi
   9122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9123 fi
   9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9125 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9127 	CFLAGS="$xorg_testset_save_CFLAGS"
   9128 fi
   9129 
   9130 found="no"
   9131 
   9132 	if test $found = "no" ; then
   9133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9135 		fi
   9136 
   9137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9139 		fi
   9140 
   9141 		CFLAGS="$CFLAGS -Wnonnull"
   9142 
   9143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9144 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   9145 		cacheid=xorg_cv_cc_flag__Wnonnull
   9146 		if eval \${$cacheid+:} false; then :
   9147   $as_echo_n "(cached) " >&6
   9148 else
   9149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9150 /* end confdefs.h.  */
   9151 int i;
   9152 int
   9153 main ()
   9154 {
   9155 
   9156   ;
   9157   return 0;
   9158 }
   9159 _ACEOF
   9160 if ac_fn_c_try_link "$LINENO"; then :
   9161   eval $cacheid=yes
   9162 else
   9163   eval $cacheid=no
   9164 fi
   9165 rm -f core conftest.err conftest.$ac_objext \
   9166     conftest$ac_exeext conftest.$ac_ext
   9167 fi
   9168 
   9169 
   9170 		CFLAGS="$xorg_testset_save_CFLAGS"
   9171 
   9172 		eval supported=\$$cacheid
   9173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9174 $as_echo "$supported" >&6; }
   9175 		if test "$supported" = "yes" ; then
   9176 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9177 			found="yes"
   9178 		fi
   9179 	fi
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 xorg_testset_save_CFLAGS="$CFLAGS"
   9196 
   9197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9200 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9201 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9202   $as_echo_n "(cached) " >&6
   9203 else
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 _ACEOF
   9208 if ac_fn_c_try_compile "$LINENO"; then :
   9209   xorg_cv_cc_flag_unknown_warning_option=yes
   9210 else
   9211   xorg_cv_cc_flag_unknown_warning_option=no
   9212 fi
   9213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9214 fi
   9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9216 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9218 	CFLAGS="$xorg_testset_save_CFLAGS"
   9219 fi
   9220 
   9221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9224 	fi
   9225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9227 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9228 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9229   $as_echo_n "(cached) " >&6
   9230 else
   9231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9232 /* end confdefs.h.  */
   9233 int i;
   9234 _ACEOF
   9235 if ac_fn_c_try_compile "$LINENO"; then :
   9236   xorg_cv_cc_flag_unused_command_line_argument=yes
   9237 else
   9238   xorg_cv_cc_flag_unused_command_line_argument=no
   9239 fi
   9240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9241 fi
   9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9243 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9245 	CFLAGS="$xorg_testset_save_CFLAGS"
   9246 fi
   9247 
   9248 found="no"
   9249 
   9250 	if test $found = "no" ; then
   9251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9253 		fi
   9254 
   9255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9257 		fi
   9258 
   9259 		CFLAGS="$CFLAGS -Winit-self"
   9260 
   9261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9262 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9263 		cacheid=xorg_cv_cc_flag__Winit_self
   9264 		if eval \${$cacheid+:} false; then :
   9265   $as_echo_n "(cached) " >&6
   9266 else
   9267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9268 /* end confdefs.h.  */
   9269 int i;
   9270 int
   9271 main ()
   9272 {
   9273 
   9274   ;
   9275   return 0;
   9276 }
   9277 _ACEOF
   9278 if ac_fn_c_try_link "$LINENO"; then :
   9279   eval $cacheid=yes
   9280 else
   9281   eval $cacheid=no
   9282 fi
   9283 rm -f core conftest.err conftest.$ac_objext \
   9284     conftest$ac_exeext conftest.$ac_ext
   9285 fi
   9286 
   9287 
   9288 		CFLAGS="$xorg_testset_save_CFLAGS"
   9289 
   9290 		eval supported=\$$cacheid
   9291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9292 $as_echo "$supported" >&6; }
   9293 		if test "$supported" = "yes" ; then
   9294 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9295 			found="yes"
   9296 		fi
   9297 	fi
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 xorg_testset_save_CFLAGS="$CFLAGS"
   9314 
   9315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9318 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9319 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9320   $as_echo_n "(cached) " >&6
   9321 else
   9322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9323 /* end confdefs.h.  */
   9324 int i;
   9325 _ACEOF
   9326 if ac_fn_c_try_compile "$LINENO"; then :
   9327   xorg_cv_cc_flag_unknown_warning_option=yes
   9328 else
   9329   xorg_cv_cc_flag_unknown_warning_option=no
   9330 fi
   9331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9332 fi
   9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9334 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9336 	CFLAGS="$xorg_testset_save_CFLAGS"
   9337 fi
   9338 
   9339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9342 	fi
   9343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9345 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9346 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9347   $as_echo_n "(cached) " >&6
   9348 else
   9349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9350 /* end confdefs.h.  */
   9351 int i;
   9352 _ACEOF
   9353 if ac_fn_c_try_compile "$LINENO"; then :
   9354   xorg_cv_cc_flag_unused_command_line_argument=yes
   9355 else
   9356   xorg_cv_cc_flag_unused_command_line_argument=no
   9357 fi
   9358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9359 fi
   9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9361 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9363 	CFLAGS="$xorg_testset_save_CFLAGS"
   9364 fi
   9365 
   9366 found="no"
   9367 
   9368 	if test $found = "no" ; then
   9369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9371 		fi
   9372 
   9373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9375 		fi
   9376 
   9377 		CFLAGS="$CFLAGS -Wmain"
   9378 
   9379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9380 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9381 		cacheid=xorg_cv_cc_flag__Wmain
   9382 		if eval \${$cacheid+:} false; then :
   9383   $as_echo_n "(cached) " >&6
   9384 else
   9385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9386 /* end confdefs.h.  */
   9387 int i;
   9388 int
   9389 main ()
   9390 {
   9391 
   9392   ;
   9393   return 0;
   9394 }
   9395 _ACEOF
   9396 if ac_fn_c_try_link "$LINENO"; then :
   9397   eval $cacheid=yes
   9398 else
   9399   eval $cacheid=no
   9400 fi
   9401 rm -f core conftest.err conftest.$ac_objext \
   9402     conftest$ac_exeext conftest.$ac_ext
   9403 fi
   9404 
   9405 
   9406 		CFLAGS="$xorg_testset_save_CFLAGS"
   9407 
   9408 		eval supported=\$$cacheid
   9409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9410 $as_echo "$supported" >&6; }
   9411 		if test "$supported" = "yes" ; then
   9412 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9413 			found="yes"
   9414 		fi
   9415 	fi
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 xorg_testset_save_CFLAGS="$CFLAGS"
   9432 
   9433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9436 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9437 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9438   $as_echo_n "(cached) " >&6
   9439 else
   9440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9441 /* end confdefs.h.  */
   9442 int i;
   9443 _ACEOF
   9444 if ac_fn_c_try_compile "$LINENO"; then :
   9445   xorg_cv_cc_flag_unknown_warning_option=yes
   9446 else
   9447   xorg_cv_cc_flag_unknown_warning_option=no
   9448 fi
   9449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9450 fi
   9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9452 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9454 	CFLAGS="$xorg_testset_save_CFLAGS"
   9455 fi
   9456 
   9457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9460 	fi
   9461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9463 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9464 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9465   $as_echo_n "(cached) " >&6
   9466 else
   9467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9468 /* end confdefs.h.  */
   9469 int i;
   9470 _ACEOF
   9471 if ac_fn_c_try_compile "$LINENO"; then :
   9472   xorg_cv_cc_flag_unused_command_line_argument=yes
   9473 else
   9474   xorg_cv_cc_flag_unused_command_line_argument=no
   9475 fi
   9476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9477 fi
   9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9479 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9480 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9481 	CFLAGS="$xorg_testset_save_CFLAGS"
   9482 fi
   9483 
   9484 found="no"
   9485 
   9486 	if test $found = "no" ; then
   9487 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9489 		fi
   9490 
   9491 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9493 		fi
   9494 
   9495 		CFLAGS="$CFLAGS -Wmissing-braces"
   9496 
   9497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9498 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9499 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9500 		if eval \${$cacheid+:} false; then :
   9501   $as_echo_n "(cached) " >&6
   9502 else
   9503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9504 /* end confdefs.h.  */
   9505 int i;
   9506 int
   9507 main ()
   9508 {
   9509 
   9510   ;
   9511   return 0;
   9512 }
   9513 _ACEOF
   9514 if ac_fn_c_try_link "$LINENO"; then :
   9515   eval $cacheid=yes
   9516 else
   9517   eval $cacheid=no
   9518 fi
   9519 rm -f core conftest.err conftest.$ac_objext \
   9520     conftest$ac_exeext conftest.$ac_ext
   9521 fi
   9522 
   9523 
   9524 		CFLAGS="$xorg_testset_save_CFLAGS"
   9525 
   9526 		eval supported=\$$cacheid
   9527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9528 $as_echo "$supported" >&6; }
   9529 		if test "$supported" = "yes" ; then
   9530 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9531 			found="yes"
   9532 		fi
   9533 	fi
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 xorg_testset_save_CFLAGS="$CFLAGS"
   9550 
   9551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9554 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9555 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9556   $as_echo_n "(cached) " >&6
   9557 else
   9558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9559 /* end confdefs.h.  */
   9560 int i;
   9561 _ACEOF
   9562 if ac_fn_c_try_compile "$LINENO"; then :
   9563   xorg_cv_cc_flag_unknown_warning_option=yes
   9564 else
   9565   xorg_cv_cc_flag_unknown_warning_option=no
   9566 fi
   9567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9568 fi
   9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9570 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9572 	CFLAGS="$xorg_testset_save_CFLAGS"
   9573 fi
   9574 
   9575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9578 	fi
   9579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9581 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9582 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9583   $as_echo_n "(cached) " >&6
   9584 else
   9585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9586 /* end confdefs.h.  */
   9587 int i;
   9588 _ACEOF
   9589 if ac_fn_c_try_compile "$LINENO"; then :
   9590   xorg_cv_cc_flag_unused_command_line_argument=yes
   9591 else
   9592   xorg_cv_cc_flag_unused_command_line_argument=no
   9593 fi
   9594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9595 fi
   9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9597 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9599 	CFLAGS="$xorg_testset_save_CFLAGS"
   9600 fi
   9601 
   9602 found="no"
   9603 
   9604 	if test $found = "no" ; then
   9605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9607 		fi
   9608 
   9609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9611 		fi
   9612 
   9613 		CFLAGS="$CFLAGS -Wsequence-point"
   9614 
   9615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9616 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9617 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9618 		if eval \${$cacheid+:} false; then :
   9619   $as_echo_n "(cached) " >&6
   9620 else
   9621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9622 /* end confdefs.h.  */
   9623 int i;
   9624 int
   9625 main ()
   9626 {
   9627 
   9628   ;
   9629   return 0;
   9630 }
   9631 _ACEOF
   9632 if ac_fn_c_try_link "$LINENO"; then :
   9633   eval $cacheid=yes
   9634 else
   9635   eval $cacheid=no
   9636 fi
   9637 rm -f core conftest.err conftest.$ac_objext \
   9638     conftest$ac_exeext conftest.$ac_ext
   9639 fi
   9640 
   9641 
   9642 		CFLAGS="$xorg_testset_save_CFLAGS"
   9643 
   9644 		eval supported=\$$cacheid
   9645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9646 $as_echo "$supported" >&6; }
   9647 		if test "$supported" = "yes" ; then
   9648 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9649 			found="yes"
   9650 		fi
   9651 	fi
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 xorg_testset_save_CFLAGS="$CFLAGS"
   9668 
   9669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9672 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9673 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9674   $as_echo_n "(cached) " >&6
   9675 else
   9676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9677 /* end confdefs.h.  */
   9678 int i;
   9679 _ACEOF
   9680 if ac_fn_c_try_compile "$LINENO"; then :
   9681   xorg_cv_cc_flag_unknown_warning_option=yes
   9682 else
   9683   xorg_cv_cc_flag_unknown_warning_option=no
   9684 fi
   9685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9686 fi
   9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9688 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9690 	CFLAGS="$xorg_testset_save_CFLAGS"
   9691 fi
   9692 
   9693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9696 	fi
   9697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9699 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9700 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9701   $as_echo_n "(cached) " >&6
   9702 else
   9703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9704 /* end confdefs.h.  */
   9705 int i;
   9706 _ACEOF
   9707 if ac_fn_c_try_compile "$LINENO"; then :
   9708   xorg_cv_cc_flag_unused_command_line_argument=yes
   9709 else
   9710   xorg_cv_cc_flag_unused_command_line_argument=no
   9711 fi
   9712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9713 fi
   9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9715 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9717 	CFLAGS="$xorg_testset_save_CFLAGS"
   9718 fi
   9719 
   9720 found="no"
   9721 
   9722 	if test $found = "no" ; then
   9723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9725 		fi
   9726 
   9727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9729 		fi
   9730 
   9731 		CFLAGS="$CFLAGS -Wreturn-type"
   9732 
   9733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9734 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9735 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9736 		if eval \${$cacheid+:} false; then :
   9737   $as_echo_n "(cached) " >&6
   9738 else
   9739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9740 /* end confdefs.h.  */
   9741 int i;
   9742 int
   9743 main ()
   9744 {
   9745 
   9746   ;
   9747   return 0;
   9748 }
   9749 _ACEOF
   9750 if ac_fn_c_try_link "$LINENO"; then :
   9751   eval $cacheid=yes
   9752 else
   9753   eval $cacheid=no
   9754 fi
   9755 rm -f core conftest.err conftest.$ac_objext \
   9756     conftest$ac_exeext conftest.$ac_ext
   9757 fi
   9758 
   9759 
   9760 		CFLAGS="$xorg_testset_save_CFLAGS"
   9761 
   9762 		eval supported=\$$cacheid
   9763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9764 $as_echo "$supported" >&6; }
   9765 		if test "$supported" = "yes" ; then
   9766 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9767 			found="yes"
   9768 		fi
   9769 	fi
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 xorg_testset_save_CFLAGS="$CFLAGS"
   9786 
   9787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9791 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9792   $as_echo_n "(cached) " >&6
   9793 else
   9794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9795 /* end confdefs.h.  */
   9796 int i;
   9797 _ACEOF
   9798 if ac_fn_c_try_compile "$LINENO"; then :
   9799   xorg_cv_cc_flag_unknown_warning_option=yes
   9800 else
   9801   xorg_cv_cc_flag_unknown_warning_option=no
   9802 fi
   9803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9804 fi
   9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9808 	CFLAGS="$xorg_testset_save_CFLAGS"
   9809 fi
   9810 
   9811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9814 	fi
   9815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9819   $as_echo_n "(cached) " >&6
   9820 else
   9821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9822 /* end confdefs.h.  */
   9823 int i;
   9824 _ACEOF
   9825 if ac_fn_c_try_compile "$LINENO"; then :
   9826   xorg_cv_cc_flag_unused_command_line_argument=yes
   9827 else
   9828   xorg_cv_cc_flag_unused_command_line_argument=no
   9829 fi
   9830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9831 fi
   9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9835 	CFLAGS="$xorg_testset_save_CFLAGS"
   9836 fi
   9837 
   9838 found="no"
   9839 
   9840 	if test $found = "no" ; then
   9841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9843 		fi
   9844 
   9845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9847 		fi
   9848 
   9849 		CFLAGS="$CFLAGS -Wtrigraphs"
   9850 
   9851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9852 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9853 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9854 		if eval \${$cacheid+:} false; then :
   9855   $as_echo_n "(cached) " >&6
   9856 else
   9857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9858 /* end confdefs.h.  */
   9859 int i;
   9860 int
   9861 main ()
   9862 {
   9863 
   9864   ;
   9865   return 0;
   9866 }
   9867 _ACEOF
   9868 if ac_fn_c_try_link "$LINENO"; then :
   9869   eval $cacheid=yes
   9870 else
   9871   eval $cacheid=no
   9872 fi
   9873 rm -f core conftest.err conftest.$ac_objext \
   9874     conftest$ac_exeext conftest.$ac_ext
   9875 fi
   9876 
   9877 
   9878 		CFLAGS="$xorg_testset_save_CFLAGS"
   9879 
   9880 		eval supported=\$$cacheid
   9881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9882 $as_echo "$supported" >&6; }
   9883 		if test "$supported" = "yes" ; then
   9884 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9885 			found="yes"
   9886 		fi
   9887 	fi
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 xorg_testset_save_CFLAGS="$CFLAGS"
   9904 
   9905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9910   $as_echo_n "(cached) " >&6
   9911 else
   9912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9913 /* end confdefs.h.  */
   9914 int i;
   9915 _ACEOF
   9916 if ac_fn_c_try_compile "$LINENO"; then :
   9917   xorg_cv_cc_flag_unknown_warning_option=yes
   9918 else
   9919   xorg_cv_cc_flag_unknown_warning_option=no
   9920 fi
   9921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9922 fi
   9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9926 	CFLAGS="$xorg_testset_save_CFLAGS"
   9927 fi
   9928 
   9929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9932 	fi
   9933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9937   $as_echo_n "(cached) " >&6
   9938 else
   9939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9940 /* end confdefs.h.  */
   9941 int i;
   9942 _ACEOF
   9943 if ac_fn_c_try_compile "$LINENO"; then :
   9944   xorg_cv_cc_flag_unused_command_line_argument=yes
   9945 else
   9946   xorg_cv_cc_flag_unused_command_line_argument=no
   9947 fi
   9948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9949 fi
   9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9953 	CFLAGS="$xorg_testset_save_CFLAGS"
   9954 fi
   9955 
   9956 found="no"
   9957 
   9958 	if test $found = "no" ; then
   9959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9961 		fi
   9962 
   9963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9965 		fi
   9966 
   9967 		CFLAGS="$CFLAGS -Warray-bounds"
   9968 
   9969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9970 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9971 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9972 		if eval \${$cacheid+:} false; then :
   9973   $as_echo_n "(cached) " >&6
   9974 else
   9975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9976 /* end confdefs.h.  */
   9977 int i;
   9978 int
   9979 main ()
   9980 {
   9981 
   9982   ;
   9983   return 0;
   9984 }
   9985 _ACEOF
   9986 if ac_fn_c_try_link "$LINENO"; then :
   9987   eval $cacheid=yes
   9988 else
   9989   eval $cacheid=no
   9990 fi
   9991 rm -f core conftest.err conftest.$ac_objext \
   9992     conftest$ac_exeext conftest.$ac_ext
   9993 fi
   9994 
   9995 
   9996 		CFLAGS="$xorg_testset_save_CFLAGS"
   9997 
   9998 		eval supported=\$$cacheid
   9999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10000 $as_echo "$supported" >&6; }
   10001 		if test "$supported" = "yes" ; then
   10002 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10003 			found="yes"
   10004 		fi
   10005 	fi
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 xorg_testset_save_CFLAGS="$CFLAGS"
   10022 
   10023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10028   $as_echo_n "(cached) " >&6
   10029 else
   10030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10031 /* end confdefs.h.  */
   10032 int i;
   10033 _ACEOF
   10034 if ac_fn_c_try_compile "$LINENO"; then :
   10035   xorg_cv_cc_flag_unknown_warning_option=yes
   10036 else
   10037   xorg_cv_cc_flag_unknown_warning_option=no
   10038 fi
   10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10040 fi
   10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10044 	CFLAGS="$xorg_testset_save_CFLAGS"
   10045 fi
   10046 
   10047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10050 	fi
   10051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10055   $as_echo_n "(cached) " >&6
   10056 else
   10057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10058 /* end confdefs.h.  */
   10059 int i;
   10060 _ACEOF
   10061 if ac_fn_c_try_compile "$LINENO"; then :
   10062   xorg_cv_cc_flag_unused_command_line_argument=yes
   10063 else
   10064   xorg_cv_cc_flag_unused_command_line_argument=no
   10065 fi
   10066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10067 fi
   10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10071 	CFLAGS="$xorg_testset_save_CFLAGS"
   10072 fi
   10073 
   10074 found="no"
   10075 
   10076 	if test $found = "no" ; then
   10077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10079 		fi
   10080 
   10081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10083 		fi
   10084 
   10085 		CFLAGS="$CFLAGS -Wwrite-strings"
   10086 
   10087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10088 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   10089 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10090 		if eval \${$cacheid+:} false; then :
   10091   $as_echo_n "(cached) " >&6
   10092 else
   10093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10094 /* end confdefs.h.  */
   10095 int i;
   10096 int
   10097 main ()
   10098 {
   10099 
   10100   ;
   10101   return 0;
   10102 }
   10103 _ACEOF
   10104 if ac_fn_c_try_link "$LINENO"; then :
   10105   eval $cacheid=yes
   10106 else
   10107   eval $cacheid=no
   10108 fi
   10109 rm -f core conftest.err conftest.$ac_objext \
   10110     conftest$ac_exeext conftest.$ac_ext
   10111 fi
   10112 
   10113 
   10114 		CFLAGS="$xorg_testset_save_CFLAGS"
   10115 
   10116 		eval supported=\$$cacheid
   10117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10118 $as_echo "$supported" >&6; }
   10119 		if test "$supported" = "yes" ; then
   10120 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10121 			found="yes"
   10122 		fi
   10123 	fi
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 xorg_testset_save_CFLAGS="$CFLAGS"
   10140 
   10141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10144 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10145 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10146   $as_echo_n "(cached) " >&6
   10147 else
   10148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10149 /* end confdefs.h.  */
   10150 int i;
   10151 _ACEOF
   10152 if ac_fn_c_try_compile "$LINENO"; then :
   10153   xorg_cv_cc_flag_unknown_warning_option=yes
   10154 else
   10155   xorg_cv_cc_flag_unknown_warning_option=no
   10156 fi
   10157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10158 fi
   10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10160 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10162 	CFLAGS="$xorg_testset_save_CFLAGS"
   10163 fi
   10164 
   10165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10168 	fi
   10169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10171 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10172 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10173   $as_echo_n "(cached) " >&6
   10174 else
   10175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10176 /* end confdefs.h.  */
   10177 int i;
   10178 _ACEOF
   10179 if ac_fn_c_try_compile "$LINENO"; then :
   10180   xorg_cv_cc_flag_unused_command_line_argument=yes
   10181 else
   10182   xorg_cv_cc_flag_unused_command_line_argument=no
   10183 fi
   10184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10185 fi
   10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10187 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10189 	CFLAGS="$xorg_testset_save_CFLAGS"
   10190 fi
   10191 
   10192 found="no"
   10193 
   10194 	if test $found = "no" ; then
   10195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10197 		fi
   10198 
   10199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10201 		fi
   10202 
   10203 		CFLAGS="$CFLAGS -Waddress"
   10204 
   10205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10206 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   10207 		cacheid=xorg_cv_cc_flag__Waddress
   10208 		if eval \${$cacheid+:} false; then :
   10209   $as_echo_n "(cached) " >&6
   10210 else
   10211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10212 /* end confdefs.h.  */
   10213 int i;
   10214 int
   10215 main ()
   10216 {
   10217 
   10218   ;
   10219   return 0;
   10220 }
   10221 _ACEOF
   10222 if ac_fn_c_try_link "$LINENO"; then :
   10223   eval $cacheid=yes
   10224 else
   10225   eval $cacheid=no
   10226 fi
   10227 rm -f core conftest.err conftest.$ac_objext \
   10228     conftest$ac_exeext conftest.$ac_ext
   10229 fi
   10230 
   10231 
   10232 		CFLAGS="$xorg_testset_save_CFLAGS"
   10233 
   10234 		eval supported=\$$cacheid
   10235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10236 $as_echo "$supported" >&6; }
   10237 		if test "$supported" = "yes" ; then
   10238 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10239 			found="yes"
   10240 		fi
   10241 	fi
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 xorg_testset_save_CFLAGS="$CFLAGS"
   10258 
   10259 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10260 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10262 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10263 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10264   $as_echo_n "(cached) " >&6
   10265 else
   10266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10267 /* end confdefs.h.  */
   10268 int i;
   10269 _ACEOF
   10270 if ac_fn_c_try_compile "$LINENO"; then :
   10271   xorg_cv_cc_flag_unknown_warning_option=yes
   10272 else
   10273   xorg_cv_cc_flag_unknown_warning_option=no
   10274 fi
   10275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10276 fi
   10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10278 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10279 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10280 	CFLAGS="$xorg_testset_save_CFLAGS"
   10281 fi
   10282 
   10283 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10284 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10286 	fi
   10287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10289 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10290 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10291   $as_echo_n "(cached) " >&6
   10292 else
   10293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10294 /* end confdefs.h.  */
   10295 int i;
   10296 _ACEOF
   10297 if ac_fn_c_try_compile "$LINENO"; then :
   10298   xorg_cv_cc_flag_unused_command_line_argument=yes
   10299 else
   10300   xorg_cv_cc_flag_unused_command_line_argument=no
   10301 fi
   10302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10303 fi
   10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10305 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10306 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10307 	CFLAGS="$xorg_testset_save_CFLAGS"
   10308 fi
   10309 
   10310 found="no"
   10311 
   10312 	if test $found = "no" ; then
   10313 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10315 		fi
   10316 
   10317 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10319 		fi
   10320 
   10321 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10322 
   10323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10324 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10325 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10326 		if eval \${$cacheid+:} false; then :
   10327   $as_echo_n "(cached) " >&6
   10328 else
   10329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10330 /* end confdefs.h.  */
   10331 int i;
   10332 int
   10333 main ()
   10334 {
   10335 
   10336   ;
   10337   return 0;
   10338 }
   10339 _ACEOF
   10340 if ac_fn_c_try_link "$LINENO"; then :
   10341   eval $cacheid=yes
   10342 else
   10343   eval $cacheid=no
   10344 fi
   10345 rm -f core conftest.err conftest.$ac_objext \
   10346     conftest$ac_exeext conftest.$ac_ext
   10347 fi
   10348 
   10349 
   10350 		CFLAGS="$xorg_testset_save_CFLAGS"
   10351 
   10352 		eval supported=\$$cacheid
   10353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10354 $as_echo "$supported" >&6; }
   10355 		if test "$supported" = "yes" ; then
   10356 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10357 			found="yes"
   10358 		fi
   10359 	fi
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 xorg_testset_save_CFLAGS="$CFLAGS"
   10376 
   10377 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10378 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10380 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10381 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10382   $as_echo_n "(cached) " >&6
   10383 else
   10384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10385 /* end confdefs.h.  */
   10386 int i;
   10387 _ACEOF
   10388 if ac_fn_c_try_compile "$LINENO"; then :
   10389   xorg_cv_cc_flag_unknown_warning_option=yes
   10390 else
   10391   xorg_cv_cc_flag_unknown_warning_option=no
   10392 fi
   10393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10394 fi
   10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10396 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10397 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10398 	CFLAGS="$xorg_testset_save_CFLAGS"
   10399 fi
   10400 
   10401 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10402 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10403 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10404 	fi
   10405 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10407 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10408 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10409   $as_echo_n "(cached) " >&6
   10410 else
   10411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10412 /* end confdefs.h.  */
   10413 int i;
   10414 _ACEOF
   10415 if ac_fn_c_try_compile "$LINENO"; then :
   10416   xorg_cv_cc_flag_unused_command_line_argument=yes
   10417 else
   10418   xorg_cv_cc_flag_unused_command_line_argument=no
   10419 fi
   10420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10421 fi
   10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10423 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10424 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10425 	CFLAGS="$xorg_testset_save_CFLAGS"
   10426 fi
   10427 
   10428 found="no"
   10429 
   10430 	if test $found = "no" ; then
   10431 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10432 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10433 		fi
   10434 
   10435 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10436 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10437 		fi
   10438 
   10439 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10440 
   10441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10442 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10443 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10444 		if eval \${$cacheid+:} false; then :
   10445   $as_echo_n "(cached) " >&6
   10446 else
   10447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10448 /* end confdefs.h.  */
   10449 int i;
   10450 int
   10451 main ()
   10452 {
   10453 
   10454   ;
   10455   return 0;
   10456 }
   10457 _ACEOF
   10458 if ac_fn_c_try_link "$LINENO"; then :
   10459   eval $cacheid=yes
   10460 else
   10461   eval $cacheid=no
   10462 fi
   10463 rm -f core conftest.err conftest.$ac_objext \
   10464     conftest$ac_exeext conftest.$ac_ext
   10465 fi
   10466 
   10467 
   10468 		CFLAGS="$xorg_testset_save_CFLAGS"
   10469 
   10470 		eval supported=\$$cacheid
   10471 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10472 $as_echo "$supported" >&6; }
   10473 		if test "$supported" = "yes" ; then
   10474 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10475 			found="yes"
   10476 		fi
   10477 	fi
   10478 
   10479 
   10480 fi
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 		CWARNFLAGS="$BASE_CFLAGS"
   10489 		if  test "x$GCC" = xyes ; then
   10490 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10491 		fi
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 # Check whether --enable-strict-compilation was given.
   10501 if test "${enable_strict_compilation+set}" = set; then :
   10502   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10503 else
   10504   STRICT_COMPILE=no
   10505 fi
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 STRICT_CFLAGS=""
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 xorg_testset_save_CFLAGS="$CFLAGS"
   10527 
   10528 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10529 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10531 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10532 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10533   $as_echo_n "(cached) " >&6
   10534 else
   10535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10536 /* end confdefs.h.  */
   10537 int i;
   10538 _ACEOF
   10539 if ac_fn_c_try_compile "$LINENO"; then :
   10540   xorg_cv_cc_flag_unknown_warning_option=yes
   10541 else
   10542   xorg_cv_cc_flag_unknown_warning_option=no
   10543 fi
   10544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10545 fi
   10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10547 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10549 	CFLAGS="$xorg_testset_save_CFLAGS"
   10550 fi
   10551 
   10552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10555 	fi
   10556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10558 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10559 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10560   $as_echo_n "(cached) " >&6
   10561 else
   10562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10563 /* end confdefs.h.  */
   10564 int i;
   10565 _ACEOF
   10566 if ac_fn_c_try_compile "$LINENO"; then :
   10567   xorg_cv_cc_flag_unused_command_line_argument=yes
   10568 else
   10569   xorg_cv_cc_flag_unused_command_line_argument=no
   10570 fi
   10571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10572 fi
   10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10574 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10576 	CFLAGS="$xorg_testset_save_CFLAGS"
   10577 fi
   10578 
   10579 found="no"
   10580 
   10581 	if test $found = "no" ; then
   10582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10584 		fi
   10585 
   10586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10588 		fi
   10589 
   10590 		CFLAGS="$CFLAGS -pedantic"
   10591 
   10592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10593 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10594 		cacheid=xorg_cv_cc_flag__pedantic
   10595 		if eval \${$cacheid+:} false; then :
   10596   $as_echo_n "(cached) " >&6
   10597 else
   10598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10599 /* end confdefs.h.  */
   10600 int i;
   10601 int
   10602 main ()
   10603 {
   10604 
   10605   ;
   10606   return 0;
   10607 }
   10608 _ACEOF
   10609 if ac_fn_c_try_link "$LINENO"; then :
   10610   eval $cacheid=yes
   10611 else
   10612   eval $cacheid=no
   10613 fi
   10614 rm -f core conftest.err conftest.$ac_objext \
   10615     conftest$ac_exeext conftest.$ac_ext
   10616 fi
   10617 
   10618 
   10619 		CFLAGS="$xorg_testset_save_CFLAGS"
   10620 
   10621 		eval supported=\$$cacheid
   10622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10623 $as_echo "$supported" >&6; }
   10624 		if test "$supported" = "yes" ; then
   10625 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10626 			found="yes"
   10627 		fi
   10628 	fi
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 xorg_testset_save_CFLAGS="$CFLAGS"
   10645 
   10646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10647 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10649 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10650 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10651   $as_echo_n "(cached) " >&6
   10652 else
   10653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10654 /* end confdefs.h.  */
   10655 int i;
   10656 _ACEOF
   10657 if ac_fn_c_try_compile "$LINENO"; then :
   10658   xorg_cv_cc_flag_unknown_warning_option=yes
   10659 else
   10660   xorg_cv_cc_flag_unknown_warning_option=no
   10661 fi
   10662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10663 fi
   10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10665 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10667 	CFLAGS="$xorg_testset_save_CFLAGS"
   10668 fi
   10669 
   10670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10673 	fi
   10674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10676 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10677 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10678   $as_echo_n "(cached) " >&6
   10679 else
   10680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10681 /* end confdefs.h.  */
   10682 int i;
   10683 _ACEOF
   10684 if ac_fn_c_try_compile "$LINENO"; then :
   10685   xorg_cv_cc_flag_unused_command_line_argument=yes
   10686 else
   10687   xorg_cv_cc_flag_unused_command_line_argument=no
   10688 fi
   10689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10690 fi
   10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10692 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10694 	CFLAGS="$xorg_testset_save_CFLAGS"
   10695 fi
   10696 
   10697 found="no"
   10698 
   10699 	if test $found = "no" ; then
   10700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10702 		fi
   10703 
   10704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10706 		fi
   10707 
   10708 		CFLAGS="$CFLAGS -Werror"
   10709 
   10710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10711 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10712 		cacheid=xorg_cv_cc_flag__Werror
   10713 		if eval \${$cacheid+:} false; then :
   10714   $as_echo_n "(cached) " >&6
   10715 else
   10716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10717 /* end confdefs.h.  */
   10718 int i;
   10719 int
   10720 main ()
   10721 {
   10722 
   10723   ;
   10724   return 0;
   10725 }
   10726 _ACEOF
   10727 if ac_fn_c_try_link "$LINENO"; then :
   10728   eval $cacheid=yes
   10729 else
   10730   eval $cacheid=no
   10731 fi
   10732 rm -f core conftest.err conftest.$ac_objext \
   10733     conftest$ac_exeext conftest.$ac_ext
   10734 fi
   10735 
   10736 
   10737 		CFLAGS="$xorg_testset_save_CFLAGS"
   10738 
   10739 		eval supported=\$$cacheid
   10740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10741 $as_echo "$supported" >&6; }
   10742 		if test "$supported" = "yes" ; then
   10743 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10744 			found="yes"
   10745 		fi
   10746 	fi
   10747 
   10748 	if test $found = "no" ; then
   10749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10751 		fi
   10752 
   10753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10755 		fi
   10756 
   10757 		CFLAGS="$CFLAGS -errwarn"
   10758 
   10759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10760 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10761 		cacheid=xorg_cv_cc_flag__errwarn
   10762 		if eval \${$cacheid+:} false; then :
   10763   $as_echo_n "(cached) " >&6
   10764 else
   10765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10766 /* end confdefs.h.  */
   10767 int i;
   10768 int
   10769 main ()
   10770 {
   10771 
   10772   ;
   10773   return 0;
   10774 }
   10775 _ACEOF
   10776 if ac_fn_c_try_link "$LINENO"; then :
   10777   eval $cacheid=yes
   10778 else
   10779   eval $cacheid=no
   10780 fi
   10781 rm -f core conftest.err conftest.$ac_objext \
   10782     conftest$ac_exeext conftest.$ac_ext
   10783 fi
   10784 
   10785 
   10786 		CFLAGS="$xorg_testset_save_CFLAGS"
   10787 
   10788 		eval supported=\$$cacheid
   10789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10790 $as_echo "$supported" >&6; }
   10791 		if test "$supported" = "yes" ; then
   10792 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10793 			found="yes"
   10794 		fi
   10795 	fi
   10796 
   10797 
   10798 
   10799 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10800 # activate it with -Werror, so we add it here explicitly.
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 xorg_testset_save_CFLAGS="$CFLAGS"
   10815 
   10816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10821   $as_echo_n "(cached) " >&6
   10822 else
   10823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10824 /* end confdefs.h.  */
   10825 int i;
   10826 _ACEOF
   10827 if ac_fn_c_try_compile "$LINENO"; then :
   10828   xorg_cv_cc_flag_unknown_warning_option=yes
   10829 else
   10830   xorg_cv_cc_flag_unknown_warning_option=no
   10831 fi
   10832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10833 fi
   10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10837 	CFLAGS="$xorg_testset_save_CFLAGS"
   10838 fi
   10839 
   10840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10843 	fi
   10844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10846 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10847 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10848   $as_echo_n "(cached) " >&6
   10849 else
   10850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10851 /* end confdefs.h.  */
   10852 int i;
   10853 _ACEOF
   10854 if ac_fn_c_try_compile "$LINENO"; then :
   10855   xorg_cv_cc_flag_unused_command_line_argument=yes
   10856 else
   10857   xorg_cv_cc_flag_unused_command_line_argument=no
   10858 fi
   10859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10860 fi
   10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10864 	CFLAGS="$xorg_testset_save_CFLAGS"
   10865 fi
   10866 
   10867 found="no"
   10868 
   10869 	if test $found = "no" ; then
   10870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10872 		fi
   10873 
   10874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10876 		fi
   10877 
   10878 		CFLAGS="$CFLAGS -Werror=attributes"
   10879 
   10880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10881 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10882 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10883 		if eval \${$cacheid+:} false; then :
   10884   $as_echo_n "(cached) " >&6
   10885 else
   10886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10887 /* end confdefs.h.  */
   10888 int i;
   10889 int
   10890 main ()
   10891 {
   10892 
   10893   ;
   10894   return 0;
   10895 }
   10896 _ACEOF
   10897 if ac_fn_c_try_link "$LINENO"; then :
   10898   eval $cacheid=yes
   10899 else
   10900   eval $cacheid=no
   10901 fi
   10902 rm -f core conftest.err conftest.$ac_objext \
   10903     conftest$ac_exeext conftest.$ac_ext
   10904 fi
   10905 
   10906 
   10907 		CFLAGS="$xorg_testset_save_CFLAGS"
   10908 
   10909 		eval supported=\$$cacheid
   10910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10911 $as_echo "$supported" >&6; }
   10912 		if test "$supported" = "yes" ; then
   10913 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10914 			found="yes"
   10915 		fi
   10916 	fi
   10917 
   10918 
   10919 
   10920 if test "x$STRICT_COMPILE" = "xyes"; then
   10921     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10922     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10923 fi
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 cat >>confdefs.h <<_ACEOF
   10931 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10932 _ACEOF
   10933 
   10934 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10935 	if test "x$PVM" = "x"; then
   10936 		PVM="0"
   10937 	fi
   10938 
   10939 cat >>confdefs.h <<_ACEOF
   10940 #define PACKAGE_VERSION_MINOR $PVM
   10941 _ACEOF
   10942 
   10943 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10944 	if test "x$PVP" = "x"; then
   10945 		PVP="0"
   10946 	fi
   10947 
   10948 cat >>confdefs.h <<_ACEOF
   10949 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10950 _ACEOF
   10951 
   10952 
   10953 
   10954 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10955 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10956 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10957 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10958 
   10959 
   10960 
   10961 
   10962 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10963 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10964 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10965 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10966 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 if test x$APP_MAN_SUFFIX = x    ; then
   10974     APP_MAN_SUFFIX=1
   10975 fi
   10976 if test x$APP_MAN_DIR = x    ; then
   10977     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10978 fi
   10979 
   10980 if test x$LIB_MAN_SUFFIX = x    ; then
   10981     LIB_MAN_SUFFIX=3
   10982 fi
   10983 if test x$LIB_MAN_DIR = x    ; then
   10984     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10985 fi
   10986 
   10987 if test x$FILE_MAN_SUFFIX = x    ; then
   10988     case $host_os in
   10989 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10990 	*)		FILE_MAN_SUFFIX=5  ;;
   10991     esac
   10992 fi
   10993 if test x$FILE_MAN_DIR = x    ; then
   10994     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10995 fi
   10996 
   10997 if test x$MISC_MAN_SUFFIX = x    ; then
   10998     case $host_os in
   10999 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   11000 	*)		MISC_MAN_SUFFIX=7  ;;
   11001     esac
   11002 fi
   11003 if test x$MISC_MAN_DIR = x    ; then
   11004     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11005 fi
   11006 
   11007 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11008     case $host_os in
   11009 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   11010 	*)		DRIVER_MAN_SUFFIX=4  ;;
   11011     esac
   11012 fi
   11013 if test x$DRIVER_MAN_DIR = x    ; then
   11014     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11015 fi
   11016 
   11017 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11018     case $host_os in
   11019 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11020 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11021     esac
   11022 fi
   11023 if test x$ADMIN_MAN_DIR = x    ; then
   11024     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11025 fi
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 XORG_MAN_PAGE="X Version 11"
   11042 
   11043 MAN_SUBSTS="\
   11044 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11045 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11046 	-e 's|__xservername__|Xorg|g' \
   11047 	-e 's|__xconfigfile__|xorg.conf|g' \
   11048 	-e 's|__projectroot__|\$(prefix)|g' \
   11049 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11050 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11051 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11052 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11053 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11054 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11055 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11056 
   11057 
   11058 
   11059 # Check whether --enable-silent-rules was given.
   11060 if test "${enable_silent_rules+set}" = set; then :
   11061   enableval=$enable_silent_rules;
   11062 fi
   11063 
   11064 case $enable_silent_rules in # (((
   11065   yes) AM_DEFAULT_VERBOSITY=0;;
   11066    no) AM_DEFAULT_VERBOSITY=1;;
   11067     *) AM_DEFAULT_VERBOSITY=0;;
   11068 esac
   11069 am_make=${MAKE-make}
   11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11071 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   11072 if ${am_cv_make_support_nested_variables+:} false; then :
   11073   $as_echo_n "(cached) " >&6
   11074 else
   11075   if $as_echo 'TRUE=$(BAR$(V))
   11076 BAR0=false
   11077 BAR1=true
   11078 V=1
   11079 am__doit:
   11080 	@$(TRUE)
   11081 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11082   am_cv_make_support_nested_variables=yes
   11083 else
   11084   am_cv_make_support_nested_variables=no
   11085 fi
   11086 fi
   11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11088 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   11089 if test $am_cv_make_support_nested_variables = yes; then
   11090     AM_V='$(V)'
   11091   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11092 else
   11093   AM_V=$AM_DEFAULT_VERBOSITY
   11094   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11095 fi
   11096 AM_BACKSLASH='\'
   11097 
   11098 
   11099 
   11100 # Initialize libtool
   11101 # Check whether --enable-static was given.
   11102 if test "${enable_static+set}" = set; then :
   11103   enableval=$enable_static; p=${PACKAGE-default}
   11104     case $enableval in
   11105     yes) enable_static=yes ;;
   11106     no) enable_static=no ;;
   11107     *)
   11108      enable_static=no
   11109       # Look at the argument we got.  We use all the common list separators.
   11110       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   11111       for pkg in $enableval; do
   11112 	IFS=$lt_save_ifs
   11113 	if test "X$pkg" = "X$p"; then
   11114 	  enable_static=yes
   11115 	fi
   11116       done
   11117       IFS=$lt_save_ifs
   11118       ;;
   11119     esac
   11120 else
   11121   enable_static=no
   11122 fi
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 case `pwd` in
   11133   *\ * | *\	*)
   11134     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11135 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11136 esac
   11137 
   11138 
   11139 
   11140 macro_version='2.4.6'
   11141 macro_revision='2.4.6'
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 ltmain=$ac_aux_dir/ltmain.sh
   11156 
   11157 # Backslashify metacharacters that are still active within
   11158 # double-quoted strings.
   11159 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11160 
   11161 # Same as above, but do not quote variable references.
   11162 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11163 
   11164 # Sed substitution to delay expansion of an escaped shell variable in a
   11165 # double_quote_subst'ed string.
   11166 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11167 
   11168 # Sed substitution to delay expansion of an escaped single quote.
   11169 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11170 
   11171 # Sed substitution to avoid accidental globbing in evaled expressions
   11172 no_glob_subst='s/\*/\\\*/g'
   11173 
   11174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11175 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11176 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11177 
   11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11179 $as_echo_n "checking how to print strings... " >&6; }
   11180 # Test print first, because it will be a builtin if present.
   11181 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11182    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11183   ECHO='print -r --'
   11184 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11185   ECHO='printf %s\n'
   11186 else
   11187   # Use this function as a fallback that always works.
   11188   func_fallback_echo ()
   11189   {
   11190     eval 'cat <<_LTECHO_EOF
   11191 $1
   11192 _LTECHO_EOF'
   11193   }
   11194   ECHO='func_fallback_echo'
   11195 fi
   11196 
   11197 # func_echo_all arg...
   11198 # Invoke $ECHO with all args, space-separated.
   11199 func_echo_all ()
   11200 {
   11201     $ECHO ""
   11202 }
   11203 
   11204 case $ECHO in
   11205   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11206 $as_echo "printf" >&6; } ;;
   11207   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11208 $as_echo "print -r" >&6; } ;;
   11209   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11210 $as_echo "cat" >&6; } ;;
   11211 esac
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11227 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   11228 if ${ac_cv_path_SED+:} false; then :
   11229   $as_echo_n "(cached) " >&6
   11230 else
   11231             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11232      for ac_i in 1 2 3 4 5 6 7; do
   11233        ac_script="$ac_script$as_nl$ac_script"
   11234      done
   11235      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11236      { ac_script=; unset ac_script;}
   11237      if test -z "$SED"; then
   11238   ac_path_SED_found=false
   11239   # Loop through the user's path and test for each of PROGNAME-LIST
   11240   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11241 for as_dir in $PATH
   11242 do
   11243   IFS=$as_save_IFS
   11244   test -z "$as_dir" && as_dir=.
   11245     for ac_prog in sed gsed; do
   11246     for ac_exec_ext in '' $ac_executable_extensions; do
   11247       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11248       as_fn_executable_p "$ac_path_SED" || continue
   11249 # Check for GNU ac_path_SED and select it if it is found.
   11250   # Check for GNU $ac_path_SED
   11251 case `"$ac_path_SED" --version 2>&1` in
   11252 *GNU*)
   11253   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11254 *)
   11255   ac_count=0
   11256   $as_echo_n 0123456789 >"conftest.in"
   11257   while :
   11258   do
   11259     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11260     mv "conftest.tmp" "conftest.in"
   11261     cp "conftest.in" "conftest.nl"
   11262     $as_echo '' >> "conftest.nl"
   11263     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11264     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11265     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11266     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11267       # Best one so far, save it but keep looking for a better one
   11268       ac_cv_path_SED="$ac_path_SED"
   11269       ac_path_SED_max=$ac_count
   11270     fi
   11271     # 10*(2^10) chars as input seems more than enough
   11272     test $ac_count -gt 10 && break
   11273   done
   11274   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11275 esac
   11276 
   11277       $ac_path_SED_found && break 3
   11278     done
   11279   done
   11280   done
   11281 IFS=$as_save_IFS
   11282   if test -z "$ac_cv_path_SED"; then
   11283     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11284   fi
   11285 else
   11286   ac_cv_path_SED=$SED
   11287 fi
   11288 
   11289 fi
   11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11291 $as_echo "$ac_cv_path_SED" >&6; }
   11292  SED="$ac_cv_path_SED"
   11293   rm -f conftest.sed
   11294 
   11295 test -z "$SED" && SED=sed
   11296 Xsed="$SED -e 1s/^X//"
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11309 $as_echo_n "checking for fgrep... " >&6; }
   11310 if ${ac_cv_path_FGREP+:} false; then :
   11311   $as_echo_n "(cached) " >&6
   11312 else
   11313   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11314    then ac_cv_path_FGREP="$GREP -F"
   11315    else
   11316      if test -z "$FGREP"; then
   11317   ac_path_FGREP_found=false
   11318   # Loop through the user's path and test for each of PROGNAME-LIST
   11319   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11320 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11321 do
   11322   IFS=$as_save_IFS
   11323   test -z "$as_dir" && as_dir=.
   11324     for ac_prog in fgrep; do
   11325     for ac_exec_ext in '' $ac_executable_extensions; do
   11326       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11327       as_fn_executable_p "$ac_path_FGREP" || continue
   11328 # Check for GNU ac_path_FGREP and select it if it is found.
   11329   # Check for GNU $ac_path_FGREP
   11330 case `"$ac_path_FGREP" --version 2>&1` in
   11331 *GNU*)
   11332   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11333 *)
   11334   ac_count=0
   11335   $as_echo_n 0123456789 >"conftest.in"
   11336   while :
   11337   do
   11338     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11339     mv "conftest.tmp" "conftest.in"
   11340     cp "conftest.in" "conftest.nl"
   11341     $as_echo 'FGREP' >> "conftest.nl"
   11342     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11343     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11344     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11345     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11346       # Best one so far, save it but keep looking for a better one
   11347       ac_cv_path_FGREP="$ac_path_FGREP"
   11348       ac_path_FGREP_max=$ac_count
   11349     fi
   11350     # 10*(2^10) chars as input seems more than enough
   11351     test $ac_count -gt 10 && break
   11352   done
   11353   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11354 esac
   11355 
   11356       $ac_path_FGREP_found && break 3
   11357     done
   11358   done
   11359   done
   11360 IFS=$as_save_IFS
   11361   if test -z "$ac_cv_path_FGREP"; then
   11362     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11363   fi
   11364 else
   11365   ac_cv_path_FGREP=$FGREP
   11366 fi
   11367 
   11368    fi
   11369 fi
   11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11371 $as_echo "$ac_cv_path_FGREP" >&6; }
   11372  FGREP="$ac_cv_path_FGREP"
   11373 
   11374 
   11375 test -z "$GREP" && GREP=grep
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 # Check whether --with-gnu-ld was given.
   11396 if test "${with_gnu_ld+set}" = set; then :
   11397   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11398 else
   11399   with_gnu_ld=no
   11400 fi
   11401 
   11402 ac_prog=ld
   11403 if test yes = "$GCC"; then
   11404   # Check if gcc -print-prog-name=ld gives a path.
   11405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11406 $as_echo_n "checking for ld used by $CC... " >&6; }
   11407   case $host in
   11408   *-*-mingw*)
   11409     # gcc leaves a trailing carriage return, which upsets mingw
   11410     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11411   *)
   11412     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11413   esac
   11414   case $ac_prog in
   11415     # Accept absolute paths.
   11416     [\\/]* | ?:[\\/]*)
   11417       re_direlt='/[^/][^/]*/\.\./'
   11418       # Canonicalize the pathname of ld
   11419       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11420       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11421 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11422       done
   11423       test -z "$LD" && LD=$ac_prog
   11424       ;;
   11425   "")
   11426     # If it fails, then pretend we aren't using GCC.
   11427     ac_prog=ld
   11428     ;;
   11429   *)
   11430     # If it is relative, then search for the first ld in PATH.
   11431     with_gnu_ld=unknown
   11432     ;;
   11433   esac
   11434 elif test yes = "$with_gnu_ld"; then
   11435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11436 $as_echo_n "checking for GNU ld... " >&6; }
   11437 else
   11438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11439 $as_echo_n "checking for non-GNU ld... " >&6; }
   11440 fi
   11441 if ${lt_cv_path_LD+:} false; then :
   11442   $as_echo_n "(cached) " >&6
   11443 else
   11444   if test -z "$LD"; then
   11445   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11446   for ac_dir in $PATH; do
   11447     IFS=$lt_save_ifs
   11448     test -z "$ac_dir" && ac_dir=.
   11449     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11450       lt_cv_path_LD=$ac_dir/$ac_prog
   11451       # Check to see if the program is GNU ld.  I'd rather use --version,
   11452       # but apparently some variants of GNU ld only accept -v.
   11453       # Break only if it was the GNU/non-GNU ld that we prefer.
   11454       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11455       *GNU* | *'with BFD'*)
   11456 	test no != "$with_gnu_ld" && break
   11457 	;;
   11458       *)
   11459 	test yes != "$with_gnu_ld" && break
   11460 	;;
   11461       esac
   11462     fi
   11463   done
   11464   IFS=$lt_save_ifs
   11465 else
   11466   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11467 fi
   11468 fi
   11469 
   11470 LD=$lt_cv_path_LD
   11471 if test -n "$LD"; then
   11472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11473 $as_echo "$LD" >&6; }
   11474 else
   11475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11476 $as_echo "no" >&6; }
   11477 fi
   11478 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11480 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11481 if ${lt_cv_prog_gnu_ld+:} false; then :
   11482   $as_echo_n "(cached) " >&6
   11483 else
   11484   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11485 case `$LD -v 2>&1 </dev/null` in
   11486 *GNU* | *'with BFD'*)
   11487   lt_cv_prog_gnu_ld=yes
   11488   ;;
   11489 *)
   11490   lt_cv_prog_gnu_ld=no
   11491   ;;
   11492 esac
   11493 fi
   11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11495 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11496 with_gnu_ld=$lt_cv_prog_gnu_ld
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11507 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11508 if ${lt_cv_path_NM+:} false; then :
   11509   $as_echo_n "(cached) " >&6
   11510 else
   11511   if test -n "$NM"; then
   11512   # Let the user override the test.
   11513   lt_cv_path_NM=$NM
   11514 else
   11515   lt_nm_to_check=${ac_tool_prefix}nm
   11516   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11517     lt_nm_to_check="$lt_nm_to_check nm"
   11518   fi
   11519   for lt_tmp_nm in $lt_nm_to_check; do
   11520     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11521     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11522       IFS=$lt_save_ifs
   11523       test -z "$ac_dir" && ac_dir=.
   11524       tmp_nm=$ac_dir/$lt_tmp_nm
   11525       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11526 	# Check to see if the nm accepts a BSD-compat flag.
   11527 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11528 	#   nm: unknown option "B" ignored
   11529 	# Tru64's nm complains that /dev/null is an invalid object file
   11530 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11531 	case $build_os in
   11532 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11533 	*) lt_bad_file=/dev/null ;;
   11534 	esac
   11535 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11536 	*$lt_bad_file* | *'Invalid file or object type'*)
   11537 	  lt_cv_path_NM="$tmp_nm -B"
   11538 	  break 2
   11539 	  ;;
   11540 	*)
   11541 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11542 	  */dev/null*)
   11543 	    lt_cv_path_NM="$tmp_nm -p"
   11544 	    break 2
   11545 	    ;;
   11546 	  *)
   11547 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11548 	    continue # so that we can try to find one that supports BSD flags
   11549 	    ;;
   11550 	  esac
   11551 	  ;;
   11552 	esac
   11553       fi
   11554     done
   11555     IFS=$lt_save_ifs
   11556   done
   11557   : ${lt_cv_path_NM=no}
   11558 fi
   11559 fi
   11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11561 $as_echo "$lt_cv_path_NM" >&6; }
   11562 if test no != "$lt_cv_path_NM"; then
   11563   NM=$lt_cv_path_NM
   11564 else
   11565   # Didn't find any BSD compatible name lister, look for dumpbin.
   11566   if test -n "$DUMPBIN"; then :
   11567     # Let the user override the test.
   11568   else
   11569     if test -n "$ac_tool_prefix"; then
   11570   for ac_prog in dumpbin "link -dump"
   11571   do
   11572     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11575 $as_echo_n "checking for $ac_word... " >&6; }
   11576 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11577   $as_echo_n "(cached) " >&6
   11578 else
   11579   if test -n "$DUMPBIN"; then
   11580   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11581 else
   11582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11583 for as_dir in $PATH
   11584 do
   11585   IFS=$as_save_IFS
   11586   test -z "$as_dir" && as_dir=.
   11587     for ac_exec_ext in '' $ac_executable_extensions; do
   11588   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11589     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11591     break 2
   11592   fi
   11593 done
   11594   done
   11595 IFS=$as_save_IFS
   11596 
   11597 fi
   11598 fi
   11599 DUMPBIN=$ac_cv_prog_DUMPBIN
   11600 if test -n "$DUMPBIN"; then
   11601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11602 $as_echo "$DUMPBIN" >&6; }
   11603 else
   11604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11605 $as_echo "no" >&6; }
   11606 fi
   11607 
   11608 
   11609     test -n "$DUMPBIN" && break
   11610   done
   11611 fi
   11612 if test -z "$DUMPBIN"; then
   11613   ac_ct_DUMPBIN=$DUMPBIN
   11614   for ac_prog in dumpbin "link -dump"
   11615 do
   11616   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11617 set dummy $ac_prog; ac_word=$2
   11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11619 $as_echo_n "checking for $ac_word... " >&6; }
   11620 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11621   $as_echo_n "(cached) " >&6
   11622 else
   11623   if test -n "$ac_ct_DUMPBIN"; then
   11624   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11625 else
   11626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11627 for as_dir in $PATH
   11628 do
   11629   IFS=$as_save_IFS
   11630   test -z "$as_dir" && as_dir=.
   11631     for ac_exec_ext in '' $ac_executable_extensions; do
   11632   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11633     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11635     break 2
   11636   fi
   11637 done
   11638   done
   11639 IFS=$as_save_IFS
   11640 
   11641 fi
   11642 fi
   11643 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11644 if test -n "$ac_ct_DUMPBIN"; then
   11645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11646 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11647 else
   11648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11649 $as_echo "no" >&6; }
   11650 fi
   11651 
   11652 
   11653   test -n "$ac_ct_DUMPBIN" && break
   11654 done
   11655 
   11656   if test "x$ac_ct_DUMPBIN" = x; then
   11657     DUMPBIN=":"
   11658   else
   11659     case $cross_compiling:$ac_tool_warned in
   11660 yes:)
   11661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11663 ac_tool_warned=yes ;;
   11664 esac
   11665     DUMPBIN=$ac_ct_DUMPBIN
   11666   fi
   11667 fi
   11668 
   11669     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11670     *COFF*)
   11671       DUMPBIN="$DUMPBIN -symbols -headers"
   11672       ;;
   11673     *)
   11674       DUMPBIN=:
   11675       ;;
   11676     esac
   11677   fi
   11678 
   11679   if test : != "$DUMPBIN"; then
   11680     NM=$DUMPBIN
   11681   fi
   11682 fi
   11683 test -z "$NM" && NM=nm
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11691 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11692 if ${lt_cv_nm_interface+:} false; then :
   11693   $as_echo_n "(cached) " >&6
   11694 else
   11695   lt_cv_nm_interface="BSD nm"
   11696   echo "int some_variable = 0;" > conftest.$ac_ext
   11697   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11698   (eval "$ac_compile" 2>conftest.err)
   11699   cat conftest.err >&5
   11700   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11701   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11702   cat conftest.err >&5
   11703   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11704   cat conftest.out >&5
   11705   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11706     lt_cv_nm_interface="MS dumpbin"
   11707   fi
   11708   rm -f conftest*
   11709 fi
   11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11711 $as_echo "$lt_cv_nm_interface" >&6; }
   11712 
   11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11714 $as_echo_n "checking whether ln -s works... " >&6; }
   11715 LN_S=$as_ln_s
   11716 if test "$LN_S" = "ln -s"; then
   11717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11718 $as_echo "yes" >&6; }
   11719 else
   11720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11721 $as_echo "no, using $LN_S" >&6; }
   11722 fi
   11723 
   11724 # find the maximum length of command line arguments
   11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11726 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11727 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11728   $as_echo_n "(cached) " >&6
   11729 else
   11730     i=0
   11731   teststring=ABCD
   11732 
   11733   case $build_os in
   11734   msdosdjgpp*)
   11735     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11736     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11737     # during glob expansion).  Even if it were fixed, the result of this
   11738     # check would be larger than it should be.
   11739     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11740     ;;
   11741 
   11742   gnu*)
   11743     # Under GNU Hurd, this test is not required because there is
   11744     # no limit to the length of command line arguments.
   11745     # Libtool will interpret -1 as no limit whatsoever
   11746     lt_cv_sys_max_cmd_len=-1;
   11747     ;;
   11748 
   11749   cygwin* | mingw* | cegcc*)
   11750     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11751     # about 5 minutes as the teststring grows exponentially.
   11752     # Worse, since 9x/ME are not pre-emptively multitasking,
   11753     # you end up with a "frozen" computer, even though with patience
   11754     # the test eventually succeeds (with a max line length of 256k).
   11755     # Instead, let's just punt: use the minimum linelength reported by
   11756     # all of the supported platforms: 8192 (on NT/2K/XP).
   11757     lt_cv_sys_max_cmd_len=8192;
   11758     ;;
   11759 
   11760   mint*)
   11761     # On MiNT this can take a long time and run out of memory.
   11762     lt_cv_sys_max_cmd_len=8192;
   11763     ;;
   11764 
   11765   amigaos*)
   11766     # On AmigaOS with pdksh, this test takes hours, literally.
   11767     # So we just punt and use a minimum line length of 8192.
   11768     lt_cv_sys_max_cmd_len=8192;
   11769     ;;
   11770 
   11771   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11772     # This has been around since 386BSD, at least.  Likely further.
   11773     if test -x /sbin/sysctl; then
   11774       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11775     elif test -x /usr/sbin/sysctl; then
   11776       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11777     else
   11778       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11779     fi
   11780     # And add a safety zone
   11781     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11782     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11783     ;;
   11784 
   11785   interix*)
   11786     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11787     lt_cv_sys_max_cmd_len=196608
   11788     ;;
   11789 
   11790   os2*)
   11791     # The test takes a long time on OS/2.
   11792     lt_cv_sys_max_cmd_len=8192
   11793     ;;
   11794 
   11795   osf*)
   11796     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11797     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11798     # nice to cause kernel panics so lets avoid the loop below.
   11799     # First set a reasonable default.
   11800     lt_cv_sys_max_cmd_len=16384
   11801     #
   11802     if test -x /sbin/sysconfig; then
   11803       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11804         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11805       esac
   11806     fi
   11807     ;;
   11808   sco3.2v5*)
   11809     lt_cv_sys_max_cmd_len=102400
   11810     ;;
   11811   sysv5* | sco5v6* | sysv4.2uw2*)
   11812     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11813     if test -n "$kargmax"; then
   11814       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11815     else
   11816       lt_cv_sys_max_cmd_len=32768
   11817     fi
   11818     ;;
   11819   *)
   11820     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11821     if test -n "$lt_cv_sys_max_cmd_len" && \
   11822        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11823       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11824       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11825     else
   11826       # Make teststring a little bigger before we do anything with it.
   11827       # a 1K string should be a reasonable start.
   11828       for i in 1 2 3 4 5 6 7 8; do
   11829         teststring=$teststring$teststring
   11830       done
   11831       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11832       # If test is not a shell built-in, we'll probably end up computing a
   11833       # maximum length that is only half of the actual maximum length, but
   11834       # we can't tell.
   11835       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11836 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11837 	      test 17 != "$i" # 1/2 MB should be enough
   11838       do
   11839         i=`expr $i + 1`
   11840         teststring=$teststring$teststring
   11841       done
   11842       # Only check the string length outside the loop.
   11843       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11844       teststring=
   11845       # Add a significant safety factor because C++ compilers can tack on
   11846       # massive amounts of additional arguments before passing them to the
   11847       # linker.  It appears as though 1/2 is a usable value.
   11848       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11849     fi
   11850     ;;
   11851   esac
   11852 
   11853 fi
   11854 
   11855 if test -n "$lt_cv_sys_max_cmd_len"; then
   11856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11857 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11858 else
   11859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11860 $as_echo "none" >&6; }
   11861 fi
   11862 max_cmd_len=$lt_cv_sys_max_cmd_len
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 : ${CP="cp -f"}
   11870 : ${MV="mv -f"}
   11871 : ${RM="rm -f"}
   11872 
   11873 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11874   lt_unset=unset
   11875 else
   11876   lt_unset=false
   11877 fi
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 # test EBCDIC or ASCII
   11884 case `echo X|tr X '\101'` in
   11885  A) # ASCII based system
   11886     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11887   lt_SP2NL='tr \040 \012'
   11888   lt_NL2SP='tr \015\012 \040\040'
   11889   ;;
   11890  *) # EBCDIC based system
   11891   lt_SP2NL='tr \100 \n'
   11892   lt_NL2SP='tr \r\n \100\100'
   11893   ;;
   11894 esac
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11905 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11906 if ${lt_cv_to_host_file_cmd+:} false; then :
   11907   $as_echo_n "(cached) " >&6
   11908 else
   11909   case $host in
   11910   *-*-mingw* )
   11911     case $build in
   11912       *-*-mingw* ) # actually msys
   11913         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11914         ;;
   11915       *-*-cygwin* )
   11916         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11917         ;;
   11918       * ) # otherwise, assume *nix
   11919         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11920         ;;
   11921     esac
   11922     ;;
   11923   *-*-cygwin* )
   11924     case $build in
   11925       *-*-mingw* ) # actually msys
   11926         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11927         ;;
   11928       *-*-cygwin* )
   11929         lt_cv_to_host_file_cmd=func_convert_file_noop
   11930         ;;
   11931       * ) # otherwise, assume *nix
   11932         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11933         ;;
   11934     esac
   11935     ;;
   11936   * ) # unhandled hosts (and "normal" native builds)
   11937     lt_cv_to_host_file_cmd=func_convert_file_noop
   11938     ;;
   11939 esac
   11940 
   11941 fi
   11942 
   11943 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11945 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11952 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11953 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11954   $as_echo_n "(cached) " >&6
   11955 else
   11956   #assume ordinary cross tools, or native build.
   11957 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11958 case $host in
   11959   *-*-mingw* )
   11960     case $build in
   11961       *-*-mingw* ) # actually msys
   11962         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11963         ;;
   11964     esac
   11965     ;;
   11966 esac
   11967 
   11968 fi
   11969 
   11970 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11972 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11979 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11980 if ${lt_cv_ld_reload_flag+:} false; then :
   11981   $as_echo_n "(cached) " >&6
   11982 else
   11983   lt_cv_ld_reload_flag='-r'
   11984 fi
   11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11986 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11987 reload_flag=$lt_cv_ld_reload_flag
   11988 case $reload_flag in
   11989 "" | " "*) ;;
   11990 *) reload_flag=" $reload_flag" ;;
   11991 esac
   11992 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11993 case $host_os in
   11994   cygwin* | mingw* | pw32* | cegcc*)
   11995     if test yes != "$GCC"; then
   11996       reload_cmds=false
   11997     fi
   11998     ;;
   11999   darwin*)
   12000     if test yes = "$GCC"; then
   12001       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12002     else
   12003       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12004     fi
   12005     ;;
   12006 esac
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 if test -n "$ac_tool_prefix"; then
   12017   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12018 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12020 $as_echo_n "checking for $ac_word... " >&6; }
   12021 if ${ac_cv_prog_OBJDUMP+:} false; then :
   12022   $as_echo_n "(cached) " >&6
   12023 else
   12024   if test -n "$OBJDUMP"; then
   12025   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12026 else
   12027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12028 for as_dir in $PATH
   12029 do
   12030   IFS=$as_save_IFS
   12031   test -z "$as_dir" && as_dir=.
   12032     for ac_exec_ext in '' $ac_executable_extensions; do
   12033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12034     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12036     break 2
   12037   fi
   12038 done
   12039   done
   12040 IFS=$as_save_IFS
   12041 
   12042 fi
   12043 fi
   12044 OBJDUMP=$ac_cv_prog_OBJDUMP
   12045 if test -n "$OBJDUMP"; then
   12046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12047 $as_echo "$OBJDUMP" >&6; }
   12048 else
   12049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12050 $as_echo "no" >&6; }
   12051 fi
   12052 
   12053 
   12054 fi
   12055 if test -z "$ac_cv_prog_OBJDUMP"; then
   12056   ac_ct_OBJDUMP=$OBJDUMP
   12057   # Extract the first word of "objdump", so it can be a program name with args.
   12058 set dummy objdump; ac_word=$2
   12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12060 $as_echo_n "checking for $ac_word... " >&6; }
   12061 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   12062   $as_echo_n "(cached) " >&6
   12063 else
   12064   if test -n "$ac_ct_OBJDUMP"; then
   12065   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12066 else
   12067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12068 for as_dir in $PATH
   12069 do
   12070   IFS=$as_save_IFS
   12071   test -z "$as_dir" && as_dir=.
   12072     for ac_exec_ext in '' $ac_executable_extensions; do
   12073   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12074     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12076     break 2
   12077   fi
   12078 done
   12079   done
   12080 IFS=$as_save_IFS
   12081 
   12082 fi
   12083 fi
   12084 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12085 if test -n "$ac_ct_OBJDUMP"; then
   12086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12087 $as_echo "$ac_ct_OBJDUMP" >&6; }
   12088 else
   12089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12090 $as_echo "no" >&6; }
   12091 fi
   12092 
   12093   if test "x$ac_ct_OBJDUMP" = x; then
   12094     OBJDUMP="false"
   12095   else
   12096     case $cross_compiling:$ac_tool_warned in
   12097 yes:)
   12098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12100 ac_tool_warned=yes ;;
   12101 esac
   12102     OBJDUMP=$ac_ct_OBJDUMP
   12103   fi
   12104 else
   12105   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12106 fi
   12107 
   12108 test -z "$OBJDUMP" && OBJDUMP=objdump
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12119 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   12120 if ${lt_cv_deplibs_check_method+:} false; then :
   12121   $as_echo_n "(cached) " >&6
   12122 else
   12123   lt_cv_file_magic_cmd='$MAGIC_CMD'
   12124 lt_cv_file_magic_test_file=
   12125 lt_cv_deplibs_check_method='unknown'
   12126 # Need to set the preceding variable on all platforms that support
   12127 # interlibrary dependencies.
   12128 # 'none' -- dependencies not supported.
   12129 # 'unknown' -- same as none, but documents that we really don't know.
   12130 # 'pass_all' -- all dependencies passed with no checks.
   12131 # 'test_compile' -- check by making test program.
   12132 # 'file_magic [[regex]]' -- check by looking for files in library path
   12133 # that responds to the $file_magic_cmd with a given extended regex.
   12134 # If you have 'file' or equivalent on your system and you're not sure
   12135 # whether 'pass_all' will *always* work, you probably want this one.
   12136 
   12137 case $host_os in
   12138 aix[4-9]*)
   12139   lt_cv_deplibs_check_method=pass_all
   12140   ;;
   12141 
   12142 beos*)
   12143   lt_cv_deplibs_check_method=pass_all
   12144   ;;
   12145 
   12146 bsdi[45]*)
   12147   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12148   lt_cv_file_magic_cmd='/usr/bin/file -L'
   12149   lt_cv_file_magic_test_file=/shlib/libc.so
   12150   ;;
   12151 
   12152 cygwin*)
   12153   # func_win32_libid is a shell function defined in ltmain.sh
   12154   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12155   lt_cv_file_magic_cmd='func_win32_libid'
   12156   ;;
   12157 
   12158 mingw* | pw32*)
   12159   # Base MSYS/MinGW do not provide the 'file' command needed by
   12160   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12161   # unless we find 'file', for example because we are cross-compiling.
   12162   if ( file / ) >/dev/null 2>&1; then
   12163     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12164     lt_cv_file_magic_cmd='func_win32_libid'
   12165   else
   12166     # Keep this pattern in sync with the one in func_win32_libid.
   12167     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12168     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12169   fi
   12170   ;;
   12171 
   12172 cegcc*)
   12173   # use the weaker test based on 'objdump'. See mingw*.
   12174   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12175   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12176   ;;
   12177 
   12178 darwin* | rhapsody*)
   12179   lt_cv_deplibs_check_method=pass_all
   12180   ;;
   12181 
   12182 freebsd* | dragonfly*)
   12183   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12184     case $host_cpu in
   12185     i*86 )
   12186       # Not sure whether the presence of OpenBSD here was a mistake.
   12187       # Let's accept both of them until this is cleared up.
   12188       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12189       lt_cv_file_magic_cmd=/usr/bin/file
   12190       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12191       ;;
   12192     esac
   12193   else
   12194     lt_cv_deplibs_check_method=pass_all
   12195   fi
   12196   ;;
   12197 
   12198 haiku*)
   12199   lt_cv_deplibs_check_method=pass_all
   12200   ;;
   12201 
   12202 hpux10.20* | hpux11*)
   12203   lt_cv_file_magic_cmd=/usr/bin/file
   12204   case $host_cpu in
   12205   ia64*)
   12206     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12207     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12208     ;;
   12209   hppa*64*)
   12210     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]'
   12211     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12212     ;;
   12213   *)
   12214     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12215     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12216     ;;
   12217   esac
   12218   ;;
   12219 
   12220 interix[3-9]*)
   12221   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12222   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12223   ;;
   12224 
   12225 irix5* | irix6* | nonstopux*)
   12226   case $LD in
   12227   *-32|*"-32 ") libmagic=32-bit;;
   12228   *-n32|*"-n32 ") libmagic=N32;;
   12229   *-64|*"-64 ") libmagic=64-bit;;
   12230   *) libmagic=never-match;;
   12231   esac
   12232   lt_cv_deplibs_check_method=pass_all
   12233   ;;
   12234 
   12235 # This must be glibc/ELF.
   12236 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12237   lt_cv_deplibs_check_method=pass_all
   12238   ;;
   12239 
   12240 netbsd* | netbsdelf*-gnu)
   12241   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12242     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12243   else
   12244     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12245   fi
   12246   ;;
   12247 
   12248 newos6*)
   12249   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12250   lt_cv_file_magic_cmd=/usr/bin/file
   12251   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12252   ;;
   12253 
   12254 *nto* | *qnx*)
   12255   lt_cv_deplibs_check_method=pass_all
   12256   ;;
   12257 
   12258 openbsd* | bitrig*)
   12259   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12260     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12261   else
   12262     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12263   fi
   12264   ;;
   12265 
   12266 osf3* | osf4* | osf5*)
   12267   lt_cv_deplibs_check_method=pass_all
   12268   ;;
   12269 
   12270 rdos*)
   12271   lt_cv_deplibs_check_method=pass_all
   12272   ;;
   12273 
   12274 solaris*)
   12275   lt_cv_deplibs_check_method=pass_all
   12276   ;;
   12277 
   12278 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12279   lt_cv_deplibs_check_method=pass_all
   12280   ;;
   12281 
   12282 sysv4 | sysv4.3*)
   12283   case $host_vendor in
   12284   motorola)
   12285     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]'
   12286     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12287     ;;
   12288   ncr)
   12289     lt_cv_deplibs_check_method=pass_all
   12290     ;;
   12291   sequent)
   12292     lt_cv_file_magic_cmd='/bin/file'
   12293     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12294     ;;
   12295   sni)
   12296     lt_cv_file_magic_cmd='/bin/file'
   12297     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12298     lt_cv_file_magic_test_file=/lib/libc.so
   12299     ;;
   12300   siemens)
   12301     lt_cv_deplibs_check_method=pass_all
   12302     ;;
   12303   pc)
   12304     lt_cv_deplibs_check_method=pass_all
   12305     ;;
   12306   esac
   12307   ;;
   12308 
   12309 tpf*)
   12310   lt_cv_deplibs_check_method=pass_all
   12311   ;;
   12312 os2*)
   12313   lt_cv_deplibs_check_method=pass_all
   12314   ;;
   12315 esac
   12316 
   12317 fi
   12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12319 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12320 
   12321 file_magic_glob=
   12322 want_nocaseglob=no
   12323 if test "$build" = "$host"; then
   12324   case $host_os in
   12325   mingw* | pw32*)
   12326     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12327       want_nocaseglob=yes
   12328     else
   12329       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12330     fi
   12331     ;;
   12332   esac
   12333 fi
   12334 
   12335 file_magic_cmd=$lt_cv_file_magic_cmd
   12336 deplibs_check_method=$lt_cv_deplibs_check_method
   12337 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 if test -n "$ac_tool_prefix"; then
   12361   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12362 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12364 $as_echo_n "checking for $ac_word... " >&6; }
   12365 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12366   $as_echo_n "(cached) " >&6
   12367 else
   12368   if test -n "$DLLTOOL"; then
   12369   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12370 else
   12371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12372 for as_dir in $PATH
   12373 do
   12374   IFS=$as_save_IFS
   12375   test -z "$as_dir" && as_dir=.
   12376     for ac_exec_ext in '' $ac_executable_extensions; do
   12377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12378     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12380     break 2
   12381   fi
   12382 done
   12383   done
   12384 IFS=$as_save_IFS
   12385 
   12386 fi
   12387 fi
   12388 DLLTOOL=$ac_cv_prog_DLLTOOL
   12389 if test -n "$DLLTOOL"; then
   12390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12391 $as_echo "$DLLTOOL" >&6; }
   12392 else
   12393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12394 $as_echo "no" >&6; }
   12395 fi
   12396 
   12397 
   12398 fi
   12399 if test -z "$ac_cv_prog_DLLTOOL"; then
   12400   ac_ct_DLLTOOL=$DLLTOOL
   12401   # Extract the first word of "dlltool", so it can be a program name with args.
   12402 set dummy dlltool; ac_word=$2
   12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12404 $as_echo_n "checking for $ac_word... " >&6; }
   12405 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12406   $as_echo_n "(cached) " >&6
   12407 else
   12408   if test -n "$ac_ct_DLLTOOL"; then
   12409   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12410 else
   12411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12412 for as_dir in $PATH
   12413 do
   12414   IFS=$as_save_IFS
   12415   test -z "$as_dir" && as_dir=.
   12416     for ac_exec_ext in '' $ac_executable_extensions; do
   12417   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12418     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12420     break 2
   12421   fi
   12422 done
   12423   done
   12424 IFS=$as_save_IFS
   12425 
   12426 fi
   12427 fi
   12428 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12429 if test -n "$ac_ct_DLLTOOL"; then
   12430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12431 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12432 else
   12433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12434 $as_echo "no" >&6; }
   12435 fi
   12436 
   12437   if test "x$ac_ct_DLLTOOL" = x; then
   12438     DLLTOOL="false"
   12439   else
   12440     case $cross_compiling:$ac_tool_warned in
   12441 yes:)
   12442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12444 ac_tool_warned=yes ;;
   12445 esac
   12446     DLLTOOL=$ac_ct_DLLTOOL
   12447   fi
   12448 else
   12449   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12450 fi
   12451 
   12452 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12464 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12465 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12466   $as_echo_n "(cached) " >&6
   12467 else
   12468   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12469 
   12470 case $host_os in
   12471 cygwin* | mingw* | pw32* | cegcc*)
   12472   # two different shell functions defined in ltmain.sh;
   12473   # decide which one to use based on capabilities of $DLLTOOL
   12474   case `$DLLTOOL --help 2>&1` in
   12475   *--identify-strict*)
   12476     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12477     ;;
   12478   *)
   12479     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12480     ;;
   12481   esac
   12482   ;;
   12483 *)
   12484   # fallback: assume linklib IS sharedlib
   12485   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12486   ;;
   12487 esac
   12488 
   12489 fi
   12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12491 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12492 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12493 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12494 
   12495 
   12496 
   12497 
   12498 
   12499 
   12500 
   12501 if test -n "$ac_tool_prefix"; then
   12502   for ac_prog in ar
   12503   do
   12504     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12507 $as_echo_n "checking for $ac_word... " >&6; }
   12508 if ${ac_cv_prog_AR+:} false; then :
   12509   $as_echo_n "(cached) " >&6
   12510 else
   12511   if test -n "$AR"; then
   12512   ac_cv_prog_AR="$AR" # Let the user override the test.
   12513 else
   12514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12515 for as_dir in $PATH
   12516 do
   12517   IFS=$as_save_IFS
   12518   test -z "$as_dir" && as_dir=.
   12519     for ac_exec_ext in '' $ac_executable_extensions; do
   12520   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12521     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12523     break 2
   12524   fi
   12525 done
   12526   done
   12527 IFS=$as_save_IFS
   12528 
   12529 fi
   12530 fi
   12531 AR=$ac_cv_prog_AR
   12532 if test -n "$AR"; then
   12533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12534 $as_echo "$AR" >&6; }
   12535 else
   12536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12537 $as_echo "no" >&6; }
   12538 fi
   12539 
   12540 
   12541     test -n "$AR" && break
   12542   done
   12543 fi
   12544 if test -z "$AR"; then
   12545   ac_ct_AR=$AR
   12546   for ac_prog in ar
   12547 do
   12548   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12549 set dummy $ac_prog; ac_word=$2
   12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12551 $as_echo_n "checking for $ac_word... " >&6; }
   12552 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12553   $as_echo_n "(cached) " >&6
   12554 else
   12555   if test -n "$ac_ct_AR"; then
   12556   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12557 else
   12558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12559 for as_dir in $PATH
   12560 do
   12561   IFS=$as_save_IFS
   12562   test -z "$as_dir" && as_dir=.
   12563     for ac_exec_ext in '' $ac_executable_extensions; do
   12564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12565     ac_cv_prog_ac_ct_AR="$ac_prog"
   12566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12567     break 2
   12568   fi
   12569 done
   12570   done
   12571 IFS=$as_save_IFS
   12572 
   12573 fi
   12574 fi
   12575 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12576 if test -n "$ac_ct_AR"; then
   12577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12578 $as_echo "$ac_ct_AR" >&6; }
   12579 else
   12580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12581 $as_echo "no" >&6; }
   12582 fi
   12583 
   12584 
   12585   test -n "$ac_ct_AR" && break
   12586 done
   12587 
   12588   if test "x$ac_ct_AR" = x; then
   12589     AR="false"
   12590   else
   12591     case $cross_compiling:$ac_tool_warned in
   12592 yes:)
   12593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12595 ac_tool_warned=yes ;;
   12596 esac
   12597     AR=$ac_ct_AR
   12598   fi
   12599 fi
   12600 
   12601 : ${AR=ar}
   12602 : ${AR_FLAGS=cru}
   12603 
   12604 
   12605 
   12606 
   12607 
   12608 
   12609 
   12610 
   12611 
   12612 
   12613 
   12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12615 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12616 if ${lt_cv_ar_at_file+:} false; then :
   12617   $as_echo_n "(cached) " >&6
   12618 else
   12619   lt_cv_ar_at_file=no
   12620    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12621 /* end confdefs.h.  */
   12622 
   12623 int
   12624 main ()
   12625 {
   12626 
   12627   ;
   12628   return 0;
   12629 }
   12630 _ACEOF
   12631 if ac_fn_c_try_compile "$LINENO"; then :
   12632   echo conftest.$ac_objext > conftest.lst
   12633       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12634       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12635   (eval $lt_ar_try) 2>&5
   12636   ac_status=$?
   12637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12638   test $ac_status = 0; }
   12639       if test 0 -eq "$ac_status"; then
   12640 	# Ensure the archiver fails upon bogus file names.
   12641 	rm -f conftest.$ac_objext libconftest.a
   12642 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12643   (eval $lt_ar_try) 2>&5
   12644   ac_status=$?
   12645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12646   test $ac_status = 0; }
   12647 	if test 0 -ne "$ac_status"; then
   12648           lt_cv_ar_at_file=@
   12649         fi
   12650       fi
   12651       rm -f conftest.* libconftest.a
   12652 
   12653 fi
   12654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12655 
   12656 fi
   12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12658 $as_echo "$lt_cv_ar_at_file" >&6; }
   12659 
   12660 if test no = "$lt_cv_ar_at_file"; then
   12661   archiver_list_spec=
   12662 else
   12663   archiver_list_spec=$lt_cv_ar_at_file
   12664 fi
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 if test -n "$ac_tool_prefix"; then
   12673   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12674 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12676 $as_echo_n "checking for $ac_word... " >&6; }
   12677 if ${ac_cv_prog_STRIP+:} false; then :
   12678   $as_echo_n "(cached) " >&6
   12679 else
   12680   if test -n "$STRIP"; then
   12681   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12682 else
   12683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12684 for as_dir in $PATH
   12685 do
   12686   IFS=$as_save_IFS
   12687   test -z "$as_dir" && as_dir=.
   12688     for ac_exec_ext in '' $ac_executable_extensions; do
   12689   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12690     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12692     break 2
   12693   fi
   12694 done
   12695   done
   12696 IFS=$as_save_IFS
   12697 
   12698 fi
   12699 fi
   12700 STRIP=$ac_cv_prog_STRIP
   12701 if test -n "$STRIP"; then
   12702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12703 $as_echo "$STRIP" >&6; }
   12704 else
   12705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12706 $as_echo "no" >&6; }
   12707 fi
   12708 
   12709 
   12710 fi
   12711 if test -z "$ac_cv_prog_STRIP"; then
   12712   ac_ct_STRIP=$STRIP
   12713   # Extract the first word of "strip", so it can be a program name with args.
   12714 set dummy strip; ac_word=$2
   12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12716 $as_echo_n "checking for $ac_word... " >&6; }
   12717 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12718   $as_echo_n "(cached) " >&6
   12719 else
   12720   if test -n "$ac_ct_STRIP"; then
   12721   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12722 else
   12723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12724 for as_dir in $PATH
   12725 do
   12726   IFS=$as_save_IFS
   12727   test -z "$as_dir" && as_dir=.
   12728     for ac_exec_ext in '' $ac_executable_extensions; do
   12729   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12730     ac_cv_prog_ac_ct_STRIP="strip"
   12731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12732     break 2
   12733   fi
   12734 done
   12735   done
   12736 IFS=$as_save_IFS
   12737 
   12738 fi
   12739 fi
   12740 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12741 if test -n "$ac_ct_STRIP"; then
   12742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12743 $as_echo "$ac_ct_STRIP" >&6; }
   12744 else
   12745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12746 $as_echo "no" >&6; }
   12747 fi
   12748 
   12749   if test "x$ac_ct_STRIP" = x; then
   12750     STRIP=":"
   12751   else
   12752     case $cross_compiling:$ac_tool_warned in
   12753 yes:)
   12754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12756 ac_tool_warned=yes ;;
   12757 esac
   12758     STRIP=$ac_ct_STRIP
   12759   fi
   12760 else
   12761   STRIP="$ac_cv_prog_STRIP"
   12762 fi
   12763 
   12764 test -z "$STRIP" && STRIP=:
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 if test -n "$ac_tool_prefix"; then
   12772   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12773 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12775 $as_echo_n "checking for $ac_word... " >&6; }
   12776 if ${ac_cv_prog_RANLIB+:} false; then :
   12777   $as_echo_n "(cached) " >&6
   12778 else
   12779   if test -n "$RANLIB"; then
   12780   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12781 else
   12782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12783 for as_dir in $PATH
   12784 do
   12785   IFS=$as_save_IFS
   12786   test -z "$as_dir" && as_dir=.
   12787     for ac_exec_ext in '' $ac_executable_extensions; do
   12788   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12789     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12791     break 2
   12792   fi
   12793 done
   12794   done
   12795 IFS=$as_save_IFS
   12796 
   12797 fi
   12798 fi
   12799 RANLIB=$ac_cv_prog_RANLIB
   12800 if test -n "$RANLIB"; then
   12801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12802 $as_echo "$RANLIB" >&6; }
   12803 else
   12804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12805 $as_echo "no" >&6; }
   12806 fi
   12807 
   12808 
   12809 fi
   12810 if test -z "$ac_cv_prog_RANLIB"; then
   12811   ac_ct_RANLIB=$RANLIB
   12812   # Extract the first word of "ranlib", so it can be a program name with args.
   12813 set dummy ranlib; ac_word=$2
   12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12815 $as_echo_n "checking for $ac_word... " >&6; }
   12816 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12817   $as_echo_n "(cached) " >&6
   12818 else
   12819   if test -n "$ac_ct_RANLIB"; then
   12820   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12821 else
   12822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12823 for as_dir in $PATH
   12824 do
   12825   IFS=$as_save_IFS
   12826   test -z "$as_dir" && as_dir=.
   12827     for ac_exec_ext in '' $ac_executable_extensions; do
   12828   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12829     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12831     break 2
   12832   fi
   12833 done
   12834   done
   12835 IFS=$as_save_IFS
   12836 
   12837 fi
   12838 fi
   12839 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12840 if test -n "$ac_ct_RANLIB"; then
   12841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12842 $as_echo "$ac_ct_RANLIB" >&6; }
   12843 else
   12844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12845 $as_echo "no" >&6; }
   12846 fi
   12847 
   12848   if test "x$ac_ct_RANLIB" = x; then
   12849     RANLIB=":"
   12850   else
   12851     case $cross_compiling:$ac_tool_warned in
   12852 yes:)
   12853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12855 ac_tool_warned=yes ;;
   12856 esac
   12857     RANLIB=$ac_ct_RANLIB
   12858   fi
   12859 else
   12860   RANLIB="$ac_cv_prog_RANLIB"
   12861 fi
   12862 
   12863 test -z "$RANLIB" && RANLIB=:
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 # Determine commands to create old-style static archives.
   12871 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12872 old_postinstall_cmds='chmod 644 $oldlib'
   12873 old_postuninstall_cmds=
   12874 
   12875 if test -n "$RANLIB"; then
   12876   case $host_os in
   12877   bitrig* | openbsd*)
   12878     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12879     ;;
   12880   *)
   12881     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12882     ;;
   12883   esac
   12884   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12885 fi
   12886 
   12887 case $host_os in
   12888   darwin*)
   12889     lock_old_archive_extraction=yes ;;
   12890   *)
   12891     lock_old_archive_extraction=no ;;
   12892 esac
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 # If no C compiler was specified, use CC.
   12933 LTCC=${LTCC-"$CC"}
   12934 
   12935 # If no C compiler flags were specified, use CFLAGS.
   12936 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12937 
   12938 # Allow CC to be a program name with arguments.
   12939 compiler=$CC
   12940 
   12941 
   12942 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12944 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12945 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12946   $as_echo_n "(cached) " >&6
   12947 else
   12948 
   12949 # These are sane defaults that work on at least a few old systems.
   12950 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12951 
   12952 # Character class describing NM global symbol codes.
   12953 symcode='[BCDEGRST]'
   12954 
   12955 # Regexp to match symbols that can be accessed directly from C.
   12956 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12957 
   12958 # Define system-specific variables.
   12959 case $host_os in
   12960 aix*)
   12961   symcode='[BCDT]'
   12962   ;;
   12963 cygwin* | mingw* | pw32* | cegcc*)
   12964   symcode='[ABCDGISTW]'
   12965   ;;
   12966 hpux*)
   12967   if test ia64 = "$host_cpu"; then
   12968     symcode='[ABCDEGRST]'
   12969   fi
   12970   ;;
   12971 irix* | nonstopux*)
   12972   symcode='[BCDEGRST]'
   12973   ;;
   12974 osf*)
   12975   symcode='[BCDEGQRST]'
   12976   ;;
   12977 solaris*)
   12978   symcode='[BDRT]'
   12979   ;;
   12980 sco3.2v5*)
   12981   symcode='[DT]'
   12982   ;;
   12983 sysv4.2uw2*)
   12984   symcode='[DT]'
   12985   ;;
   12986 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12987   symcode='[ABDT]'
   12988   ;;
   12989 sysv4)
   12990   symcode='[DFNSTU]'
   12991   ;;
   12992 esac
   12993 
   12994 # If we're using GNU nm, then use its standard symbol codes.
   12995 case `$NM -V 2>&1` in
   12996 *GNU* | *'with BFD'*)
   12997   symcode='[ABCDGIRSTW]' ;;
   12998 esac
   12999 
   13000 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13001   # Gets list of data symbols to import.
   13002   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   13003   # Adjust the below global symbol transforms to fixup imported variables.
   13004   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13005   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13006   lt_c_name_lib_hook="\
   13007   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13008   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13009 else
   13010   # Disable hooks by default.
   13011   lt_cv_sys_global_symbol_to_import=
   13012   lt_cdecl_hook=
   13013   lt_c_name_hook=
   13014   lt_c_name_lib_hook=
   13015 fi
   13016 
   13017 # Transform an extracted symbol line into a proper C declaration.
   13018 # Some systems (esp. on ia64) link data and code symbols differently,
   13019 # so use this general approach.
   13020 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   13021 $lt_cdecl_hook\
   13022 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13023 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13024 
   13025 # Transform an extracted symbol line into symbol name and symbol address
   13026 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   13027 $lt_c_name_hook\
   13028 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13029 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13030 
   13031 # Transform an extracted symbol line into symbol name with lib prefix and
   13032 # symbol address.
   13033 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   13034 $lt_c_name_lib_hook\
   13035 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13036 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13037 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13038 
   13039 # Handle CRLF in mingw tool chain
   13040 opt_cr=
   13041 case $build_os in
   13042 mingw*)
   13043   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13044   ;;
   13045 esac
   13046 
   13047 # Try without a prefix underscore, then with it.
   13048 for ac_symprfx in "" "_"; do
   13049 
   13050   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13051   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13052 
   13053   # Write the raw and C identifiers.
   13054   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13055     # Fake it for dumpbin and say T for any non-static function,
   13056     # D for any global variable and I for any imported variable.
   13057     # Also find C++ and __fastcall symbols from MSVC++,
   13058     # which start with @ or ?.
   13059     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13060 "     {last_section=section; section=\$ 3};"\
   13061 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13062 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13063 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13064 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13065 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13066 "     \$ 0!~/External *\|/{next};"\
   13067 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13068 "     {if(hide[section]) next};"\
   13069 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13070 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13071 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13072 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13073 "     ' prfx=^$ac_symprfx"
   13074   else
   13075     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13076   fi
   13077   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   13078 
   13079   # Check to see that the pipe works correctly.
   13080   pipe_works=no
   13081 
   13082   rm -f conftest*
   13083   cat > conftest.$ac_ext <<_LT_EOF
   13084 #ifdef __cplusplus
   13085 extern "C" {
   13086 #endif
   13087 char nm_test_var;
   13088 void nm_test_func(void);
   13089 void nm_test_func(void){}
   13090 #ifdef __cplusplus
   13091 }
   13092 #endif
   13093 int main(){nm_test_var='a';nm_test_func();return(0);}
   13094 _LT_EOF
   13095 
   13096   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13097   (eval $ac_compile) 2>&5
   13098   ac_status=$?
   13099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13100   test $ac_status = 0; }; then
   13101     # Now try to grab the symbols.
   13102     nlist=conftest.nm
   13103     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13104   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13105   ac_status=$?
   13106   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13107   test $ac_status = 0; } && test -s "$nlist"; then
   13108       # Try sorting and uniquifying the output.
   13109       if sort "$nlist" | uniq > "$nlist"T; then
   13110 	mv -f "$nlist"T "$nlist"
   13111       else
   13112 	rm -f "$nlist"T
   13113       fi
   13114 
   13115       # Make sure that we snagged all the symbols we need.
   13116       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13117 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13118 	  cat <<_LT_EOF > conftest.$ac_ext
   13119 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13120 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13121 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13122    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13123 # define LT_DLSYM_CONST
   13124 #elif defined __osf__
   13125 /* This system does not cope well with relocations in const data.  */
   13126 # define LT_DLSYM_CONST
   13127 #else
   13128 # define LT_DLSYM_CONST const
   13129 #endif
   13130 
   13131 #ifdef __cplusplus
   13132 extern "C" {
   13133 #endif
   13134 
   13135 _LT_EOF
   13136 	  # Now generate the symbol file.
   13137 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13138 
   13139 	  cat <<_LT_EOF >> conftest.$ac_ext
   13140 
   13141 /* The mapping between symbol names and symbols.  */
   13142 LT_DLSYM_CONST struct {
   13143   const char *name;
   13144   void       *address;
   13145 }
   13146 lt__PROGRAM__LTX_preloaded_symbols[] =
   13147 {
   13148   { "@PROGRAM@", (void *) 0 },
   13149 _LT_EOF
   13150 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13151 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13152   {0, (void *) 0}
   13153 };
   13154 
   13155 /* This works around a problem in FreeBSD linker */
   13156 #ifdef FREEBSD_WORKAROUND
   13157 static const void *lt_preloaded_setup() {
   13158   return lt__PROGRAM__LTX_preloaded_symbols;
   13159 }
   13160 #endif
   13161 
   13162 #ifdef __cplusplus
   13163 }
   13164 #endif
   13165 _LT_EOF
   13166 	  # Now try linking the two files.
   13167 	  mv conftest.$ac_objext conftstm.$ac_objext
   13168 	  lt_globsym_save_LIBS=$LIBS
   13169 	  lt_globsym_save_CFLAGS=$CFLAGS
   13170 	  LIBS=conftstm.$ac_objext
   13171 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   13172 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13173   (eval $ac_link) 2>&5
   13174   ac_status=$?
   13175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13176   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   13177 	    pipe_works=yes
   13178 	  fi
   13179 	  LIBS=$lt_globsym_save_LIBS
   13180 	  CFLAGS=$lt_globsym_save_CFLAGS
   13181 	else
   13182 	  echo "cannot find nm_test_func in $nlist" >&5
   13183 	fi
   13184       else
   13185 	echo "cannot find nm_test_var in $nlist" >&5
   13186       fi
   13187     else
   13188       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   13189     fi
   13190   else
   13191     echo "$progname: failed program was:" >&5
   13192     cat conftest.$ac_ext >&5
   13193   fi
   13194   rm -rf conftest* conftst*
   13195 
   13196   # Do not use the global_symbol_pipe unless it works.
   13197   if test yes = "$pipe_works"; then
   13198     break
   13199   else
   13200     lt_cv_sys_global_symbol_pipe=
   13201   fi
   13202 done
   13203 
   13204 fi
   13205 
   13206 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   13207   lt_cv_sys_global_symbol_to_cdecl=
   13208 fi
   13209 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   13210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   13211 $as_echo "failed" >&6; }
   13212 else
   13213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   13214 $as_echo "ok" >&6; }
   13215 fi
   13216 
   13217 # Response file support.
   13218 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13219   nm_file_list_spec='@'
   13220 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13221   nm_file_list_spec='@'
   13222 fi
   13223 
   13224 
   13225 
   13226 
   13227 
   13228 
   13229 
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 
   13248 
   13249 
   13250 
   13251 
   13252 
   13253 
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13261 $as_echo_n "checking for sysroot... " >&6; }
   13262 
   13263 # Check whether --with-sysroot was given.
   13264 if test "${with_sysroot+set}" = set; then :
   13265   withval=$with_sysroot;
   13266 else
   13267   with_sysroot=no
   13268 fi
   13269 
   13270 
   13271 lt_sysroot=
   13272 case $with_sysroot in #(
   13273  yes)
   13274    if test yes = "$GCC"; then
   13275      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13276    fi
   13277    ;; #(
   13278  /*)
   13279    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13280    ;; #(
   13281  no|'')
   13282    ;; #(
   13283  *)
   13284    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13285 $as_echo "$with_sysroot" >&6; }
   13286    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13287    ;;
   13288 esac
   13289 
   13290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13291 $as_echo "${lt_sysroot:-no}" >&6; }
   13292 
   13293 
   13294 
   13295 
   13296 
   13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13298 $as_echo_n "checking for a working dd... " >&6; }
   13299 if ${ac_cv_path_lt_DD+:} false; then :
   13300   $as_echo_n "(cached) " >&6
   13301 else
   13302   printf 0123456789abcdef0123456789abcdef >conftest.i
   13303 cat conftest.i conftest.i >conftest2.i
   13304 : ${lt_DD:=$DD}
   13305 if test -z "$lt_DD"; then
   13306   ac_path_lt_DD_found=false
   13307   # Loop through the user's path and test for each of PROGNAME-LIST
   13308   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13309 for as_dir in $PATH
   13310 do
   13311   IFS=$as_save_IFS
   13312   test -z "$as_dir" && as_dir=.
   13313     for ac_prog in dd; do
   13314     for ac_exec_ext in '' $ac_executable_extensions; do
   13315       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13316       as_fn_executable_p "$ac_path_lt_DD" || continue
   13317 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13318   cmp -s conftest.i conftest.out \
   13319   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13320 fi
   13321       $ac_path_lt_DD_found && break 3
   13322     done
   13323   done
   13324   done
   13325 IFS=$as_save_IFS
   13326   if test -z "$ac_cv_path_lt_DD"; then
   13327     :
   13328   fi
   13329 else
   13330   ac_cv_path_lt_DD=$lt_DD
   13331 fi
   13332 
   13333 rm -f conftest.i conftest2.i conftest.out
   13334 fi
   13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13336 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13337 
   13338 
   13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13340 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13341 if ${lt_cv_truncate_bin+:} false; then :
   13342   $as_echo_n "(cached) " >&6
   13343 else
   13344   printf 0123456789abcdef0123456789abcdef >conftest.i
   13345 cat conftest.i conftest.i >conftest2.i
   13346 lt_cv_truncate_bin=
   13347 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13348   cmp -s conftest.i conftest.out \
   13349   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13350 fi
   13351 rm -f conftest.i conftest2.i conftest.out
   13352 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13353 fi
   13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13355 $as_echo "$lt_cv_truncate_bin" >&6; }
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13364 func_cc_basename ()
   13365 {
   13366     for cc_temp in $*""; do
   13367       case $cc_temp in
   13368         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13369         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13370         \-*) ;;
   13371         *) break;;
   13372       esac
   13373     done
   13374     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13375 }
   13376 
   13377 # Check whether --enable-libtool-lock was given.
   13378 if test "${enable_libtool_lock+set}" = set; then :
   13379   enableval=$enable_libtool_lock;
   13380 fi
   13381 
   13382 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13383 
   13384 # Some flags need to be propagated to the compiler or linker for good
   13385 # libtool support.
   13386 case $host in
   13387 ia64-*-hpux*)
   13388   # Find out what ABI is being produced by ac_compile, and set mode
   13389   # options accordingly.
   13390   echo 'int i;' > conftest.$ac_ext
   13391   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13392   (eval $ac_compile) 2>&5
   13393   ac_status=$?
   13394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13395   test $ac_status = 0; }; then
   13396     case `/usr/bin/file conftest.$ac_objext` in
   13397       *ELF-32*)
   13398 	HPUX_IA64_MODE=32
   13399 	;;
   13400       *ELF-64*)
   13401 	HPUX_IA64_MODE=64
   13402 	;;
   13403     esac
   13404   fi
   13405   rm -rf conftest*
   13406   ;;
   13407 *-*-irix6*)
   13408   # Find out what ABI is being produced by ac_compile, and set linker
   13409   # options accordingly.
   13410   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13411   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13412   (eval $ac_compile) 2>&5
   13413   ac_status=$?
   13414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13415   test $ac_status = 0; }; then
   13416     if test yes = "$lt_cv_prog_gnu_ld"; then
   13417       case `/usr/bin/file conftest.$ac_objext` in
   13418 	*32-bit*)
   13419 	  LD="${LD-ld} -melf32bsmip"
   13420 	  ;;
   13421 	*N32*)
   13422 	  LD="${LD-ld} -melf32bmipn32"
   13423 	  ;;
   13424 	*64-bit*)
   13425 	  LD="${LD-ld} -melf64bmip"
   13426 	;;
   13427       esac
   13428     else
   13429       case `/usr/bin/file conftest.$ac_objext` in
   13430 	*32-bit*)
   13431 	  LD="${LD-ld} -32"
   13432 	  ;;
   13433 	*N32*)
   13434 	  LD="${LD-ld} -n32"
   13435 	  ;;
   13436 	*64-bit*)
   13437 	  LD="${LD-ld} -64"
   13438 	  ;;
   13439       esac
   13440     fi
   13441   fi
   13442   rm -rf conftest*
   13443   ;;
   13444 
   13445 mips64*-*linux*)
   13446   # Find out what ABI is being produced by ac_compile, and set linker
   13447   # options accordingly.
   13448   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13449   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13450   (eval $ac_compile) 2>&5
   13451   ac_status=$?
   13452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13453   test $ac_status = 0; }; then
   13454     emul=elf
   13455     case `/usr/bin/file conftest.$ac_objext` in
   13456       *32-bit*)
   13457 	emul="${emul}32"
   13458 	;;
   13459       *64-bit*)
   13460 	emul="${emul}64"
   13461 	;;
   13462     esac
   13463     case `/usr/bin/file conftest.$ac_objext` in
   13464       *MSB*)
   13465 	emul="${emul}btsmip"
   13466 	;;
   13467       *LSB*)
   13468 	emul="${emul}ltsmip"
   13469 	;;
   13470     esac
   13471     case `/usr/bin/file conftest.$ac_objext` in
   13472       *N32*)
   13473 	emul="${emul}n32"
   13474 	;;
   13475     esac
   13476     LD="${LD-ld} -m $emul"
   13477   fi
   13478   rm -rf conftest*
   13479   ;;
   13480 
   13481 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13482 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13483   # Find out what ABI is being produced by ac_compile, and set linker
   13484   # options accordingly.  Note that the listed cases only cover the
   13485   # situations where additional linker options are needed (such as when
   13486   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13487   # vice versa); the common cases where no linker options are needed do
   13488   # not appear in the list.
   13489   echo 'int i;' > conftest.$ac_ext
   13490   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13491   (eval $ac_compile) 2>&5
   13492   ac_status=$?
   13493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13494   test $ac_status = 0; }; then
   13495     case `/usr/bin/file conftest.o` in
   13496       *32-bit*)
   13497 	case $host in
   13498 	  x86_64-*kfreebsd*-gnu)
   13499 	    LD="${LD-ld} -m elf_i386_fbsd"
   13500 	    ;;
   13501 	  x86_64-*linux*)
   13502 	    case `/usr/bin/file conftest.o` in
   13503 	      *x86-64*)
   13504 		LD="${LD-ld} -m elf32_x86_64"
   13505 		;;
   13506 	      *)
   13507 		LD="${LD-ld} -m elf_i386"
   13508 		;;
   13509 	    esac
   13510 	    ;;
   13511 	  powerpc64le-*linux*)
   13512 	    LD="${LD-ld} -m elf32lppclinux"
   13513 	    ;;
   13514 	  powerpc64-*linux*)
   13515 	    LD="${LD-ld} -m elf32ppclinux"
   13516 	    ;;
   13517 	  s390x-*linux*)
   13518 	    LD="${LD-ld} -m elf_s390"
   13519 	    ;;
   13520 	  sparc64-*linux*)
   13521 	    LD="${LD-ld} -m elf32_sparc"
   13522 	    ;;
   13523 	esac
   13524 	;;
   13525       *64-bit*)
   13526 	case $host in
   13527 	  x86_64-*kfreebsd*-gnu)
   13528 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13529 	    ;;
   13530 	  x86_64-*linux*)
   13531 	    LD="${LD-ld} -m elf_x86_64"
   13532 	    ;;
   13533 	  powerpcle-*linux*)
   13534 	    LD="${LD-ld} -m elf64lppc"
   13535 	    ;;
   13536 	  powerpc-*linux*)
   13537 	    LD="${LD-ld} -m elf64ppc"
   13538 	    ;;
   13539 	  s390*-*linux*|s390*-*tpf*)
   13540 	    LD="${LD-ld} -m elf64_s390"
   13541 	    ;;
   13542 	  sparc*-*linux*)
   13543 	    LD="${LD-ld} -m elf64_sparc"
   13544 	    ;;
   13545 	esac
   13546 	;;
   13547     esac
   13548   fi
   13549   rm -rf conftest*
   13550   ;;
   13551 
   13552 *-*-sco3.2v5*)
   13553   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13554   SAVE_CFLAGS=$CFLAGS
   13555   CFLAGS="$CFLAGS -belf"
   13556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13557 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13558 if ${lt_cv_cc_needs_belf+:} false; then :
   13559   $as_echo_n "(cached) " >&6
   13560 else
   13561   ac_ext=c
   13562 ac_cpp='$CPP $CPPFLAGS'
   13563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13566 
   13567      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13568 /* end confdefs.h.  */
   13569 
   13570 int
   13571 main ()
   13572 {
   13573 
   13574   ;
   13575   return 0;
   13576 }
   13577 _ACEOF
   13578 if ac_fn_c_try_link "$LINENO"; then :
   13579   lt_cv_cc_needs_belf=yes
   13580 else
   13581   lt_cv_cc_needs_belf=no
   13582 fi
   13583 rm -f core conftest.err conftest.$ac_objext \
   13584     conftest$ac_exeext conftest.$ac_ext
   13585      ac_ext=c
   13586 ac_cpp='$CPP $CPPFLAGS'
   13587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13590 
   13591 fi
   13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13593 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13594   if test yes != "$lt_cv_cc_needs_belf"; then
   13595     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13596     CFLAGS=$SAVE_CFLAGS
   13597   fi
   13598   ;;
   13599 *-*solaris*)
   13600   # Find out what ABI is being produced by ac_compile, and set linker
   13601   # options accordingly.
   13602   echo 'int i;' > conftest.$ac_ext
   13603   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13604   (eval $ac_compile) 2>&5
   13605   ac_status=$?
   13606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13607   test $ac_status = 0; }; then
   13608     case `/usr/bin/file conftest.o` in
   13609     *64-bit*)
   13610       case $lt_cv_prog_gnu_ld in
   13611       yes*)
   13612         case $host in
   13613         i?86-*-solaris*|x86_64-*-solaris*)
   13614           LD="${LD-ld} -m elf_x86_64"
   13615           ;;
   13616         sparc*-*-solaris*)
   13617           LD="${LD-ld} -m elf64_sparc"
   13618           ;;
   13619         esac
   13620         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13621         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13622           LD=${LD-ld}_sol2
   13623         fi
   13624         ;;
   13625       *)
   13626 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13627 	  LD="${LD-ld} -64"
   13628 	fi
   13629 	;;
   13630       esac
   13631       ;;
   13632     esac
   13633   fi
   13634   rm -rf conftest*
   13635   ;;
   13636 esac
   13637 
   13638 need_locks=$enable_libtool_lock
   13639 
   13640 if test -n "$ac_tool_prefix"; then
   13641   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13642 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13644 $as_echo_n "checking for $ac_word... " >&6; }
   13645 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13646   $as_echo_n "(cached) " >&6
   13647 else
   13648   if test -n "$MANIFEST_TOOL"; then
   13649   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13650 else
   13651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13652 for as_dir in $PATH
   13653 do
   13654   IFS=$as_save_IFS
   13655   test -z "$as_dir" && as_dir=.
   13656     for ac_exec_ext in '' $ac_executable_extensions; do
   13657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13658     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13660     break 2
   13661   fi
   13662 done
   13663   done
   13664 IFS=$as_save_IFS
   13665 
   13666 fi
   13667 fi
   13668 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13669 if test -n "$MANIFEST_TOOL"; then
   13670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13671 $as_echo "$MANIFEST_TOOL" >&6; }
   13672 else
   13673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13674 $as_echo "no" >&6; }
   13675 fi
   13676 
   13677 
   13678 fi
   13679 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13680   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13681   # Extract the first word of "mt", so it can be a program name with args.
   13682 set dummy mt; ac_word=$2
   13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13684 $as_echo_n "checking for $ac_word... " >&6; }
   13685 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13686   $as_echo_n "(cached) " >&6
   13687 else
   13688   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13689   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13690 else
   13691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13692 for as_dir in $PATH
   13693 do
   13694   IFS=$as_save_IFS
   13695   test -z "$as_dir" && as_dir=.
   13696     for ac_exec_ext in '' $ac_executable_extensions; do
   13697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13698     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13700     break 2
   13701   fi
   13702 done
   13703   done
   13704 IFS=$as_save_IFS
   13705 
   13706 fi
   13707 fi
   13708 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13709 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13711 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13712 else
   13713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13714 $as_echo "no" >&6; }
   13715 fi
   13716 
   13717   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13718     MANIFEST_TOOL=":"
   13719   else
   13720     case $cross_compiling:$ac_tool_warned in
   13721 yes:)
   13722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13724 ac_tool_warned=yes ;;
   13725 esac
   13726     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13727   fi
   13728 else
   13729   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13730 fi
   13731 
   13732 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13734 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13735 if ${lt_cv_path_mainfest_tool+:} false; then :
   13736   $as_echo_n "(cached) " >&6
   13737 else
   13738   lt_cv_path_mainfest_tool=no
   13739   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13740   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13741   cat conftest.err >&5
   13742   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13743     lt_cv_path_mainfest_tool=yes
   13744   fi
   13745   rm -f conftest*
   13746 fi
   13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13748 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13749 if test yes != "$lt_cv_path_mainfest_tool"; then
   13750   MANIFEST_TOOL=:
   13751 fi
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758   case $host_os in
   13759     rhapsody* | darwin*)
   13760     if test -n "$ac_tool_prefix"; then
   13761   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13762 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13764 $as_echo_n "checking for $ac_word... " >&6; }
   13765 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13766   $as_echo_n "(cached) " >&6
   13767 else
   13768   if test -n "$DSYMUTIL"; then
   13769   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13770 else
   13771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13772 for as_dir in $PATH
   13773 do
   13774   IFS=$as_save_IFS
   13775   test -z "$as_dir" && as_dir=.
   13776     for ac_exec_ext in '' $ac_executable_extensions; do
   13777   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13778     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13780     break 2
   13781   fi
   13782 done
   13783   done
   13784 IFS=$as_save_IFS
   13785 
   13786 fi
   13787 fi
   13788 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13789 if test -n "$DSYMUTIL"; then
   13790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13791 $as_echo "$DSYMUTIL" >&6; }
   13792 else
   13793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13794 $as_echo "no" >&6; }
   13795 fi
   13796 
   13797 
   13798 fi
   13799 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13800   ac_ct_DSYMUTIL=$DSYMUTIL
   13801   # Extract the first word of "dsymutil", so it can be a program name with args.
   13802 set dummy dsymutil; ac_word=$2
   13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13804 $as_echo_n "checking for $ac_word... " >&6; }
   13805 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13806   $as_echo_n "(cached) " >&6
   13807 else
   13808   if test -n "$ac_ct_DSYMUTIL"; then
   13809   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13810 else
   13811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13812 for as_dir in $PATH
   13813 do
   13814   IFS=$as_save_IFS
   13815   test -z "$as_dir" && as_dir=.
   13816     for ac_exec_ext in '' $ac_executable_extensions; do
   13817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13818     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13820     break 2
   13821   fi
   13822 done
   13823   done
   13824 IFS=$as_save_IFS
   13825 
   13826 fi
   13827 fi
   13828 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13829 if test -n "$ac_ct_DSYMUTIL"; then
   13830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13831 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13832 else
   13833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13834 $as_echo "no" >&6; }
   13835 fi
   13836 
   13837   if test "x$ac_ct_DSYMUTIL" = x; then
   13838     DSYMUTIL=":"
   13839   else
   13840     case $cross_compiling:$ac_tool_warned in
   13841 yes:)
   13842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13844 ac_tool_warned=yes ;;
   13845 esac
   13846     DSYMUTIL=$ac_ct_DSYMUTIL
   13847   fi
   13848 else
   13849   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13850 fi
   13851 
   13852     if test -n "$ac_tool_prefix"; then
   13853   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13854 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13856 $as_echo_n "checking for $ac_word... " >&6; }
   13857 if ${ac_cv_prog_NMEDIT+:} false; then :
   13858   $as_echo_n "(cached) " >&6
   13859 else
   13860   if test -n "$NMEDIT"; then
   13861   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13862 else
   13863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13864 for as_dir in $PATH
   13865 do
   13866   IFS=$as_save_IFS
   13867   test -z "$as_dir" && as_dir=.
   13868     for ac_exec_ext in '' $ac_executable_extensions; do
   13869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13870     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13872     break 2
   13873   fi
   13874 done
   13875   done
   13876 IFS=$as_save_IFS
   13877 
   13878 fi
   13879 fi
   13880 NMEDIT=$ac_cv_prog_NMEDIT
   13881 if test -n "$NMEDIT"; then
   13882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13883 $as_echo "$NMEDIT" >&6; }
   13884 else
   13885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13886 $as_echo "no" >&6; }
   13887 fi
   13888 
   13889 
   13890 fi
   13891 if test -z "$ac_cv_prog_NMEDIT"; then
   13892   ac_ct_NMEDIT=$NMEDIT
   13893   # Extract the first word of "nmedit", so it can be a program name with args.
   13894 set dummy nmedit; ac_word=$2
   13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13896 $as_echo_n "checking for $ac_word... " >&6; }
   13897 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13898   $as_echo_n "(cached) " >&6
   13899 else
   13900   if test -n "$ac_ct_NMEDIT"; then
   13901   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13902 else
   13903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13904 for as_dir in $PATH
   13905 do
   13906   IFS=$as_save_IFS
   13907   test -z "$as_dir" && as_dir=.
   13908     for ac_exec_ext in '' $ac_executable_extensions; do
   13909   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13910     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13912     break 2
   13913   fi
   13914 done
   13915   done
   13916 IFS=$as_save_IFS
   13917 
   13918 fi
   13919 fi
   13920 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13921 if test -n "$ac_ct_NMEDIT"; then
   13922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13923 $as_echo "$ac_ct_NMEDIT" >&6; }
   13924 else
   13925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13926 $as_echo "no" >&6; }
   13927 fi
   13928 
   13929   if test "x$ac_ct_NMEDIT" = x; then
   13930     NMEDIT=":"
   13931   else
   13932     case $cross_compiling:$ac_tool_warned in
   13933 yes:)
   13934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13936 ac_tool_warned=yes ;;
   13937 esac
   13938     NMEDIT=$ac_ct_NMEDIT
   13939   fi
   13940 else
   13941   NMEDIT="$ac_cv_prog_NMEDIT"
   13942 fi
   13943 
   13944     if test -n "$ac_tool_prefix"; then
   13945   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13946 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13948 $as_echo_n "checking for $ac_word... " >&6; }
   13949 if ${ac_cv_prog_LIPO+:} false; then :
   13950   $as_echo_n "(cached) " >&6
   13951 else
   13952   if test -n "$LIPO"; then
   13953   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13954 else
   13955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13956 for as_dir in $PATH
   13957 do
   13958   IFS=$as_save_IFS
   13959   test -z "$as_dir" && as_dir=.
   13960     for ac_exec_ext in '' $ac_executable_extensions; do
   13961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13962     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13964     break 2
   13965   fi
   13966 done
   13967   done
   13968 IFS=$as_save_IFS
   13969 
   13970 fi
   13971 fi
   13972 LIPO=$ac_cv_prog_LIPO
   13973 if test -n "$LIPO"; then
   13974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13975 $as_echo "$LIPO" >&6; }
   13976 else
   13977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13978 $as_echo "no" >&6; }
   13979 fi
   13980 
   13981 
   13982 fi
   13983 if test -z "$ac_cv_prog_LIPO"; then
   13984   ac_ct_LIPO=$LIPO
   13985   # Extract the first word of "lipo", so it can be a program name with args.
   13986 set dummy lipo; ac_word=$2
   13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13988 $as_echo_n "checking for $ac_word... " >&6; }
   13989 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13990   $as_echo_n "(cached) " >&6
   13991 else
   13992   if test -n "$ac_ct_LIPO"; then
   13993   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13994 else
   13995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13996 for as_dir in $PATH
   13997 do
   13998   IFS=$as_save_IFS
   13999   test -z "$as_dir" && as_dir=.
   14000     for ac_exec_ext in '' $ac_executable_extensions; do
   14001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14002     ac_cv_prog_ac_ct_LIPO="lipo"
   14003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14004     break 2
   14005   fi
   14006 done
   14007   done
   14008 IFS=$as_save_IFS
   14009 
   14010 fi
   14011 fi
   14012 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14013 if test -n "$ac_ct_LIPO"; then
   14014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14015 $as_echo "$ac_ct_LIPO" >&6; }
   14016 else
   14017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14018 $as_echo "no" >&6; }
   14019 fi
   14020 
   14021   if test "x$ac_ct_LIPO" = x; then
   14022     LIPO=":"
   14023   else
   14024     case $cross_compiling:$ac_tool_warned in
   14025 yes:)
   14026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14028 ac_tool_warned=yes ;;
   14029 esac
   14030     LIPO=$ac_ct_LIPO
   14031   fi
   14032 else
   14033   LIPO="$ac_cv_prog_LIPO"
   14034 fi
   14035 
   14036     if test -n "$ac_tool_prefix"; then
   14037   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14038 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14040 $as_echo_n "checking for $ac_word... " >&6; }
   14041 if ${ac_cv_prog_OTOOL+:} false; then :
   14042   $as_echo_n "(cached) " >&6
   14043 else
   14044   if test -n "$OTOOL"; then
   14045   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14046 else
   14047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14048 for as_dir in $PATH
   14049 do
   14050   IFS=$as_save_IFS
   14051   test -z "$as_dir" && as_dir=.
   14052     for ac_exec_ext in '' $ac_executable_extensions; do
   14053   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14054     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14056     break 2
   14057   fi
   14058 done
   14059   done
   14060 IFS=$as_save_IFS
   14061 
   14062 fi
   14063 fi
   14064 OTOOL=$ac_cv_prog_OTOOL
   14065 if test -n "$OTOOL"; then
   14066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14067 $as_echo "$OTOOL" >&6; }
   14068 else
   14069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14070 $as_echo "no" >&6; }
   14071 fi
   14072 
   14073 
   14074 fi
   14075 if test -z "$ac_cv_prog_OTOOL"; then
   14076   ac_ct_OTOOL=$OTOOL
   14077   # Extract the first word of "otool", so it can be a program name with args.
   14078 set dummy otool; ac_word=$2
   14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14080 $as_echo_n "checking for $ac_word... " >&6; }
   14081 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   14082   $as_echo_n "(cached) " >&6
   14083 else
   14084   if test -n "$ac_ct_OTOOL"; then
   14085   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   14086 else
   14087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14088 for as_dir in $PATH
   14089 do
   14090   IFS=$as_save_IFS
   14091   test -z "$as_dir" && as_dir=.
   14092     for ac_exec_ext in '' $ac_executable_extensions; do
   14093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14094     ac_cv_prog_ac_ct_OTOOL="otool"
   14095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14096     break 2
   14097   fi
   14098 done
   14099   done
   14100 IFS=$as_save_IFS
   14101 
   14102 fi
   14103 fi
   14104 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   14105 if test -n "$ac_ct_OTOOL"; then
   14106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   14107 $as_echo "$ac_ct_OTOOL" >&6; }
   14108 else
   14109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14110 $as_echo "no" >&6; }
   14111 fi
   14112 
   14113   if test "x$ac_ct_OTOOL" = x; then
   14114     OTOOL=":"
   14115   else
   14116     case $cross_compiling:$ac_tool_warned in
   14117 yes:)
   14118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14120 ac_tool_warned=yes ;;
   14121 esac
   14122     OTOOL=$ac_ct_OTOOL
   14123   fi
   14124 else
   14125   OTOOL="$ac_cv_prog_OTOOL"
   14126 fi
   14127 
   14128     if test -n "$ac_tool_prefix"; then
   14129   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   14130 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14132 $as_echo_n "checking for $ac_word... " >&6; }
   14133 if ${ac_cv_prog_OTOOL64+:} false; then :
   14134   $as_echo_n "(cached) " >&6
   14135 else
   14136   if test -n "$OTOOL64"; then
   14137   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   14138 else
   14139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14140 for as_dir in $PATH
   14141 do
   14142   IFS=$as_save_IFS
   14143   test -z "$as_dir" && as_dir=.
   14144     for ac_exec_ext in '' $ac_executable_extensions; do
   14145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14146     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   14147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14148     break 2
   14149   fi
   14150 done
   14151   done
   14152 IFS=$as_save_IFS
   14153 
   14154 fi
   14155 fi
   14156 OTOOL64=$ac_cv_prog_OTOOL64
   14157 if test -n "$OTOOL64"; then
   14158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   14159 $as_echo "$OTOOL64" >&6; }
   14160 else
   14161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14162 $as_echo "no" >&6; }
   14163 fi
   14164 
   14165 
   14166 fi
   14167 if test -z "$ac_cv_prog_OTOOL64"; then
   14168   ac_ct_OTOOL64=$OTOOL64
   14169   # Extract the first word of "otool64", so it can be a program name with args.
   14170 set dummy otool64; ac_word=$2
   14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14172 $as_echo_n "checking for $ac_word... " >&6; }
   14173 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   14174   $as_echo_n "(cached) " >&6
   14175 else
   14176   if test -n "$ac_ct_OTOOL64"; then
   14177   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   14178 else
   14179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14180 for as_dir in $PATH
   14181 do
   14182   IFS=$as_save_IFS
   14183   test -z "$as_dir" && as_dir=.
   14184     for ac_exec_ext in '' $ac_executable_extensions; do
   14185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14186     ac_cv_prog_ac_ct_OTOOL64="otool64"
   14187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14188     break 2
   14189   fi
   14190 done
   14191   done
   14192 IFS=$as_save_IFS
   14193 
   14194 fi
   14195 fi
   14196 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   14197 if test -n "$ac_ct_OTOOL64"; then
   14198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   14199 $as_echo "$ac_ct_OTOOL64" >&6; }
   14200 else
   14201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14202 $as_echo "no" >&6; }
   14203 fi
   14204 
   14205   if test "x$ac_ct_OTOOL64" = x; then
   14206     OTOOL64=":"
   14207   else
   14208     case $cross_compiling:$ac_tool_warned in
   14209 yes:)
   14210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14212 ac_tool_warned=yes ;;
   14213 esac
   14214     OTOOL64=$ac_ct_OTOOL64
   14215   fi
   14216 else
   14217   OTOOL64="$ac_cv_prog_OTOOL64"
   14218 fi
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 
   14246     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14247 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14248 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14249   $as_echo_n "(cached) " >&6
   14250 else
   14251   lt_cv_apple_cc_single_mod=no
   14252       if test -z "$LT_MULTI_MODULE"; then
   14253 	# By default we will add the -single_module flag. You can override
   14254 	# by either setting the environment variable LT_MULTI_MODULE
   14255 	# non-empty at configure time, or by adding -multi_module to the
   14256 	# link flags.
   14257 	rm -rf libconftest.dylib*
   14258 	echo "int foo(void){return 1;}" > conftest.c
   14259 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14260 -dynamiclib -Wl,-single_module conftest.c" >&5
   14261 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14262 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14263         _lt_result=$?
   14264 	# If there is a non-empty error log, and "single_module"
   14265 	# appears in it, assume the flag caused a linker warning
   14266         if test -s conftest.err && $GREP single_module conftest.err; then
   14267 	  cat conftest.err >&5
   14268 	# Otherwise, if the output was created with a 0 exit code from
   14269 	# the compiler, it worked.
   14270 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14271 	  lt_cv_apple_cc_single_mod=yes
   14272 	else
   14273 	  cat conftest.err >&5
   14274 	fi
   14275 	rm -rf libconftest.dylib*
   14276 	rm -f conftest.*
   14277       fi
   14278 fi
   14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14280 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14281 
   14282     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14283 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14284 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14285   $as_echo_n "(cached) " >&6
   14286 else
   14287   lt_cv_ld_exported_symbols_list=no
   14288       save_LDFLAGS=$LDFLAGS
   14289       echo "_main" > conftest.sym
   14290       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14292 /* end confdefs.h.  */
   14293 
   14294 int
   14295 main ()
   14296 {
   14297 
   14298   ;
   14299   return 0;
   14300 }
   14301 _ACEOF
   14302 if ac_fn_c_try_link "$LINENO"; then :
   14303   lt_cv_ld_exported_symbols_list=yes
   14304 else
   14305   lt_cv_ld_exported_symbols_list=no
   14306 fi
   14307 rm -f core conftest.err conftest.$ac_objext \
   14308     conftest$ac_exeext conftest.$ac_ext
   14309 	LDFLAGS=$save_LDFLAGS
   14310 
   14311 fi
   14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14313 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14314 
   14315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14316 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14317 if ${lt_cv_ld_force_load+:} false; then :
   14318   $as_echo_n "(cached) " >&6
   14319 else
   14320   lt_cv_ld_force_load=no
   14321       cat > conftest.c << _LT_EOF
   14322 int forced_loaded() { return 2;}
   14323 _LT_EOF
   14324       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14325       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14326       echo "$AR cru libconftest.a conftest.o" >&5
   14327       $AR cru libconftest.a conftest.o 2>&5
   14328       echo "$RANLIB libconftest.a" >&5
   14329       $RANLIB libconftest.a 2>&5
   14330       cat > conftest.c << _LT_EOF
   14331 int main() { return 0;}
   14332 _LT_EOF
   14333       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14334       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14335       _lt_result=$?
   14336       if test -s conftest.err && $GREP force_load conftest.err; then
   14337 	cat conftest.err >&5
   14338       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14339 	lt_cv_ld_force_load=yes
   14340       else
   14341 	cat conftest.err >&5
   14342       fi
   14343         rm -f conftest.err libconftest.a conftest conftest.c
   14344         rm -rf conftest.dSYM
   14345 
   14346 fi
   14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14348 $as_echo "$lt_cv_ld_force_load" >&6; }
   14349     case $host_os in
   14350     rhapsody* | darwin1.[012])
   14351       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14352     darwin1.*)
   14353       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14354     darwin*) # darwin 5.x on
   14355       # if running on 10.5 or later, the deployment target defaults
   14356       # to the OS version, if on x86, and 10.4, the deployment
   14357       # target defaults to 10.4. Don't you love it?
   14358       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14359 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14360 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14361 	10.[012][,.]*)
   14362 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14363 	10.*)
   14364 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14365       esac
   14366     ;;
   14367   esac
   14368     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14369       _lt_dar_single_mod='$single_module'
   14370     fi
   14371     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14372       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14373     else
   14374       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14375     fi
   14376     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14377       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14378     else
   14379       _lt_dsymutil=
   14380     fi
   14381     ;;
   14382   esac
   14383 
   14384 # func_munge_path_list VARIABLE PATH
   14385 # -----------------------------------
   14386 # VARIABLE is name of variable containing _space_ separated list of
   14387 # directories to be munged by the contents of PATH, which is string
   14388 # having a format:
   14389 # "DIR[:DIR]:"
   14390 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14391 # ":DIR[:DIR]"
   14392 #       string "DIR[ DIR]" will be appended to VARIABLE
   14393 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14394 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14395 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14396 # "DIR[:DIR]"
   14397 #       VARIABLE will be replaced by "DIR[ DIR]"
   14398 func_munge_path_list ()
   14399 {
   14400     case x$2 in
   14401     x)
   14402         ;;
   14403     *:)
   14404         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14405         ;;
   14406     x:*)
   14407         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14408         ;;
   14409     *::*)
   14410         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14411         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14412         ;;
   14413     *)
   14414         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14415         ;;
   14416     esac
   14417 }
   14418 
   14419 for ac_header in dlfcn.h
   14420 do :
   14421   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14422 "
   14423 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14424   cat >>confdefs.h <<_ACEOF
   14425 #define HAVE_DLFCN_H 1
   14426 _ACEOF
   14427 
   14428 fi
   14429 
   14430 done
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 # Set options
   14437 
   14438 
   14439 
   14440         enable_dlopen=no
   14441 
   14442 
   14443   enable_win32_dll=no
   14444 
   14445 
   14446             # Check whether --enable-shared was given.
   14447 if test "${enable_shared+set}" = set; then :
   14448   enableval=$enable_shared; p=${PACKAGE-default}
   14449     case $enableval in
   14450     yes) enable_shared=yes ;;
   14451     no) enable_shared=no ;;
   14452     *)
   14453       enable_shared=no
   14454       # Look at the argument we got.  We use all the common list separators.
   14455       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14456       for pkg in $enableval; do
   14457 	IFS=$lt_save_ifs
   14458 	if test "X$pkg" = "X$p"; then
   14459 	  enable_shared=yes
   14460 	fi
   14461       done
   14462       IFS=$lt_save_ifs
   14463       ;;
   14464     esac
   14465 else
   14466   enable_shared=yes
   14467 fi
   14468 
   14469 
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 # Check whether --with-pic was given.
   14480 if test "${with_pic+set}" = set; then :
   14481   withval=$with_pic; lt_p=${PACKAGE-default}
   14482     case $withval in
   14483     yes|no) pic_mode=$withval ;;
   14484     *)
   14485       pic_mode=default
   14486       # Look at the argument we got.  We use all the common list separators.
   14487       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14488       for lt_pkg in $withval; do
   14489 	IFS=$lt_save_ifs
   14490 	if test "X$lt_pkg" = "X$lt_p"; then
   14491 	  pic_mode=yes
   14492 	fi
   14493       done
   14494       IFS=$lt_save_ifs
   14495       ;;
   14496     esac
   14497 else
   14498   pic_mode=default
   14499 fi
   14500 
   14501 
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 
   14508   # Check whether --enable-fast-install was given.
   14509 if test "${enable_fast_install+set}" = set; then :
   14510   enableval=$enable_fast_install; p=${PACKAGE-default}
   14511     case $enableval in
   14512     yes) enable_fast_install=yes ;;
   14513     no) enable_fast_install=no ;;
   14514     *)
   14515       enable_fast_install=no
   14516       # Look at the argument we got.  We use all the common list separators.
   14517       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14518       for pkg in $enableval; do
   14519 	IFS=$lt_save_ifs
   14520 	if test "X$pkg" = "X$p"; then
   14521 	  enable_fast_install=yes
   14522 	fi
   14523       done
   14524       IFS=$lt_save_ifs
   14525       ;;
   14526     esac
   14527 else
   14528   enable_fast_install=yes
   14529 fi
   14530 
   14531 
   14532 
   14533 
   14534 
   14535 
   14536 
   14537 
   14538   shared_archive_member_spec=
   14539 case $host,$enable_shared in
   14540 power*-*-aix[5-9]*,yes)
   14541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14542 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14543 
   14544 # Check whether --with-aix-soname was given.
   14545 if test "${with_aix_soname+set}" = set; then :
   14546   withval=$with_aix_soname; case $withval in
   14547     aix|svr4|both)
   14548       ;;
   14549     *)
   14550       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14551       ;;
   14552     esac
   14553     lt_cv_with_aix_soname=$with_aix_soname
   14554 else
   14555   if ${lt_cv_with_aix_soname+:} false; then :
   14556   $as_echo_n "(cached) " >&6
   14557 else
   14558   lt_cv_with_aix_soname=aix
   14559 fi
   14560 
   14561     with_aix_soname=$lt_cv_with_aix_soname
   14562 fi
   14563 
   14564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14565 $as_echo "$with_aix_soname" >&6; }
   14566   if test aix != "$with_aix_soname"; then
   14567     # For the AIX way of multilib, we name the shared archive member
   14568     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14569     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14570     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14571     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14572     if test 64 = "${OBJECT_MODE-32}"; then
   14573       shared_archive_member_spec=shr_64
   14574     else
   14575       shared_archive_member_spec=shr
   14576     fi
   14577   fi
   14578   ;;
   14579 *)
   14580   with_aix_soname=aix
   14581   ;;
   14582 esac
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 # This can be used to rebuild libtool when needed
   14594 LIBTOOL_DEPS=$ltmain
   14595 
   14596 # Always use our own libtool.
   14597 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 
   14604 
   14605 
   14606 
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 test -z "$LN_S" && LN_S="ln -s"
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 
   14639 
   14640 
   14641 
   14642 
   14643 if test -n "${ZSH_VERSION+set}"; then
   14644    setopt NO_GLOB_SUBST
   14645 fi
   14646 
   14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14648 $as_echo_n "checking for objdir... " >&6; }
   14649 if ${lt_cv_objdir+:} false; then :
   14650   $as_echo_n "(cached) " >&6
   14651 else
   14652   rm -f .libs 2>/dev/null
   14653 mkdir .libs 2>/dev/null
   14654 if test -d .libs; then
   14655   lt_cv_objdir=.libs
   14656 else
   14657   # MS-DOS does not allow filenames that begin with a dot.
   14658   lt_cv_objdir=_libs
   14659 fi
   14660 rmdir .libs 2>/dev/null
   14661 fi
   14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14663 $as_echo "$lt_cv_objdir" >&6; }
   14664 objdir=$lt_cv_objdir
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 cat >>confdefs.h <<_ACEOF
   14671 #define LT_OBJDIR "$lt_cv_objdir/"
   14672 _ACEOF
   14673 
   14674 
   14675 
   14676 
   14677 case $host_os in
   14678 aix3*)
   14679   # AIX sometimes has problems with the GCC collect2 program.  For some
   14680   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14681   # vanish in a puff of smoke.
   14682   if test set != "${COLLECT_NAMES+set}"; then
   14683     COLLECT_NAMES=
   14684     export COLLECT_NAMES
   14685   fi
   14686   ;;
   14687 esac
   14688 
   14689 # Global variables:
   14690 ofile=libtool
   14691 can_build_shared=yes
   14692 
   14693 # All known linkers require a '.a' archive for static linking (except MSVC,
   14694 # which needs '.lib').
   14695 libext=a
   14696 
   14697 with_gnu_ld=$lt_cv_prog_gnu_ld
   14698 
   14699 old_CC=$CC
   14700 old_CFLAGS=$CFLAGS
   14701 
   14702 # Set sane defaults for various variables
   14703 test -z "$CC" && CC=cc
   14704 test -z "$LTCC" && LTCC=$CC
   14705 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14706 test -z "$LD" && LD=ld
   14707 test -z "$ac_objext" && ac_objext=o
   14708 
   14709 func_cc_basename $compiler
   14710 cc_basename=$func_cc_basename_result
   14711 
   14712 
   14713 # Only perform the check for file, if the check method requires it
   14714 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14715 case $deplibs_check_method in
   14716 file_magic*)
   14717   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14719 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14720 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14721   $as_echo_n "(cached) " >&6
   14722 else
   14723   case $MAGIC_CMD in
   14724 [\\/*] |  ?:[\\/]*)
   14725   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14726   ;;
   14727 *)
   14728   lt_save_MAGIC_CMD=$MAGIC_CMD
   14729   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14730   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14731   for ac_dir in $ac_dummy; do
   14732     IFS=$lt_save_ifs
   14733     test -z "$ac_dir" && ac_dir=.
   14734     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14735       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14736       if test -n "$file_magic_test_file"; then
   14737 	case $deplibs_check_method in
   14738 	"file_magic "*)
   14739 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14740 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14741 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14742 	    $EGREP "$file_magic_regex" > /dev/null; then
   14743 	    :
   14744 	  else
   14745 	    cat <<_LT_EOF 1>&2
   14746 
   14747 *** Warning: the command libtool uses to detect shared libraries,
   14748 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14749 *** The result is that libtool may fail to recognize shared libraries
   14750 *** as such.  This will affect the creation of libtool libraries that
   14751 *** depend on shared libraries, but programs linked with such libtool
   14752 *** libraries will work regardless of this problem.  Nevertheless, you
   14753 *** may want to report the problem to your system manager and/or to
   14754 *** bug-libtool (at] gnu.org
   14755 
   14756 _LT_EOF
   14757 	  fi ;;
   14758 	esac
   14759       fi
   14760       break
   14761     fi
   14762   done
   14763   IFS=$lt_save_ifs
   14764   MAGIC_CMD=$lt_save_MAGIC_CMD
   14765   ;;
   14766 esac
   14767 fi
   14768 
   14769 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14770 if test -n "$MAGIC_CMD"; then
   14771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14772 $as_echo "$MAGIC_CMD" >&6; }
   14773 else
   14774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14775 $as_echo "no" >&6; }
   14776 fi
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14783   if test -n "$ac_tool_prefix"; then
   14784     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14785 $as_echo_n "checking for file... " >&6; }
   14786 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14787   $as_echo_n "(cached) " >&6
   14788 else
   14789   case $MAGIC_CMD in
   14790 [\\/*] |  ?:[\\/]*)
   14791   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14792   ;;
   14793 *)
   14794   lt_save_MAGIC_CMD=$MAGIC_CMD
   14795   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14796   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14797   for ac_dir in $ac_dummy; do
   14798     IFS=$lt_save_ifs
   14799     test -z "$ac_dir" && ac_dir=.
   14800     if test -f "$ac_dir/file"; then
   14801       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14802       if test -n "$file_magic_test_file"; then
   14803 	case $deplibs_check_method in
   14804 	"file_magic "*)
   14805 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14806 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14807 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14808 	    $EGREP "$file_magic_regex" > /dev/null; then
   14809 	    :
   14810 	  else
   14811 	    cat <<_LT_EOF 1>&2
   14812 
   14813 *** Warning: the command libtool uses to detect shared libraries,
   14814 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14815 *** The result is that libtool may fail to recognize shared libraries
   14816 *** as such.  This will affect the creation of libtool libraries that
   14817 *** depend on shared libraries, but programs linked with such libtool
   14818 *** libraries will work regardless of this problem.  Nevertheless, you
   14819 *** may want to report the problem to your system manager and/or to
   14820 *** bug-libtool (at] gnu.org
   14821 
   14822 _LT_EOF
   14823 	  fi ;;
   14824 	esac
   14825       fi
   14826       break
   14827     fi
   14828   done
   14829   IFS=$lt_save_ifs
   14830   MAGIC_CMD=$lt_save_MAGIC_CMD
   14831   ;;
   14832 esac
   14833 fi
   14834 
   14835 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14836 if test -n "$MAGIC_CMD"; then
   14837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14838 $as_echo "$MAGIC_CMD" >&6; }
   14839 else
   14840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14841 $as_echo "no" >&6; }
   14842 fi
   14843 
   14844 
   14845   else
   14846     MAGIC_CMD=:
   14847   fi
   14848 fi
   14849 
   14850   fi
   14851   ;;
   14852 esac
   14853 
   14854 # Use C for the default configuration in the libtool script
   14855 
   14856 lt_save_CC=$CC
   14857 ac_ext=c
   14858 ac_cpp='$CPP $CPPFLAGS'
   14859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14862 
   14863 
   14864 # Source file extension for C test sources.
   14865 ac_ext=c
   14866 
   14867 # Object file extension for compiled C test sources.
   14868 objext=o
   14869 objext=$objext
   14870 
   14871 # Code to be used in simple compile tests
   14872 lt_simple_compile_test_code="int some_variable = 0;"
   14873 
   14874 # Code to be used in simple link tests
   14875 lt_simple_link_test_code='int main(){return(0);}'
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 # If no C compiler was specified, use CC.
   14884 LTCC=${LTCC-"$CC"}
   14885 
   14886 # If no C compiler flags were specified, use CFLAGS.
   14887 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14888 
   14889 # Allow CC to be a program name with arguments.
   14890 compiler=$CC
   14891 
   14892 # Save the default compiler, since it gets overwritten when the other
   14893 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14894 compiler_DEFAULT=$CC
   14895 
   14896 # save warnings/boilerplate of simple test code
   14897 ac_outfile=conftest.$ac_objext
   14898 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14899 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14900 _lt_compiler_boilerplate=`cat conftest.err`
   14901 $RM conftest*
   14902 
   14903 ac_outfile=conftest.$ac_objext
   14904 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14905 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14906 _lt_linker_boilerplate=`cat conftest.err`
   14907 $RM -r conftest*
   14908 
   14909 
   14910 if test -n "$compiler"; then
   14911 
   14912 lt_prog_compiler_no_builtin_flag=
   14913 
   14914 if test yes = "$GCC"; then
   14915   case $cc_basename in
   14916   nvcc*)
   14917     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14918   *)
   14919     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14920   esac
   14921 
   14922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14923 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14924 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14925   $as_echo_n "(cached) " >&6
   14926 else
   14927   lt_cv_prog_compiler_rtti_exceptions=no
   14928    ac_outfile=conftest.$ac_objext
   14929    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14930    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14931    # Insert the option either (1) after the last *FLAGS variable, or
   14932    # (2) before a word containing "conftest.", or (3) at the end.
   14933    # Note that $ac_compile itself does not contain backslashes and begins
   14934    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14935    # The option is referenced via a variable to avoid confusing sed.
   14936    lt_compile=`echo "$ac_compile" | $SED \
   14937    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14938    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14939    -e 's:$: $lt_compiler_flag:'`
   14940    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14941    (eval "$lt_compile" 2>conftest.err)
   14942    ac_status=$?
   14943    cat conftest.err >&5
   14944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14945    if (exit $ac_status) && test -s "$ac_outfile"; then
   14946      # The compiler can only warn and ignore the option if not recognized
   14947      # So say no if there are warnings other than the usual output.
   14948      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14949      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14950      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14951        lt_cv_prog_compiler_rtti_exceptions=yes
   14952      fi
   14953    fi
   14954    $RM conftest*
   14955 
   14956 fi
   14957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14958 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14959 
   14960 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14961     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14962 else
   14963     :
   14964 fi
   14965 
   14966 fi
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 
   14973   lt_prog_compiler_wl=
   14974 lt_prog_compiler_pic=
   14975 lt_prog_compiler_static=
   14976 
   14977 
   14978   if test yes = "$GCC"; then
   14979     lt_prog_compiler_wl='-Wl,'
   14980     lt_prog_compiler_static='-static'
   14981 
   14982     case $host_os in
   14983       aix*)
   14984       # All AIX code is PIC.
   14985       if test ia64 = "$host_cpu"; then
   14986 	# AIX 5 now supports IA64 processor
   14987 	lt_prog_compiler_static='-Bstatic'
   14988       fi
   14989       lt_prog_compiler_pic='-fPIC'
   14990       ;;
   14991 
   14992     amigaos*)
   14993       case $host_cpu in
   14994       powerpc)
   14995             # see comment about AmigaOS4 .so support
   14996             lt_prog_compiler_pic='-fPIC'
   14997         ;;
   14998       m68k)
   14999             # FIXME: we need at least 68020 code to build shared libraries, but
   15000             # adding the '-m68020' flag to GCC prevents building anything better,
   15001             # like '-m68040'.
   15002             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15003         ;;
   15004       esac
   15005       ;;
   15006 
   15007     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15008       # PIC is the default for these OSes.
   15009       ;;
   15010 
   15011     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15012       # This hack is so that the source file can tell whether it is being
   15013       # built for inclusion in a dll (and should export symbols for example).
   15014       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15015       # (--disable-auto-import) libraries
   15016       lt_prog_compiler_pic='-DDLL_EXPORT'
   15017       case $host_os in
   15018       os2*)
   15019 	lt_prog_compiler_static='$wl-static'
   15020 	;;
   15021       esac
   15022       ;;
   15023 
   15024     darwin* | rhapsody*)
   15025       # PIC is the default on this platform
   15026       # Common symbols not allowed in MH_DYLIB files
   15027       lt_prog_compiler_pic='-fno-common'
   15028       ;;
   15029 
   15030     haiku*)
   15031       # PIC is the default for Haiku.
   15032       # The "-static" flag exists, but is broken.
   15033       lt_prog_compiler_static=
   15034       ;;
   15035 
   15036     hpux*)
   15037       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15038       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15039       # sets the default TLS model and affects inlining.
   15040       case $host_cpu in
   15041       hppa*64*)
   15042 	# +Z the default
   15043 	;;
   15044       *)
   15045 	lt_prog_compiler_pic='-fPIC'
   15046 	;;
   15047       esac
   15048       ;;
   15049 
   15050     interix[3-9]*)
   15051       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15052       # Instead, we relocate shared libraries at runtime.
   15053       ;;
   15054 
   15055     msdosdjgpp*)
   15056       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15057       # on systems that don't support them.
   15058       lt_prog_compiler_can_build_shared=no
   15059       enable_shared=no
   15060       ;;
   15061 
   15062     *nto* | *qnx*)
   15063       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15064       # it will coredump.
   15065       lt_prog_compiler_pic='-fPIC -shared'
   15066       ;;
   15067 
   15068     sysv4*MP*)
   15069       if test -d /usr/nec; then
   15070 	lt_prog_compiler_pic=-Kconform_pic
   15071       fi
   15072       ;;
   15073 
   15074     *)
   15075       lt_prog_compiler_pic='-fPIC'
   15076       ;;
   15077     esac
   15078 
   15079     case $cc_basename in
   15080     nvcc*) # Cuda Compiler Driver 2.2
   15081       lt_prog_compiler_wl='-Xlinker '
   15082       if test -n "$lt_prog_compiler_pic"; then
   15083         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   15084       fi
   15085       ;;
   15086     esac
   15087   else
   15088     # PORTME Check for flag to pass linker flags through the system compiler.
   15089     case $host_os in
   15090     aix*)
   15091       lt_prog_compiler_wl='-Wl,'
   15092       if test ia64 = "$host_cpu"; then
   15093 	# AIX 5 now supports IA64 processor
   15094 	lt_prog_compiler_static='-Bstatic'
   15095       else
   15096 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   15097       fi
   15098       ;;
   15099 
   15100     darwin* | rhapsody*)
   15101       # PIC is the default on this platform
   15102       # Common symbols not allowed in MH_DYLIB files
   15103       lt_prog_compiler_pic='-fno-common'
   15104       case $cc_basename in
   15105       nagfor*)
   15106         # NAG Fortran compiler
   15107         lt_prog_compiler_wl='-Wl,-Wl,,'
   15108         lt_prog_compiler_pic='-PIC'
   15109         lt_prog_compiler_static='-Bstatic'
   15110         ;;
   15111       esac
   15112       ;;
   15113 
   15114     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15115       # This hack is so that the source file can tell whether it is being
   15116       # built for inclusion in a dll (and should export symbols for example).
   15117       lt_prog_compiler_pic='-DDLL_EXPORT'
   15118       case $host_os in
   15119       os2*)
   15120 	lt_prog_compiler_static='$wl-static'
   15121 	;;
   15122       esac
   15123       ;;
   15124 
   15125     hpux9* | hpux10* | hpux11*)
   15126       lt_prog_compiler_wl='-Wl,'
   15127       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15128       # not for PA HP-UX.
   15129       case $host_cpu in
   15130       hppa*64*|ia64*)
   15131 	# +Z the default
   15132 	;;
   15133       *)
   15134 	lt_prog_compiler_pic='+Z'
   15135 	;;
   15136       esac
   15137       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15138       lt_prog_compiler_static='$wl-a ${wl}archive'
   15139       ;;
   15140 
   15141     irix5* | irix6* | nonstopux*)
   15142       lt_prog_compiler_wl='-Wl,'
   15143       # PIC (with -KPIC) is the default.
   15144       lt_prog_compiler_static='-non_shared'
   15145       ;;
   15146 
   15147     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15148       case $cc_basename in
   15149       # old Intel for x86_64, which still supported -KPIC.
   15150       ecc*)
   15151 	lt_prog_compiler_wl='-Wl,'
   15152 	lt_prog_compiler_pic='-KPIC'
   15153 	lt_prog_compiler_static='-static'
   15154         ;;
   15155       # icc used to be incompatible with GCC.
   15156       # ICC 10 doesn't accept -KPIC any more.
   15157       icc* | ifort*)
   15158 	lt_prog_compiler_wl='-Wl,'
   15159 	lt_prog_compiler_pic='-fPIC'
   15160 	lt_prog_compiler_static='-static'
   15161         ;;
   15162       # Lahey Fortran 8.1.
   15163       lf95*)
   15164 	lt_prog_compiler_wl='-Wl,'
   15165 	lt_prog_compiler_pic='--shared'
   15166 	lt_prog_compiler_static='--static'
   15167 	;;
   15168       nagfor*)
   15169 	# NAG Fortran compiler
   15170 	lt_prog_compiler_wl='-Wl,-Wl,,'
   15171 	lt_prog_compiler_pic='-PIC'
   15172 	lt_prog_compiler_static='-Bstatic'
   15173 	;;
   15174       tcc*)
   15175 	# Fabrice Bellard et al's Tiny C Compiler
   15176 	lt_prog_compiler_wl='-Wl,'
   15177 	lt_prog_compiler_pic='-fPIC'
   15178 	lt_prog_compiler_static='-static'
   15179 	;;
   15180       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   15181         # Portland Group compilers (*not* the Pentium gcc compiler,
   15182 	# which looks to be a dead project)
   15183 	lt_prog_compiler_wl='-Wl,'
   15184 	lt_prog_compiler_pic='-fpic'
   15185 	lt_prog_compiler_static='-Bstatic'
   15186         ;;
   15187       ccc*)
   15188         lt_prog_compiler_wl='-Wl,'
   15189         # All Alpha code is PIC.
   15190         lt_prog_compiler_static='-non_shared'
   15191         ;;
   15192       xl* | bgxl* | bgf* | mpixl*)
   15193 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   15194 	lt_prog_compiler_wl='-Wl,'
   15195 	lt_prog_compiler_pic='-qpic'
   15196 	lt_prog_compiler_static='-qstaticlink'
   15197 	;;
   15198       *)
   15199 	case `$CC -V 2>&1 | sed 5q` in
   15200 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   15201 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   15202 	  lt_prog_compiler_pic='-KPIC'
   15203 	  lt_prog_compiler_static='-Bstatic'
   15204 	  lt_prog_compiler_wl=''
   15205 	  ;;
   15206 	*Sun\ F* | *Sun*Fortran*)
   15207 	  lt_prog_compiler_pic='-KPIC'
   15208 	  lt_prog_compiler_static='-Bstatic'
   15209 	  lt_prog_compiler_wl='-Qoption ld '
   15210 	  ;;
   15211 	*Sun\ C*)
   15212 	  # Sun C 5.9
   15213 	  lt_prog_compiler_pic='-KPIC'
   15214 	  lt_prog_compiler_static='-Bstatic'
   15215 	  lt_prog_compiler_wl='-Wl,'
   15216 	  ;;
   15217         *Intel*\ [CF]*Compiler*)
   15218 	  lt_prog_compiler_wl='-Wl,'
   15219 	  lt_prog_compiler_pic='-fPIC'
   15220 	  lt_prog_compiler_static='-static'
   15221 	  ;;
   15222 	*Portland\ Group*)
   15223 	  lt_prog_compiler_wl='-Wl,'
   15224 	  lt_prog_compiler_pic='-fpic'
   15225 	  lt_prog_compiler_static='-Bstatic'
   15226 	  ;;
   15227 	esac
   15228 	;;
   15229       esac
   15230       ;;
   15231 
   15232     newsos6)
   15233       lt_prog_compiler_pic='-KPIC'
   15234       lt_prog_compiler_static='-Bstatic'
   15235       ;;
   15236 
   15237     *nto* | *qnx*)
   15238       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15239       # it will coredump.
   15240       lt_prog_compiler_pic='-fPIC -shared'
   15241       ;;
   15242 
   15243     osf3* | osf4* | osf5*)
   15244       lt_prog_compiler_wl='-Wl,'
   15245       # All OSF/1 code is PIC.
   15246       lt_prog_compiler_static='-non_shared'
   15247       ;;
   15248 
   15249     rdos*)
   15250       lt_prog_compiler_static='-non_shared'
   15251       ;;
   15252 
   15253     solaris*)
   15254       lt_prog_compiler_pic='-KPIC'
   15255       lt_prog_compiler_static='-Bstatic'
   15256       case $cc_basename in
   15257       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15258 	lt_prog_compiler_wl='-Qoption ld ';;
   15259       *)
   15260 	lt_prog_compiler_wl='-Wl,';;
   15261       esac
   15262       ;;
   15263 
   15264     sunos4*)
   15265       lt_prog_compiler_wl='-Qoption ld '
   15266       lt_prog_compiler_pic='-PIC'
   15267       lt_prog_compiler_static='-Bstatic'
   15268       ;;
   15269 
   15270     sysv4 | sysv4.2uw2* | sysv4.3*)
   15271       lt_prog_compiler_wl='-Wl,'
   15272       lt_prog_compiler_pic='-KPIC'
   15273       lt_prog_compiler_static='-Bstatic'
   15274       ;;
   15275 
   15276     sysv4*MP*)
   15277       if test -d /usr/nec; then
   15278 	lt_prog_compiler_pic='-Kconform_pic'
   15279 	lt_prog_compiler_static='-Bstatic'
   15280       fi
   15281       ;;
   15282 
   15283     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15284       lt_prog_compiler_wl='-Wl,'
   15285       lt_prog_compiler_pic='-KPIC'
   15286       lt_prog_compiler_static='-Bstatic'
   15287       ;;
   15288 
   15289     unicos*)
   15290       lt_prog_compiler_wl='-Wl,'
   15291       lt_prog_compiler_can_build_shared=no
   15292       ;;
   15293 
   15294     uts4*)
   15295       lt_prog_compiler_pic='-pic'
   15296       lt_prog_compiler_static='-Bstatic'
   15297       ;;
   15298 
   15299     *)
   15300       lt_prog_compiler_can_build_shared=no
   15301       ;;
   15302     esac
   15303   fi
   15304 
   15305 case $host_os in
   15306   # For platforms that do not support PIC, -DPIC is meaningless:
   15307   *djgpp*)
   15308     lt_prog_compiler_pic=
   15309     ;;
   15310   *)
   15311     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15312     ;;
   15313 esac
   15314 
   15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15316 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15317 if ${lt_cv_prog_compiler_pic+:} false; then :
   15318   $as_echo_n "(cached) " >&6
   15319 else
   15320   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15321 fi
   15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15323 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15324 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15325 
   15326 #
   15327 # Check to make sure the PIC flag actually works.
   15328 #
   15329 if test -n "$lt_prog_compiler_pic"; then
   15330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15331 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15332 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15333   $as_echo_n "(cached) " >&6
   15334 else
   15335   lt_cv_prog_compiler_pic_works=no
   15336    ac_outfile=conftest.$ac_objext
   15337    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15338    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15339    # Insert the option either (1) after the last *FLAGS variable, or
   15340    # (2) before a word containing "conftest.", or (3) at the end.
   15341    # Note that $ac_compile itself does not contain backslashes and begins
   15342    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15343    # The option is referenced via a variable to avoid confusing sed.
   15344    lt_compile=`echo "$ac_compile" | $SED \
   15345    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15346    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15347    -e 's:$: $lt_compiler_flag:'`
   15348    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15349    (eval "$lt_compile" 2>conftest.err)
   15350    ac_status=$?
   15351    cat conftest.err >&5
   15352    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15353    if (exit $ac_status) && test -s "$ac_outfile"; then
   15354      # The compiler can only warn and ignore the option if not recognized
   15355      # So say no if there are warnings other than the usual output.
   15356      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15357      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15358      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15359        lt_cv_prog_compiler_pic_works=yes
   15360      fi
   15361    fi
   15362    $RM conftest*
   15363 
   15364 fi
   15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15366 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15367 
   15368 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15369     case $lt_prog_compiler_pic in
   15370      "" | " "*) ;;
   15371      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15372      esac
   15373 else
   15374     lt_prog_compiler_pic=
   15375      lt_prog_compiler_can_build_shared=no
   15376 fi
   15377 
   15378 fi
   15379 
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 #
   15391 # Check to make sure the static flag actually works.
   15392 #
   15393 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15395 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15396 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15397   $as_echo_n "(cached) " >&6
   15398 else
   15399   lt_cv_prog_compiler_static_works=no
   15400    save_LDFLAGS=$LDFLAGS
   15401    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15402    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15403    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15404      # The linker can only warn and ignore the option if not recognized
   15405      # So say no if there are warnings
   15406      if test -s conftest.err; then
   15407        # Append any errors to the config.log.
   15408        cat conftest.err 1>&5
   15409        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15410        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15411        if diff conftest.exp conftest.er2 >/dev/null; then
   15412          lt_cv_prog_compiler_static_works=yes
   15413        fi
   15414      else
   15415        lt_cv_prog_compiler_static_works=yes
   15416      fi
   15417    fi
   15418    $RM -r conftest*
   15419    LDFLAGS=$save_LDFLAGS
   15420 
   15421 fi
   15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15423 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15424 
   15425 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15426     :
   15427 else
   15428     lt_prog_compiler_static=
   15429 fi
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15438 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15439 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15440   $as_echo_n "(cached) " >&6
   15441 else
   15442   lt_cv_prog_compiler_c_o=no
   15443    $RM -r conftest 2>/dev/null
   15444    mkdir conftest
   15445    cd conftest
   15446    mkdir out
   15447    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15448 
   15449    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15450    # Insert the option either (1) after the last *FLAGS variable, or
   15451    # (2) before a word containing "conftest.", or (3) at the end.
   15452    # Note that $ac_compile itself does not contain backslashes and begins
   15453    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15454    lt_compile=`echo "$ac_compile" | $SED \
   15455    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15456    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15457    -e 's:$: $lt_compiler_flag:'`
   15458    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15459    (eval "$lt_compile" 2>out/conftest.err)
   15460    ac_status=$?
   15461    cat out/conftest.err >&5
   15462    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15463    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15464    then
   15465      # The compiler can only warn and ignore the option if not recognized
   15466      # So say no if there are warnings
   15467      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15468      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15469      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15470        lt_cv_prog_compiler_c_o=yes
   15471      fi
   15472    fi
   15473    chmod u+w . 2>&5
   15474    $RM conftest*
   15475    # SGI C++ compiler will create directory out/ii_files/ for
   15476    # template instantiation
   15477    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15478    $RM out/* && rmdir out
   15479    cd ..
   15480    $RM -r conftest
   15481    $RM conftest*
   15482 
   15483 fi
   15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15485 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15486 
   15487 
   15488 
   15489 
   15490 
   15491 
   15492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15493 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15494 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15495   $as_echo_n "(cached) " >&6
   15496 else
   15497   lt_cv_prog_compiler_c_o=no
   15498    $RM -r conftest 2>/dev/null
   15499    mkdir conftest
   15500    cd conftest
   15501    mkdir out
   15502    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15503 
   15504    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15505    # Insert the option either (1) after the last *FLAGS variable, or
   15506    # (2) before a word containing "conftest.", or (3) at the end.
   15507    # Note that $ac_compile itself does not contain backslashes and begins
   15508    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15509    lt_compile=`echo "$ac_compile" | $SED \
   15510    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15511    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15512    -e 's:$: $lt_compiler_flag:'`
   15513    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15514    (eval "$lt_compile" 2>out/conftest.err)
   15515    ac_status=$?
   15516    cat out/conftest.err >&5
   15517    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15518    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15519    then
   15520      # The compiler can only warn and ignore the option if not recognized
   15521      # So say no if there are warnings
   15522      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15523      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15524      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15525        lt_cv_prog_compiler_c_o=yes
   15526      fi
   15527    fi
   15528    chmod u+w . 2>&5
   15529    $RM conftest*
   15530    # SGI C++ compiler will create directory out/ii_files/ for
   15531    # template instantiation
   15532    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15533    $RM out/* && rmdir out
   15534    cd ..
   15535    $RM -r conftest
   15536    $RM conftest*
   15537 
   15538 fi
   15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15540 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15541 
   15542 
   15543 
   15544 
   15545 hard_links=nottested
   15546 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15547   # do not overwrite the value of need_locks provided by the user
   15548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15549 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15550   hard_links=yes
   15551   $RM conftest*
   15552   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15553   touch conftest.a
   15554   ln conftest.a conftest.b 2>&5 || hard_links=no
   15555   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15557 $as_echo "$hard_links" >&6; }
   15558   if test no = "$hard_links"; then
   15559     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15560 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15561     need_locks=warn
   15562   fi
   15563 else
   15564   need_locks=no
   15565 fi
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15573 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15574 
   15575   runpath_var=
   15576   allow_undefined_flag=
   15577   always_export_symbols=no
   15578   archive_cmds=
   15579   archive_expsym_cmds=
   15580   compiler_needs_object=no
   15581   enable_shared_with_static_runtimes=no
   15582   export_dynamic_flag_spec=
   15583   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15584   hardcode_automatic=no
   15585   hardcode_direct=no
   15586   hardcode_direct_absolute=no
   15587   hardcode_libdir_flag_spec=
   15588   hardcode_libdir_separator=
   15589   hardcode_minus_L=no
   15590   hardcode_shlibpath_var=unsupported
   15591   inherit_rpath=no
   15592   link_all_deplibs=unknown
   15593   module_cmds=
   15594   module_expsym_cmds=
   15595   old_archive_from_new_cmds=
   15596   old_archive_from_expsyms_cmds=
   15597   thread_safe_flag_spec=
   15598   whole_archive_flag_spec=
   15599   # include_expsyms should be a list of space-separated symbols to be *always*
   15600   # included in the symbol list
   15601   include_expsyms=
   15602   # exclude_expsyms can be an extended regexp of symbols to exclude
   15603   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15604   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15605   # as well as any symbol that contains 'd'.
   15606   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15607   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15608   # platforms (ab)use it in PIC code, but their linkers get confused if
   15609   # the symbol is explicitly referenced.  Since portable code cannot
   15610   # rely on this symbol name, it's probably fine to never include it in
   15611   # preloaded symbol tables.
   15612   # Exclude shared library initialization/finalization symbols.
   15613   extract_expsyms_cmds=
   15614 
   15615   case $host_os in
   15616   cygwin* | mingw* | pw32* | cegcc*)
   15617     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15618     # When not using gcc, we currently assume that we are using
   15619     # Microsoft Visual C++.
   15620     if test yes != "$GCC"; then
   15621       with_gnu_ld=no
   15622     fi
   15623     ;;
   15624   interix*)
   15625     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15626     with_gnu_ld=yes
   15627     ;;
   15628   openbsd* | bitrig*)
   15629     with_gnu_ld=no
   15630     ;;
   15631   linux* | k*bsd*-gnu | gnu*)
   15632     link_all_deplibs=no
   15633     ;;
   15634   esac
   15635 
   15636   ld_shlibs=yes
   15637 
   15638   # On some targets, GNU ld is compatible enough with the native linker
   15639   # that we're better off using the native interface for both.
   15640   lt_use_gnu_ld_interface=no
   15641   if test yes = "$with_gnu_ld"; then
   15642     case $host_os in
   15643       aix*)
   15644 	# The AIX port of GNU ld has always aspired to compatibility
   15645 	# with the native linker.  However, as the warning in the GNU ld
   15646 	# block says, versions before 2.19.5* couldn't really create working
   15647 	# shared libraries, regardless of the interface used.
   15648 	case `$LD -v 2>&1` in
   15649 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15650 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15651 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15652 	  *)
   15653 	    lt_use_gnu_ld_interface=yes
   15654 	    ;;
   15655 	esac
   15656 	;;
   15657       *)
   15658 	lt_use_gnu_ld_interface=yes
   15659 	;;
   15660     esac
   15661   fi
   15662 
   15663   if test yes = "$lt_use_gnu_ld_interface"; then
   15664     # If archive_cmds runs LD, not CC, wlarc should be empty
   15665     wlarc='$wl'
   15666 
   15667     # Set some defaults for GNU ld with shared library support. These
   15668     # are reset later if shared libraries are not supported. Putting them
   15669     # here allows them to be overridden if necessary.
   15670     runpath_var=LD_RUN_PATH
   15671     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15672     export_dynamic_flag_spec='$wl--export-dynamic'
   15673     # ancient GNU ld didn't support --whole-archive et. al.
   15674     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15675       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15676     else
   15677       whole_archive_flag_spec=
   15678     fi
   15679     supports_anon_versioning=no
   15680     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15681       *GNU\ gold*) supports_anon_versioning=yes ;;
   15682       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15683       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15684       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15685       *\ 2.11.*) ;; # other 2.11 versions
   15686       *) supports_anon_versioning=yes ;;
   15687     esac
   15688 
   15689     # See if GNU ld supports shared libraries.
   15690     case $host_os in
   15691     aix[3-9]*)
   15692       # On AIX/PPC, the GNU linker is very broken
   15693       if test ia64 != "$host_cpu"; then
   15694 	ld_shlibs=no
   15695 	cat <<_LT_EOF 1>&2
   15696 
   15697 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15698 *** to be unable to reliably create shared libraries on AIX.
   15699 *** Therefore, libtool is disabling shared libraries support.  If you
   15700 *** really care for shared libraries, you may want to install binutils
   15701 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15702 *** You will then need to restart the configuration process.
   15703 
   15704 _LT_EOF
   15705       fi
   15706       ;;
   15707 
   15708     amigaos*)
   15709       case $host_cpu in
   15710       powerpc)
   15711             # see comment about AmigaOS4 .so support
   15712             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15713             archive_expsym_cmds=''
   15714         ;;
   15715       m68k)
   15716             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)'
   15717             hardcode_libdir_flag_spec='-L$libdir'
   15718             hardcode_minus_L=yes
   15719         ;;
   15720       esac
   15721       ;;
   15722 
   15723     beos*)
   15724       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15725 	allow_undefined_flag=unsupported
   15726 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15727 	# support --undefined.  This deserves some investigation.  FIXME
   15728 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15729       else
   15730 	ld_shlibs=no
   15731       fi
   15732       ;;
   15733 
   15734     cygwin* | mingw* | pw32* | cegcc*)
   15735       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15736       # as there is no search path for DLLs.
   15737       hardcode_libdir_flag_spec='-L$libdir'
   15738       export_dynamic_flag_spec='$wl--export-all-symbols'
   15739       allow_undefined_flag=unsupported
   15740       always_export_symbols=no
   15741       enable_shared_with_static_runtimes=yes
   15742       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'
   15743       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15744 
   15745       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15746         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15747 	# If the export-symbols file already is a .def file, use it as
   15748 	# is; otherwise, prepend EXPORTS...
   15749 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15750           cp $export_symbols $output_objdir/$soname.def;
   15751         else
   15752           echo EXPORTS > $output_objdir/$soname.def;
   15753           cat $export_symbols >> $output_objdir/$soname.def;
   15754         fi~
   15755         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15756       else
   15757 	ld_shlibs=no
   15758       fi
   15759       ;;
   15760 
   15761     haiku*)
   15762       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15763       link_all_deplibs=yes
   15764       ;;
   15765 
   15766     os2*)
   15767       hardcode_libdir_flag_spec='-L$libdir'
   15768       hardcode_minus_L=yes
   15769       allow_undefined_flag=unsupported
   15770       shrext_cmds=.dll
   15771       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15772 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15773 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15774 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15775 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15776 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15777 	emximp -o $lib $output_objdir/$libname.def'
   15778       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15779 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15780 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15781 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15782 	prefix_cmds="$SED"~
   15783 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15784 	  prefix_cmds="$prefix_cmds -e 1d";
   15785 	fi~
   15786 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15787 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15788 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15789 	emximp -o $lib $output_objdir/$libname.def'
   15790       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15791       enable_shared_with_static_runtimes=yes
   15792       ;;
   15793 
   15794     interix[3-9]*)
   15795       hardcode_direct=no
   15796       hardcode_shlibpath_var=no
   15797       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15798       export_dynamic_flag_spec='$wl-E'
   15799       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15800       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15801       # default) and relocated if they conflict, which is a slow very memory
   15802       # consuming and fragmenting process.  To avoid this, we pick a random,
   15803       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15804       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15805       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15806       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'
   15807       ;;
   15808 
   15809     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15810       tmp_diet=no
   15811       if test linux-dietlibc = "$host_os"; then
   15812 	case $cc_basename in
   15813 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15814 	esac
   15815       fi
   15816       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15817 	 && test no = "$tmp_diet"
   15818       then
   15819 	tmp_addflag=' $pic_flag'
   15820 	tmp_sharedflag='-shared'
   15821 	case $cc_basename,$host_cpu in
   15822         pgcc*)				# Portland Group C compiler
   15823 	  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'
   15824 	  tmp_addflag=' $pic_flag'
   15825 	  ;;
   15826 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15827 					# Portland Group f77 and f90 compilers
   15828 	  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'
   15829 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15830 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15831 	  tmp_addflag=' -i_dynamic' ;;
   15832 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15833 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15834 	ifc* | ifort*)			# Intel Fortran compiler
   15835 	  tmp_addflag=' -nofor_main' ;;
   15836 	lf95*)				# Lahey Fortran 8.1
   15837 	  whole_archive_flag_spec=
   15838 	  tmp_sharedflag='--shared' ;;
   15839         nagfor*)                        # NAGFOR 5.3
   15840           tmp_sharedflag='-Wl,-shared' ;;
   15841 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15842 	  tmp_sharedflag='-qmkshrobj'
   15843 	  tmp_addflag= ;;
   15844 	nvcc*)	# Cuda Compiler Driver 2.2
   15845 	  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'
   15846 	  compiler_needs_object=yes
   15847 	  ;;
   15848 	esac
   15849 	case `$CC -V 2>&1 | sed 5q` in
   15850 	*Sun\ C*)			# Sun C 5.9
   15851 	  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'
   15852 	  compiler_needs_object=yes
   15853 	  tmp_sharedflag='-G' ;;
   15854 	*Sun\ F*)			# Sun Fortran 8.3
   15855 	  tmp_sharedflag='-G' ;;
   15856 	esac
   15857 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15858 
   15859         if test yes = "$supports_anon_versioning"; then
   15860           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15861             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15862             echo "local: *; };" >> $output_objdir/$libname.ver~
   15863             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15864         fi
   15865 
   15866 	case $cc_basename in
   15867 	tcc*)
   15868 	  export_dynamic_flag_spec='-rdynamic'
   15869 	  ;;
   15870 	xlf* | bgf* | bgxlf* | mpixlf*)
   15871 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15872 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15873 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15874 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15875 	  if test yes = "$supports_anon_versioning"; then
   15876 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15877               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15878               echo "local: *; };" >> $output_objdir/$libname.ver~
   15879               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15880 	  fi
   15881 	  ;;
   15882 	esac
   15883       else
   15884         ld_shlibs=no
   15885       fi
   15886       ;;
   15887 
   15888     netbsd* | netbsdelf*-gnu)
   15889       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15890 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15891 	wlarc=
   15892       else
   15893 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15894 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15895       fi
   15896       ;;
   15897 
   15898     solaris*)
   15899       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15900 	ld_shlibs=no
   15901 	cat <<_LT_EOF 1>&2
   15902 
   15903 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15904 *** create shared libraries on Solaris systems.  Therefore, libtool
   15905 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15906 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15907 *** your PATH or compiler configuration so that the native linker is
   15908 *** used, and then restart.
   15909 
   15910 _LT_EOF
   15911       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15912 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15913 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15914       else
   15915 	ld_shlibs=no
   15916       fi
   15917       ;;
   15918 
   15919     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15920       case `$LD -v 2>&1` in
   15921         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15922 	ld_shlibs=no
   15923 	cat <<_LT_EOF 1>&2
   15924 
   15925 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15926 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15927 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15928 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15929 *** your PATH or compiler configuration so that the native linker is
   15930 *** used, and then restart.
   15931 
   15932 _LT_EOF
   15933 	;;
   15934 	*)
   15935 	  # For security reasons, it is highly recommended that you always
   15936 	  # use absolute paths for naming shared libraries, and exclude the
   15937 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15938 	  # requires that you compile everything twice, which is a pain.
   15939 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15940 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15941 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15942 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15943 	  else
   15944 	    ld_shlibs=no
   15945 	  fi
   15946 	;;
   15947       esac
   15948       ;;
   15949 
   15950     sunos4*)
   15951       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15952       wlarc=
   15953       hardcode_direct=yes
   15954       hardcode_shlibpath_var=no
   15955       ;;
   15956 
   15957     *)
   15958       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15959 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15960 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15961       else
   15962 	ld_shlibs=no
   15963       fi
   15964       ;;
   15965     esac
   15966 
   15967     if test no = "$ld_shlibs"; then
   15968       runpath_var=
   15969       hardcode_libdir_flag_spec=
   15970       export_dynamic_flag_spec=
   15971       whole_archive_flag_spec=
   15972     fi
   15973   else
   15974     # PORTME fill in a description of your system's linker (not GNU ld)
   15975     case $host_os in
   15976     aix3*)
   15977       allow_undefined_flag=unsupported
   15978       always_export_symbols=yes
   15979       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'
   15980       # Note: this linker hardcodes the directories in LIBPATH if there
   15981       # are no directories specified by -L.
   15982       hardcode_minus_L=yes
   15983       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15984 	# Neither direct hardcoding nor static linking is supported with a
   15985 	# broken collect2.
   15986 	hardcode_direct=unsupported
   15987       fi
   15988       ;;
   15989 
   15990     aix[4-9]*)
   15991       if test ia64 = "$host_cpu"; then
   15992 	# On IA64, the linker does run time linking by default, so we don't
   15993 	# have to do anything special.
   15994 	aix_use_runtimelinking=no
   15995 	exp_sym_flag='-Bexport'
   15996 	no_entry_flag=
   15997       else
   15998 	# If we're using GNU nm, then we don't want the "-C" option.
   15999 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16000 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   16001 	# weak defined symbols like other global defined symbols, whereas
   16002 	# GNU nm marks them as "W".
   16003 	# While the 'weak' keyword is ignored in the Export File, we need
   16004 	# it in the Import File for the 'aix-soname' feature, so we have
   16005 	# to replace the "-B" option with "-P" for AIX nm.
   16006 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16007 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   16008 	else
   16009 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   16010 	fi
   16011 	aix_use_runtimelinking=no
   16012 
   16013 	# Test if we are trying to use run time linking or normal
   16014 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16015 	# have runtime linking enabled, and use it for executables.
   16016 	# For shared libraries, we enable/disable runtime linking
   16017 	# depending on the kind of the shared library created -
   16018 	# when "with_aix_soname,aix_use_runtimelinking" is:
   16019 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16020 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   16021 	#            lib.a           static archive
   16022 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16023 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   16024 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16025 	#            lib.a(lib.so.V) shared, rtl:no
   16026 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16027 	#            lib.a           static archive
   16028 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16029 	  for ld_flag in $LDFLAGS; do
   16030 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   16031 	    aix_use_runtimelinking=yes
   16032 	    break
   16033 	  fi
   16034 	  done
   16035 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16036 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16037 	    # so we don't have lib.a shared libs to link our executables.
   16038 	    # We have to force runtime linking in this case.
   16039 	    aix_use_runtimelinking=yes
   16040 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   16041 	  fi
   16042 	  ;;
   16043 	esac
   16044 
   16045 	exp_sym_flag='-bexport'
   16046 	no_entry_flag='-bnoentry'
   16047       fi
   16048 
   16049       # When large executables or shared objects are built, AIX ld can
   16050       # have problems creating the table of contents.  If linking a library
   16051       # or program results in "error TOC overflow" add -mminimal-toc to
   16052       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16053       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16054 
   16055       archive_cmds=''
   16056       hardcode_direct=yes
   16057       hardcode_direct_absolute=yes
   16058       hardcode_libdir_separator=':'
   16059       link_all_deplibs=yes
   16060       file_list_spec='$wl-f,'
   16061       case $with_aix_soname,$aix_use_runtimelinking in
   16062       aix,*) ;; # traditional, no import file
   16063       svr4,* | *,yes) # use import file
   16064 	# The Import File defines what to hardcode.
   16065 	hardcode_direct=no
   16066 	hardcode_direct_absolute=no
   16067 	;;
   16068       esac
   16069 
   16070       if test yes = "$GCC"; then
   16071 	case $host_os in aix4.[012]|aix4.[012].*)
   16072 	# We only want to do this on AIX 4.2 and lower, the check
   16073 	# below for broken collect2 doesn't work under 4.3+
   16074 	  collect2name=`$CC -print-prog-name=collect2`
   16075 	  if test -f "$collect2name" &&
   16076 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16077 	  then
   16078 	  # We have reworked collect2
   16079 	  :
   16080 	  else
   16081 	  # We have old collect2
   16082 	  hardcode_direct=unsupported
   16083 	  # It fails to find uninstalled libraries when the uninstalled
   16084 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16085 	  # to unsupported forces relinking
   16086 	  hardcode_minus_L=yes
   16087 	  hardcode_libdir_flag_spec='-L$libdir'
   16088 	  hardcode_libdir_separator=
   16089 	  fi
   16090 	  ;;
   16091 	esac
   16092 	shared_flag='-shared'
   16093 	if test yes = "$aix_use_runtimelinking"; then
   16094 	  shared_flag="$shared_flag "'$wl-G'
   16095 	fi
   16096 	# Need to ensure runtime linking is disabled for the traditional
   16097 	# shared library, or the linker may eventually find shared libraries
   16098 	# /with/ Import File - we do not want to mix them.
   16099 	shared_flag_aix='-shared'
   16100 	shared_flag_svr4='-shared $wl-G'
   16101       else
   16102 	# not using gcc
   16103 	if test ia64 = "$host_cpu"; then
   16104 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16105 	# chokes on -Wl,-G. The following line is correct:
   16106 	  shared_flag='-G'
   16107 	else
   16108 	  if test yes = "$aix_use_runtimelinking"; then
   16109 	    shared_flag='$wl-G'
   16110 	  else
   16111 	    shared_flag='$wl-bM:SRE'
   16112 	  fi
   16113 	  shared_flag_aix='$wl-bM:SRE'
   16114 	  shared_flag_svr4='$wl-G'
   16115 	fi
   16116       fi
   16117 
   16118       export_dynamic_flag_spec='$wl-bexpall'
   16119       # It seems that -bexpall does not export symbols beginning with
   16120       # underscore (_), so it is better to generate a list of symbols to export.
   16121       always_export_symbols=yes
   16122       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16123 	# Warning - without using the other runtime loading flags (-brtl),
   16124 	# -berok will link without error, but may produce a broken library.
   16125 	allow_undefined_flag='-berok'
   16126         # Determine the default libpath from the value encoded in an
   16127         # empty executable.
   16128         if test set = "${lt_cv_aix_libpath+set}"; then
   16129   aix_libpath=$lt_cv_aix_libpath
   16130 else
   16131   if ${lt_cv_aix_libpath_+:} false; then :
   16132   $as_echo_n "(cached) " >&6
   16133 else
   16134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16135 /* end confdefs.h.  */
   16136 
   16137 int
   16138 main ()
   16139 {
   16140 
   16141   ;
   16142   return 0;
   16143 }
   16144 _ACEOF
   16145 if ac_fn_c_try_link "$LINENO"; then :
   16146 
   16147   lt_aix_libpath_sed='
   16148       /Import File Strings/,/^$/ {
   16149 	  /^0/ {
   16150 	      s/^0  *\([^ ]*\) *$/\1/
   16151 	      p
   16152 	  }
   16153       }'
   16154   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16155   # Check for a 64-bit object if we didn't find anything.
   16156   if test -z "$lt_cv_aix_libpath_"; then
   16157     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16158   fi
   16159 fi
   16160 rm -f core conftest.err conftest.$ac_objext \
   16161     conftest$ac_exeext conftest.$ac_ext
   16162   if test -z "$lt_cv_aix_libpath_"; then
   16163     lt_cv_aix_libpath_=/usr/lib:/lib
   16164   fi
   16165 
   16166 fi
   16167 
   16168   aix_libpath=$lt_cv_aix_libpath_
   16169 fi
   16170 
   16171         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16172         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   16173       else
   16174 	if test ia64 = "$host_cpu"; then
   16175 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   16176 	  allow_undefined_flag="-z nodefs"
   16177 	  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"
   16178 	else
   16179 	 # Determine the default libpath from the value encoded in an
   16180 	 # empty executable.
   16181 	 if test set = "${lt_cv_aix_libpath+set}"; then
   16182   aix_libpath=$lt_cv_aix_libpath
   16183 else
   16184   if ${lt_cv_aix_libpath_+:} false; then :
   16185   $as_echo_n "(cached) " >&6
   16186 else
   16187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16188 /* end confdefs.h.  */
   16189 
   16190 int
   16191 main ()
   16192 {
   16193 
   16194   ;
   16195   return 0;
   16196 }
   16197 _ACEOF
   16198 if ac_fn_c_try_link "$LINENO"; then :
   16199 
   16200   lt_aix_libpath_sed='
   16201       /Import File Strings/,/^$/ {
   16202 	  /^0/ {
   16203 	      s/^0  *\([^ ]*\) *$/\1/
   16204 	      p
   16205 	  }
   16206       }'
   16207   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16208   # Check for a 64-bit object if we didn't find anything.
   16209   if test -z "$lt_cv_aix_libpath_"; then
   16210     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16211   fi
   16212 fi
   16213 rm -f core conftest.err conftest.$ac_objext \
   16214     conftest$ac_exeext conftest.$ac_ext
   16215   if test -z "$lt_cv_aix_libpath_"; then
   16216     lt_cv_aix_libpath_=/usr/lib:/lib
   16217   fi
   16218 
   16219 fi
   16220 
   16221   aix_libpath=$lt_cv_aix_libpath_
   16222 fi
   16223 
   16224 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16225 	  # Warning - without using the other run time loading flags,
   16226 	  # -berok will link without error, but may produce a broken library.
   16227 	  no_undefined_flag=' $wl-bernotok'
   16228 	  allow_undefined_flag=' $wl-berok'
   16229 	  if test yes = "$with_gnu_ld"; then
   16230 	    # We only use this code for GNU lds that support --whole-archive.
   16231 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16232 	  else
   16233 	    # Exported symbols can be pulled into shared objects from archives
   16234 	    whole_archive_flag_spec='$convenience'
   16235 	  fi
   16236 	  archive_cmds_need_lc=yes
   16237 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16238 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16239 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16240 	  if test svr4 != "$with_aix_soname"; then
   16241 	    # This is similar to how AIX traditionally builds its shared libraries.
   16242 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   16243 	  fi
   16244 	  if test aix != "$with_aix_soname"; then
   16245 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   16246 	  else
   16247 	    # used by -dlpreopen to get the symbols
   16248 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16249 	  fi
   16250 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16251 	fi
   16252       fi
   16253       ;;
   16254 
   16255     amigaos*)
   16256       case $host_cpu in
   16257       powerpc)
   16258             # see comment about AmigaOS4 .so support
   16259             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16260             archive_expsym_cmds=''
   16261         ;;
   16262       m68k)
   16263             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)'
   16264             hardcode_libdir_flag_spec='-L$libdir'
   16265             hardcode_minus_L=yes
   16266         ;;
   16267       esac
   16268       ;;
   16269 
   16270     bsdi[45]*)
   16271       export_dynamic_flag_spec=-rdynamic
   16272       ;;
   16273 
   16274     cygwin* | mingw* | pw32* | cegcc*)
   16275       # When not using gcc, we currently assume that we are using
   16276       # Microsoft Visual C++.
   16277       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16278       # no search path for DLLs.
   16279       case $cc_basename in
   16280       cl*)
   16281 	# Native MSVC
   16282 	hardcode_libdir_flag_spec=' '
   16283 	allow_undefined_flag=unsupported
   16284 	always_export_symbols=yes
   16285 	file_list_spec='@'
   16286 	# Tell ltmain to make .lib files, not .a files.
   16287 	libext=lib
   16288 	# Tell ltmain to make .dll files, not .so files.
   16289 	shrext_cmds=.dll
   16290 	# FIXME: Setting linknames here is a bad hack.
   16291 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16292 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16293             cp "$export_symbols" "$output_objdir/$soname.def";
   16294             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16295           else
   16296             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16297           fi~
   16298           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16299           linknames='
   16300 	# The linker will not automatically build a static lib if we build a DLL.
   16301 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16302 	enable_shared_with_static_runtimes=yes
   16303 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16304 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16305 	# Don't use ranlib
   16306 	old_postinstall_cmds='chmod 644 $oldlib'
   16307 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16308           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16309           case $lt_outputfile in
   16310             *.exe|*.EXE) ;;
   16311             *)
   16312               lt_outputfile=$lt_outputfile.exe
   16313               lt_tool_outputfile=$lt_tool_outputfile.exe
   16314               ;;
   16315           esac~
   16316           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16317             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16318             $RM "$lt_outputfile.manifest";
   16319           fi'
   16320 	;;
   16321       *)
   16322 	# Assume MSVC wrapper
   16323 	hardcode_libdir_flag_spec=' '
   16324 	allow_undefined_flag=unsupported
   16325 	# Tell ltmain to make .lib files, not .a files.
   16326 	libext=lib
   16327 	# Tell ltmain to make .dll files, not .so files.
   16328 	shrext_cmds=.dll
   16329 	# FIXME: Setting linknames here is a bad hack.
   16330 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16331 	# The linker will automatically build a .lib file if we build a DLL.
   16332 	old_archive_from_new_cmds='true'
   16333 	# FIXME: Should let the user specify the lib program.
   16334 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16335 	enable_shared_with_static_runtimes=yes
   16336 	;;
   16337       esac
   16338       ;;
   16339 
   16340     darwin* | rhapsody*)
   16341 
   16342 
   16343   archive_cmds_need_lc=no
   16344   hardcode_direct=no
   16345   hardcode_automatic=yes
   16346   hardcode_shlibpath_var=unsupported
   16347   if test yes = "$lt_cv_ld_force_load"; then
   16348     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\"`'
   16349 
   16350   else
   16351     whole_archive_flag_spec=''
   16352   fi
   16353   link_all_deplibs=yes
   16354   allow_undefined_flag=$_lt_dar_allow_undefined
   16355   case $cc_basename in
   16356      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16357      *) _lt_dar_can_shared=$GCC ;;
   16358   esac
   16359   if test yes = "$_lt_dar_can_shared"; then
   16360     output_verbose_link_cmd=func_echo_all
   16361     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16362     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16363     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"
   16364     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"
   16365 
   16366   else
   16367   ld_shlibs=no
   16368   fi
   16369 
   16370       ;;
   16371 
   16372     dgux*)
   16373       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16374       hardcode_libdir_flag_spec='-L$libdir'
   16375       hardcode_shlibpath_var=no
   16376       ;;
   16377 
   16378     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16379     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16380     # does not break anything, and helps significantly (at the cost of a little
   16381     # extra space).
   16382     freebsd2.2*)
   16383       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16384       hardcode_libdir_flag_spec='-R$libdir'
   16385       hardcode_direct=yes
   16386       hardcode_shlibpath_var=no
   16387       ;;
   16388 
   16389     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16390     freebsd2.*)
   16391       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16392       hardcode_direct=yes
   16393       hardcode_minus_L=yes
   16394       hardcode_shlibpath_var=no
   16395       ;;
   16396 
   16397     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16398     freebsd* | dragonfly*)
   16399       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16400       hardcode_libdir_flag_spec='-R$libdir'
   16401       hardcode_direct=yes
   16402       hardcode_shlibpath_var=no
   16403       ;;
   16404 
   16405     hpux9*)
   16406       if test yes = "$GCC"; then
   16407 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   16408       else
   16409 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   16410       fi
   16411       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16412       hardcode_libdir_separator=:
   16413       hardcode_direct=yes
   16414 
   16415       # hardcode_minus_L: Not really in the search PATH,
   16416       # but as the default location of the library.
   16417       hardcode_minus_L=yes
   16418       export_dynamic_flag_spec='$wl-E'
   16419       ;;
   16420 
   16421     hpux10*)
   16422       if test yes,no = "$GCC,$with_gnu_ld"; then
   16423 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16424       else
   16425 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16426       fi
   16427       if test no = "$with_gnu_ld"; then
   16428 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16429 	hardcode_libdir_separator=:
   16430 	hardcode_direct=yes
   16431 	hardcode_direct_absolute=yes
   16432 	export_dynamic_flag_spec='$wl-E'
   16433 	# hardcode_minus_L: Not really in the search PATH,
   16434 	# but as the default location of the library.
   16435 	hardcode_minus_L=yes
   16436       fi
   16437       ;;
   16438 
   16439     hpux11*)
   16440       if test yes,no = "$GCC,$with_gnu_ld"; then
   16441 	case $host_cpu in
   16442 	hppa*64*)
   16443 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16444 	  ;;
   16445 	ia64*)
   16446 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16447 	  ;;
   16448 	*)
   16449 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16450 	  ;;
   16451 	esac
   16452       else
   16453 	case $host_cpu in
   16454 	hppa*64*)
   16455 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16456 	  ;;
   16457 	ia64*)
   16458 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16459 	  ;;
   16460 	*)
   16461 
   16462 	  # Older versions of the 11.00 compiler do not understand -b yet
   16463 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16464 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16465 $as_echo_n "checking if $CC understands -b... " >&6; }
   16466 if ${lt_cv_prog_compiler__b+:} false; then :
   16467   $as_echo_n "(cached) " >&6
   16468 else
   16469   lt_cv_prog_compiler__b=no
   16470    save_LDFLAGS=$LDFLAGS
   16471    LDFLAGS="$LDFLAGS -b"
   16472    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16473    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16474      # The linker can only warn and ignore the option if not recognized
   16475      # So say no if there are warnings
   16476      if test -s conftest.err; then
   16477        # Append any errors to the config.log.
   16478        cat conftest.err 1>&5
   16479        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16480        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16481        if diff conftest.exp conftest.er2 >/dev/null; then
   16482          lt_cv_prog_compiler__b=yes
   16483        fi
   16484      else
   16485        lt_cv_prog_compiler__b=yes
   16486      fi
   16487    fi
   16488    $RM -r conftest*
   16489    LDFLAGS=$save_LDFLAGS
   16490 
   16491 fi
   16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16493 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16494 
   16495 if test yes = "$lt_cv_prog_compiler__b"; then
   16496     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16497 else
   16498     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16499 fi
   16500 
   16501 	  ;;
   16502 	esac
   16503       fi
   16504       if test no = "$with_gnu_ld"; then
   16505 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16506 	hardcode_libdir_separator=:
   16507 
   16508 	case $host_cpu in
   16509 	hppa*64*|ia64*)
   16510 	  hardcode_direct=no
   16511 	  hardcode_shlibpath_var=no
   16512 	  ;;
   16513 	*)
   16514 	  hardcode_direct=yes
   16515 	  hardcode_direct_absolute=yes
   16516 	  export_dynamic_flag_spec='$wl-E'
   16517 
   16518 	  # hardcode_minus_L: Not really in the search PATH,
   16519 	  # but as the default location of the library.
   16520 	  hardcode_minus_L=yes
   16521 	  ;;
   16522 	esac
   16523       fi
   16524       ;;
   16525 
   16526     irix5* | irix6* | nonstopux*)
   16527       if test yes = "$GCC"; then
   16528 	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'
   16529 	# Try to use the -exported_symbol ld option, if it does not
   16530 	# work, assume that -exports_file does not work either and
   16531 	# implicitly export all symbols.
   16532 	# This should be the same for all languages, so no per-tag cache variable.
   16533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16534 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16535 if ${lt_cv_irix_exported_symbol+:} false; then :
   16536   $as_echo_n "(cached) " >&6
   16537 else
   16538   save_LDFLAGS=$LDFLAGS
   16539 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16540 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16541 /* end confdefs.h.  */
   16542 int foo (void) { return 0; }
   16543 _ACEOF
   16544 if ac_fn_c_try_link "$LINENO"; then :
   16545   lt_cv_irix_exported_symbol=yes
   16546 else
   16547   lt_cv_irix_exported_symbol=no
   16548 fi
   16549 rm -f core conftest.err conftest.$ac_objext \
   16550     conftest$ac_exeext conftest.$ac_ext
   16551            LDFLAGS=$save_LDFLAGS
   16552 fi
   16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16554 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16555 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16556           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'
   16557 	fi
   16558 	link_all_deplibs=no
   16559       else
   16560 	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'
   16561 	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'
   16562       fi
   16563       archive_cmds_need_lc='no'
   16564       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16565       hardcode_libdir_separator=:
   16566       inherit_rpath=yes
   16567       link_all_deplibs=yes
   16568       ;;
   16569 
   16570     linux*)
   16571       case $cc_basename in
   16572       tcc*)
   16573 	# Fabrice Bellard et al's Tiny C Compiler
   16574 	ld_shlibs=yes
   16575 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16576 	;;
   16577       esac
   16578       ;;
   16579 
   16580     netbsd* | netbsdelf*-gnu)
   16581       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16582 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16583       else
   16584 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16585       fi
   16586       hardcode_libdir_flag_spec='-R$libdir'
   16587       hardcode_direct=yes
   16588       hardcode_shlibpath_var=no
   16589       ;;
   16590 
   16591     newsos6)
   16592       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16593       hardcode_direct=yes
   16594       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16595       hardcode_libdir_separator=:
   16596       hardcode_shlibpath_var=no
   16597       ;;
   16598 
   16599     *nto* | *qnx*)
   16600       ;;
   16601 
   16602     openbsd* | bitrig*)
   16603       if test -f /usr/libexec/ld.so; then
   16604 	hardcode_direct=yes
   16605 	hardcode_shlibpath_var=no
   16606 	hardcode_direct_absolute=yes
   16607 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16608 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16609 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16610 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16611 	  export_dynamic_flag_spec='$wl-E'
   16612 	else
   16613 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16614 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16615 	fi
   16616       else
   16617 	ld_shlibs=no
   16618       fi
   16619       ;;
   16620 
   16621     os2*)
   16622       hardcode_libdir_flag_spec='-L$libdir'
   16623       hardcode_minus_L=yes
   16624       allow_undefined_flag=unsupported
   16625       shrext_cmds=.dll
   16626       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16627 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16628 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16629 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16630 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16631 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16632 	emximp -o $lib $output_objdir/$libname.def'
   16633       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16634 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16635 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16636 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16637 	prefix_cmds="$SED"~
   16638 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16639 	  prefix_cmds="$prefix_cmds -e 1d";
   16640 	fi~
   16641 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16642 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16643 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16644 	emximp -o $lib $output_objdir/$libname.def'
   16645       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16646       enable_shared_with_static_runtimes=yes
   16647       ;;
   16648 
   16649     osf3*)
   16650       if test yes = "$GCC"; then
   16651 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16652 	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'
   16653       else
   16654 	allow_undefined_flag=' -expect_unresolved \*'
   16655 	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'
   16656       fi
   16657       archive_cmds_need_lc='no'
   16658       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16659       hardcode_libdir_separator=:
   16660       ;;
   16661 
   16662     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16663       if test yes = "$GCC"; then
   16664 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16665 	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'
   16666 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16667       else
   16668 	allow_undefined_flag=' -expect_unresolved \*'
   16669 	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'
   16670 	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~
   16671           $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'
   16672 
   16673 	# Both c and cxx compiler support -rpath directly
   16674 	hardcode_libdir_flag_spec='-rpath $libdir'
   16675       fi
   16676       archive_cmds_need_lc='no'
   16677       hardcode_libdir_separator=:
   16678       ;;
   16679 
   16680     solaris*)
   16681       no_undefined_flag=' -z defs'
   16682       if test yes = "$GCC"; then
   16683 	wlarc='$wl'
   16684 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16685 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16686           $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'
   16687       else
   16688 	case `$CC -V 2>&1` in
   16689 	*"Compilers 5.0"*)
   16690 	  wlarc=''
   16691 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16692 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16693             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16694 	  ;;
   16695 	*)
   16696 	  wlarc='$wl'
   16697 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16698 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16699             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16700 	  ;;
   16701 	esac
   16702       fi
   16703       hardcode_libdir_flag_spec='-R$libdir'
   16704       hardcode_shlibpath_var=no
   16705       case $host_os in
   16706       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16707       *)
   16708 	# The compiler driver will combine and reorder linker options,
   16709 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16710 	# but is careful enough not to reorder.
   16711 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16712 	if test yes = "$GCC"; then
   16713 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16714 	else
   16715 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16716 	fi
   16717 	;;
   16718       esac
   16719       link_all_deplibs=yes
   16720       ;;
   16721 
   16722     sunos4*)
   16723       if test sequent = "$host_vendor"; then
   16724 	# Use $CC to link under sequent, because it throws in some extra .o
   16725 	# files that make .init and .fini sections work.
   16726 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16727       else
   16728 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16729       fi
   16730       hardcode_libdir_flag_spec='-L$libdir'
   16731       hardcode_direct=yes
   16732       hardcode_minus_L=yes
   16733       hardcode_shlibpath_var=no
   16734       ;;
   16735 
   16736     sysv4)
   16737       case $host_vendor in
   16738 	sni)
   16739 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16740 	  hardcode_direct=yes # is this really true???
   16741 	;;
   16742 	siemens)
   16743 	  ## LD is ld it makes a PLAMLIB
   16744 	  ## CC just makes a GrossModule.
   16745 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16746 	  reload_cmds='$CC -r -o $output$reload_objs'
   16747 	  hardcode_direct=no
   16748         ;;
   16749 	motorola)
   16750 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16751 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16752 	;;
   16753       esac
   16754       runpath_var='LD_RUN_PATH'
   16755       hardcode_shlibpath_var=no
   16756       ;;
   16757 
   16758     sysv4.3*)
   16759       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16760       hardcode_shlibpath_var=no
   16761       export_dynamic_flag_spec='-Bexport'
   16762       ;;
   16763 
   16764     sysv4*MP*)
   16765       if test -d /usr/nec; then
   16766 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16767 	hardcode_shlibpath_var=no
   16768 	runpath_var=LD_RUN_PATH
   16769 	hardcode_runpath_var=yes
   16770 	ld_shlibs=yes
   16771       fi
   16772       ;;
   16773 
   16774     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16775       no_undefined_flag='$wl-z,text'
   16776       archive_cmds_need_lc=no
   16777       hardcode_shlibpath_var=no
   16778       runpath_var='LD_RUN_PATH'
   16779 
   16780       if test yes = "$GCC"; then
   16781 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16782 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16783       else
   16784 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16785 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16786       fi
   16787       ;;
   16788 
   16789     sysv5* | sco3.2v5* | sco5v6*)
   16790       # Note: We CANNOT use -z defs as we might desire, because we do not
   16791       # link with -lc, and that would cause any symbols used from libc to
   16792       # always be unresolved, which means just about no library would
   16793       # ever link correctly.  If we're not using GNU ld we use -z text
   16794       # though, which does catch some bad symbols but isn't as heavy-handed
   16795       # as -z defs.
   16796       no_undefined_flag='$wl-z,text'
   16797       allow_undefined_flag='$wl-z,nodefs'
   16798       archive_cmds_need_lc=no
   16799       hardcode_shlibpath_var=no
   16800       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16801       hardcode_libdir_separator=':'
   16802       link_all_deplibs=yes
   16803       export_dynamic_flag_spec='$wl-Bexport'
   16804       runpath_var='LD_RUN_PATH'
   16805 
   16806       if test yes = "$GCC"; then
   16807 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16808 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16809       else
   16810 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16811 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16812       fi
   16813       ;;
   16814 
   16815     uts4*)
   16816       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16817       hardcode_libdir_flag_spec='-L$libdir'
   16818       hardcode_shlibpath_var=no
   16819       ;;
   16820 
   16821     *)
   16822       ld_shlibs=no
   16823       ;;
   16824     esac
   16825 
   16826     if test sni = "$host_vendor"; then
   16827       case $host in
   16828       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16829 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16830 	;;
   16831       esac
   16832     fi
   16833   fi
   16834 
   16835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16836 $as_echo "$ld_shlibs" >&6; }
   16837 test no = "$ld_shlibs" && can_build_shared=no
   16838 
   16839 with_gnu_ld=$with_gnu_ld
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 #
   16856 # Do we need to explicitly link libc?
   16857 #
   16858 case "x$archive_cmds_need_lc" in
   16859 x|xyes)
   16860   # Assume -lc should be added
   16861   archive_cmds_need_lc=yes
   16862 
   16863   if test yes,yes = "$GCC,$enable_shared"; then
   16864     case $archive_cmds in
   16865     *'~'*)
   16866       # FIXME: we may have to deal with multi-command sequences.
   16867       ;;
   16868     '$CC '*)
   16869       # Test whether the compiler implicitly links with -lc since on some
   16870       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16871       # to ld, don't add -lc before -lgcc.
   16872       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16873 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16874 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16875   $as_echo_n "(cached) " >&6
   16876 else
   16877   $RM conftest*
   16878 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16879 
   16880 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16881   (eval $ac_compile) 2>&5
   16882   ac_status=$?
   16883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16884   test $ac_status = 0; } 2>conftest.err; then
   16885 	  soname=conftest
   16886 	  lib=conftest
   16887 	  libobjs=conftest.$ac_objext
   16888 	  deplibs=
   16889 	  wl=$lt_prog_compiler_wl
   16890 	  pic_flag=$lt_prog_compiler_pic
   16891 	  compiler_flags=-v
   16892 	  linker_flags=-v
   16893 	  verstring=
   16894 	  output_objdir=.
   16895 	  libname=conftest
   16896 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16897 	  allow_undefined_flag=
   16898 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16899   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16900   ac_status=$?
   16901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16902   test $ac_status = 0; }
   16903 	  then
   16904 	    lt_cv_archive_cmds_need_lc=no
   16905 	  else
   16906 	    lt_cv_archive_cmds_need_lc=yes
   16907 	  fi
   16908 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16909 	else
   16910 	  cat conftest.err 1>&5
   16911 	fi
   16912 	$RM conftest*
   16913 
   16914 fi
   16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16916 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16917       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16918       ;;
   16919     esac
   16920   fi
   16921   ;;
   16922 esac
   16923 
   16924 
   16925 
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 
   16942 
   16943 
   16944 
   16945 
   16946 
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 
   16986 
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   17076 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   17077 
   17078 if test yes = "$GCC"; then
   17079   case $host_os in
   17080     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   17081     *) lt_awk_arg='/^libraries:/' ;;
   17082   esac
   17083   case $host_os in
   17084     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   17085     *) lt_sed_strip_eq='s|=/|/|g' ;;
   17086   esac
   17087   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   17088   case $lt_search_path_spec in
   17089   *\;*)
   17090     # if the path contains ";" then we assume it to be the separator
   17091     # otherwise default to the standard path separator (i.e. ":") - it is
   17092     # assumed that no part of a normal pathname contains ";" but that should
   17093     # okay in the real world where ";" in dirpaths is itself problematic.
   17094     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   17095     ;;
   17096   *)
   17097     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   17098     ;;
   17099   esac
   17100   # Ok, now we have the path, separated by spaces, we can step through it
   17101   # and add multilib dir if necessary...
   17102   lt_tmp_lt_search_path_spec=
   17103   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   17104   # ...but if some path component already ends with the multilib dir we assume
   17105   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   17106   case "$lt_multi_os_dir; $lt_search_path_spec " in
   17107   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   17108     lt_multi_os_dir=
   17109     ;;
   17110   esac
   17111   for lt_sys_path in $lt_search_path_spec; do
   17112     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   17113       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   17114     elif test -n "$lt_multi_os_dir"; then
   17115       test -d "$lt_sys_path" && \
   17116 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   17117     fi
   17118   done
   17119   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   17120 BEGIN {RS = " "; FS = "/|\n";} {
   17121   lt_foo = "";
   17122   lt_count = 0;
   17123   for (lt_i = NF; lt_i > 0; lt_i--) {
   17124     if ($lt_i != "" && $lt_i != ".") {
   17125       if ($lt_i == "..") {
   17126         lt_count++;
   17127       } else {
   17128         if (lt_count == 0) {
   17129           lt_foo = "/" $lt_i lt_foo;
   17130         } else {
   17131           lt_count--;
   17132         }
   17133       }
   17134     }
   17135   }
   17136   if (lt_foo != "") { lt_freq[lt_foo]++; }
   17137   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   17138 }'`
   17139   # AWK program above erroneously prepends '/' to C:/dos/paths
   17140   # for these hosts.
   17141   case $host_os in
   17142     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   17143       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   17144   esac
   17145   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   17146 else
   17147   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17148 fi
   17149 library_names_spec=
   17150 libname_spec='lib$name'
   17151 soname_spec=
   17152 shrext_cmds=.so
   17153 postinstall_cmds=
   17154 postuninstall_cmds=
   17155 finish_cmds=
   17156 finish_eval=
   17157 shlibpath_var=
   17158 shlibpath_overrides_runpath=unknown
   17159 version_type=none
   17160 dynamic_linker="$host_os ld.so"
   17161 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17162 need_lib_prefix=unknown
   17163 hardcode_into_libs=no
   17164 
   17165 # when you set need_version to no, make sure it does not cause -set_version
   17166 # flags to be left without arguments
   17167 need_version=unknown
   17168 
   17169 
   17170 
   17171 case $host_os in
   17172 aix3*)
   17173   version_type=linux # correct to gnu/linux during the next big refactor
   17174   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   17175   shlibpath_var=LIBPATH
   17176 
   17177   # AIX 3 has no versioning support, so we append a major version to the name.
   17178   soname_spec='$libname$release$shared_ext$major'
   17179   ;;
   17180 
   17181 aix[4-9]*)
   17182   version_type=linux # correct to gnu/linux during the next big refactor
   17183   need_lib_prefix=no
   17184   need_version=no
   17185   hardcode_into_libs=yes
   17186   if test ia64 = "$host_cpu"; then
   17187     # AIX 5 supports IA64
   17188     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   17189     shlibpath_var=LD_LIBRARY_PATH
   17190   else
   17191     # With GCC up to 2.95.x, collect2 would create an import file
   17192     # for dependence libraries.  The import file would start with
   17193     # the line '#! .'.  This would cause the generated library to
   17194     # depend on '.', always an invalid library.  This was fixed in
   17195     # development snapshots of GCC prior to 3.0.
   17196     case $host_os in
   17197       aix4 | aix4.[01] | aix4.[01].*)
   17198       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17199 	   echo ' yes '
   17200 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   17201 	:
   17202       else
   17203 	can_build_shared=no
   17204       fi
   17205       ;;
   17206     esac
   17207     # Using Import Files as archive members, it is possible to support
   17208     # filename-based versioning of shared library archives on AIX. While
   17209     # this would work for both with and without runtime linking, it will
   17210     # prevent static linking of such archives. So we do filename-based
   17211     # shared library versioning with .so extension only, which is used
   17212     # when both runtime linking and shared linking is enabled.
   17213     # Unfortunately, runtime linking may impact performance, so we do
   17214     # not want this to be the default eventually. Also, we use the
   17215     # versioned .so libs for executables only if there is the -brtl
   17216     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   17217     # To allow for filename-based versioning support, we need to create
   17218     # libNAME.so.V as an archive file, containing:
   17219     # *) an Import File, referring to the versioned filename of the
   17220     #    archive as well as the shared archive member, telling the
   17221     #    bitwidth (32 or 64) of that shared object, and providing the
   17222     #    list of exported symbols of that shared object, eventually
   17223     #    decorated with the 'weak' keyword
   17224     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17225     #    it being seen by the linker.
   17226     # At run time we better use the real file rather than another symlink,
   17227     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17228 
   17229     case $with_aix_soname,$aix_use_runtimelinking in
   17230     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17231     # soname into executable. Probably we can add versioning support to
   17232     # collect2, so additional links can be useful in future.
   17233     aix,yes) # traditional libtool
   17234       dynamic_linker='AIX unversionable lib.so'
   17235       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17236       # instead of lib<name>.a to let people know that these are not
   17237       # typical AIX shared libraries.
   17238       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17239       ;;
   17240     aix,no) # traditional AIX only
   17241       dynamic_linker='AIX lib.a(lib.so.V)'
   17242       # We preserve .a as extension for shared libraries through AIX4.2
   17243       # and later when we are not doing run time linking.
   17244       library_names_spec='$libname$release.a $libname.a'
   17245       soname_spec='$libname$release$shared_ext$major'
   17246       ;;
   17247     svr4,*) # full svr4 only
   17248       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17249       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17250       # We do not specify a path in Import Files, so LIBPATH fires.
   17251       shlibpath_overrides_runpath=yes
   17252       ;;
   17253     *,yes) # both, prefer svr4
   17254       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17255       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17256       # unpreferred sharedlib libNAME.a needs extra handling
   17257       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   17258       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   17259       # We do not specify a path in Import Files, so LIBPATH fires.
   17260       shlibpath_overrides_runpath=yes
   17261       ;;
   17262     *,no) # both, prefer aix
   17263       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17264       library_names_spec='$libname$release.a $libname.a'
   17265       soname_spec='$libname$release$shared_ext$major'
   17266       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17267       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   17268       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   17269       ;;
   17270     esac
   17271     shlibpath_var=LIBPATH
   17272   fi
   17273   ;;
   17274 
   17275 amigaos*)
   17276   case $host_cpu in
   17277   powerpc)
   17278     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17279     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17280     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17281     ;;
   17282   m68k)
   17283     library_names_spec='$libname.ixlibrary $libname.a'
   17284     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17285     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
   17286     ;;
   17287   esac
   17288   ;;
   17289 
   17290 beos*)
   17291   library_names_spec='$libname$shared_ext'
   17292   dynamic_linker="$host_os ld.so"
   17293   shlibpath_var=LIBRARY_PATH
   17294   ;;
   17295 
   17296 bsdi[45]*)
   17297   version_type=linux # correct to gnu/linux during the next big refactor
   17298   need_version=no
   17299   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17300   soname_spec='$libname$release$shared_ext$major'
   17301   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17302   shlibpath_var=LD_LIBRARY_PATH
   17303   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17304   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17305   # the default ld.so.conf also contains /usr/contrib/lib and
   17306   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17307   # libtool to hard-code these into programs
   17308   ;;
   17309 
   17310 cygwin* | mingw* | pw32* | cegcc*)
   17311   version_type=windows
   17312   shrext_cmds=.dll
   17313   need_version=no
   17314   need_lib_prefix=no
   17315 
   17316   case $GCC,$cc_basename in
   17317   yes,*)
   17318     # gcc
   17319     library_names_spec='$libname.dll.a'
   17320     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17321     postinstall_cmds='base_file=`basename \$file`~
   17322       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17323       dldir=$destdir/`dirname \$dlpath`~
   17324       test -d \$dldir || mkdir -p \$dldir~
   17325       $install_prog $dir/$dlname \$dldir/$dlname~
   17326       chmod a+x \$dldir/$dlname~
   17327       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17328         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17329       fi'
   17330     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17331       dlpath=$dir/\$dldll~
   17332        $RM \$dlpath'
   17333     shlibpath_overrides_runpath=yes
   17334 
   17335     case $host_os in
   17336     cygwin*)
   17337       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17338       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17339 
   17340       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17341       ;;
   17342     mingw* | cegcc*)
   17343       # MinGW DLLs use traditional 'lib' prefix
   17344       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17345       ;;
   17346     pw32*)
   17347       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17348       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17349       ;;
   17350     esac
   17351     dynamic_linker='Win32 ld.exe'
   17352     ;;
   17353 
   17354   *,cl*)
   17355     # Native MSVC
   17356     libname_spec='$name'
   17357     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17358     library_names_spec='$libname.dll.lib'
   17359 
   17360     case $build_os in
   17361     mingw*)
   17362       sys_lib_search_path_spec=
   17363       lt_save_ifs=$IFS
   17364       IFS=';'
   17365       for lt_path in $LIB
   17366       do
   17367         IFS=$lt_save_ifs
   17368         # Let DOS variable expansion print the short 8.3 style file name.
   17369         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17370         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17371       done
   17372       IFS=$lt_save_ifs
   17373       # Convert to MSYS style.
   17374       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17375       ;;
   17376     cygwin*)
   17377       # Convert to unix form, then to dos form, then back to unix form
   17378       # but this time dos style (no spaces!) so that the unix form looks
   17379       # like /cygdrive/c/PROGRA~1:/cygdr...
   17380       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17381       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17382       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17383       ;;
   17384     *)
   17385       sys_lib_search_path_spec=$LIB
   17386       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17387         # It is most probably a Windows format PATH.
   17388         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17389       else
   17390         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17391       fi
   17392       # FIXME: find the short name or the path components, as spaces are
   17393       # common. (e.g. "Program Files" -> "PROGRA~1")
   17394       ;;
   17395     esac
   17396 
   17397     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17398     postinstall_cmds='base_file=`basename \$file`~
   17399       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17400       dldir=$destdir/`dirname \$dlpath`~
   17401       test -d \$dldir || mkdir -p \$dldir~
   17402       $install_prog $dir/$dlname \$dldir/$dlname'
   17403     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17404       dlpath=$dir/\$dldll~
   17405        $RM \$dlpath'
   17406     shlibpath_overrides_runpath=yes
   17407     dynamic_linker='Win32 link.exe'
   17408     ;;
   17409 
   17410   *)
   17411     # Assume MSVC wrapper
   17412     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17413     dynamic_linker='Win32 ld.exe'
   17414     ;;
   17415   esac
   17416   # FIXME: first we should search . and the directory the executable is in
   17417   shlibpath_var=PATH
   17418   ;;
   17419 
   17420 darwin* | rhapsody*)
   17421   dynamic_linker="$host_os dyld"
   17422   version_type=darwin
   17423   need_lib_prefix=no
   17424   need_version=no
   17425   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17426   soname_spec='$libname$release$major$shared_ext'
   17427   shlibpath_overrides_runpath=yes
   17428   shlibpath_var=DYLD_LIBRARY_PATH
   17429   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17430 
   17431   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17432   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17433   ;;
   17434 
   17435 dgux*)
   17436   version_type=linux # correct to gnu/linux during the next big refactor
   17437   need_lib_prefix=no
   17438   need_version=no
   17439   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17440   soname_spec='$libname$release$shared_ext$major'
   17441   shlibpath_var=LD_LIBRARY_PATH
   17442   ;;
   17443 
   17444 freebsd* | dragonfly*)
   17445   # DragonFly does not have aout.  When/if they implement a new
   17446   # versioning mechanism, adjust this.
   17447   if test -x /usr/bin/objformat; then
   17448     objformat=`/usr/bin/objformat`
   17449   else
   17450     case $host_os in
   17451     freebsd[23].*) objformat=aout ;;
   17452     *) objformat=elf ;;
   17453     esac
   17454   fi
   17455   version_type=freebsd-$objformat
   17456   case $version_type in
   17457     freebsd-elf*)
   17458       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17459       soname_spec='$libname$release$shared_ext$major'
   17460       need_version=no
   17461       need_lib_prefix=no
   17462       ;;
   17463     freebsd-*)
   17464       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17465       need_version=yes
   17466       ;;
   17467   esac
   17468   shlibpath_var=LD_LIBRARY_PATH
   17469   case $host_os in
   17470   freebsd2.*)
   17471     shlibpath_overrides_runpath=yes
   17472     ;;
   17473   freebsd3.[01]* | freebsdelf3.[01]*)
   17474     shlibpath_overrides_runpath=yes
   17475     hardcode_into_libs=yes
   17476     ;;
   17477   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17478   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17479     shlibpath_overrides_runpath=no
   17480     hardcode_into_libs=yes
   17481     ;;
   17482   *) # from 4.6 on, and DragonFly
   17483     shlibpath_overrides_runpath=yes
   17484     hardcode_into_libs=yes
   17485     ;;
   17486   esac
   17487   ;;
   17488 
   17489 haiku*)
   17490   version_type=linux # correct to gnu/linux during the next big refactor
   17491   need_lib_prefix=no
   17492   need_version=no
   17493   dynamic_linker="$host_os runtime_loader"
   17494   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17495   soname_spec='$libname$release$shared_ext$major'
   17496   shlibpath_var=LIBRARY_PATH
   17497   shlibpath_overrides_runpath=no
   17498   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17499   hardcode_into_libs=yes
   17500   ;;
   17501 
   17502 hpux9* | hpux10* | hpux11*)
   17503   # Give a soname corresponding to the major version so that dld.sl refuses to
   17504   # link against other versions.
   17505   version_type=sunos
   17506   need_lib_prefix=no
   17507   need_version=no
   17508   case $host_cpu in
   17509   ia64*)
   17510     shrext_cmds='.so'
   17511     hardcode_into_libs=yes
   17512     dynamic_linker="$host_os dld.so"
   17513     shlibpath_var=LD_LIBRARY_PATH
   17514     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17515     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17516     soname_spec='$libname$release$shared_ext$major'
   17517     if test 32 = "$HPUX_IA64_MODE"; then
   17518       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17519       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17520     else
   17521       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17522       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17523     fi
   17524     ;;
   17525   hppa*64*)
   17526     shrext_cmds='.sl'
   17527     hardcode_into_libs=yes
   17528     dynamic_linker="$host_os dld.sl"
   17529     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17530     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17531     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17532     soname_spec='$libname$release$shared_ext$major'
   17533     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17534     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17535     ;;
   17536   *)
   17537     shrext_cmds='.sl'
   17538     dynamic_linker="$host_os dld.sl"
   17539     shlibpath_var=SHLIB_PATH
   17540     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17541     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17542     soname_spec='$libname$release$shared_ext$major'
   17543     ;;
   17544   esac
   17545   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17546   postinstall_cmds='chmod 555 $lib'
   17547   # or fails outright, so override atomically:
   17548   install_override_mode=555
   17549   ;;
   17550 
   17551 interix[3-9]*)
   17552   version_type=linux # correct to gnu/linux during the next big refactor
   17553   need_lib_prefix=no
   17554   need_version=no
   17555   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17556   soname_spec='$libname$release$shared_ext$major'
   17557   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17558   shlibpath_var=LD_LIBRARY_PATH
   17559   shlibpath_overrides_runpath=no
   17560   hardcode_into_libs=yes
   17561   ;;
   17562 
   17563 irix5* | irix6* | nonstopux*)
   17564   case $host_os in
   17565     nonstopux*) version_type=nonstopux ;;
   17566     *)
   17567 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17568 		version_type=linux # correct to gnu/linux during the next big refactor
   17569 	else
   17570 		version_type=irix
   17571 	fi ;;
   17572   esac
   17573   need_lib_prefix=no
   17574   need_version=no
   17575   soname_spec='$libname$release$shared_ext$major'
   17576   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17577   case $host_os in
   17578   irix5* | nonstopux*)
   17579     libsuff= shlibsuff=
   17580     ;;
   17581   *)
   17582     case $LD in # libtool.m4 will add one of these switches to LD
   17583     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17584       libsuff= shlibsuff= libmagic=32-bit;;
   17585     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17586       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17587     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17588       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17589     *) libsuff= shlibsuff= libmagic=never-match;;
   17590     esac
   17591     ;;
   17592   esac
   17593   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17594   shlibpath_overrides_runpath=no
   17595   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17596   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17597   hardcode_into_libs=yes
   17598   ;;
   17599 
   17600 # No shared lib support for Linux oldld, aout, or coff.
   17601 linux*oldld* | linux*aout* | linux*coff*)
   17602   dynamic_linker=no
   17603   ;;
   17604 
   17605 linux*android*)
   17606   version_type=none # Android doesn't support versioned libraries.
   17607   need_lib_prefix=no
   17608   need_version=no
   17609   library_names_spec='$libname$release$shared_ext'
   17610   soname_spec='$libname$release$shared_ext'
   17611   finish_cmds=
   17612   shlibpath_var=LD_LIBRARY_PATH
   17613   shlibpath_overrides_runpath=yes
   17614 
   17615   # This implies no fast_install, which is unacceptable.
   17616   # Some rework will be needed to allow for fast_install
   17617   # before this can be enabled.
   17618   hardcode_into_libs=yes
   17619 
   17620   dynamic_linker='Android linker'
   17621   # Don't embed -rpath directories since the linker doesn't support them.
   17622   hardcode_libdir_flag_spec='-L$libdir'
   17623   ;;
   17624 
   17625 # This must be glibc/ELF.
   17626 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17627   version_type=linux # correct to gnu/linux during the next big refactor
   17628   need_lib_prefix=no
   17629   need_version=no
   17630   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17631   soname_spec='$libname$release$shared_ext$major'
   17632   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17633   shlibpath_var=LD_LIBRARY_PATH
   17634   shlibpath_overrides_runpath=no
   17635 
   17636   # Some binutils ld are patched to set DT_RUNPATH
   17637   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17638   $as_echo_n "(cached) " >&6
   17639 else
   17640   lt_cv_shlibpath_overrides_runpath=no
   17641     save_LDFLAGS=$LDFLAGS
   17642     save_libdir=$libdir
   17643     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17644 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17645     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17646 /* end confdefs.h.  */
   17647 
   17648 int
   17649 main ()
   17650 {
   17651 
   17652   ;
   17653   return 0;
   17654 }
   17655 _ACEOF
   17656 if ac_fn_c_try_link "$LINENO"; then :
   17657   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17658   lt_cv_shlibpath_overrides_runpath=yes
   17659 fi
   17660 fi
   17661 rm -f core conftest.err conftest.$ac_objext \
   17662     conftest$ac_exeext conftest.$ac_ext
   17663     LDFLAGS=$save_LDFLAGS
   17664     libdir=$save_libdir
   17665 
   17666 fi
   17667 
   17668   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17669 
   17670   # This implies no fast_install, which is unacceptable.
   17671   # Some rework will be needed to allow for fast_install
   17672   # before this can be enabled.
   17673   hardcode_into_libs=yes
   17674 
   17675   # Ideally, we could use ldconfig to report *all* directores which are
   17676   # searched for libraries, however this is still not possible.  Aside from not
   17677   # being certain /sbin/ldconfig is available, command
   17678   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17679   # even though it is searched at run-time.  Try to do the best guess by
   17680   # appending ld.so.conf contents (and includes) to the search path.
   17681   if test -f /etc/ld.so.conf; then
   17682     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' ' '`
   17683     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17684   fi
   17685 
   17686   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17687   # powerpc, because MkLinux only supported shared libraries with the
   17688   # GNU dynamic linker.  Since this was broken with cross compilers,
   17689   # most powerpc-linux boxes support dynamic linking these days and
   17690   # people can always --disable-shared, the test was removed, and we
   17691   # assume the GNU/Linux dynamic linker is in use.
   17692   dynamic_linker='GNU/Linux ld.so'
   17693   ;;
   17694 
   17695 netbsdelf*-gnu)
   17696   version_type=linux
   17697   need_lib_prefix=no
   17698   need_version=no
   17699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17700   soname_spec='${libname}${release}${shared_ext}$major'
   17701   shlibpath_var=LD_LIBRARY_PATH
   17702   shlibpath_overrides_runpath=no
   17703   hardcode_into_libs=yes
   17704   dynamic_linker='NetBSD ld.elf_so'
   17705   ;;
   17706 
   17707 netbsd*)
   17708   version_type=sunos
   17709   need_lib_prefix=no
   17710   need_version=no
   17711   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17712     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17713     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17714     dynamic_linker='NetBSD (a.out) ld.so'
   17715   else
   17716     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17717     soname_spec='$libname$release$shared_ext$major'
   17718     dynamic_linker='NetBSD ld.elf_so'
   17719   fi
   17720   shlibpath_var=LD_LIBRARY_PATH
   17721   shlibpath_overrides_runpath=yes
   17722   hardcode_into_libs=yes
   17723   ;;
   17724 
   17725 newsos6)
   17726   version_type=linux # correct to gnu/linux during the next big refactor
   17727   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17728   shlibpath_var=LD_LIBRARY_PATH
   17729   shlibpath_overrides_runpath=yes
   17730   ;;
   17731 
   17732 *nto* | *qnx*)
   17733   version_type=qnx
   17734   need_lib_prefix=no
   17735   need_version=no
   17736   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17737   soname_spec='$libname$release$shared_ext$major'
   17738   shlibpath_var=LD_LIBRARY_PATH
   17739   shlibpath_overrides_runpath=no
   17740   hardcode_into_libs=yes
   17741   dynamic_linker='ldqnx.so'
   17742   ;;
   17743 
   17744 openbsd* | bitrig*)
   17745   version_type=sunos
   17746   sys_lib_dlsearch_path_spec=/usr/lib
   17747   need_lib_prefix=no
   17748   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17749     need_version=no
   17750   else
   17751     need_version=yes
   17752   fi
   17753   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17754   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17755   shlibpath_var=LD_LIBRARY_PATH
   17756   shlibpath_overrides_runpath=yes
   17757   ;;
   17758 
   17759 os2*)
   17760   libname_spec='$name'
   17761   version_type=windows
   17762   shrext_cmds=.dll
   17763   need_version=no
   17764   need_lib_prefix=no
   17765   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17766   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17767     v=$($ECHO $release$versuffix | tr -d .-);
   17768     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17769     $ECHO $n$v`$shared_ext'
   17770   library_names_spec='${libname}_dll.$libext'
   17771   dynamic_linker='OS/2 ld.exe'
   17772   shlibpath_var=BEGINLIBPATH
   17773   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17774   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17775   postinstall_cmds='base_file=`basename \$file`~
   17776     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17777     dldir=$destdir/`dirname \$dlpath`~
   17778     test -d \$dldir || mkdir -p \$dldir~
   17779     $install_prog $dir/$dlname \$dldir/$dlname~
   17780     chmod a+x \$dldir/$dlname~
   17781     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17782       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17783     fi'
   17784   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17785     dlpath=$dir/\$dldll~
   17786     $RM \$dlpath'
   17787   ;;
   17788 
   17789 osf3* | osf4* | osf5*)
   17790   version_type=osf
   17791   need_lib_prefix=no
   17792   need_version=no
   17793   soname_spec='$libname$release$shared_ext$major'
   17794   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17795   shlibpath_var=LD_LIBRARY_PATH
   17796   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17797   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17798   ;;
   17799 
   17800 rdos*)
   17801   dynamic_linker=no
   17802   ;;
   17803 
   17804 solaris*)
   17805   version_type=linux # correct to gnu/linux during the next big refactor
   17806   need_lib_prefix=no
   17807   need_version=no
   17808   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17809   soname_spec='$libname$release$shared_ext$major'
   17810   shlibpath_var=LD_LIBRARY_PATH
   17811   shlibpath_overrides_runpath=yes
   17812   hardcode_into_libs=yes
   17813   # ldd complains unless libraries are executable
   17814   postinstall_cmds='chmod +x $lib'
   17815   ;;
   17816 
   17817 sunos4*)
   17818   version_type=sunos
   17819   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17820   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17821   shlibpath_var=LD_LIBRARY_PATH
   17822   shlibpath_overrides_runpath=yes
   17823   if test yes = "$with_gnu_ld"; then
   17824     need_lib_prefix=no
   17825   fi
   17826   need_version=yes
   17827   ;;
   17828 
   17829 sysv4 | sysv4.3*)
   17830   version_type=linux # correct to gnu/linux during the next big refactor
   17831   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17832   soname_spec='$libname$release$shared_ext$major'
   17833   shlibpath_var=LD_LIBRARY_PATH
   17834   case $host_vendor in
   17835     sni)
   17836       shlibpath_overrides_runpath=no
   17837       need_lib_prefix=no
   17838       runpath_var=LD_RUN_PATH
   17839       ;;
   17840     siemens)
   17841       need_lib_prefix=no
   17842       ;;
   17843     motorola)
   17844       need_lib_prefix=no
   17845       need_version=no
   17846       shlibpath_overrides_runpath=no
   17847       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17848       ;;
   17849   esac
   17850   ;;
   17851 
   17852 sysv4*MP*)
   17853   if test -d /usr/nec; then
   17854     version_type=linux # correct to gnu/linux during the next big refactor
   17855     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17856     soname_spec='$libname$shared_ext.$major'
   17857     shlibpath_var=LD_LIBRARY_PATH
   17858   fi
   17859   ;;
   17860 
   17861 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17862   version_type=sco
   17863   need_lib_prefix=no
   17864   need_version=no
   17865   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17866   soname_spec='$libname$release$shared_ext$major'
   17867   shlibpath_var=LD_LIBRARY_PATH
   17868   shlibpath_overrides_runpath=yes
   17869   hardcode_into_libs=yes
   17870   if test yes = "$with_gnu_ld"; then
   17871     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17872   else
   17873     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17874     case $host_os in
   17875       sco3.2v5*)
   17876         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17877 	;;
   17878     esac
   17879   fi
   17880   sys_lib_dlsearch_path_spec='/usr/lib'
   17881   ;;
   17882 
   17883 tpf*)
   17884   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17885   version_type=linux # correct to gnu/linux during the next big refactor
   17886   need_lib_prefix=no
   17887   need_version=no
   17888   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17889   shlibpath_var=LD_LIBRARY_PATH
   17890   shlibpath_overrides_runpath=no
   17891   hardcode_into_libs=yes
   17892   ;;
   17893 
   17894 uts4*)
   17895   version_type=linux # correct to gnu/linux during the next big refactor
   17896   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17897   soname_spec='$libname$release$shared_ext$major'
   17898   shlibpath_var=LD_LIBRARY_PATH
   17899   ;;
   17900 
   17901 *)
   17902   dynamic_linker=no
   17903   ;;
   17904 esac
   17905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17906 $as_echo "$dynamic_linker" >&6; }
   17907 test no = "$dynamic_linker" && can_build_shared=no
   17908 
   17909 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17910 if test yes = "$GCC"; then
   17911   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17912 fi
   17913 
   17914 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17915   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17916 fi
   17917 
   17918 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17919   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17920 fi
   17921 
   17922 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17923 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17924 
   17925 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17926 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17927 
   17928 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17929 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 
   17938 
   17939 
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 
   17950 
   17951 
   17952 
   17953 
   17954 
   17955 
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979 
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 
   17986 
   17987 
   17988 
   17989 
   17990 
   17991 
   17992 
   17993 
   17994 
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 
   18001 
   18002 
   18003 
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 
   18010 
   18011 
   18012 
   18013 
   18014 
   18015 
   18016 
   18017 
   18018 
   18019 
   18020 
   18021 
   18022 
   18023 
   18024 
   18025 
   18026 
   18027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   18028 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   18029 hardcode_action=
   18030 if test -n "$hardcode_libdir_flag_spec" ||
   18031    test -n "$runpath_var" ||
   18032    test yes = "$hardcode_automatic"; then
   18033 
   18034   # We can hardcode non-existent directories.
   18035   if test no != "$hardcode_direct" &&
   18036      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18037      # have to relink, otherwise we might link with an installed library
   18038      # when we should be linking with a yet-to-be-installed one
   18039      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   18040      test no != "$hardcode_minus_L"; then
   18041     # Linking always hardcodes the temporary library directory.
   18042     hardcode_action=relink
   18043   else
   18044     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18045     hardcode_action=immediate
   18046   fi
   18047 else
   18048   # We cannot hardcode anything, or else we can only hardcode existing
   18049   # directories.
   18050   hardcode_action=unsupported
   18051 fi
   18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   18053 $as_echo "$hardcode_action" >&6; }
   18054 
   18055 if test relink = "$hardcode_action" ||
   18056    test yes = "$inherit_rpath"; then
   18057   # Fast installation is not supported
   18058   enable_fast_install=no
   18059 elif test yes = "$shlibpath_overrides_runpath" ||
   18060      test no = "$enable_shared"; then
   18061   # Fast installation is not necessary
   18062   enable_fast_install=needless
   18063 fi
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070   if test yes != "$enable_dlopen"; then
   18071   enable_dlopen=unknown
   18072   enable_dlopen_self=unknown
   18073   enable_dlopen_self_static=unknown
   18074 else
   18075   lt_cv_dlopen=no
   18076   lt_cv_dlopen_libs=
   18077 
   18078   case $host_os in
   18079   beos*)
   18080     lt_cv_dlopen=load_add_on
   18081     lt_cv_dlopen_libs=
   18082     lt_cv_dlopen_self=yes
   18083     ;;
   18084 
   18085   mingw* | pw32* | cegcc*)
   18086     lt_cv_dlopen=LoadLibrary
   18087     lt_cv_dlopen_libs=
   18088     ;;
   18089 
   18090   cygwin*)
   18091     lt_cv_dlopen=dlopen
   18092     lt_cv_dlopen_libs=
   18093     ;;
   18094 
   18095   darwin*)
   18096     # if libdl is installed we need to link against it
   18097     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18098 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   18099 if ${ac_cv_lib_dl_dlopen+:} false; then :
   18100   $as_echo_n "(cached) " >&6
   18101 else
   18102   ac_check_lib_save_LIBS=$LIBS
   18103 LIBS="-ldl  $LIBS"
   18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18105 /* end confdefs.h.  */
   18106 
   18107 /* Override any GCC internal prototype to avoid an error.
   18108    Use char because int might match the return type of a GCC
   18109    builtin and then its argument prototype would still apply.  */
   18110 #ifdef __cplusplus
   18111 extern "C"
   18112 #endif
   18113 char dlopen ();
   18114 int
   18115 main ()
   18116 {
   18117 return dlopen ();
   18118   ;
   18119   return 0;
   18120 }
   18121 _ACEOF
   18122 if ac_fn_c_try_link "$LINENO"; then :
   18123   ac_cv_lib_dl_dlopen=yes
   18124 else
   18125   ac_cv_lib_dl_dlopen=no
   18126 fi
   18127 rm -f core conftest.err conftest.$ac_objext \
   18128     conftest$ac_exeext conftest.$ac_ext
   18129 LIBS=$ac_check_lib_save_LIBS
   18130 fi
   18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18132 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18133 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18134   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18135 else
   18136 
   18137     lt_cv_dlopen=dyld
   18138     lt_cv_dlopen_libs=
   18139     lt_cv_dlopen_self=yes
   18140 
   18141 fi
   18142 
   18143     ;;
   18144 
   18145   tpf*)
   18146     # Don't try to run any link tests for TPF.  We know it's impossible
   18147     # because TPF is a cross-compiler, and we know how we open DSOs.
   18148     lt_cv_dlopen=dlopen
   18149     lt_cv_dlopen_libs=
   18150     lt_cv_dlopen_self=no
   18151     ;;
   18152 
   18153   *)
   18154     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   18155 if test "x$ac_cv_func_shl_load" = xyes; then :
   18156   lt_cv_dlopen=shl_load
   18157 else
   18158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   18159 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   18160 if ${ac_cv_lib_dld_shl_load+:} false; then :
   18161   $as_echo_n "(cached) " >&6
   18162 else
   18163   ac_check_lib_save_LIBS=$LIBS
   18164 LIBS="-ldld  $LIBS"
   18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18166 /* end confdefs.h.  */
   18167 
   18168 /* Override any GCC internal prototype to avoid an error.
   18169    Use char because int might match the return type of a GCC
   18170    builtin and then its argument prototype would still apply.  */
   18171 #ifdef __cplusplus
   18172 extern "C"
   18173 #endif
   18174 char shl_load ();
   18175 int
   18176 main ()
   18177 {
   18178 return shl_load ();
   18179   ;
   18180   return 0;
   18181 }
   18182 _ACEOF
   18183 if ac_fn_c_try_link "$LINENO"; then :
   18184   ac_cv_lib_dld_shl_load=yes
   18185 else
   18186   ac_cv_lib_dld_shl_load=no
   18187 fi
   18188 rm -f core conftest.err conftest.$ac_objext \
   18189     conftest$ac_exeext conftest.$ac_ext
   18190 LIBS=$ac_check_lib_save_LIBS
   18191 fi
   18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   18193 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   18194 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   18195   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   18196 else
   18197   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   18198 if test "x$ac_cv_func_dlopen" = xyes; then :
   18199   lt_cv_dlopen=dlopen
   18200 else
   18201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18202 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   18203 if ${ac_cv_lib_dl_dlopen+:} false; then :
   18204   $as_echo_n "(cached) " >&6
   18205 else
   18206   ac_check_lib_save_LIBS=$LIBS
   18207 LIBS="-ldl  $LIBS"
   18208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18209 /* end confdefs.h.  */
   18210 
   18211 /* Override any GCC internal prototype to avoid an error.
   18212    Use char because int might match the return type of a GCC
   18213    builtin and then its argument prototype would still apply.  */
   18214 #ifdef __cplusplus
   18215 extern "C"
   18216 #endif
   18217 char dlopen ();
   18218 int
   18219 main ()
   18220 {
   18221 return dlopen ();
   18222   ;
   18223   return 0;
   18224 }
   18225 _ACEOF
   18226 if ac_fn_c_try_link "$LINENO"; then :
   18227   ac_cv_lib_dl_dlopen=yes
   18228 else
   18229   ac_cv_lib_dl_dlopen=no
   18230 fi
   18231 rm -f core conftest.err conftest.$ac_objext \
   18232     conftest$ac_exeext conftest.$ac_ext
   18233 LIBS=$ac_check_lib_save_LIBS
   18234 fi
   18235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18236 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18237 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18238   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18239 else
   18240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18241 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18242 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18243   $as_echo_n "(cached) " >&6
   18244 else
   18245   ac_check_lib_save_LIBS=$LIBS
   18246 LIBS="-lsvld  $LIBS"
   18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18248 /* end confdefs.h.  */
   18249 
   18250 /* Override any GCC internal prototype to avoid an error.
   18251    Use char because int might match the return type of a GCC
   18252    builtin and then its argument prototype would still apply.  */
   18253 #ifdef __cplusplus
   18254 extern "C"
   18255 #endif
   18256 char dlopen ();
   18257 int
   18258 main ()
   18259 {
   18260 return dlopen ();
   18261   ;
   18262   return 0;
   18263 }
   18264 _ACEOF
   18265 if ac_fn_c_try_link "$LINENO"; then :
   18266   ac_cv_lib_svld_dlopen=yes
   18267 else
   18268   ac_cv_lib_svld_dlopen=no
   18269 fi
   18270 rm -f core conftest.err conftest.$ac_objext \
   18271     conftest$ac_exeext conftest.$ac_ext
   18272 LIBS=$ac_check_lib_save_LIBS
   18273 fi
   18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18275 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18276 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18277   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18278 else
   18279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18280 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18281 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18282   $as_echo_n "(cached) " >&6
   18283 else
   18284   ac_check_lib_save_LIBS=$LIBS
   18285 LIBS="-ldld  $LIBS"
   18286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18287 /* end confdefs.h.  */
   18288 
   18289 /* Override any GCC internal prototype to avoid an error.
   18290    Use char because int might match the return type of a GCC
   18291    builtin and then its argument prototype would still apply.  */
   18292 #ifdef __cplusplus
   18293 extern "C"
   18294 #endif
   18295 char dld_link ();
   18296 int
   18297 main ()
   18298 {
   18299 return dld_link ();
   18300   ;
   18301   return 0;
   18302 }
   18303 _ACEOF
   18304 if ac_fn_c_try_link "$LINENO"; then :
   18305   ac_cv_lib_dld_dld_link=yes
   18306 else
   18307   ac_cv_lib_dld_dld_link=no
   18308 fi
   18309 rm -f core conftest.err conftest.$ac_objext \
   18310     conftest$ac_exeext conftest.$ac_ext
   18311 LIBS=$ac_check_lib_save_LIBS
   18312 fi
   18313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18314 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18315 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18316   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18317 fi
   18318 
   18319 
   18320 fi
   18321 
   18322 
   18323 fi
   18324 
   18325 
   18326 fi
   18327 
   18328 
   18329 fi
   18330 
   18331 
   18332 fi
   18333 
   18334     ;;
   18335   esac
   18336 
   18337   if test no = "$lt_cv_dlopen"; then
   18338     enable_dlopen=no
   18339   else
   18340     enable_dlopen=yes
   18341   fi
   18342 
   18343   case $lt_cv_dlopen in
   18344   dlopen)
   18345     save_CPPFLAGS=$CPPFLAGS
   18346     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18347 
   18348     save_LDFLAGS=$LDFLAGS
   18349     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18350 
   18351     save_LIBS=$LIBS
   18352     LIBS="$lt_cv_dlopen_libs $LIBS"
   18353 
   18354     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18355 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18356 if ${lt_cv_dlopen_self+:} false; then :
   18357   $as_echo_n "(cached) " >&6
   18358 else
   18359   	  if test yes = "$cross_compiling"; then :
   18360   lt_cv_dlopen_self=cross
   18361 else
   18362   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18363   lt_status=$lt_dlunknown
   18364   cat > conftest.$ac_ext <<_LT_EOF
   18365 #line $LINENO "configure"
   18366 #include "confdefs.h"
   18367 
   18368 #if HAVE_DLFCN_H
   18369 #include <dlfcn.h>
   18370 #endif
   18371 
   18372 #include <stdio.h>
   18373 
   18374 #ifdef RTLD_GLOBAL
   18375 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18376 #else
   18377 #  ifdef DL_GLOBAL
   18378 #    define LT_DLGLOBAL		DL_GLOBAL
   18379 #  else
   18380 #    define LT_DLGLOBAL		0
   18381 #  endif
   18382 #endif
   18383 
   18384 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18385    find out it does not work in some platform. */
   18386 #ifndef LT_DLLAZY_OR_NOW
   18387 #  ifdef RTLD_LAZY
   18388 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18389 #  else
   18390 #    ifdef DL_LAZY
   18391 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18392 #    else
   18393 #      ifdef RTLD_NOW
   18394 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18395 #      else
   18396 #        ifdef DL_NOW
   18397 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18398 #        else
   18399 #          define LT_DLLAZY_OR_NOW	0
   18400 #        endif
   18401 #      endif
   18402 #    endif
   18403 #  endif
   18404 #endif
   18405 
   18406 /* When -fvisibility=hidden is used, assume the code has been annotated
   18407    correspondingly for the symbols needed.  */
   18408 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18409 int fnord () __attribute__((visibility("default")));
   18410 #endif
   18411 
   18412 int fnord () { return 42; }
   18413 int main ()
   18414 {
   18415   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18416   int status = $lt_dlunknown;
   18417 
   18418   if (self)
   18419     {
   18420       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18421       else
   18422         {
   18423 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18424           else puts (dlerror ());
   18425 	}
   18426       /* dlclose (self); */
   18427     }
   18428   else
   18429     puts (dlerror ());
   18430 
   18431   return status;
   18432 }
   18433 _LT_EOF
   18434   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18435   (eval $ac_link) 2>&5
   18436   ac_status=$?
   18437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18438   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18439     (./conftest; exit; ) >&5 2>/dev/null
   18440     lt_status=$?
   18441     case x$lt_status in
   18442       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18443       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18444       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18445     esac
   18446   else :
   18447     # compilation failed
   18448     lt_cv_dlopen_self=no
   18449   fi
   18450 fi
   18451 rm -fr conftest*
   18452 
   18453 
   18454 fi
   18455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18456 $as_echo "$lt_cv_dlopen_self" >&6; }
   18457 
   18458     if test yes = "$lt_cv_dlopen_self"; then
   18459       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18460       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18461 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18462 if ${lt_cv_dlopen_self_static+:} false; then :
   18463   $as_echo_n "(cached) " >&6
   18464 else
   18465   	  if test yes = "$cross_compiling"; then :
   18466   lt_cv_dlopen_self_static=cross
   18467 else
   18468   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18469   lt_status=$lt_dlunknown
   18470   cat > conftest.$ac_ext <<_LT_EOF
   18471 #line $LINENO "configure"
   18472 #include "confdefs.h"
   18473 
   18474 #if HAVE_DLFCN_H
   18475 #include <dlfcn.h>
   18476 #endif
   18477 
   18478 #include <stdio.h>
   18479 
   18480 #ifdef RTLD_GLOBAL
   18481 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18482 #else
   18483 #  ifdef DL_GLOBAL
   18484 #    define LT_DLGLOBAL		DL_GLOBAL
   18485 #  else
   18486 #    define LT_DLGLOBAL		0
   18487 #  endif
   18488 #endif
   18489 
   18490 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18491    find out it does not work in some platform. */
   18492 #ifndef LT_DLLAZY_OR_NOW
   18493 #  ifdef RTLD_LAZY
   18494 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18495 #  else
   18496 #    ifdef DL_LAZY
   18497 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18498 #    else
   18499 #      ifdef RTLD_NOW
   18500 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18501 #      else
   18502 #        ifdef DL_NOW
   18503 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18504 #        else
   18505 #          define LT_DLLAZY_OR_NOW	0
   18506 #        endif
   18507 #      endif
   18508 #    endif
   18509 #  endif
   18510 #endif
   18511 
   18512 /* When -fvisibility=hidden is used, assume the code has been annotated
   18513    correspondingly for the symbols needed.  */
   18514 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18515 int fnord () __attribute__((visibility("default")));
   18516 #endif
   18517 
   18518 int fnord () { return 42; }
   18519 int main ()
   18520 {
   18521   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18522   int status = $lt_dlunknown;
   18523 
   18524   if (self)
   18525     {
   18526       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18527       else
   18528         {
   18529 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18530           else puts (dlerror ());
   18531 	}
   18532       /* dlclose (self); */
   18533     }
   18534   else
   18535     puts (dlerror ());
   18536 
   18537   return status;
   18538 }
   18539 _LT_EOF
   18540   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18541   (eval $ac_link) 2>&5
   18542   ac_status=$?
   18543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18544   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18545     (./conftest; exit; ) >&5 2>/dev/null
   18546     lt_status=$?
   18547     case x$lt_status in
   18548       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18549       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18550       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18551     esac
   18552   else :
   18553     # compilation failed
   18554     lt_cv_dlopen_self_static=no
   18555   fi
   18556 fi
   18557 rm -fr conftest*
   18558 
   18559 
   18560 fi
   18561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18562 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18563     fi
   18564 
   18565     CPPFLAGS=$save_CPPFLAGS
   18566     LDFLAGS=$save_LDFLAGS
   18567     LIBS=$save_LIBS
   18568     ;;
   18569   esac
   18570 
   18571   case $lt_cv_dlopen_self in
   18572   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18573   *) enable_dlopen_self=unknown ;;
   18574   esac
   18575 
   18576   case $lt_cv_dlopen_self_static in
   18577   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18578   *) enable_dlopen_self_static=unknown ;;
   18579   esac
   18580 fi
   18581 
   18582 
   18583 
   18584 
   18585 
   18586 
   18587 
   18588 
   18589 
   18590 
   18591 
   18592 
   18593 
   18594 
   18595 
   18596 
   18597 
   18598 striplib=
   18599 old_striplib=
   18600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18601 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18602 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18603   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18604   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18606 $as_echo "yes" >&6; }
   18607 else
   18608 # FIXME - insert some real tests, host_os isn't really good enough
   18609   case $host_os in
   18610   darwin*)
   18611     if test -n "$STRIP"; then
   18612       striplib="$STRIP -x"
   18613       old_striplib="$STRIP -S"
   18614       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18615 $as_echo "yes" >&6; }
   18616     else
   18617       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18618 $as_echo "no" >&6; }
   18619     fi
   18620     ;;
   18621   *)
   18622     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18623 $as_echo "no" >&6; }
   18624     ;;
   18625   esac
   18626 fi
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 
   18638 
   18639   # Report what library types will actually be built
   18640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18641 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18643 $as_echo "$can_build_shared" >&6; }
   18644 
   18645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18646 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18647   test no = "$can_build_shared" && enable_shared=no
   18648 
   18649   # On AIX, shared libraries and static libraries use the same namespace, and
   18650   # are all built from PIC.
   18651   case $host_os in
   18652   aix3*)
   18653     test yes = "$enable_shared" && enable_static=no
   18654     if test -n "$RANLIB"; then
   18655       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18656       postinstall_cmds='$RANLIB $lib'
   18657     fi
   18658     ;;
   18659 
   18660   aix[4-9]*)
   18661     if test ia64 != "$host_cpu"; then
   18662       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18663       yes,aix,yes) ;;			# shared object as lib.so file only
   18664       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18665       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18666       esac
   18667     fi
   18668     ;;
   18669   esac
   18670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18671 $as_echo "$enable_shared" >&6; }
   18672 
   18673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18674 $as_echo_n "checking whether to build static libraries... " >&6; }
   18675   # Make sure either enable_shared or enable_static is yes.
   18676   test yes = "$enable_shared" || enable_static=yes
   18677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18678 $as_echo "$enable_static" >&6; }
   18679 
   18680 
   18681 
   18682 
   18683 fi
   18684 ac_ext=c
   18685 ac_cpp='$CPP $CPPFLAGS'
   18686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18689 
   18690 CC=$lt_save_CC
   18691 
   18692 
   18693 
   18694 
   18695 
   18696 
   18697 
   18698 
   18699 
   18700 
   18701 
   18702 
   18703 
   18704 
   18705 
   18706         ac_config_commands="$ac_config_commands libtool"
   18707 
   18708 
   18709 
   18710 
   18711 # Only expand once:
   18712 
   18713 
   18714 
   18715 # Checks for programs.
   18716 
   18717 
   18718 if test "x$GCC" = "xyes"; then
   18719 	CPPFLAGS="$CPPFLAGS -Wall"
   18720 fi
   18721 
   18722 
   18723 
   18724 # Define a configure option for an alternate module directory
   18725 
   18726 # Check whether --with-xorg-module-dir was given.
   18727 if test "${with_xorg_module_dir+set}" = set; then :
   18728   withval=$with_xorg_module_dir; moduledir="$withval"
   18729 else
   18730   moduledir="$libdir/xorg/modules"
   18731 fi
   18732 
   18733 
   18734 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18735 
   18736 
   18737 	SAVE_CFLAGS="$CFLAGS"
   18738 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18739 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18740 /* end confdefs.h.  */
   18741 
   18742 #include "xorg-server.h"
   18743 #if !defined RANDR
   18744 #error RANDR not defined
   18745 #endif
   18746 
   18747 int
   18748 main ()
   18749 {
   18750 
   18751   ;
   18752   return 0;
   18753 }
   18754 _ACEOF
   18755 if ac_fn_c_try_compile "$LINENO"; then :
   18756   _EXT_CHECK=yes
   18757 else
   18758   _EXT_CHECK=no
   18759 fi
   18760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18761 	CFLAGS="$SAVE_CFLAGS"
   18762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18763 $as_echo_n "checking if RANDR is defined... " >&6; }
   18764 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18765 $as_echo "$_EXT_CHECK" >&6; }
   18766 	if test "$_EXT_CHECK" != no; then
   18767 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18768 	fi
   18769 
   18770 
   18771 
   18772 	SAVE_CFLAGS="$CFLAGS"
   18773 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18774 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18775 /* end confdefs.h.  */
   18776 
   18777 #include "xorg-server.h"
   18778 #if !defined RENDER
   18779 #error RENDER not defined
   18780 #endif
   18781 
   18782 int
   18783 main ()
   18784 {
   18785 
   18786   ;
   18787   return 0;
   18788 }
   18789 _ACEOF
   18790 if ac_fn_c_try_compile "$LINENO"; then :
   18791   _EXT_CHECK=yes
   18792 else
   18793   _EXT_CHECK=no
   18794 fi
   18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18796 	CFLAGS="$SAVE_CFLAGS"
   18797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18798 $as_echo_n "checking if RENDER is defined... " >&6; }
   18799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18800 $as_echo "$_EXT_CHECK" >&6; }
   18801 	if test "$_EXT_CHECK" != no; then
   18802 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18803 	fi
   18804 
   18805 
   18806 
   18807 	SAVE_CFLAGS="$CFLAGS"
   18808 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18809 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18810 /* end confdefs.h.  */
   18811 
   18812 #include "xorg-server.h"
   18813 #if !defined XV
   18814 #error XV not defined
   18815 #endif
   18816 
   18817 int
   18818 main ()
   18819 {
   18820 
   18821   ;
   18822   return 0;
   18823 }
   18824 _ACEOF
   18825 if ac_fn_c_try_compile "$LINENO"; then :
   18826   _EXT_CHECK=yes
   18827 else
   18828   _EXT_CHECK=no
   18829 fi
   18830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18831 	CFLAGS="$SAVE_CFLAGS"
   18832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18833 $as_echo_n "checking if XV is defined... " >&6; }
   18834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18835 $as_echo "$_EXT_CHECK" >&6; }
   18836 	if test "$_EXT_CHECK" != no; then
   18837 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18838 	fi
   18839 
   18840 
   18841 
   18842 	SAVE_CFLAGS="$CFLAGS"
   18843 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18844 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18845 /* end confdefs.h.  */
   18846 
   18847 #include "xorg-server.h"
   18848 #if !defined DPMSExtension
   18849 #error DPMSExtension not defined
   18850 #endif
   18851 
   18852 int
   18853 main ()
   18854 {
   18855 
   18856   ;
   18857   return 0;
   18858 }
   18859 _ACEOF
   18860 if ac_fn_c_try_compile "$LINENO"; then :
   18861   _EXT_CHECK=yes
   18862 else
   18863   _EXT_CHECK=no
   18864 fi
   18865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18866 	CFLAGS="$SAVE_CFLAGS"
   18867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18868 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18870 $as_echo "$_EXT_CHECK" >&6; }
   18871 	if test "$_EXT_CHECK" != no; then
   18872 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18873 	fi
   18874 
   18875 
   18876 # Checks for libraries.
   18877 
   18878 pkg_failed=no
   18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDRM" >&5
   18880 $as_echo_n "checking for LIBDRM... " >&6; }
   18881 
   18882 if test -n "$LIBDRM_CFLAGS"; then
   18883     pkg_cv_LIBDRM_CFLAGS="$LIBDRM_CFLAGS"
   18884  elif test -n "$PKG_CONFIG"; then
   18885     if test -n "$PKG_CONFIG" && \
   18886     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.58\""; } >&5
   18887   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.58") 2>&5
   18888   ac_status=$?
   18889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18890   test $ac_status = 0; }; then
   18891   pkg_cv_LIBDRM_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.4.58" 2>/dev/null`
   18892 		      test "x$?" != "x0" && pkg_failed=yes
   18893 else
   18894   pkg_failed=yes
   18895 fi
   18896  else
   18897     pkg_failed=untried
   18898 fi
   18899 if test -n "$LIBDRM_LIBS"; then
   18900     pkg_cv_LIBDRM_LIBS="$LIBDRM_LIBS"
   18901  elif test -n "$PKG_CONFIG"; then
   18902     if test -n "$PKG_CONFIG" && \
   18903     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.58\""; } >&5
   18904   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.58") 2>&5
   18905   ac_status=$?
   18906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18907   test $ac_status = 0; }; then
   18908   pkg_cv_LIBDRM_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.4.58" 2>/dev/null`
   18909 		      test "x$?" != "x0" && pkg_failed=yes
   18910 else
   18911   pkg_failed=yes
   18912 fi
   18913  else
   18914     pkg_failed=untried
   18915 fi
   18916 
   18917 
   18918 
   18919 if test $pkg_failed = yes; then
   18920    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18921 $as_echo "no" >&6; }
   18922 
   18923 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18924         _pkg_short_errors_supported=yes
   18925 else
   18926         _pkg_short_errors_supported=no
   18927 fi
   18928         if test $_pkg_short_errors_supported = yes; then
   18929 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.4.58" 2>&1`
   18930         else
   18931 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.4.58" 2>&1`
   18932         fi
   18933 	# Put the nasty error message in config.log where it belongs
   18934 	echo "$LIBDRM_PKG_ERRORS" >&5
   18935 
   18936 	as_fn_error $? "Package requirements (libdrm >= 2.4.58) were not met:
   18937 
   18938 $LIBDRM_PKG_ERRORS
   18939 
   18940 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18941 installed software in a non-standard prefix.
   18942 
   18943 Alternatively, you may set the environment variables LIBDRM_CFLAGS
   18944 and LIBDRM_LIBS to avoid the need to call pkg-config.
   18945 See the pkg-config man page for more details." "$LINENO" 5
   18946 elif test $pkg_failed = untried; then
   18947      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18948 $as_echo "no" >&6; }
   18949 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18951 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18952 is in your PATH or set the PKG_CONFIG environment variable to the full
   18953 path to pkg-config.
   18954 
   18955 Alternatively, you may set the environment variables LIBDRM_CFLAGS
   18956 and LIBDRM_LIBS to avoid the need to call pkg-config.
   18957 See the pkg-config man page for more details.
   18958 
   18959 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18960 See \`config.log' for more details" "$LINENO" 5; }
   18961 else
   18962 	LIBDRM_CFLAGS=$pkg_cv_LIBDRM_CFLAGS
   18963 	LIBDRM_LIBS=$pkg_cv_LIBDRM_LIBS
   18964         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18965 $as_echo "yes" >&6; }
   18966 
   18967 fi
   18968 
   18969 pkg_failed=no
   18970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDRM_RADEON" >&5
   18971 $as_echo_n "checking for LIBDRM_RADEON... " >&6; }
   18972 
   18973 if test -n "$LIBDRM_RADEON_CFLAGS"; then
   18974     pkg_cv_LIBDRM_RADEON_CFLAGS="$LIBDRM_RADEON_CFLAGS"
   18975  elif test -n "$PKG_CONFIG"; then
   18976     if test -n "$PKG_CONFIG" && \
   18977     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_radeon\""; } >&5
   18978   ($PKG_CONFIG --exists --print-errors "libdrm_radeon") 2>&5
   18979   ac_status=$?
   18980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18981   test $ac_status = 0; }; then
   18982   pkg_cv_LIBDRM_RADEON_CFLAGS=`$PKG_CONFIG --cflags "libdrm_radeon" 2>/dev/null`
   18983 		      test "x$?" != "x0" && pkg_failed=yes
   18984 else
   18985   pkg_failed=yes
   18986 fi
   18987  else
   18988     pkg_failed=untried
   18989 fi
   18990 if test -n "$LIBDRM_RADEON_LIBS"; then
   18991     pkg_cv_LIBDRM_RADEON_LIBS="$LIBDRM_RADEON_LIBS"
   18992  elif test -n "$PKG_CONFIG"; then
   18993     if test -n "$PKG_CONFIG" && \
   18994     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_radeon\""; } >&5
   18995   ($PKG_CONFIG --exists --print-errors "libdrm_radeon") 2>&5
   18996   ac_status=$?
   18997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18998   test $ac_status = 0; }; then
   18999   pkg_cv_LIBDRM_RADEON_LIBS=`$PKG_CONFIG --libs "libdrm_radeon" 2>/dev/null`
   19000 		      test "x$?" != "x0" && pkg_failed=yes
   19001 else
   19002   pkg_failed=yes
   19003 fi
   19004  else
   19005     pkg_failed=untried
   19006 fi
   19007 
   19008 
   19009 
   19010 if test $pkg_failed = yes; then
   19011    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19012 $as_echo "no" >&6; }
   19013 
   19014 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19015         _pkg_short_errors_supported=yes
   19016 else
   19017         _pkg_short_errors_supported=no
   19018 fi
   19019         if test $_pkg_short_errors_supported = yes; then
   19020 	        LIBDRM_RADEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm_radeon" 2>&1`
   19021         else
   19022 	        LIBDRM_RADEON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm_radeon" 2>&1`
   19023         fi
   19024 	# Put the nasty error message in config.log where it belongs
   19025 	echo "$LIBDRM_RADEON_PKG_ERRORS" >&5
   19026 
   19027 	as_fn_error $? "Package requirements (libdrm_radeon) were not met:
   19028 
   19029 $LIBDRM_RADEON_PKG_ERRORS
   19030 
   19031 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19032 installed software in a non-standard prefix.
   19033 
   19034 Alternatively, you may set the environment variables LIBDRM_RADEON_CFLAGS
   19035 and LIBDRM_RADEON_LIBS to avoid the need to call pkg-config.
   19036 See the pkg-config man page for more details." "$LINENO" 5
   19037 elif test $pkg_failed = untried; then
   19038      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19039 $as_echo "no" >&6; }
   19040 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19042 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19043 is in your PATH or set the PKG_CONFIG environment variable to the full
   19044 path to pkg-config.
   19045 
   19046 Alternatively, you may set the environment variables LIBDRM_RADEON_CFLAGS
   19047 and LIBDRM_RADEON_LIBS to avoid the need to call pkg-config.
   19048 See the pkg-config man page for more details.
   19049 
   19050 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19051 See \`config.log' for more details" "$LINENO" 5; }
   19052 else
   19053 	LIBDRM_RADEON_CFLAGS=$pkg_cv_LIBDRM_RADEON_CFLAGS
   19054 	LIBDRM_RADEON_LIBS=$pkg_cv_LIBDRM_RADEON_LIBS
   19055         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19056 $as_echo "yes" >&6; }
   19057 
   19058 fi
   19059 
   19060 # Obtain compiler/linker options for the driver dependencies
   19061 
   19062 pkg_failed=no
   19063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   19064 $as_echo_n "checking for XORG... " >&6; }
   19065 
   19066 if test -n "$XORG_CFLAGS"; then
   19067     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19068  elif test -n "$PKG_CONFIG"; then
   19069     if test -n "$PKG_CONFIG" && \
   19070     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.10 xproto fontsproto xf86driproto \$REQUIRED_MODULES\""; } >&5
   19071   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.10 xproto fontsproto xf86driproto $REQUIRED_MODULES") 2>&5
   19072   ac_status=$?
   19073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19074   test $ac_status = 0; }; then
   19075   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.10 xproto fontsproto xf86driproto $REQUIRED_MODULES" 2>/dev/null`
   19076 		      test "x$?" != "x0" && pkg_failed=yes
   19077 else
   19078   pkg_failed=yes
   19079 fi
   19080  else
   19081     pkg_failed=untried
   19082 fi
   19083 if test -n "$XORG_LIBS"; then
   19084     pkg_cv_XORG_LIBS="$XORG_LIBS"
   19085  elif test -n "$PKG_CONFIG"; then
   19086     if test -n "$PKG_CONFIG" && \
   19087     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.10 xproto fontsproto xf86driproto \$REQUIRED_MODULES\""; } >&5
   19088   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.10 xproto fontsproto xf86driproto $REQUIRED_MODULES") 2>&5
   19089   ac_status=$?
   19090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19091   test $ac_status = 0; }; then
   19092   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.10 xproto fontsproto xf86driproto $REQUIRED_MODULES" 2>/dev/null`
   19093 		      test "x$?" != "x0" && pkg_failed=yes
   19094 else
   19095   pkg_failed=yes
   19096 fi
   19097  else
   19098     pkg_failed=untried
   19099 fi
   19100 
   19101 
   19102 
   19103 if test $pkg_failed = yes; then
   19104    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19105 $as_echo "no" >&6; }
   19106 
   19107 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19108         _pkg_short_errors_supported=yes
   19109 else
   19110         _pkg_short_errors_supported=no
   19111 fi
   19112         if test $_pkg_short_errors_supported = yes; then
   19113 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.10 xproto fontsproto xf86driproto $REQUIRED_MODULES" 2>&1`
   19114         else
   19115 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.10 xproto fontsproto xf86driproto $REQUIRED_MODULES" 2>&1`
   19116         fi
   19117 	# Put the nasty error message in config.log where it belongs
   19118 	echo "$XORG_PKG_ERRORS" >&5
   19119 
   19120 	as_fn_error $? "Package requirements (xorg-server >= 1.10 xproto fontsproto xf86driproto $REQUIRED_MODULES) were not met:
   19121 
   19122 $XORG_PKG_ERRORS
   19123 
   19124 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19125 installed software in a non-standard prefix.
   19126 
   19127 Alternatively, you may set the environment variables XORG_CFLAGS
   19128 and XORG_LIBS to avoid the need to call pkg-config.
   19129 See the pkg-config man page for more details." "$LINENO" 5
   19130 elif test $pkg_failed = untried; then
   19131      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19132 $as_echo "no" >&6; }
   19133 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19135 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19136 is in your PATH or set the PKG_CONFIG environment variable to the full
   19137 path to pkg-config.
   19138 
   19139 Alternatively, you may set the environment variables XORG_CFLAGS
   19140 and XORG_LIBS to avoid the need to call pkg-config.
   19141 See the pkg-config man page for more details.
   19142 
   19143 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19144 See \`config.log' for more details" "$LINENO" 5; }
   19145 else
   19146 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   19147 	XORG_LIBS=$pkg_cv_XORG_LIBS
   19148         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19149 $as_echo "yes" >&6; }
   19150 
   19151 fi
   19152 
   19153 pkg_failed=no
   19154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   19155 $as_echo_n "checking for XEXT... " >&6; }
   19156 
   19157 if test -n "$XEXT_CFLAGS"; then
   19158     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   19159  elif test -n "$PKG_CONFIG"; then
   19160     if test -n "$PKG_CONFIG" && \
   19161     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   19162   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   19163   ac_status=$?
   19164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19165   test $ac_status = 0; }; then
   19166   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   19167 		      test "x$?" != "x0" && pkg_failed=yes
   19168 else
   19169   pkg_failed=yes
   19170 fi
   19171  else
   19172     pkg_failed=untried
   19173 fi
   19174 if test -n "$XEXT_LIBS"; then
   19175     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   19176  elif test -n "$PKG_CONFIG"; then
   19177     if test -n "$PKG_CONFIG" && \
   19178     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   19179   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   19180   ac_status=$?
   19181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19182   test $ac_status = 0; }; then
   19183   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   19184 		      test "x$?" != "x0" && pkg_failed=yes
   19185 else
   19186   pkg_failed=yes
   19187 fi
   19188  else
   19189     pkg_failed=untried
   19190 fi
   19191 
   19192 
   19193 
   19194 if test $pkg_failed = yes; then
   19195    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19196 $as_echo "no" >&6; }
   19197 
   19198 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19199         _pkg_short_errors_supported=yes
   19200 else
   19201         _pkg_short_errors_supported=no
   19202 fi
   19203         if test $_pkg_short_errors_supported = yes; then
   19204 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   19205         else
   19206 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   19207         fi
   19208 	# Put the nasty error message in config.log where it belongs
   19209 	echo "$XEXT_PKG_ERRORS" >&5
   19210 
   19211 	HAVE_XEXTPROTO_71="no"
   19212 elif test $pkg_failed = untried; then
   19213      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19214 $as_echo "no" >&6; }
   19215 	HAVE_XEXTPROTO_71="no"
   19216 else
   19217 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   19218 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   19219         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19220 $as_echo "yes" >&6; }
   19221 	HAVE_XEXTPROTO_71="yes";
   19222 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   19223 
   19224 fi
   19225  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   19226   HAVE_XEXTPROTO_71_TRUE=
   19227   HAVE_XEXTPROTO_71_FALSE='#'
   19228 else
   19229   HAVE_XEXTPROTO_71_TRUE='#'
   19230   HAVE_XEXTPROTO_71_FALSE=
   19231 fi
   19232 
   19233 
   19234 # Check whether --enable-udev was given.
   19235 if test "${enable_udev+set}" = set; then :
   19236   enableval=$enable_udev; enable_udev="$enableval"
   19237 else
   19238   enable_udev=auto
   19239 fi
   19240 
   19241 if test "x$enable_udev" != "xno"; then
   19242 
   19243 pkg_failed=no
   19244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDEV" >&5
   19245 $as_echo_n "checking for LIBUDEV... " >&6; }
   19246 
   19247 if test -n "$LIBUDEV_CFLAGS"; then
   19248     pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
   19249  elif test -n "$PKG_CONFIG"; then
   19250     if test -n "$PKG_CONFIG" && \
   19251     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   19252   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   19253   ac_status=$?
   19254   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19255   test $ac_status = 0; }; then
   19256   pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
   19257 		      test "x$?" != "x0" && pkg_failed=yes
   19258 else
   19259   pkg_failed=yes
   19260 fi
   19261  else
   19262     pkg_failed=untried
   19263 fi
   19264 if test -n "$LIBUDEV_LIBS"; then
   19265     pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
   19266  elif test -n "$PKG_CONFIG"; then
   19267     if test -n "$PKG_CONFIG" && \
   19268     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   19269   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   19270   ac_status=$?
   19271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19272   test $ac_status = 0; }; then
   19273   pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
   19274 		      test "x$?" != "x0" && pkg_failed=yes
   19275 else
   19276   pkg_failed=yes
   19277 fi
   19278  else
   19279     pkg_failed=untried
   19280 fi
   19281 
   19282 
   19283 
   19284 if test $pkg_failed = yes; then
   19285    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19286 $as_echo "no" >&6; }
   19287 
   19288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19289         _pkg_short_errors_supported=yes
   19290 else
   19291         _pkg_short_errors_supported=no
   19292 fi
   19293         if test $_pkg_short_errors_supported = yes; then
   19294 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1`
   19295         else
   19296 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1`
   19297         fi
   19298 	# Put the nasty error message in config.log where it belongs
   19299 	echo "$LIBUDEV_PKG_ERRORS" >&5
   19300 
   19301 	LIBUDEV=no
   19302 elif test $pkg_failed = untried; then
   19303      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19304 $as_echo "no" >&6; }
   19305 	LIBUDEV=no
   19306 else
   19307 	LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
   19308 	LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
   19309         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19310 $as_echo "yes" >&6; }
   19311 	LIBUDEV=yes
   19312 fi
   19313 	if test "x$LIBUDEV" = xyes; then
   19314 
   19315 $as_echo "#define HAVE_LIBUDEV 1" >>confdefs.h
   19316 
   19317 	elif test "x$enable_udev" != "xauto"; then
   19318 		as_fn_error $? "Building with udev requested but libudev not found" "$LINENO" 5
   19319 	fi
   19320 fi
   19321  if test x$LIBUDEV = xyes; then
   19322   LIBUDEV_TRUE=
   19323   LIBUDEV_FALSE='#'
   19324 else
   19325   LIBUDEV_TRUE='#'
   19326   LIBUDEV_FALSE=
   19327 fi
   19328 
   19329 
   19330 SAVE_CPPFLAGS="$CPPFLAGS"
   19331 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19332 
   19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include GLAMOR support" >&5
   19334 $as_echo_n "checking whether to include GLAMOR support... " >&6; }
   19335 # Check whether --enable-glamor was given.
   19336 if test "${enable_glamor+set}" = set; then :
   19337   enableval=$enable_glamor; GLAMOR="$enableval"
   19338 else
   19339   GLAMOR=yes
   19340 fi
   19341 
   19342 
   19343 if test "x$GLAMOR" != "xno"; then
   19344 	for ac_header in glamor.h
   19345 do :
   19346   ac_fn_c_check_header_compile "$LINENO" "glamor.h" "ac_cv_header_glamor_h" "#include \"xorg-server.h\"
   19347 "
   19348 if test "x$ac_cv_header_glamor_h" = xyes; then :
   19349   cat >>confdefs.h <<_ACEOF
   19350 #define HAVE_GLAMOR_H 1
   19351 _ACEOF
   19352  GLAMOR_H="yes"
   19353 else
   19354   GLAMOR_H="no"
   19355 fi
   19356 
   19357 done
   19358 
   19359 
   19360 	if test "x$GLAMOR_H" = xyes; then
   19361 		ac_fn_c_check_decl "$LINENO" "GLAMOR_NO_DRI3" "ac_cv_have_decl_GLAMOR_NO_DRI3" "#include \"xorg-server.h\"
   19362 			       #include \"glamor.h\"
   19363 "
   19364 if test "x$ac_cv_have_decl_GLAMOR_NO_DRI3" = xyes; then :
   19365   GLAMOR_XSERVER="yes"
   19366 else
   19367   GLAMOR_XSERVER="no"
   19368 fi
   19369 
   19370 
   19371 		ac_fn_c_check_decl "$LINENO" "glamor_glyphs_init" "ac_cv_have_decl_glamor_glyphs_init" "#include \"xorg-server.h\"
   19372 			       #include \"glamor.h\"
   19373 "
   19374 if test "x$ac_cv_have_decl_glamor_glyphs_init" = xyes; then :
   19375 
   19376 $as_echo "#define HAVE_GLAMOR_GLYPHS_INIT 1" >>confdefs.h
   19377 
   19378 fi
   19379 
   19380 
   19381 		ac_fn_c_check_decl "$LINENO" "glamor_egl_destroy_textured_pixmap" "ac_cv_have_decl_glamor_egl_destroy_textured_pixmap" "#include \"xorg-server.h\"
   19382 			       #include \"glamor.h\"
   19383 "
   19384 if test "x$ac_cv_have_decl_glamor_egl_destroy_textured_pixmap" = xyes; then :
   19385 
   19386 $as_echo "#define HAVE_GLAMOR_EGL_DESTROY_TEXTURED_PIXMAP 1" >>confdefs.h
   19387 
   19388 fi
   19389 
   19390 	fi
   19391 
   19392 	if test "x$GLAMOR_XSERVER" != xyes; then
   19393 
   19394 pkg_failed=no
   19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLAMOR" >&5
   19396 $as_echo_n "checking for LIBGLAMOR... " >&6; }
   19397 
   19398 if test -n "$LIBGLAMOR_CFLAGS"; then
   19399     pkg_cv_LIBGLAMOR_CFLAGS="$LIBGLAMOR_CFLAGS"
   19400  elif test -n "$PKG_CONFIG"; then
   19401     if test -n "$PKG_CONFIG" && \
   19402     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glamor >= 0.6.0\""; } >&5
   19403   ($PKG_CONFIG --exists --print-errors "glamor >= 0.6.0") 2>&5
   19404   ac_status=$?
   19405   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19406   test $ac_status = 0; }; then
   19407   pkg_cv_LIBGLAMOR_CFLAGS=`$PKG_CONFIG --cflags "glamor >= 0.6.0" 2>/dev/null`
   19408 		      test "x$?" != "x0" && pkg_failed=yes
   19409 else
   19410   pkg_failed=yes
   19411 fi
   19412  else
   19413     pkg_failed=untried
   19414 fi
   19415 if test -n "$LIBGLAMOR_LIBS"; then
   19416     pkg_cv_LIBGLAMOR_LIBS="$LIBGLAMOR_LIBS"
   19417  elif test -n "$PKG_CONFIG"; then
   19418     if test -n "$PKG_CONFIG" && \
   19419     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glamor >= 0.6.0\""; } >&5
   19420   ($PKG_CONFIG --exists --print-errors "glamor >= 0.6.0") 2>&5
   19421   ac_status=$?
   19422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19423   test $ac_status = 0; }; then
   19424   pkg_cv_LIBGLAMOR_LIBS=`$PKG_CONFIG --libs "glamor >= 0.6.0" 2>/dev/null`
   19425 		      test "x$?" != "x0" && pkg_failed=yes
   19426 else
   19427   pkg_failed=yes
   19428 fi
   19429  else
   19430     pkg_failed=untried
   19431 fi
   19432 
   19433 
   19434 
   19435 if test $pkg_failed = yes; then
   19436    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19437 $as_echo "no" >&6; }
   19438 
   19439 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19440         _pkg_short_errors_supported=yes
   19441 else
   19442         _pkg_short_errors_supported=no
   19443 fi
   19444         if test $_pkg_short_errors_supported = yes; then
   19445 	        LIBGLAMOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glamor >= 0.6.0" 2>&1`
   19446         else
   19447 	        LIBGLAMOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glamor >= 0.6.0" 2>&1`
   19448         fi
   19449 	# Put the nasty error message in config.log where it belongs
   19450 	echo "$LIBGLAMOR_PKG_ERRORS" >&5
   19451 
   19452 	as_fn_error $? "Package requirements (glamor >= 0.6.0) were not met:
   19453 
   19454 $LIBGLAMOR_PKG_ERRORS
   19455 
   19456 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19457 installed software in a non-standard prefix.
   19458 
   19459 Alternatively, you may set the environment variables LIBGLAMOR_CFLAGS
   19460 and LIBGLAMOR_LIBS to avoid the need to call pkg-config.
   19461 See the pkg-config man page for more details." "$LINENO" 5
   19462 elif test $pkg_failed = untried; then
   19463      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19464 $as_echo "no" >&6; }
   19465 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19467 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19468 is in your PATH or set the PKG_CONFIG environment variable to the full
   19469 path to pkg-config.
   19470 
   19471 Alternatively, you may set the environment variables LIBGLAMOR_CFLAGS
   19472 and LIBGLAMOR_LIBS to avoid the need to call pkg-config.
   19473 See the pkg-config man page for more details.
   19474 
   19475 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19476 See \`config.log' for more details" "$LINENO" 5; }
   19477 else
   19478 	LIBGLAMOR_CFLAGS=$pkg_cv_LIBGLAMOR_CFLAGS
   19479 	LIBGLAMOR_LIBS=$pkg_cv_LIBGLAMOR_LIBS
   19480         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19481 $as_echo "yes" >&6; }
   19482 
   19483 fi
   19484 
   19485 pkg_failed=no
   19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLAMOR_EGL" >&5
   19487 $as_echo_n "checking for LIBGLAMOR_EGL... " >&6; }
   19488 
   19489 if test -n "$LIBGLAMOR_EGL_CFLAGS"; then
   19490     pkg_cv_LIBGLAMOR_EGL_CFLAGS="$LIBGLAMOR_EGL_CFLAGS"
   19491  elif test -n "$PKG_CONFIG"; then
   19492     if test -n "$PKG_CONFIG" && \
   19493     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glamor-egl\""; } >&5
   19494   ($PKG_CONFIG --exists --print-errors "glamor-egl") 2>&5
   19495   ac_status=$?
   19496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19497   test $ac_status = 0; }; then
   19498   pkg_cv_LIBGLAMOR_EGL_CFLAGS=`$PKG_CONFIG --cflags "glamor-egl" 2>/dev/null`
   19499 		      test "x$?" != "x0" && pkg_failed=yes
   19500 else
   19501   pkg_failed=yes
   19502 fi
   19503  else
   19504     pkg_failed=untried
   19505 fi
   19506 if test -n "$LIBGLAMOR_EGL_LIBS"; then
   19507     pkg_cv_LIBGLAMOR_EGL_LIBS="$LIBGLAMOR_EGL_LIBS"
   19508  elif test -n "$PKG_CONFIG"; then
   19509     if test -n "$PKG_CONFIG" && \
   19510     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glamor-egl\""; } >&5
   19511   ($PKG_CONFIG --exists --print-errors "glamor-egl") 2>&5
   19512   ac_status=$?
   19513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19514   test $ac_status = 0; }; then
   19515   pkg_cv_LIBGLAMOR_EGL_LIBS=`$PKG_CONFIG --libs "glamor-egl" 2>/dev/null`
   19516 		      test "x$?" != "x0" && pkg_failed=yes
   19517 else
   19518   pkg_failed=yes
   19519 fi
   19520  else
   19521     pkg_failed=untried
   19522 fi
   19523 
   19524 
   19525 
   19526 if test $pkg_failed = yes; then
   19527    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19528 $as_echo "no" >&6; }
   19529 
   19530 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19531         _pkg_short_errors_supported=yes
   19532 else
   19533         _pkg_short_errors_supported=no
   19534 fi
   19535         if test $_pkg_short_errors_supported = yes; then
   19536 	        LIBGLAMOR_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glamor-egl" 2>&1`
   19537         else
   19538 	        LIBGLAMOR_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glamor-egl" 2>&1`
   19539         fi
   19540 	# Put the nasty error message in config.log where it belongs
   19541 	echo "$LIBGLAMOR_EGL_PKG_ERRORS" >&5
   19542 
   19543 	as_fn_error $? "Package requirements (glamor-egl) were not met:
   19544 
   19545 $LIBGLAMOR_EGL_PKG_ERRORS
   19546 
   19547 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19548 installed software in a non-standard prefix.
   19549 
   19550 Alternatively, you may set the environment variables LIBGLAMOR_EGL_CFLAGS
   19551 and LIBGLAMOR_EGL_LIBS to avoid the need to call pkg-config.
   19552 See the pkg-config man page for more details." "$LINENO" 5
   19553 elif test $pkg_failed = untried; then
   19554      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19555 $as_echo "no" >&6; }
   19556 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19558 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19559 is in your PATH or set the PKG_CONFIG environment variable to the full
   19560 path to pkg-config.
   19561 
   19562 Alternatively, you may set the environment variables LIBGLAMOR_EGL_CFLAGS
   19563 and LIBGLAMOR_EGL_LIBS to avoid the need to call pkg-config.
   19564 See the pkg-config man page for more details.
   19565 
   19566 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19567 See \`config.log' for more details" "$LINENO" 5; }
   19568 else
   19569 	LIBGLAMOR_EGL_CFLAGS=$pkg_cv_LIBGLAMOR_EGL_CFLAGS
   19570 	LIBGLAMOR_EGL_LIBS=$pkg_cv_LIBGLAMOR_EGL_LIBS
   19571         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19572 $as_echo "yes" >&6; }
   19573 
   19574 fi
   19575 	fi
   19576 
   19577 $as_echo "#define USE_GLAMOR 1" >>confdefs.h
   19578 
   19579 else
   19580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLAMOR" >&5
   19581 $as_echo "$GLAMOR" >&6; }
   19582 fi
   19583  if test x$GLAMOR != xno; then
   19584   GLAMOR_TRUE=
   19585   GLAMOR_FALSE='#'
   19586 else
   19587   GLAMOR_TRUE='#'
   19588   GLAMOR_FALSE=
   19589 fi
   19590 
   19591 
   19592 ac_fn_c_check_decl "$LINENO" "RegionDuplicate" "ac_cv_have_decl_RegionDuplicate" "#include <xorg-server.h>
   19593 	       #include <regionstr.h>
   19594 "
   19595 if test "x$ac_cv_have_decl_RegionDuplicate" = xyes; then :
   19596 
   19597 $as_echo "#define HAVE_REGIONDUPLICATE 1" >>confdefs.h
   19598 
   19599 fi
   19600 
   19601 
   19602 ac_fn_c_check_decl "$LINENO" "fbGlyphs" "ac_cv_have_decl_fbGlyphs" "#include <X11/Xmd.h>
   19603 	       #include <X11/Xfuncproto.h>
   19604 	       #include <X11/extensions/renderproto.h>
   19605 	       #include <xorg-server.h>
   19606 	       #include <picture.h>
   19607 	       #include <glyphstr.h>
   19608 	       #include <fbpict.h>
   19609 "
   19610 if test "x$ac_cv_have_decl_fbGlyphs" = xyes; then :
   19611 
   19612 $as_echo "#define HAVE_FBGLYPHS 1" >>confdefs.h
   19613 
   19614 fi
   19615 
   19616 
   19617 ac_fn_c_check_decl "$LINENO" "xf86CursorResetCursor" "ac_cv_have_decl_xf86CursorResetCursor" "#include <xorg-server.h>
   19618 	       #include <xf86Cursor.h>
   19619 "
   19620 if test "x$ac_cv_have_decl_xf86CursorResetCursor" = xyes; then :
   19621 
   19622 $as_echo "#define HAVE_XF86_CURSOR_RESET_CURSOR 1" >>confdefs.h
   19623 
   19624 fi
   19625 
   19626 
   19627 ac_fn_c_check_decl "$LINENO" "xorg_list_init" "ac_cv_have_decl_xorg_list_init" "#include <X11/Xdefs.h>
   19628 	      #include \"xorg-server.h\"
   19629 	      #include \"list.h\"
   19630 "
   19631 if test "x$ac_cv_have_decl_xorg_list_init" = xyes; then :
   19632 
   19633 $as_echo "#define HAVE_XORG_LIST 1" >>confdefs.h
   19634 
   19635 fi
   19636 
   19637 
   19638 for ac_header in misyncshm.h
   19639 do :
   19640   ac_fn_c_check_header_compile "$LINENO" "misyncshm.h" "ac_cv_header_misyncshm_h" "#include <X11/Xdefs.h>
   19641 	          #include <X11/Xfuncproto.h>
   19642 	          #include <xorg-server.h>
   19643 		  #include <screenint.h>
   19644 "
   19645 if test "x$ac_cv_header_misyncshm_h" = xyes; then :
   19646   cat >>confdefs.h <<_ACEOF
   19647 #define HAVE_MISYNCSHM_H 1
   19648 _ACEOF
   19649 
   19650 fi
   19651 
   19652 done
   19653 
   19654 
   19655 for ac_header in present.h
   19656 do :
   19657   ac_fn_c_check_header_compile "$LINENO" "present.h" "ac_cv_header_present_h" "#include <X11/Xmd.h>
   19658 		 #include <X11/Xproto.h>
   19659 		 #include <X11/X.h>
   19660 		 #include \"xorg-server.h\"
   19661 "
   19662 if test "x$ac_cv_header_present_h" = xyes; then :
   19663   cat >>confdefs.h <<_ACEOF
   19664 #define HAVE_PRESENT_H 1
   19665 _ACEOF
   19666 
   19667 fi
   19668 
   19669 done
   19670 
   19671 
   19672 for ac_header in dri3.h
   19673 do :
   19674   ac_fn_c_check_header_compile "$LINENO" "dri3.h" "ac_cv_header_dri3_h" "#include <X11/Xmd.h>
   19675 		 #include <xorg-server.h>
   19676 "
   19677 if test "x$ac_cv_header_dri3_h" = xyes; then :
   19678   cat >>confdefs.h <<_ACEOF
   19679 #define HAVE_DRI3_H 1
   19680 _ACEOF
   19681 
   19682 fi
   19683 
   19684 done
   19685 
   19686 
   19687 CPPFLAGS="$SAVE_CPPFLAGS"
   19688 
   19689 
   19690 pkg_failed=no
   19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   19692 $as_echo_n "checking for PCIACCESS... " >&6; }
   19693 
   19694 if test -n "$PCIACCESS_CFLAGS"; then
   19695     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   19696  elif test -n "$PKG_CONFIG"; then
   19697     if test -n "$PKG_CONFIG" && \
   19698     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   19699   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   19700   ac_status=$?
   19701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19702   test $ac_status = 0; }; then
   19703   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   19704 		      test "x$?" != "x0" && pkg_failed=yes
   19705 else
   19706   pkg_failed=yes
   19707 fi
   19708  else
   19709     pkg_failed=untried
   19710 fi
   19711 if test -n "$PCIACCESS_LIBS"; then
   19712     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   19713  elif test -n "$PKG_CONFIG"; then
   19714     if test -n "$PKG_CONFIG" && \
   19715     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   19716   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   19717   ac_status=$?
   19718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19719   test $ac_status = 0; }; then
   19720   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   19721 		      test "x$?" != "x0" && pkg_failed=yes
   19722 else
   19723   pkg_failed=yes
   19724 fi
   19725  else
   19726     pkg_failed=untried
   19727 fi
   19728 
   19729 
   19730 
   19731 if test $pkg_failed = yes; then
   19732    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19733 $as_echo "no" >&6; }
   19734 
   19735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19736         _pkg_short_errors_supported=yes
   19737 else
   19738         _pkg_short_errors_supported=no
   19739 fi
   19740         if test $_pkg_short_errors_supported = yes; then
   19741 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19742         else
   19743 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19744         fi
   19745 	# Put the nasty error message in config.log where it belongs
   19746 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19747 
   19748 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   19749 
   19750 $PCIACCESS_PKG_ERRORS
   19751 
   19752 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19753 installed software in a non-standard prefix.
   19754 
   19755 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19756 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19757 See the pkg-config man page for more details." "$LINENO" 5
   19758 elif test $pkg_failed = untried; then
   19759      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19760 $as_echo "no" >&6; }
   19761 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19763 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19764 is in your PATH or set the PKG_CONFIG environment variable to the full
   19765 path to pkg-config.
   19766 
   19767 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19768 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19769 See the pkg-config man page for more details.
   19770 
   19771 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19772 See \`config.log' for more details" "$LINENO" 5; }
   19773 else
   19774 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19775 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19776         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19777 $as_echo "yes" >&6; }
   19778 
   19779 fi
   19780 XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   19781 
   19782 # Checks for headers/macros for byte swapping
   19783 # Known variants:
   19784 #	<byteswap.h> bswap_16, bswap_32, bswap_64  (glibc)
   19785 #	<sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
   19786 #	<sys/endian.h> bswap16, bswap32, bswap64 (other BSD's)
   19787 #	and a fallback to local macros if none of the above are found
   19788 
   19789 # if <byteswap.h> is found, assume it's the correct version
   19790 for ac_header in byteswap.h
   19791 do :
   19792   ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
   19793 if test "x$ac_cv_header_byteswap_h" = xyes; then :
   19794   cat >>confdefs.h <<_ACEOF
   19795 #define HAVE_BYTESWAP_H 1
   19796 _ACEOF
   19797 
   19798 fi
   19799 
   19800 done
   19801 
   19802 
   19803 # if <sys/endian.h> is found, have to check which version
   19804 ac_fn_c_check_header_mongrel "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
   19805 if test "x$ac_cv_header_sys_endian_h" = xyes; then :
   19806   HAVE_SYS_ENDIAN_H="yes"
   19807 else
   19808   HAVE_SYS_ENDIAN_H="no"
   19809 fi
   19810 
   19811 
   19812 
   19813 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
   19814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
   19815 $as_echo_n "checking for __swap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   19816 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19817 /* end confdefs.h.  */
   19818 
   19819 #include <sys/types.h>
   19820 #include <sys/endian.h>
   19821 
   19822 int
   19823 main ()
   19824 {
   19825 
   19826 int a = 1, b;
   19827 b = __swap16(a);
   19828 
   19829   ;
   19830   return 0;
   19831 }
   19832 
   19833 _ACEOF
   19834 if ac_fn_c_try_link "$LINENO"; then :
   19835   SYS_ENDIAN__SWAP='yes'
   19836 else
   19837   SYS_ENDIAN__SWAP='no'
   19838 fi
   19839 rm -f core conftest.err conftest.$ac_objext \
   19840     conftest$ac_exeext conftest.$ac_ext
   19841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN__SWAP" >&5
   19842 $as_echo "$SYS_ENDIAN__SWAP" >&6; }
   19843 
   19844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
   19845 $as_echo_n "checking for bswap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   19846 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19847 /* end confdefs.h.  */
   19848 
   19849 #include <sys/types.h>
   19850 #include <sys/endian.h>
   19851 
   19852 int
   19853 main ()
   19854 {
   19855 
   19856 int a = 1, b;
   19857 b = bswap16(a);
   19858 
   19859   ;
   19860   return 0;
   19861 }
   19862 
   19863 _ACEOF
   19864 if ac_fn_c_try_link "$LINENO"; then :
   19865   SYS_ENDIAN_BSWAP='yes'
   19866 else
   19867   SYS_ENDIAN_BSWAP='no'
   19868 fi
   19869 rm -f core conftest.err conftest.$ac_objext \
   19870     conftest$ac_exeext conftest.$ac_ext
   19871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN_BSWAP" >&5
   19872 $as_echo "$SYS_ENDIAN_BSWAP" >&6; }
   19873 
   19874     	if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
   19875 		USE_SYS_ENDIAN_H=yes
   19876 		BSWAP=bswap
   19877 	else
   19878 	    	if test "$SYS_ENDIAN__SWAP" = "yes" ; then
   19879 			USE_SYS_ENDIAN_H=yes
   19880 			BSWAP=__swap
   19881 		else
   19882 			USE_SYS_ENDIAN_H=no
   19883 		fi
   19884 	fi
   19885 
   19886 	if test "$USE_SYS_ENDIAN_H" = "yes" ; then
   19887 
   19888 $as_echo "#define USE_SYS_ENDIAN_H 1" >>confdefs.h
   19889 
   19890 
   19891 cat >>confdefs.h <<_ACEOF
   19892 #define bswap_16 ${BSWAP}16
   19893 _ACEOF
   19894 
   19895 
   19896 cat >>confdefs.h <<_ACEOF
   19897 #define bswap_32 ${BSWAP}32
   19898 _ACEOF
   19899 
   19900 
   19901 cat >>confdefs.h <<_ACEOF
   19902 #define bswap_64 ${BSWAP}64
   19903 _ACEOF
   19904 
   19905 	fi
   19906 fi
   19907 
   19908 
   19909 
   19910 DRIVER_NAME=ati
   19911 
   19912 
   19913 { $as_echo "$as_me:${as_lineno-$LINENO}: The atimisc sub-driver has been split out to xf86-video-mach64:
   19914     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64
   19915 Please install that driver as well for mach64-based cards.
   19916 " >&5
   19917 $as_echo "$as_me: The atimisc sub-driver has been split out to xf86-video-mach64:
   19918     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64
   19919 Please install that driver as well for mach64-based cards.
   19920 " >&6;}
   19921 
   19922 { $as_echo "$as_me:${as_lineno-$LINENO}: The r128 sub-driver has been split out to xf86-video-r128:
   19923     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-r128
   19924 Please install that driver as well for rage128-based cards.
   19925 " >&5
   19926 $as_echo "$as_me: The r128 sub-driver has been split out to xf86-video-r128:
   19927     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-r128
   19928 Please install that driver as well for rage128-based cards.
   19929 " >&6;}
   19930 
   19931 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19932 
   19933 cat >confcache <<\_ACEOF
   19934 # This file is a shell script that caches the results of configure
   19935 # tests run on this system so they can be shared between configure
   19936 # scripts and configure runs, see configure's option --config-cache.
   19937 # It is not useful on other systems.  If it contains results you don't
   19938 # want to keep, you may remove or edit it.
   19939 #
   19940 # config.status only pays attention to the cache file if you give it
   19941 # the --recheck option to rerun configure.
   19942 #
   19943 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19944 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19945 # following values.
   19946 
   19947 _ACEOF
   19948 
   19949 # The following way of writing the cache mishandles newlines in values,
   19950 # but we know of no workaround that is simple, portable, and efficient.
   19951 # So, we kill variables containing newlines.
   19952 # Ultrix sh set writes to stderr and can't be redirected directly,
   19953 # and sets the high bit in the cache file unless we assign to the vars.
   19954 (
   19955   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19956     eval ac_val=\$$ac_var
   19957     case $ac_val in #(
   19958     *${as_nl}*)
   19959       case $ac_var in #(
   19960       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19961 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19962       esac
   19963       case $ac_var in #(
   19964       _ | IFS | as_nl) ;; #(
   19965       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19966       *) { eval $ac_var=; unset $ac_var;} ;;
   19967       esac ;;
   19968     esac
   19969   done
   19970 
   19971   (set) 2>&1 |
   19972     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19973     *${as_nl}ac_space=\ *)
   19974       # `set' does not quote correctly, so add quotes: double-quote
   19975       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19976       sed -n \
   19977 	"s/'/'\\\\''/g;
   19978 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19979       ;; #(
   19980     *)
   19981       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19982       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19983       ;;
   19984     esac |
   19985     sort
   19986 ) |
   19987   sed '
   19988      /^ac_cv_env_/b end
   19989      t clear
   19990      :clear
   19991      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19992      t end
   19993      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19994      :end' >>confcache
   19995 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19996   if test -w "$cache_file"; then
   19997     if test "x$cache_file" != "x/dev/null"; then
   19998       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19999 $as_echo "$as_me: updating cache $cache_file" >&6;}
   20000       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20001 	cat confcache >"$cache_file"
   20002       else
   20003         case $cache_file in #(
   20004         */* | ?:*)
   20005 	  mv -f confcache "$cache_file"$$ &&
   20006 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20007         *)
   20008 	  mv -f confcache "$cache_file" ;;
   20009 	esac
   20010       fi
   20011     fi
   20012   else
   20013     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20014 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20015   fi
   20016 fi
   20017 rm -f confcache
   20018 
   20019 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20020 # Let make expand exec_prefix.
   20021 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20022 
   20023 DEFS=-DHAVE_CONFIG_H
   20024 
   20025 ac_libobjs=
   20026 ac_ltlibobjs=
   20027 U=
   20028 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20029   # 1. Remove the extension, and $U if already installed.
   20030   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20031   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   20032   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20033   #    will be set to the directory where LIBOBJS objects are built.
   20034   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20035   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20036 done
   20037 LIBOBJS=$ac_libobjs
   20038 
   20039 LTLIBOBJS=$ac_ltlibobjs
   20040 
   20041 
   20042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20043 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   20044    if test -n "$am_sleep_pid"; then
   20045      # Hide warnings about reused PIDs.
   20046      wait $am_sleep_pid 2>/dev/null
   20047    fi
   20048    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20049 $as_echo "done" >&6; }
   20050  if test -n "$EXEEXT"; then
   20051   am__EXEEXT_TRUE=
   20052   am__EXEEXT_FALSE='#'
   20053 else
   20054   am__EXEEXT_TRUE='#'
   20055   am__EXEEXT_FALSE=
   20056 fi
   20057 
   20058 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20059   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20061 fi
   20062 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20063   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20065 fi
   20066 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   20067   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   20068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20069 fi
   20070 if test -z "${LIBUDEV_TRUE}" && test -z "${LIBUDEV_FALSE}"; then
   20071   as_fn_error $? "conditional \"LIBUDEV\" was never defined.
   20072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20073 fi
   20074 if test -z "${GLAMOR_TRUE}" && test -z "${GLAMOR_FALSE}"; then
   20075   as_fn_error $? "conditional \"GLAMOR\" was never defined.
   20076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20077 fi
   20078 
   20079 : "${CONFIG_STATUS=./config.status}"
   20080 ac_write_fail=0
   20081 ac_clean_files_save=$ac_clean_files
   20082 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20084 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20085 as_write_fail=0
   20086 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20087 #! $SHELL
   20088 # Generated by $as_me.
   20089 # Run this file to recreate the current configuration.
   20090 # Compiler output produced by configure, useful for debugging
   20091 # configure, is in config.log if it exists.
   20092 
   20093 debug=false
   20094 ac_cs_recheck=false
   20095 ac_cs_silent=false
   20096 
   20097 SHELL=\${CONFIG_SHELL-$SHELL}
   20098 export SHELL
   20099 _ASEOF
   20100 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20101 ## -------------------- ##
   20102 ## M4sh Initialization. ##
   20103 ## -------------------- ##
   20104 
   20105 # Be more Bourne compatible
   20106 DUALCASE=1; export DUALCASE # for MKS sh
   20107 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20108   emulate sh
   20109   NULLCMD=:
   20110   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20111   # is contrary to our usage.  Disable this feature.
   20112   alias -g '${1+"$@"}'='"$@"'
   20113   setopt NO_GLOB_SUBST
   20114 else
   20115   case `(set -o) 2>/dev/null` in #(
   20116   *posix*) :
   20117     set -o posix ;; #(
   20118   *) :
   20119      ;;
   20120 esac
   20121 fi
   20122 
   20123 
   20124 as_nl='
   20125 '
   20126 export as_nl
   20127 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   20128 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   20129 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   20130 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   20131 # Prefer a ksh shell builtin over an external printf program on Solaris,
   20132 # but without wasting forks for bash or zsh.
   20133 if test -z "$BASH_VERSION$ZSH_VERSION" \
   20134     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   20135   as_echo='print -r --'
   20136   as_echo_n='print -rn --'
   20137 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   20138   as_echo='printf %s\n'
   20139   as_echo_n='printf %s'
   20140 else
   20141   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   20142     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   20143     as_echo_n='/usr/ucb/echo -n'
   20144   else
   20145     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   20146     as_echo_n_body='eval
   20147       arg=$1;
   20148       case $arg in #(
   20149       *"$as_nl"*)
   20150 	expr "X$arg" : "X\\(.*\\)$as_nl";
   20151 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   20152       esac;
   20153       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   20154     '
   20155     export as_echo_n_body
   20156     as_echo_n='sh -c $as_echo_n_body as_echo'
   20157   fi
   20158   export as_echo_body
   20159   as_echo='sh -c $as_echo_body as_echo'
   20160 fi
   20161 
   20162 # The user is always right.
   20163 if test "${PATH_SEPARATOR+set}" != set; then
   20164   PATH_SEPARATOR=:
   20165   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20166     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20167       PATH_SEPARATOR=';'
   20168   }
   20169 fi
   20170 
   20171 
   20172 # IFS
   20173 # We need space, tab and new line, in precisely that order.  Quoting is
   20174 # there to prevent editors from complaining about space-tab.
   20175 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20176 # splitting by setting IFS to empty value.)
   20177 IFS=" ""	$as_nl"
   20178 
   20179 # Find who we are.  Look in the path if we contain no directory separator.
   20180 as_myself=
   20181 case $0 in #((
   20182   *[\\/]* ) as_myself=$0 ;;
   20183   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20184 for as_dir in $PATH
   20185 do
   20186   IFS=$as_save_IFS
   20187   test -z "$as_dir" && as_dir=.
   20188     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20189   done
   20190 IFS=$as_save_IFS
   20191 
   20192      ;;
   20193 esac
   20194 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20195 # in which case we are not to be found in the path.
   20196 if test "x$as_myself" = x; then
   20197   as_myself=$0
   20198 fi
   20199 if test ! -f "$as_myself"; then
   20200   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20201   exit 1
   20202 fi
   20203 
   20204 # Unset variables that we do not need and which cause bugs (e.g. in
   20205 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   20206 # suppresses any "Segmentation fault" message there.  '((' could
   20207 # trigger a bug in pdksh 5.2.14.
   20208 for as_var in BASH_ENV ENV MAIL MAILPATH
   20209 do eval test x\${$as_var+set} = xset \
   20210   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20211 done
   20212 PS1='$ '
   20213 PS2='> '
   20214 PS4='+ '
   20215 
   20216 # NLS nuisances.
   20217 LC_ALL=C
   20218 export LC_ALL
   20219 LANGUAGE=C
   20220 export LANGUAGE
   20221 
   20222 # CDPATH.
   20223 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20224 
   20225 
   20226 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20227 # ----------------------------------------
   20228 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20229 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20230 # script with STATUS, using 1 if that was 0.
   20231 as_fn_error ()
   20232 {
   20233   as_status=$1; test $as_status -eq 0 && as_status=1
   20234   if test "$4"; then
   20235     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20236     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20237   fi
   20238   $as_echo "$as_me: error: $2" >&2
   20239   as_fn_exit $as_status
   20240 } # as_fn_error
   20241 
   20242 
   20243 # as_fn_set_status STATUS
   20244 # -----------------------
   20245 # Set $? to STATUS, without forking.
   20246 as_fn_set_status ()
   20247 {
   20248   return $1
   20249 } # as_fn_set_status
   20250 
   20251 # as_fn_exit STATUS
   20252 # -----------------
   20253 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20254 as_fn_exit ()
   20255 {
   20256   set +e
   20257   as_fn_set_status $1
   20258   exit $1
   20259 } # as_fn_exit
   20260 
   20261 # as_fn_unset VAR
   20262 # ---------------
   20263 # Portably unset VAR.
   20264 as_fn_unset ()
   20265 {
   20266   { eval $1=; unset $1;}
   20267 }
   20268 as_unset=as_fn_unset
   20269 # as_fn_append VAR VALUE
   20270 # ----------------------
   20271 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20272 # advantage of any shell optimizations that allow amortized linear growth over
   20273 # repeated appends, instead of the typical quadratic growth present in naive
   20274 # implementations.
   20275 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   20276   eval 'as_fn_append ()
   20277   {
   20278     eval $1+=\$2
   20279   }'
   20280 else
   20281   as_fn_append ()
   20282   {
   20283     eval $1=\$$1\$2
   20284   }
   20285 fi # as_fn_append
   20286 
   20287 # as_fn_arith ARG...
   20288 # ------------------
   20289 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20290 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20291 # must be portable across $(()) and expr.
   20292 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   20293   eval 'as_fn_arith ()
   20294   {
   20295     as_val=$(( $* ))
   20296   }'
   20297 else
   20298   as_fn_arith ()
   20299   {
   20300     as_val=`expr "$@" || test $? -eq 1`
   20301   }
   20302 fi # as_fn_arith
   20303 
   20304 
   20305 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20306    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20307   as_expr=expr
   20308 else
   20309   as_expr=false
   20310 fi
   20311 
   20312 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20313   as_basename=basename
   20314 else
   20315   as_basename=false
   20316 fi
   20317 
   20318 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20319   as_dirname=dirname
   20320 else
   20321   as_dirname=false
   20322 fi
   20323 
   20324 as_me=`$as_basename -- "$0" ||
   20325 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20326 	 X"$0" : 'X\(//\)$' \| \
   20327 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20328 $as_echo X/"$0" |
   20329     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20330 	    s//\1/
   20331 	    q
   20332 	  }
   20333 	  /^X\/\(\/\/\)$/{
   20334 	    s//\1/
   20335 	    q
   20336 	  }
   20337 	  /^X\/\(\/\).*/{
   20338 	    s//\1/
   20339 	    q
   20340 	  }
   20341 	  s/.*/./; q'`
   20342 
   20343 # Avoid depending upon Character Ranges.
   20344 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20345 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20346 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20347 as_cr_digits='0123456789'
   20348 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20349 
   20350 ECHO_C= ECHO_N= ECHO_T=
   20351 case `echo -n x` in #(((((
   20352 -n*)
   20353   case `echo 'xy\c'` in
   20354   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20355   xy)  ECHO_C='\c';;
   20356   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20357        ECHO_T='	';;
   20358   esac;;
   20359 *)
   20360   ECHO_N='-n';;
   20361 esac
   20362 
   20363 rm -f conf$$ conf$$.exe conf$$.file
   20364 if test -d conf$$.dir; then
   20365   rm -f conf$$.dir/conf$$.file
   20366 else
   20367   rm -f conf$$.dir
   20368   mkdir conf$$.dir 2>/dev/null
   20369 fi
   20370 if (echo >conf$$.file) 2>/dev/null; then
   20371   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20372     as_ln_s='ln -s'
   20373     # ... but there are two gotchas:
   20374     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20375     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20376     # In both cases, we have to default to `cp -pR'.
   20377     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20378       as_ln_s='cp -pR'
   20379   elif ln conf$$.file conf$$ 2>/dev/null; then
   20380     as_ln_s=ln
   20381   else
   20382     as_ln_s='cp -pR'
   20383   fi
   20384 else
   20385   as_ln_s='cp -pR'
   20386 fi
   20387 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20388 rmdir conf$$.dir 2>/dev/null
   20389 
   20390 
   20391 # as_fn_mkdir_p
   20392 # -------------
   20393 # Create "$as_dir" as a directory, including parents if necessary.
   20394 as_fn_mkdir_p ()
   20395 {
   20396 
   20397   case $as_dir in #(
   20398   -*) as_dir=./$as_dir;;
   20399   esac
   20400   test -d "$as_dir" || eval $as_mkdir_p || {
   20401     as_dirs=
   20402     while :; do
   20403       case $as_dir in #(
   20404       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20405       *) as_qdir=$as_dir;;
   20406       esac
   20407       as_dirs="'$as_qdir' $as_dirs"
   20408       as_dir=`$as_dirname -- "$as_dir" ||
   20409 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20410 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20411 	 X"$as_dir" : 'X\(//\)$' \| \
   20412 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20413 $as_echo X"$as_dir" |
   20414     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20415 	    s//\1/
   20416 	    q
   20417 	  }
   20418 	  /^X\(\/\/\)[^/].*/{
   20419 	    s//\1/
   20420 	    q
   20421 	  }
   20422 	  /^X\(\/\/\)$/{
   20423 	    s//\1/
   20424 	    q
   20425 	  }
   20426 	  /^X\(\/\).*/{
   20427 	    s//\1/
   20428 	    q
   20429 	  }
   20430 	  s/.*/./; q'`
   20431       test -d "$as_dir" && break
   20432     done
   20433     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20434   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20435 
   20436 
   20437 } # as_fn_mkdir_p
   20438 if mkdir -p . 2>/dev/null; then
   20439   as_mkdir_p='mkdir -p "$as_dir"'
   20440 else
   20441   test -d ./-p && rmdir ./-p
   20442   as_mkdir_p=false
   20443 fi
   20444 
   20445 
   20446 # as_fn_executable_p FILE
   20447 # -----------------------
   20448 # Test if FILE is an executable regular file.
   20449 as_fn_executable_p ()
   20450 {
   20451   test -f "$1" && test -x "$1"
   20452 } # as_fn_executable_p
   20453 as_test_x='test -x'
   20454 as_executable_p=as_fn_executable_p
   20455 
   20456 # Sed expression to map a string onto a valid CPP name.
   20457 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20458 
   20459 # Sed expression to map a string onto a valid variable name.
   20460 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20461 
   20462 
   20463 exec 6>&1
   20464 ## ----------------------------------- ##
   20465 ## Main body of $CONFIG_STATUS script. ##
   20466 ## ----------------------------------- ##
   20467 _ASEOF
   20468 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20469 
   20470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20471 # Save the log message, to keep $0 and so on meaningful, and to
   20472 # report actual input values of CONFIG_FILES etc. instead of their
   20473 # values after options handling.
   20474 ac_log="
   20475 This file was extended by xf86-video-ati $as_me 7.8.0, which was
   20476 generated by GNU Autoconf 2.69.  Invocation command line was
   20477 
   20478   CONFIG_FILES    = $CONFIG_FILES
   20479   CONFIG_HEADERS  = $CONFIG_HEADERS
   20480   CONFIG_LINKS    = $CONFIG_LINKS
   20481   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20482   $ $0 $@
   20483 
   20484 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20485 "
   20486 
   20487 _ACEOF
   20488 
   20489 case $ac_config_files in *"
   20490 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20491 esac
   20492 
   20493 case $ac_config_headers in *"
   20494 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20495 esac
   20496 
   20497 
   20498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20499 # Files that config.status was made for.
   20500 config_files="$ac_config_files"
   20501 config_headers="$ac_config_headers"
   20502 config_commands="$ac_config_commands"
   20503 
   20504 _ACEOF
   20505 
   20506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20507 ac_cs_usage="\
   20508 \`$as_me' instantiates files and other configuration actions
   20509 from templates according to the current configuration.  Unless the files
   20510 and actions are specified as TAGs, all are instantiated by default.
   20511 
   20512 Usage: $0 [OPTION]... [TAG]...
   20513 
   20514   -h, --help       print this help, then exit
   20515   -V, --version    print version number and configuration settings, then exit
   20516       --config     print configuration, then exit
   20517   -q, --quiet, --silent
   20518                    do not print progress messages
   20519   -d, --debug      don't remove temporary files
   20520       --recheck    update $as_me by reconfiguring in the same conditions
   20521       --file=FILE[:TEMPLATE]
   20522                    instantiate the configuration file FILE
   20523       --header=FILE[:TEMPLATE]
   20524                    instantiate the configuration header FILE
   20525 
   20526 Configuration files:
   20527 $config_files
   20528 
   20529 Configuration headers:
   20530 $config_headers
   20531 
   20532 Configuration commands:
   20533 $config_commands
   20534 
   20535 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   20536 
   20537 _ACEOF
   20538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20539 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   20540 ac_cs_version="\\
   20541 xf86-video-ati config.status 7.8.0
   20542 configured by $0, generated by GNU Autoconf 2.69,
   20543   with options \\"\$ac_cs_config\\"
   20544 
   20545 Copyright (C) 2012 Free Software Foundation, Inc.
   20546 This config.status script is free software; the Free Software Foundation
   20547 gives unlimited permission to copy, distribute and modify it."
   20548 
   20549 ac_pwd='$ac_pwd'
   20550 srcdir='$srcdir'
   20551 INSTALL='$INSTALL'
   20552 MKDIR_P='$MKDIR_P'
   20553 AWK='$AWK'
   20554 test -n "\$AWK" || AWK=awk
   20555 _ACEOF
   20556 
   20557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20558 # The default lists apply if the user does not specify any file.
   20559 ac_need_defaults=:
   20560 while test $# != 0
   20561 do
   20562   case $1 in
   20563   --*=?*)
   20564     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20565     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20566     ac_shift=:
   20567     ;;
   20568   --*=)
   20569     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20570     ac_optarg=
   20571     ac_shift=:
   20572     ;;
   20573   *)
   20574     ac_option=$1
   20575     ac_optarg=$2
   20576     ac_shift=shift
   20577     ;;
   20578   esac
   20579 
   20580   case $ac_option in
   20581   # Handling of the options.
   20582   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20583     ac_cs_recheck=: ;;
   20584   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20585     $as_echo "$ac_cs_version"; exit ;;
   20586   --config | --confi | --conf | --con | --co | --c )
   20587     $as_echo "$ac_cs_config"; exit ;;
   20588   --debug | --debu | --deb | --de | --d | -d )
   20589     debug=: ;;
   20590   --file | --fil | --fi | --f )
   20591     $ac_shift
   20592     case $ac_optarg in
   20593     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20594     '') as_fn_error $? "missing file argument" ;;
   20595     esac
   20596     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20597     ac_need_defaults=false;;
   20598   --header | --heade | --head | --hea )
   20599     $ac_shift
   20600     case $ac_optarg in
   20601     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20602     esac
   20603     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20604     ac_need_defaults=false;;
   20605   --he | --h)
   20606     # Conflict between --help and --header
   20607     as_fn_error $? "ambiguous option: \`$1'
   20608 Try \`$0 --help' for more information.";;
   20609   --help | --hel | -h )
   20610     $as_echo "$ac_cs_usage"; exit ;;
   20611   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20612   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20613     ac_cs_silent=: ;;
   20614 
   20615   # This is an error.
   20616   -*) as_fn_error $? "unrecognized option: \`$1'
   20617 Try \`$0 --help' for more information." ;;
   20618 
   20619   *) as_fn_append ac_config_targets " $1"
   20620      ac_need_defaults=false ;;
   20621 
   20622   esac
   20623   shift
   20624 done
   20625 
   20626 ac_configure_extra_args=
   20627 
   20628 if $ac_cs_silent; then
   20629   exec 6>/dev/null
   20630   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20631 fi
   20632 
   20633 _ACEOF
   20634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20635 if \$ac_cs_recheck; then
   20636   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20637   shift
   20638   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20639   CONFIG_SHELL='$SHELL'
   20640   export CONFIG_SHELL
   20641   exec "\$@"
   20642 fi
   20643 
   20644 _ACEOF
   20645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20646 exec 5>>config.log
   20647 {
   20648   echo
   20649   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20650 ## Running $as_me. ##
   20651 _ASBOX
   20652   $as_echo "$ac_log"
   20653 } >&5
   20654 
   20655 _ACEOF
   20656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20657 #
   20658 # INIT-COMMANDS
   20659 #
   20660 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20661 
   20662 
   20663 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20664 # if CDPATH is set.
   20665 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20666 
   20667 sed_quote_subst='$sed_quote_subst'
   20668 double_quote_subst='$double_quote_subst'
   20669 delay_variable_subst='$delay_variable_subst'
   20670 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20671 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20672 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20673 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20674 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20675 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20676 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20677 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20678 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20679 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20680 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20681 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20682 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20683 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20684 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20685 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20686 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20687 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20688 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20689 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20690 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20691 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20692 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20693 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20694 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20695 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20696 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20697 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20698 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20699 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20700 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20701 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20702 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20703 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20704 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20705 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20706 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20707 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20708 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20709 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20710 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20711 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20712 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20713 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20714 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20715 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20716 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20717 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20718 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20719 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20720 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20721 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20722 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20723 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20724 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20725 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20726 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20727 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20728 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"`'
   20729 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20730 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20731 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20732 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20733 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20734 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20735 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20736 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20737 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20738 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20739 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20740 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20741 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20742 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20743 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20744 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20745 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20746 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20747 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20748 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20749 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20750 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20751 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20752 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20753 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20754 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20755 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20756 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20757 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20758 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20759 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20760 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20761 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20762 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20763 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20764 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20765 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20766 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20767 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20768 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20769 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20770 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20771 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20772 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20773 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20774 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20775 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20776 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20777 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20778 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20779 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20780 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20781 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20782 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20783 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20784 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20785 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20786 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20787 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20788 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20789 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20790 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20791 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20792 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20793 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20794 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20795 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20796 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20797 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20798 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20799 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20800 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20801 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20802 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20803 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20804 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20805 
   20806 LTCC='$LTCC'
   20807 LTCFLAGS='$LTCFLAGS'
   20808 compiler='$compiler_DEFAULT'
   20809 
   20810 # A function that is used when there is no print builtin or printf.
   20811 func_fallback_echo ()
   20812 {
   20813   eval 'cat <<_LTECHO_EOF
   20814 \$1
   20815 _LTECHO_EOF'
   20816 }
   20817 
   20818 # Quote evaled strings.
   20819 for var in SHELL \
   20820 ECHO \
   20821 PATH_SEPARATOR \
   20822 SED \
   20823 GREP \
   20824 EGREP \
   20825 FGREP \
   20826 LD \
   20827 NM \
   20828 LN_S \
   20829 lt_SP2NL \
   20830 lt_NL2SP \
   20831 reload_flag \
   20832 OBJDUMP \
   20833 deplibs_check_method \
   20834 file_magic_cmd \
   20835 file_magic_glob \
   20836 want_nocaseglob \
   20837 DLLTOOL \
   20838 sharedlib_from_linklib_cmd \
   20839 AR \
   20840 AR_FLAGS \
   20841 archiver_list_spec \
   20842 STRIP \
   20843 RANLIB \
   20844 CC \
   20845 CFLAGS \
   20846 compiler \
   20847 lt_cv_sys_global_symbol_pipe \
   20848 lt_cv_sys_global_symbol_to_cdecl \
   20849 lt_cv_sys_global_symbol_to_import \
   20850 lt_cv_sys_global_symbol_to_c_name_address \
   20851 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20852 lt_cv_nm_interface \
   20853 nm_file_list_spec \
   20854 lt_cv_truncate_bin \
   20855 lt_prog_compiler_no_builtin_flag \
   20856 lt_prog_compiler_pic \
   20857 lt_prog_compiler_wl \
   20858 lt_prog_compiler_static \
   20859 lt_cv_prog_compiler_c_o \
   20860 need_locks \
   20861 MANIFEST_TOOL \
   20862 DSYMUTIL \
   20863 NMEDIT \
   20864 LIPO \
   20865 OTOOL \
   20866 OTOOL64 \
   20867 shrext_cmds \
   20868 export_dynamic_flag_spec \
   20869 whole_archive_flag_spec \
   20870 compiler_needs_object \
   20871 with_gnu_ld \
   20872 allow_undefined_flag \
   20873 no_undefined_flag \
   20874 hardcode_libdir_flag_spec \
   20875 hardcode_libdir_separator \
   20876 exclude_expsyms \
   20877 include_expsyms \
   20878 file_list_spec \
   20879 variables_saved_for_relink \
   20880 libname_spec \
   20881 library_names_spec \
   20882 soname_spec \
   20883 install_override_mode \
   20884 finish_eval \
   20885 old_striplib \
   20886 striplib; do
   20887     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20888     *[\\\\\\\`\\"\\\$]*)
   20889       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20890       ;;
   20891     *)
   20892       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20893       ;;
   20894     esac
   20895 done
   20896 
   20897 # Double-quote double-evaled strings.
   20898 for var in reload_cmds \
   20899 old_postinstall_cmds \
   20900 old_postuninstall_cmds \
   20901 old_archive_cmds \
   20902 extract_expsyms_cmds \
   20903 old_archive_from_new_cmds \
   20904 old_archive_from_expsyms_cmds \
   20905 archive_cmds \
   20906 archive_expsym_cmds \
   20907 module_cmds \
   20908 module_expsym_cmds \
   20909 export_symbols_cmds \
   20910 prelink_cmds \
   20911 postlink_cmds \
   20912 postinstall_cmds \
   20913 postuninstall_cmds \
   20914 finish_cmds \
   20915 sys_lib_search_path_spec \
   20916 configure_time_dlsearch_path \
   20917 configure_time_lt_sys_library_path; do
   20918     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20919     *[\\\\\\\`\\"\\\$]*)
   20920       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20921       ;;
   20922     *)
   20923       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20924       ;;
   20925     esac
   20926 done
   20927 
   20928 ac_aux_dir='$ac_aux_dir'
   20929 
   20930 # See if we are running on zsh, and set the options that allow our
   20931 # commands through without removal of \ escapes INIT.
   20932 if test -n "\${ZSH_VERSION+set}"; then
   20933    setopt NO_GLOB_SUBST
   20934 fi
   20935 
   20936 
   20937     PACKAGE='$PACKAGE'
   20938     VERSION='$VERSION'
   20939     RM='$RM'
   20940     ofile='$ofile'
   20941 
   20942 
   20943 
   20944 
   20945 _ACEOF
   20946 
   20947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20948 
   20949 # Handling of arguments.
   20950 for ac_config_target in $ac_config_targets
   20951 do
   20952   case $ac_config_target in
   20953     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20954     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20955     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20956     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20957     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20958     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20959 
   20960   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20961   esac
   20962 done
   20963 
   20964 
   20965 # If the user did not use the arguments to specify the items to instantiate,
   20966 # then the envvar interface is used.  Set only those that are not.
   20967 # We use the long form for the default assignment because of an extremely
   20968 # bizarre bug on SunOS 4.1.3.
   20969 if $ac_need_defaults; then
   20970   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20971   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20972   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20973 fi
   20974 
   20975 # Have a temporary directory for convenience.  Make it in the build tree
   20976 # simply because there is no reason against having it here, and in addition,
   20977 # creating and moving files from /tmp can sometimes cause problems.
   20978 # Hook for its removal unless debugging.
   20979 # Note that there is a small window in which the directory will not be cleaned:
   20980 # after its creation but before its name has been assigned to `$tmp'.
   20981 $debug ||
   20982 {
   20983   tmp= ac_tmp=
   20984   trap 'exit_status=$?
   20985   : "${ac_tmp:=$tmp}"
   20986   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20987 ' 0
   20988   trap 'as_fn_exit 1' 1 2 13 15
   20989 }
   20990 # Create a (secure) tmp directory for tmp files.
   20991 
   20992 {
   20993   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20994   test -d "$tmp"
   20995 }  ||
   20996 {
   20997   tmp=./conf$$-$RANDOM
   20998   (umask 077 && mkdir "$tmp")
   20999 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21000 ac_tmp=$tmp
   21001 
   21002 # Set up the scripts for CONFIG_FILES section.
   21003 # No need to generate them if there are no CONFIG_FILES.
   21004 # This happens for instance with `./config.status config.h'.
   21005 if test -n "$CONFIG_FILES"; then
   21006 
   21007 
   21008 ac_cr=`echo X | tr X '\015'`
   21009 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21010 # But we know of no other shell where ac_cr would be empty at this
   21011 # point, so we can use a bashism as a fallback.
   21012 if test "x$ac_cr" = x; then
   21013   eval ac_cr=\$\'\\r\'
   21014 fi
   21015 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21016 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21017   ac_cs_awk_cr='\\r'
   21018 else
   21019   ac_cs_awk_cr=$ac_cr
   21020 fi
   21021 
   21022 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21023 _ACEOF
   21024 
   21025 
   21026 {
   21027   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21028   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21029   echo "_ACEOF"
   21030 } >conf$$subs.sh ||
   21031   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21032 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21033 ac_delim='%!_!# '
   21034 for ac_last_try in false false false false false :; do
   21035   . ./conf$$subs.sh ||
   21036     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21037 
   21038   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21039   if test $ac_delim_n = $ac_delim_num; then
   21040     break
   21041   elif $ac_last_try; then
   21042     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21043   else
   21044     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21045   fi
   21046 done
   21047 rm -f conf$$subs.sh
   21048 
   21049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21050 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21051 _ACEOF
   21052 sed -n '
   21053 h
   21054 s/^/S["/; s/!.*/"]=/
   21055 p
   21056 g
   21057 s/^[^!]*!//
   21058 :repl
   21059 t repl
   21060 s/'"$ac_delim"'$//
   21061 t delim
   21062 :nl
   21063 h
   21064 s/\(.\{148\}\)..*/\1/
   21065 t more1
   21066 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21067 p
   21068 n
   21069 b repl
   21070 :more1
   21071 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21072 p
   21073 g
   21074 s/.\{148\}//
   21075 t nl
   21076 :delim
   21077 h
   21078 s/\(.\{148\}\)..*/\1/
   21079 t more2
   21080 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21081 p
   21082 b
   21083 :more2
   21084 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21085 p
   21086 g
   21087 s/.\{148\}//
   21088 t delim
   21089 ' <conf$$subs.awk | sed '
   21090 /^[^""]/{
   21091   N
   21092   s/\n//
   21093 }
   21094 ' >>$CONFIG_STATUS || ac_write_fail=1
   21095 rm -f conf$$subs.awk
   21096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21097 _ACAWK
   21098 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21099   for (key in S) S_is_set[key] = 1
   21100   FS = ""
   21101 
   21102 }
   21103 {
   21104   line = $ 0
   21105   nfields = split(line, field, "@")
   21106   substed = 0
   21107   len = length(field[1])
   21108   for (i = 2; i < nfields; i++) {
   21109     key = field[i]
   21110     keylen = length(key)
   21111     if (S_is_set[key]) {
   21112       value = S[key]
   21113       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21114       len += length(value) + length(field[++i])
   21115       substed = 1
   21116     } else
   21117       len += 1 + keylen
   21118   }
   21119 
   21120   print line
   21121 }
   21122 
   21123 _ACAWK
   21124 _ACEOF
   21125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21126 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21127   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21128 else
   21129   cat
   21130 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21131   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21132 _ACEOF
   21133 
   21134 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21135 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21136 # trailing colons and then remove the whole line if VPATH becomes empty
   21137 # (actually we leave an empty line to preserve line numbers).
   21138 if test "x$srcdir" = x.; then
   21139   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21140 h
   21141 s///
   21142 s/^/:/
   21143 s/[	 ]*$/:/
   21144 s/:\$(srcdir):/:/g
   21145 s/:\${srcdir}:/:/g
   21146 s/:@srcdir@:/:/g
   21147 s/^:*//
   21148 s/:*$//
   21149 x
   21150 s/\(=[	 ]*\).*/\1/
   21151 G
   21152 s/\n//
   21153 s/^[^=]*=[	 ]*$//
   21154 }'
   21155 fi
   21156 
   21157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21158 fi # test -n "$CONFIG_FILES"
   21159 
   21160 # Set up the scripts for CONFIG_HEADERS section.
   21161 # No need to generate them if there are no CONFIG_HEADERS.
   21162 # This happens for instance with `./config.status Makefile'.
   21163 if test -n "$CONFIG_HEADERS"; then
   21164 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21165 BEGIN {
   21166 _ACEOF
   21167 
   21168 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21169 # here-document in config.status, that substitutes the proper values into
   21170 # config.h.in to produce config.h.
   21171 
   21172 # Create a delimiter string that does not exist in confdefs.h, to ease
   21173 # handling of long lines.
   21174 ac_delim='%!_!# '
   21175 for ac_last_try in false false :; do
   21176   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21177   if test -z "$ac_tt"; then
   21178     break
   21179   elif $ac_last_try; then
   21180     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21181   else
   21182     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21183   fi
   21184 done
   21185 
   21186 # For the awk script, D is an array of macro values keyed by name,
   21187 # likewise P contains macro parameters if any.  Preserve backslash
   21188 # newline sequences.
   21189 
   21190 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21191 sed -n '
   21192 s/.\{148\}/&'"$ac_delim"'/g
   21193 t rset
   21194 :rset
   21195 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21196 t def
   21197 d
   21198 :def
   21199 s/\\$//
   21200 t bsnl
   21201 s/["\\]/\\&/g
   21202 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21203 D["\1"]=" \3"/p
   21204 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21205 d
   21206 :bsnl
   21207 s/["\\]/\\&/g
   21208 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21209 D["\1"]=" \3\\\\\\n"\\/p
   21210 t cont
   21211 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21212 t cont
   21213 d
   21214 :cont
   21215 n
   21216 s/.\{148\}/&'"$ac_delim"'/g
   21217 t clear
   21218 :clear
   21219 s/\\$//
   21220 t bsnlc
   21221 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21222 d
   21223 :bsnlc
   21224 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21225 b cont
   21226 ' <confdefs.h | sed '
   21227 s/'"$ac_delim"'/"\\\
   21228 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21229 
   21230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21231   for (key in D) D_is_set[key] = 1
   21232   FS = ""
   21233 }
   21234 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21235   line = \$ 0
   21236   split(line, arg, " ")
   21237   if (arg[1] == "#") {
   21238     defundef = arg[2]
   21239     mac1 = arg[3]
   21240   } else {
   21241     defundef = substr(arg[1], 2)
   21242     mac1 = arg[2]
   21243   }
   21244   split(mac1, mac2, "(") #)
   21245   macro = mac2[1]
   21246   prefix = substr(line, 1, index(line, defundef) - 1)
   21247   if (D_is_set[macro]) {
   21248     # Preserve the white space surrounding the "#".
   21249     print prefix "define", macro P[macro] D[macro]
   21250     next
   21251   } else {
   21252     # Replace #undef with comments.  This is necessary, for example,
   21253     # in the case of _POSIX_SOURCE, which is predefined and required
   21254     # on some systems where configure will not decide to define it.
   21255     if (defundef == "undef") {
   21256       print "/*", prefix defundef, macro, "*/"
   21257       next
   21258     }
   21259   }
   21260 }
   21261 { print }
   21262 _ACAWK
   21263 _ACEOF
   21264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21265   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21266 fi # test -n "$CONFIG_HEADERS"
   21267 
   21268 
   21269 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21270 shift
   21271 for ac_tag
   21272 do
   21273   case $ac_tag in
   21274   :[FHLC]) ac_mode=$ac_tag; continue;;
   21275   esac
   21276   case $ac_mode$ac_tag in
   21277   :[FHL]*:*);;
   21278   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21279   :[FH]-) ac_tag=-:-;;
   21280   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21281   esac
   21282   ac_save_IFS=$IFS
   21283   IFS=:
   21284   set x $ac_tag
   21285   IFS=$ac_save_IFS
   21286   shift
   21287   ac_file=$1
   21288   shift
   21289 
   21290   case $ac_mode in
   21291   :L) ac_source=$1;;
   21292   :[FH])
   21293     ac_file_inputs=
   21294     for ac_f
   21295     do
   21296       case $ac_f in
   21297       -) ac_f="$ac_tmp/stdin";;
   21298       *) # Look for the file first in the build tree, then in the source tree
   21299 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21300 	 # because $ac_f cannot contain `:'.
   21301 	 test -f "$ac_f" ||
   21302 	   case $ac_f in
   21303 	   [\\/$]*) false;;
   21304 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21305 	   esac ||
   21306 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21307       esac
   21308       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21309       as_fn_append ac_file_inputs " '$ac_f'"
   21310     done
   21311 
   21312     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21313     # use $as_me), people would be surprised to read:
   21314     #    /* config.h.  Generated by config.status.  */
   21315     configure_input='Generated from '`
   21316 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21317 	`' by configure.'
   21318     if test x"$ac_file" != x-; then
   21319       configure_input="$ac_file.  $configure_input"
   21320       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21321 $as_echo "$as_me: creating $ac_file" >&6;}
   21322     fi
   21323     # Neutralize special characters interpreted by sed in replacement strings.
   21324     case $configure_input in #(
   21325     *\&* | *\|* | *\\* )
   21326        ac_sed_conf_input=`$as_echo "$configure_input" |
   21327        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21328     *) ac_sed_conf_input=$configure_input;;
   21329     esac
   21330 
   21331     case $ac_tag in
   21332     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21333       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21334     esac
   21335     ;;
   21336   esac
   21337 
   21338   ac_dir=`$as_dirname -- "$ac_file" ||
   21339 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21340 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21341 	 X"$ac_file" : 'X\(//\)$' \| \
   21342 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21343 $as_echo X"$ac_file" |
   21344     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21345 	    s//\1/
   21346 	    q
   21347 	  }
   21348 	  /^X\(\/\/\)[^/].*/{
   21349 	    s//\1/
   21350 	    q
   21351 	  }
   21352 	  /^X\(\/\/\)$/{
   21353 	    s//\1/
   21354 	    q
   21355 	  }
   21356 	  /^X\(\/\).*/{
   21357 	    s//\1/
   21358 	    q
   21359 	  }
   21360 	  s/.*/./; q'`
   21361   as_dir="$ac_dir"; as_fn_mkdir_p
   21362   ac_builddir=.
   21363 
   21364 case "$ac_dir" in
   21365 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21366 *)
   21367   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   21368   # A ".." for each directory in $ac_dir_suffix.
   21369   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21370   case $ac_top_builddir_sub in
   21371   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21372   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21373   esac ;;
   21374 esac
   21375 ac_abs_top_builddir=$ac_pwd
   21376 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21377 # for backward compatibility:
   21378 ac_top_builddir=$ac_top_build_prefix
   21379 
   21380 case $srcdir in
   21381   .)  # We are building in place.
   21382     ac_srcdir=.
   21383     ac_top_srcdir=$ac_top_builddir_sub
   21384     ac_abs_top_srcdir=$ac_pwd ;;
   21385   [\\/]* | ?:[\\/]* )  # Absolute name.
   21386     ac_srcdir=$srcdir$ac_dir_suffix;
   21387     ac_top_srcdir=$srcdir
   21388     ac_abs_top_srcdir=$srcdir ;;
   21389   *) # Relative name.
   21390     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21391     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21392     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21393 esac
   21394 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21395 
   21396 
   21397   case $ac_mode in
   21398   :F)
   21399   #
   21400   # CONFIG_FILE
   21401   #
   21402 
   21403   case $INSTALL in
   21404   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21405   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21406   esac
   21407   ac_MKDIR_P=$MKDIR_P
   21408   case $MKDIR_P in
   21409   [\\/$]* | ?:[\\/]* ) ;;
   21410   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21411   esac
   21412 _ACEOF
   21413 
   21414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21415 # If the template does not know about datarootdir, expand it.
   21416 # FIXME: This hack should be removed a few years after 2.60.
   21417 ac_datarootdir_hack=; ac_datarootdir_seen=
   21418 ac_sed_dataroot='
   21419 /datarootdir/ {
   21420   p
   21421   q
   21422 }
   21423 /@datadir@/p
   21424 /@docdir@/p
   21425 /@infodir@/p
   21426 /@localedir@/p
   21427 /@mandir@/p'
   21428 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21429 *datarootdir*) ac_datarootdir_seen=yes;;
   21430 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21431   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21432 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21433 _ACEOF
   21434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21435   ac_datarootdir_hack='
   21436   s&@datadir@&$datadir&g
   21437   s&@docdir@&$docdir&g
   21438   s&@infodir@&$infodir&g
   21439   s&@localedir@&$localedir&g
   21440   s&@mandir@&$mandir&g
   21441   s&\\\${datarootdir}&$datarootdir&g' ;;
   21442 esac
   21443 _ACEOF
   21444 
   21445 # Neutralize VPATH when `$srcdir' = `.'.
   21446 # Shell code in configure.ac might set extrasub.
   21447 # FIXME: do we really want to maintain this feature?
   21448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21449 ac_sed_extra="$ac_vpsub
   21450 $extrasub
   21451 _ACEOF
   21452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21453 :t
   21454 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21455 s|@configure_input@|$ac_sed_conf_input|;t t
   21456 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21457 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21458 s&@srcdir@&$ac_srcdir&;t t
   21459 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21460 s&@top_srcdir@&$ac_top_srcdir&;t t
   21461 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21462 s&@builddir@&$ac_builddir&;t t
   21463 s&@abs_builddir@&$ac_abs_builddir&;t t
   21464 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21465 s&@INSTALL@&$ac_INSTALL&;t t
   21466 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21467 $ac_datarootdir_hack
   21468 "
   21469 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21470   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21471 
   21472 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21473   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21474   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21475       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21476   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21477 which seems to be undefined.  Please make sure it is defined" >&5
   21478 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21479 which seems to be undefined.  Please make sure it is defined" >&2;}
   21480 
   21481   rm -f "$ac_tmp/stdin"
   21482   case $ac_file in
   21483   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21484   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21485   esac \
   21486   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21487  ;;
   21488   :H)
   21489   #
   21490   # CONFIG_HEADER
   21491   #
   21492   if test x"$ac_file" != x-; then
   21493     {
   21494       $as_echo "/* $configure_input  */" \
   21495       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21496     } >"$ac_tmp/config.h" \
   21497       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21498     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21499       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21500 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   21501     else
   21502       rm -f "$ac_file"
   21503       mv "$ac_tmp/config.h" "$ac_file" \
   21504 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21505     fi
   21506   else
   21507     $as_echo "/* $configure_input  */" \
   21508       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21509       || as_fn_error $? "could not create -" "$LINENO" 5
   21510   fi
   21511 # Compute "$ac_file"'s index in $config_headers.
   21512 _am_arg="$ac_file"
   21513 _am_stamp_count=1
   21514 for _am_header in $config_headers :; do
   21515   case $_am_header in
   21516     $_am_arg | $_am_arg:* )
   21517       break ;;
   21518     * )
   21519       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21520   esac
   21521 done
   21522 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21523 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21524 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21525 	 X"$_am_arg" : 'X\(//\)$' \| \
   21526 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21527 $as_echo X"$_am_arg" |
   21528     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21529 	    s//\1/
   21530 	    q
   21531 	  }
   21532 	  /^X\(\/\/\)[^/].*/{
   21533 	    s//\1/
   21534 	    q
   21535 	  }
   21536 	  /^X\(\/\/\)$/{
   21537 	    s//\1/
   21538 	    q
   21539 	  }
   21540 	  /^X\(\/\).*/{
   21541 	    s//\1/
   21542 	    q
   21543 	  }
   21544 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21545  ;;
   21546 
   21547   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21548 $as_echo "$as_me: executing $ac_file commands" >&6;}
   21549  ;;
   21550   esac
   21551 
   21552 
   21553   case $ac_file$ac_mode in
   21554     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21555   # Older Autoconf quotes --file arguments for eval, but not when files
   21556   # are listed without --file.  Let's play safe and only enable the eval
   21557   # if we detect the quoting.
   21558   case $CONFIG_FILES in
   21559   *\'*) eval set x "$CONFIG_FILES" ;;
   21560   *)   set x $CONFIG_FILES ;;
   21561   esac
   21562   shift
   21563   for mf
   21564   do
   21565     # Strip MF so we end up with the name of the file.
   21566     mf=`echo "$mf" | sed -e 's/:.*$//'`
   21567     # Check whether this is an Automake generated Makefile or not.
   21568     # We used to match only the files named 'Makefile.in', but
   21569     # some people rename them; so instead we look at the file content.
   21570     # Grep'ing the first line is not enough: some people post-process
   21571     # each Makefile.in and add a new line on top of each file to say so.
   21572     # Grep'ing the whole file is not good either: AIX grep has a line
   21573     # limit of 2048, but all sed's we know have understand at least 4000.
   21574     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   21575       dirpart=`$as_dirname -- "$mf" ||
   21576 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21577 	 X"$mf" : 'X\(//\)[^/]' \| \
   21578 	 X"$mf" : 'X\(//\)$' \| \
   21579 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21580 $as_echo X"$mf" |
   21581     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21582 	    s//\1/
   21583 	    q
   21584 	  }
   21585 	  /^X\(\/\/\)[^/].*/{
   21586 	    s//\1/
   21587 	    q
   21588 	  }
   21589 	  /^X\(\/\/\)$/{
   21590 	    s//\1/
   21591 	    q
   21592 	  }
   21593 	  /^X\(\/\).*/{
   21594 	    s//\1/
   21595 	    q
   21596 	  }
   21597 	  s/.*/./; q'`
   21598     else
   21599       continue
   21600     fi
   21601     # Extract the definition of DEPDIR, am__include, and am__quote
   21602     # from the Makefile without running 'make'.
   21603     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21604     test -z "$DEPDIR" && continue
   21605     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21606     test -z "$am__include" && continue
   21607     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21608     # Find all dependency output files, they are included files with
   21609     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21610     # simplest approach to changing $(DEPDIR) to its actual value in the
   21611     # expansion.
   21612     for file in `sed -n "
   21613       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21614 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   21615       # Make sure the directory exists.
   21616       test -f "$dirpart/$file" && continue
   21617       fdir=`$as_dirname -- "$file" ||
   21618 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21619 	 X"$file" : 'X\(//\)[^/]' \| \
   21620 	 X"$file" : 'X\(//\)$' \| \
   21621 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21622 $as_echo X"$file" |
   21623     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21624 	    s//\1/
   21625 	    q
   21626 	  }
   21627 	  /^X\(\/\/\)[^/].*/{
   21628 	    s//\1/
   21629 	    q
   21630 	  }
   21631 	  /^X\(\/\/\)$/{
   21632 	    s//\1/
   21633 	    q
   21634 	  }
   21635 	  /^X\(\/\).*/{
   21636 	    s//\1/
   21637 	    q
   21638 	  }
   21639 	  s/.*/./; q'`
   21640       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   21641       # echo "creating $dirpart/$file"
   21642       echo '# dummy' > "$dirpart/$file"
   21643     done
   21644   done
   21645 }
   21646  ;;
   21647     "libtool":C)
   21648 
   21649     # See if we are running on zsh, and set the options that allow our
   21650     # commands through without removal of \ escapes.
   21651     if test -n "${ZSH_VERSION+set}"; then
   21652       setopt NO_GLOB_SUBST
   21653     fi
   21654 
   21655     cfgfile=${ofile}T
   21656     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21657     $RM "$cfgfile"
   21658 
   21659     cat <<_LT_EOF >> "$cfgfile"
   21660 #! $SHELL
   21661 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21662 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21663 
   21664 # Provide generalized library-building support services.
   21665 # Written by Gordon Matzigkeit, 1996
   21666 
   21667 # Copyright (C) 2014 Free Software Foundation, Inc.
   21668 # This is free software; see the source for copying conditions.  There is NO
   21669 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21670 
   21671 # GNU Libtool is free software; you can redistribute it and/or modify
   21672 # it under the terms of the GNU General Public License as published by
   21673 # the Free Software Foundation; either version 2 of of the License, or
   21674 # (at your option) any later version.
   21675 #
   21676 # As a special exception to the GNU General Public License, if you
   21677 # distribute this file as part of a program or library that is built
   21678 # using GNU Libtool, you may include this file under the  same
   21679 # distribution terms that you use for the rest of that program.
   21680 #
   21681 # GNU Libtool is distributed in the hope that it will be useful, but
   21682 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21683 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21684 # GNU General Public License for more details.
   21685 #
   21686 # You should have received a copy of the GNU General Public License
   21687 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21688 
   21689 
   21690 # The names of the tagged configurations supported by this script.
   21691 available_tags=''
   21692 
   21693 # Configured defaults for sys_lib_dlsearch_path munging.
   21694 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21695 
   21696 # ### BEGIN LIBTOOL CONFIG
   21697 
   21698 # Whether or not to build static libraries.
   21699 build_old_libs=$enable_static
   21700 
   21701 # Which release of libtool.m4 was used?
   21702 macro_version=$macro_version
   21703 macro_revision=$macro_revision
   21704 
   21705 # Whether or not to build shared libraries.
   21706 build_libtool_libs=$enable_shared
   21707 
   21708 # What type of objects to build.
   21709 pic_mode=$pic_mode
   21710 
   21711 # Whether or not to optimize for fast installation.
   21712 fast_install=$enable_fast_install
   21713 
   21714 # Shared archive member basename,for filename based shared library versioning on AIX.
   21715 shared_archive_member_spec=$shared_archive_member_spec
   21716 
   21717 # Shell to use when invoking shell scripts.
   21718 SHELL=$lt_SHELL
   21719 
   21720 # An echo program that protects backslashes.
   21721 ECHO=$lt_ECHO
   21722 
   21723 # The PATH separator for the build system.
   21724 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21725 
   21726 # The host system.
   21727 host_alias=$host_alias
   21728 host=$host
   21729 host_os=$host_os
   21730 
   21731 # The build system.
   21732 build_alias=$build_alias
   21733 build=$build
   21734 build_os=$build_os
   21735 
   21736 # A sed program that does not truncate output.
   21737 SED=$lt_SED
   21738 
   21739 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21740 Xsed="\$SED -e 1s/^X//"
   21741 
   21742 # A grep program that handles long lines.
   21743 GREP=$lt_GREP
   21744 
   21745 # An ERE matcher.
   21746 EGREP=$lt_EGREP
   21747 
   21748 # A literal string matcher.
   21749 FGREP=$lt_FGREP
   21750 
   21751 # A BSD- or MS-compatible name lister.
   21752 NM=$lt_NM
   21753 
   21754 # Whether we need soft or hard links.
   21755 LN_S=$lt_LN_S
   21756 
   21757 # What is the maximum length of a command?
   21758 max_cmd_len=$max_cmd_len
   21759 
   21760 # Object file suffix (normally "o").
   21761 objext=$ac_objext
   21762 
   21763 # Executable file suffix (normally "").
   21764 exeext=$exeext
   21765 
   21766 # whether the shell understands "unset".
   21767 lt_unset=$lt_unset
   21768 
   21769 # turn spaces into newlines.
   21770 SP2NL=$lt_lt_SP2NL
   21771 
   21772 # turn newlines into spaces.
   21773 NL2SP=$lt_lt_NL2SP
   21774 
   21775 # convert \$build file names to \$host format.
   21776 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21777 
   21778 # convert \$build files to toolchain format.
   21779 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21780 
   21781 # An object symbol dumper.
   21782 OBJDUMP=$lt_OBJDUMP
   21783 
   21784 # Method to check whether dependent libraries are shared objects.
   21785 deplibs_check_method=$lt_deplibs_check_method
   21786 
   21787 # Command to use when deplibs_check_method = "file_magic".
   21788 file_magic_cmd=$lt_file_magic_cmd
   21789 
   21790 # How to find potential files when deplibs_check_method = "file_magic".
   21791 file_magic_glob=$lt_file_magic_glob
   21792 
   21793 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21794 want_nocaseglob=$lt_want_nocaseglob
   21795 
   21796 # DLL creation program.
   21797 DLLTOOL=$lt_DLLTOOL
   21798 
   21799 # Command to associate shared and link libraries.
   21800 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21801 
   21802 # The archiver.
   21803 AR=$lt_AR
   21804 
   21805 # Flags to create an archive.
   21806 AR_FLAGS=$lt_AR_FLAGS
   21807 
   21808 # How to feed a file listing to the archiver.
   21809 archiver_list_spec=$lt_archiver_list_spec
   21810 
   21811 # A symbol stripping program.
   21812 STRIP=$lt_STRIP
   21813 
   21814 # Commands used to install an old-style archive.
   21815 RANLIB=$lt_RANLIB
   21816 old_postinstall_cmds=$lt_old_postinstall_cmds
   21817 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21818 
   21819 # Whether to use a lock for old archive extraction.
   21820 lock_old_archive_extraction=$lock_old_archive_extraction
   21821 
   21822 # A C compiler.
   21823 LTCC=$lt_CC
   21824 
   21825 # LTCC compiler flags.
   21826 LTCFLAGS=$lt_CFLAGS
   21827 
   21828 # Take the output of nm and produce a listing of raw symbols and C names.
   21829 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21830 
   21831 # Transform the output of nm in a proper C declaration.
   21832 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21833 
   21834 # Transform the output of nm into a list of symbols to manually relocate.
   21835 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21836 
   21837 # Transform the output of nm in a C name address pair.
   21838 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21839 
   21840 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21841 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21842 
   21843 # The name lister interface.
   21844 nm_interface=$lt_lt_cv_nm_interface
   21845 
   21846 # Specify filename containing input files for \$NM.
   21847 nm_file_list_spec=$lt_nm_file_list_spec
   21848 
   21849 # The root where to search for dependent libraries,and where our libraries should be installed.
   21850 lt_sysroot=$lt_sysroot
   21851 
   21852 # Command to truncate a binary pipe.
   21853 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21854 
   21855 # The name of the directory that contains temporary libtool files.
   21856 objdir=$objdir
   21857 
   21858 # Used to examine libraries when file_magic_cmd begins with "file".
   21859 MAGIC_CMD=$MAGIC_CMD
   21860 
   21861 # Must we lock files when doing compilation?
   21862 need_locks=$lt_need_locks
   21863 
   21864 # Manifest tool.
   21865 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21866 
   21867 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21868 DSYMUTIL=$lt_DSYMUTIL
   21869 
   21870 # Tool to change global to local symbols on Mac OS X.
   21871 NMEDIT=$lt_NMEDIT
   21872 
   21873 # Tool to manipulate fat objects and archives on Mac OS X.
   21874 LIPO=$lt_LIPO
   21875 
   21876 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21877 OTOOL=$lt_OTOOL
   21878 
   21879 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21880 OTOOL64=$lt_OTOOL64
   21881 
   21882 # Old archive suffix (normally "a").
   21883 libext=$libext
   21884 
   21885 # Shared library suffix (normally ".so").
   21886 shrext_cmds=$lt_shrext_cmds
   21887 
   21888 # The commands to extract the exported symbol list from a shared archive.
   21889 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21890 
   21891 # Variables whose values should be saved in libtool wrapper scripts and
   21892 # restored at link time.
   21893 variables_saved_for_relink=$lt_variables_saved_for_relink
   21894 
   21895 # Do we need the "lib" prefix for modules?
   21896 need_lib_prefix=$need_lib_prefix
   21897 
   21898 # Do we need a version for libraries?
   21899 need_version=$need_version
   21900 
   21901 # Library versioning type.
   21902 version_type=$version_type
   21903 
   21904 # Shared library runtime path variable.
   21905 runpath_var=$runpath_var
   21906 
   21907 # Shared library path variable.
   21908 shlibpath_var=$shlibpath_var
   21909 
   21910 # Is shlibpath searched before the hard-coded library search path?
   21911 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21912 
   21913 # Format of library name prefix.
   21914 libname_spec=$lt_libname_spec
   21915 
   21916 # List of archive names.  First name is the real one, the rest are links.
   21917 # The last name is the one that the linker finds with -lNAME
   21918 library_names_spec=$lt_library_names_spec
   21919 
   21920 # The coded name of the library, if different from the real name.
   21921 soname_spec=$lt_soname_spec
   21922 
   21923 # Permission mode override for installation of shared libraries.
   21924 install_override_mode=$lt_install_override_mode
   21925 
   21926 # Command to use after installation of a shared archive.
   21927 postinstall_cmds=$lt_postinstall_cmds
   21928 
   21929 # Command to use after uninstallation of a shared archive.
   21930 postuninstall_cmds=$lt_postuninstall_cmds
   21931 
   21932 # Commands used to finish a libtool library installation in a directory.
   21933 finish_cmds=$lt_finish_cmds
   21934 
   21935 # As "finish_cmds", except a single script fragment to be evaled but
   21936 # not shown.
   21937 finish_eval=$lt_finish_eval
   21938 
   21939 # Whether we should hardcode library paths into libraries.
   21940 hardcode_into_libs=$hardcode_into_libs
   21941 
   21942 # Compile-time system search path for libraries.
   21943 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21944 
   21945 # Detected run-time system search path for libraries.
   21946 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21947 
   21948 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21949 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21950 
   21951 # Whether dlopen is supported.
   21952 dlopen_support=$enable_dlopen
   21953 
   21954 # Whether dlopen of programs is supported.
   21955 dlopen_self=$enable_dlopen_self
   21956 
   21957 # Whether dlopen of statically linked programs is supported.
   21958 dlopen_self_static=$enable_dlopen_self_static
   21959 
   21960 # Commands to strip libraries.
   21961 old_striplib=$lt_old_striplib
   21962 striplib=$lt_striplib
   21963 
   21964 
   21965 # The linker used to build libraries.
   21966 LD=$lt_LD
   21967 
   21968 # How to create reloadable object files.
   21969 reload_flag=$lt_reload_flag
   21970 reload_cmds=$lt_reload_cmds
   21971 
   21972 # Commands used to build an old-style archive.
   21973 old_archive_cmds=$lt_old_archive_cmds
   21974 
   21975 # A language specific compiler.
   21976 CC=$lt_compiler
   21977 
   21978 # Is the compiler the GNU compiler?
   21979 with_gcc=$GCC
   21980 
   21981 # Compiler flag to turn off builtin functions.
   21982 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21983 
   21984 # Additional compiler flags for building library objects.
   21985 pic_flag=$lt_lt_prog_compiler_pic
   21986 
   21987 # How to pass a linker flag through the compiler.
   21988 wl=$lt_lt_prog_compiler_wl
   21989 
   21990 # Compiler flag to prevent dynamic linking.
   21991 link_static_flag=$lt_lt_prog_compiler_static
   21992 
   21993 # Does compiler simultaneously support -c and -o options?
   21994 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21995 
   21996 # Whether or not to add -lc for building shared libraries.
   21997 build_libtool_need_lc=$archive_cmds_need_lc
   21998 
   21999 # Whether or not to disallow shared libs when runtime libs are static.
   22000 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22001 
   22002 # Compiler flag to allow reflexive dlopens.
   22003 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22004 
   22005 # Compiler flag to generate shared objects directly from archives.
   22006 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22007 
   22008 # Whether the compiler copes with passing no objects directly.
   22009 compiler_needs_object=$lt_compiler_needs_object
   22010 
   22011 # Create an old-style archive from a shared archive.
   22012 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22013 
   22014 # Create a temporary old-style archive to link instead of a shared archive.
   22015 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22016 
   22017 # Commands used to build a shared archive.
   22018 archive_cmds=$lt_archive_cmds
   22019 archive_expsym_cmds=$lt_archive_expsym_cmds
   22020 
   22021 # Commands used to build a loadable module if different from building
   22022 # a shared archive.
   22023 module_cmds=$lt_module_cmds
   22024 module_expsym_cmds=$lt_module_expsym_cmds
   22025 
   22026 # Whether we are building with GNU ld or not.
   22027 with_gnu_ld=$lt_with_gnu_ld
   22028 
   22029 # Flag that allows shared libraries with undefined symbols to be built.
   22030 allow_undefined_flag=$lt_allow_undefined_flag
   22031 
   22032 # Flag that enforces no undefined symbols.
   22033 no_undefined_flag=$lt_no_undefined_flag
   22034 
   22035 # Flag to hardcode \$libdir into a binary during linking.
   22036 # This must work even if \$libdir does not exist
   22037 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22038 
   22039 # Whether we need a single "-rpath" flag with a separated argument.
   22040 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22041 
   22042 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22043 # DIR into the resulting binary.
   22044 hardcode_direct=$hardcode_direct
   22045 
   22046 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22047 # DIR into the resulting binary and the resulting library dependency is
   22048 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22049 # library is relocated.
   22050 hardcode_direct_absolute=$hardcode_direct_absolute
   22051 
   22052 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22053 # into the resulting binary.
   22054 hardcode_minus_L=$hardcode_minus_L
   22055 
   22056 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22057 # into the resulting binary.
   22058 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22059 
   22060 # Set to "yes" if building a shared library automatically hardcodes DIR
   22061 # into the library and all subsequent libraries and executables linked
   22062 # against it.
   22063 hardcode_automatic=$hardcode_automatic
   22064 
   22065 # Set to yes if linker adds runtime paths of dependent libraries
   22066 # to runtime path list.
   22067 inherit_rpath=$inherit_rpath
   22068 
   22069 # Whether libtool must link a program against all its dependency libraries.
   22070 link_all_deplibs=$link_all_deplibs
   22071 
   22072 # Set to "yes" if exported symbols are required.
   22073 always_export_symbols=$always_export_symbols
   22074 
   22075 # The commands to list exported symbols.
   22076 export_symbols_cmds=$lt_export_symbols_cmds
   22077 
   22078 # Symbols that should not be listed in the preloaded symbols.
   22079 exclude_expsyms=$lt_exclude_expsyms
   22080 
   22081 # Symbols that must always be exported.
   22082 include_expsyms=$lt_include_expsyms
   22083 
   22084 # Commands necessary for linking programs (against libraries) with templates.
   22085 prelink_cmds=$lt_prelink_cmds
   22086 
   22087 # Commands necessary for finishing linking programs.
   22088 postlink_cmds=$lt_postlink_cmds
   22089 
   22090 # Specify filename containing input files.
   22091 file_list_spec=$lt_file_list_spec
   22092 
   22093 # How to hardcode a shared library path into an executable.
   22094 hardcode_action=$hardcode_action
   22095 
   22096 # ### END LIBTOOL CONFIG
   22097 
   22098 _LT_EOF
   22099 
   22100     cat <<'_LT_EOF' >> "$cfgfile"
   22101 
   22102 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22103 
   22104 # func_munge_path_list VARIABLE PATH
   22105 # -----------------------------------
   22106 # VARIABLE is name of variable containing _space_ separated list of
   22107 # directories to be munged by the contents of PATH, which is string
   22108 # having a format:
   22109 # "DIR[:DIR]:"
   22110 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22111 # ":DIR[:DIR]"
   22112 #       string "DIR[ DIR]" will be appended to VARIABLE
   22113 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22114 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22115 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22116 # "DIR[:DIR]"
   22117 #       VARIABLE will be replaced by "DIR[ DIR]"
   22118 func_munge_path_list ()
   22119 {
   22120     case x$2 in
   22121     x)
   22122         ;;
   22123     *:)
   22124         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22125         ;;
   22126     x:*)
   22127         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22128         ;;
   22129     *::*)
   22130         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22131         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22132         ;;
   22133     *)
   22134         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22135         ;;
   22136     esac
   22137 }
   22138 
   22139 
   22140 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22141 func_cc_basename ()
   22142 {
   22143     for cc_temp in $*""; do
   22144       case $cc_temp in
   22145         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22146         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22147         \-*) ;;
   22148         *) break;;
   22149       esac
   22150     done
   22151     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22152 }
   22153 
   22154 
   22155 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22156 
   22157 _LT_EOF
   22158 
   22159   case $host_os in
   22160   aix3*)
   22161     cat <<\_LT_EOF >> "$cfgfile"
   22162 # AIX sometimes has problems with the GCC collect2 program.  For some
   22163 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22164 # vanish in a puff of smoke.
   22165 if test set != "${COLLECT_NAMES+set}"; then
   22166   COLLECT_NAMES=
   22167   export COLLECT_NAMES
   22168 fi
   22169 _LT_EOF
   22170     ;;
   22171   esac
   22172 
   22173 
   22174 ltmain=$ac_aux_dir/ltmain.sh
   22175 
   22176 
   22177   # We use sed instead of cat because bash on DJGPP gets confused if
   22178   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22179   # text mode, it properly converts lines to CR/LF.  This bash problem
   22180   # is reportedly fixed, but why not run on old versions too?
   22181   sed '$q' "$ltmain" >> "$cfgfile" \
   22182      || (rm -f "$cfgfile"; exit 1)
   22183 
   22184    mv -f "$cfgfile" "$ofile" ||
   22185     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22186   chmod +x "$ofile"
   22187 
   22188  ;;
   22189 
   22190   esac
   22191 done # for ac_tag
   22192 
   22193 
   22194 as_fn_exit 0
   22195 _ACEOF
   22196 ac_clean_files=$ac_clean_files_save
   22197 
   22198 test $ac_write_fail = 0 ||
   22199   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22200 
   22201 
   22202 # configure is writing to config.log, and then calls config.status.
   22203 # config.status does its own redirection, appending to config.log.
   22204 # Unfortunately, on DOS this fails, as config.log is still kept open
   22205 # by configure, so config.status won't be able to write to it; its
   22206 # output is simply discarded.  So we exec the FD to /dev/null,
   22207 # effectively closing config.log, so it can be properly (re)opened and
   22208 # appended to by config.status.  When coming back to configure, we
   22209 # need to make the FD available again.
   22210 if test "$no_create" != yes; then
   22211   ac_cs_success=:
   22212   ac_config_status_args=
   22213   test "$silent" = yes &&
   22214     ac_config_status_args="$ac_config_status_args --quiet"
   22215   exec 5>/dev/null
   22216   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22217   exec 5>>config.log
   22218   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22219   # would make configure fail if this is the last instruction.
   22220   $ac_cs_success || as_fn_exit 1
   22221 fi
   22222 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22223   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22224 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22225 fi
   22226 
   22227 
   22228 echo ""
   22229 echo "        prefix:              $prefix"
   22230 echo "        exec_prefix:         $exec_prefix"
   22231 echo "        libdir:              $libdir"
   22232 echo "        includedir:          $includedir"
   22233 
   22234 echo ""
   22235 echo "        CFLAGS:              $CFLAGS"
   22236 echo "        CXXFLAGS:            $CXXFLAGS"
   22237 echo "        Macros:              $DEFINES"
   22238 
   22239 echo ""
   22240 echo "        Run '${MAKE-make}' to build xf86-video-ati"
   22241 echo ""
   22242