Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-amdgpu 1.1.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-amdgpu'
    593 PACKAGE_TARNAME='xf86-video-amdgpu'
    594 PACKAGE_VERSION='1.1.0'
    595 PACKAGE_STRING='xf86-video-amdgpu 1.1.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 GLAMOR_FALSE
    643 GLAMOR_TRUE
    644 LIBGLAMOR_EGL_LIBS
    645 LIBGLAMOR_EGL_CFLAGS
    646 LIBGLAMOR_LIBS
    647 LIBGLAMOR_CFLAGS
    648 LIBGL_LIBS
    649 LIBGL_CFLAGS
    650 LIBUDEV_FALSE
    651 LIBUDEV_TRUE
    652 LIBUDEV_LIBS
    653 LIBUDEV_CFLAGS
    654 HAS_XORG_CONF_DIR_FALSE
    655 HAS_XORG_CONF_DIR_TRUE
    656 configdir
    657 HAVE_XEXTPROTO_71_FALSE
    658 HAVE_XEXTPROTO_71_TRUE
    659 XEXT_LIBS
    660 XEXT_CFLAGS
    661 XORG_LIBS
    662 XORG_CFLAGS
    663 GBM_LIBS
    664 GBM_CFLAGS
    665 LIBDRM_AMDGPU_LIBS
    666 LIBDRM_AMDGPU_CFLAGS
    667 LIBDRM_LIBS
    668 LIBDRM_CFLAGS
    669 LT_SYS_LIBRARY_PATH
    670 OTOOL64
    671 OTOOL
    672 LIPO
    673 NMEDIT
    674 DSYMUTIL
    675 MANIFEST_TOOL
    676 RANLIB
    677 ac_ct_AR
    678 AR
    679 DLLTOOL
    680 OBJDUMP
    681 LN_S
    682 NM
    683 ac_ct_DUMPBIN
    684 DUMPBIN
    685 LD
    686 FGREP
    687 LIBTOOL
    688 MAN_SUBSTS
    689 XORG_MAN_PAGE
    690 ADMIN_MAN_DIR
    691 DRIVER_MAN_DIR
    692 MISC_MAN_DIR
    693 FILE_MAN_DIR
    694 LIB_MAN_DIR
    695 APP_MAN_DIR
    696 ADMIN_MAN_SUFFIX
    697 DRIVER_MAN_SUFFIX
    698 MISC_MAN_SUFFIX
    699 FILE_MAN_SUFFIX
    700 LIB_MAN_SUFFIX
    701 APP_MAN_SUFFIX
    702 SED
    703 host_os
    704 host_vendor
    705 host_cpu
    706 host
    707 build_os
    708 build_vendor
    709 build_cpu
    710 build
    711 INSTALL_CMD
    712 PKG_CONFIG_LIBDIR
    713 PKG_CONFIG_PATH
    714 PKG_CONFIG
    715 CHANGELOG_CMD
    716 STRICT_CFLAGS
    717 CWARNFLAGS
    718 BASE_CFLAGS
    719 EGREP
    720 GREP
    721 CPP
    722 MAINT
    723 MAINTAINER_MODE_FALSE
    724 MAINTAINER_MODE_TRUE
    725 am__fastdepCC_FALSE
    726 am__fastdepCC_TRUE
    727 CCDEPMODE
    728 am__nodep
    729 AMDEPBACKSLASH
    730 AMDEP_FALSE
    731 AMDEP_TRUE
    732 am__quote
    733 am__include
    734 DEPDIR
    735 OBJEXT
    736 EXEEXT
    737 ac_ct_CC
    738 CPPFLAGS
    739 LDFLAGS
    740 CFLAGS
    741 CC
    742 AM_BACKSLASH
    743 AM_DEFAULT_VERBOSITY
    744 AM_DEFAULT_V
    745 AM_V
    746 am__untar
    747 am__tar
    748 AMTAR
    749 am__leading_dot
    750 SET_MAKE
    751 AWK
    752 mkdir_p
    753 MKDIR_P
    754 INSTALL_STRIP_PROGRAM
    755 STRIP
    756 install_sh
    757 MAKEINFO
    758 AUTOHEADER
    759 AUTOMAKE
    760 AUTOCONF
    761 ACLOCAL
    762 VERSION
    763 PACKAGE
    764 CYGPATH_W
    765 am__isrc
    766 INSTALL_DATA
    767 INSTALL_SCRIPT
    768 INSTALL_PROGRAM
    769 target_alias
    770 host_alias
    771 build_alias
    772 LIBS
    773 ECHO_T
    774 ECHO_N
    775 ECHO_C
    776 DEFS
    777 mandir
    778 localedir
    779 libdir
    780 psdir
    781 pdfdir
    782 dvidir
    783 htmldir
    784 infodir
    785 docdir
    786 oldincludedir
    787 includedir
    788 runstatedir
    789 localstatedir
    790 sharedstatedir
    791 sysconfdir
    792 datadir
    793 datarootdir
    794 libexecdir
    795 sbindir
    796 bindir
    797 program_transform_name
    798 prefix
    799 exec_prefix
    800 PACKAGE_URL
    801 PACKAGE_BUGREPORT
    802 PACKAGE_STRING
    803 PACKAGE_VERSION
    804 PACKAGE_TARNAME
    805 PACKAGE_NAME
    806 PATH_SEPARATOR
    807 SHELL'
    808 ac_subst_files=''
    809 ac_user_opts='
    810 enable_option_checking
    811 enable_silent_rules
    812 enable_largefile
    813 enable_dependency_tracking
    814 enable_maintainer_mode
    815 enable_selective_werror
    816 enable_strict_compilation
    817 enable_static
    818 enable_shared
    819 with_pic
    820 enable_fast_install
    821 with_aix_soname
    822 with_gnu_ld
    823 with_sysroot
    824 enable_libtool_lock
    825 with_xorg_module_dir
    826 with_xorg_conf_dir
    827 enable_udev
    828 enable_glamor
    829 '
    830       ac_precious_vars='build_alias
    831 host_alias
    832 target_alias
    833 CC
    834 CFLAGS
    835 LDFLAGS
    836 LIBS
    837 CPPFLAGS
    838 CPP
    839 PKG_CONFIG
    840 PKG_CONFIG_PATH
    841 PKG_CONFIG_LIBDIR
    842 LT_SYS_LIBRARY_PATH
    843 LIBDRM_CFLAGS
    844 LIBDRM_LIBS
    845 LIBDRM_AMDGPU_CFLAGS
    846 LIBDRM_AMDGPU_LIBS
    847 GBM_CFLAGS
    848 GBM_LIBS
    849 XORG_CFLAGS
    850 XORG_LIBS
    851 XEXT_CFLAGS
    852 XEXT_LIBS
    853 LIBUDEV_CFLAGS
    854 LIBUDEV_LIBS
    855 LIBGL_CFLAGS
    856 LIBGL_LIBS
    857 LIBGLAMOR_CFLAGS
    858 LIBGLAMOR_LIBS
    859 LIBGLAMOR_EGL_CFLAGS
    860 LIBGLAMOR_EGL_LIBS'
    861 
    862 
    863 # Initialize some variables set by options.
    864 ac_init_help=
    865 ac_init_version=false
    866 ac_unrecognized_opts=
    867 ac_unrecognized_sep=
    868 # The variables have the same names as the options, with
    869 # dashes changed to underlines.
    870 cache_file=/dev/null
    871 exec_prefix=NONE
    872 no_create=
    873 no_recursion=
    874 prefix=NONE
    875 program_prefix=NONE
    876 program_suffix=NONE
    877 program_transform_name=s,x,x,
    878 silent=
    879 site=
    880 srcdir=
    881 verbose=
    882 x_includes=NONE
    883 x_libraries=NONE
    884 
    885 # Installation directory options.
    886 # These are left unexpanded so users can "make install exec_prefix=/foo"
    887 # and all the variables that are supposed to be based on exec_prefix
    888 # by default will actually change.
    889 # Use braces instead of parens because sh, perl, etc. also accept them.
    890 # (The list follows the same order as the GNU Coding Standards.)
    891 bindir='${exec_prefix}/bin'
    892 sbindir='${exec_prefix}/sbin'
    893 libexecdir='${exec_prefix}/libexec'
    894 datarootdir='${prefix}/share'
    895 datadir='${datarootdir}'
    896 sysconfdir='${prefix}/etc'
    897 sharedstatedir='${prefix}/com'
    898 localstatedir='${prefix}/var'
    899 runstatedir='${localstatedir}/run'
    900 includedir='${prefix}/include'
    901 oldincludedir='/usr/include'
    902 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    903 infodir='${datarootdir}/info'
    904 htmldir='${docdir}'
    905 dvidir='${docdir}'
    906 pdfdir='${docdir}'
    907 psdir='${docdir}'
    908 libdir='${exec_prefix}/lib'
    909 localedir='${datarootdir}/locale'
    910 mandir='${datarootdir}/man'
    911 
    912 ac_prev=
    913 ac_dashdash=
    914 for ac_option
    915 do
    916   # If the previous option needs an argument, assign it.
    917   if test -n "$ac_prev"; then
    918     eval $ac_prev=\$ac_option
    919     ac_prev=
    920     continue
    921   fi
    922 
    923   case $ac_option in
    924   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    925   *=)   ac_optarg= ;;
    926   *)    ac_optarg=yes ;;
    927   esac
    928 
    929   # Accept the important Cygnus configure options, so we can diagnose typos.
    930 
    931   case $ac_dashdash$ac_option in
    932   --)
    933     ac_dashdash=yes ;;
    934 
    935   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    936     ac_prev=bindir ;;
    937   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    938     bindir=$ac_optarg ;;
    939 
    940   -build | --build | --buil | --bui | --bu)
    941     ac_prev=build_alias ;;
    942   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    943     build_alias=$ac_optarg ;;
    944 
    945   -cache-file | --cache-file | --cache-fil | --cache-fi \
    946   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    947     ac_prev=cache_file ;;
    948   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    949   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    950     cache_file=$ac_optarg ;;
    951 
    952   --config-cache | -C)
    953     cache_file=config.cache ;;
    954 
    955   -datadir | --datadir | --datadi | --datad)
    956     ac_prev=datadir ;;
    957   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    958     datadir=$ac_optarg ;;
    959 
    960   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    961   | --dataroo | --dataro | --datar)
    962     ac_prev=datarootdir ;;
    963   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    964   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    965     datarootdir=$ac_optarg ;;
    966 
    967   -disable-* | --disable-*)
    968     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    969     # Reject names that are not valid shell variable names.
    970     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    971       as_fn_error $? "invalid feature name: $ac_useropt"
    972     ac_useropt_orig=$ac_useropt
    973     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    974     case $ac_user_opts in
    975       *"
    976 "enable_$ac_useropt"
    977 "*) ;;
    978       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    979 	 ac_unrecognized_sep=', ';;
    980     esac
    981     eval enable_$ac_useropt=no ;;
    982 
    983   -docdir | --docdir | --docdi | --doc | --do)
    984     ac_prev=docdir ;;
    985   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    986     docdir=$ac_optarg ;;
    987 
    988   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    989     ac_prev=dvidir ;;
    990   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    991     dvidir=$ac_optarg ;;
    992 
    993   -enable-* | --enable-*)
    994     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    995     # Reject names that are not valid shell variable names.
    996     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    997       as_fn_error $? "invalid feature name: $ac_useropt"
    998     ac_useropt_orig=$ac_useropt
    999     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1000     case $ac_user_opts in
   1001       *"
   1002 "enable_$ac_useropt"
   1003 "*) ;;
   1004       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1005 	 ac_unrecognized_sep=', ';;
   1006     esac
   1007     eval enable_$ac_useropt=\$ac_optarg ;;
   1008 
   1009   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1010   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1011   | --exec | --exe | --ex)
   1012     ac_prev=exec_prefix ;;
   1013   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1014   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1015   | --exec=* | --exe=* | --ex=*)
   1016     exec_prefix=$ac_optarg ;;
   1017 
   1018   -gas | --gas | --ga | --g)
   1019     # Obsolete; use --with-gas.
   1020     with_gas=yes ;;
   1021 
   1022   -help | --help | --hel | --he | -h)
   1023     ac_init_help=long ;;
   1024   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1025     ac_init_help=recursive ;;
   1026   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1027     ac_init_help=short ;;
   1028 
   1029   -host | --host | --hos | --ho)
   1030     ac_prev=host_alias ;;
   1031   -host=* | --host=* | --hos=* | --ho=*)
   1032     host_alias=$ac_optarg ;;
   1033 
   1034   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1035     ac_prev=htmldir ;;
   1036   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1037   | --ht=*)
   1038     htmldir=$ac_optarg ;;
   1039 
   1040   -includedir | --includedir | --includedi | --included | --include \
   1041   | --includ | --inclu | --incl | --inc)
   1042     ac_prev=includedir ;;
   1043   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1044   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1045     includedir=$ac_optarg ;;
   1046 
   1047   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1048     ac_prev=infodir ;;
   1049   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1050     infodir=$ac_optarg ;;
   1051 
   1052   -libdir | --libdir | --libdi | --libd)
   1053     ac_prev=libdir ;;
   1054   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1055     libdir=$ac_optarg ;;
   1056 
   1057   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1058   | --libexe | --libex | --libe)
   1059     ac_prev=libexecdir ;;
   1060   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1061   | --libexe=* | --libex=* | --libe=*)
   1062     libexecdir=$ac_optarg ;;
   1063 
   1064   -localedir | --localedir | --localedi | --localed | --locale)
   1065     ac_prev=localedir ;;
   1066   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1067     localedir=$ac_optarg ;;
   1068 
   1069   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1070   | --localstate | --localstat | --localsta | --localst | --locals)
   1071     ac_prev=localstatedir ;;
   1072   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1073   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1074     localstatedir=$ac_optarg ;;
   1075 
   1076   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1077     ac_prev=mandir ;;
   1078   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1079     mandir=$ac_optarg ;;
   1080 
   1081   -nfp | --nfp | --nf)
   1082     # Obsolete; use --without-fp.
   1083     with_fp=no ;;
   1084 
   1085   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1086   | --no-cr | --no-c | -n)
   1087     no_create=yes ;;
   1088 
   1089   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1090   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1091     no_recursion=yes ;;
   1092 
   1093   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1094   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1095   | --oldin | --oldi | --old | --ol | --o)
   1096     ac_prev=oldincludedir ;;
   1097   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1098   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1099   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1100     oldincludedir=$ac_optarg ;;
   1101 
   1102   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1103     ac_prev=prefix ;;
   1104   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1105     prefix=$ac_optarg ;;
   1106 
   1107   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1108   | --program-pre | --program-pr | --program-p)
   1109     ac_prev=program_prefix ;;
   1110   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1111   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1112     program_prefix=$ac_optarg ;;
   1113 
   1114   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1115   | --program-suf | --program-su | --program-s)
   1116     ac_prev=program_suffix ;;
   1117   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1118   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1119     program_suffix=$ac_optarg ;;
   1120 
   1121   -program-transform-name | --program-transform-name \
   1122   | --program-transform-nam | --program-transform-na \
   1123   | --program-transform-n | --program-transform- \
   1124   | --program-transform | --program-transfor \
   1125   | --program-transfo | --program-transf \
   1126   | --program-trans | --program-tran \
   1127   | --progr-tra | --program-tr | --program-t)
   1128     ac_prev=program_transform_name ;;
   1129   -program-transform-name=* | --program-transform-name=* \
   1130   | --program-transform-nam=* | --program-transform-na=* \
   1131   | --program-transform-n=* | --program-transform-=* \
   1132   | --program-transform=* | --program-transfor=* \
   1133   | --program-transfo=* | --program-transf=* \
   1134   | --program-trans=* | --program-tran=* \
   1135   | --progr-tra=* | --program-tr=* | --program-t=*)
   1136     program_transform_name=$ac_optarg ;;
   1137 
   1138   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1139     ac_prev=pdfdir ;;
   1140   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1141     pdfdir=$ac_optarg ;;
   1142 
   1143   -psdir | --psdir | --psdi | --psd | --ps)
   1144     ac_prev=psdir ;;
   1145   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1146     psdir=$ac_optarg ;;
   1147 
   1148   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1149   | -silent | --silent | --silen | --sile | --sil)
   1150     silent=yes ;;
   1151 
   1152   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1153   | --runstate | --runstat | --runsta | --runst | --runs \
   1154   | --run | --ru | --r)
   1155     ac_prev=runstatedir ;;
   1156   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1157   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1158   | --run=* | --ru=* | --r=*)
   1159     runstatedir=$ac_optarg ;;
   1160 
   1161   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1162     ac_prev=sbindir ;;
   1163   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1164   | --sbi=* | --sb=*)
   1165     sbindir=$ac_optarg ;;
   1166 
   1167   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1168   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1169   | --sharedst | --shareds | --shared | --share | --shar \
   1170   | --sha | --sh)
   1171     ac_prev=sharedstatedir ;;
   1172   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1173   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1174   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1175   | --sha=* | --sh=*)
   1176     sharedstatedir=$ac_optarg ;;
   1177 
   1178   -site | --site | --sit)
   1179     ac_prev=site ;;
   1180   -site=* | --site=* | --sit=*)
   1181     site=$ac_optarg ;;
   1182 
   1183   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1184     ac_prev=srcdir ;;
   1185   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1186     srcdir=$ac_optarg ;;
   1187 
   1188   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1189   | --syscon | --sysco | --sysc | --sys | --sy)
   1190     ac_prev=sysconfdir ;;
   1191   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1192   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1193     sysconfdir=$ac_optarg ;;
   1194 
   1195   -target | --target | --targe | --targ | --tar | --ta | --t)
   1196     ac_prev=target_alias ;;
   1197   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1198     target_alias=$ac_optarg ;;
   1199 
   1200   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1201     verbose=yes ;;
   1202 
   1203   -version | --version | --versio | --versi | --vers | -V)
   1204     ac_init_version=: ;;
   1205 
   1206   -with-* | --with-*)
   1207     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1208     # Reject names that are not valid shell variable names.
   1209     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1210       as_fn_error $? "invalid package name: $ac_useropt"
   1211     ac_useropt_orig=$ac_useropt
   1212     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1213     case $ac_user_opts in
   1214       *"
   1215 "with_$ac_useropt"
   1216 "*) ;;
   1217       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1218 	 ac_unrecognized_sep=', ';;
   1219     esac
   1220     eval with_$ac_useropt=\$ac_optarg ;;
   1221 
   1222   -without-* | --without-*)
   1223     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1224     # Reject names that are not valid shell variable names.
   1225     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1226       as_fn_error $? "invalid package name: $ac_useropt"
   1227     ac_useropt_orig=$ac_useropt
   1228     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1229     case $ac_user_opts in
   1230       *"
   1231 "with_$ac_useropt"
   1232 "*) ;;
   1233       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1234 	 ac_unrecognized_sep=', ';;
   1235     esac
   1236     eval with_$ac_useropt=no ;;
   1237 
   1238   --x)
   1239     # Obsolete; use --with-x.
   1240     with_x=yes ;;
   1241 
   1242   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1243   | --x-incl | --x-inc | --x-in | --x-i)
   1244     ac_prev=x_includes ;;
   1245   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1246   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1247     x_includes=$ac_optarg ;;
   1248 
   1249   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1250   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1251     ac_prev=x_libraries ;;
   1252   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1253   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1254     x_libraries=$ac_optarg ;;
   1255 
   1256   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1257 Try \`$0 --help' for more information"
   1258     ;;
   1259 
   1260   *=*)
   1261     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1262     # Reject names that are not valid shell variable names.
   1263     case $ac_envvar in #(
   1264       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1265       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1266     esac
   1267     eval $ac_envvar=\$ac_optarg
   1268     export $ac_envvar ;;
   1269 
   1270   *)
   1271     # FIXME: should be removed in autoconf 3.0.
   1272     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1273     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1274       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1275     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1276     ;;
   1277 
   1278   esac
   1279 done
   1280 
   1281 if test -n "$ac_prev"; then
   1282   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1283   as_fn_error $? "missing argument to $ac_option"
   1284 fi
   1285 
   1286 if test -n "$ac_unrecognized_opts"; then
   1287   case $enable_option_checking in
   1288     no) ;;
   1289     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1290     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1291   esac
   1292 fi
   1293 
   1294 # Check all directory arguments for consistency.
   1295 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1296 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1297 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1298 		libdir localedir mandir runstatedir
   1299 do
   1300   eval ac_val=\$$ac_var
   1301   # Remove trailing slashes.
   1302   case $ac_val in
   1303     */ )
   1304       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1305       eval $ac_var=\$ac_val;;
   1306   esac
   1307   # Be sure to have absolute directory names.
   1308   case $ac_val in
   1309     [\\/$]* | ?:[\\/]* )  continue;;
   1310     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1311   esac
   1312   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1313 done
   1314 
   1315 # There might be people who depend on the old broken behavior: `$host'
   1316 # used to hold the argument of --host etc.
   1317 # FIXME: To remove some day.
   1318 build=$build_alias
   1319 host=$host_alias
   1320 target=$target_alias
   1321 
   1322 # FIXME: To remove some day.
   1323 if test "x$host_alias" != x; then
   1324   if test "x$build_alias" = x; then
   1325     cross_compiling=maybe
   1326   elif test "x$build_alias" != "x$host_alias"; then
   1327     cross_compiling=yes
   1328   fi
   1329 fi
   1330 
   1331 ac_tool_prefix=
   1332 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1333 
   1334 test "$silent" = yes && exec 6>/dev/null
   1335 
   1336 
   1337 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1338 ac_ls_di=`ls -di .` &&
   1339 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1340   as_fn_error $? "working directory cannot be determined"
   1341 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1342   as_fn_error $? "pwd does not report name of working directory"
   1343 
   1344 
   1345 # Find the source files, if location was not specified.
   1346 if test -z "$srcdir"; then
   1347   ac_srcdir_defaulted=yes
   1348   # Try the directory containing this script, then the parent directory.
   1349   ac_confdir=`$as_dirname -- "$as_myself" ||
   1350 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1351 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1352 	 X"$as_myself" : 'X\(//\)$' \| \
   1353 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1354 $as_echo X"$as_myself" |
   1355     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1356 	    s//\1/
   1357 	    q
   1358 	  }
   1359 	  /^X\(\/\/\)[^/].*/{
   1360 	    s//\1/
   1361 	    q
   1362 	  }
   1363 	  /^X\(\/\/\)$/{
   1364 	    s//\1/
   1365 	    q
   1366 	  }
   1367 	  /^X\(\/\).*/{
   1368 	    s//\1/
   1369 	    q
   1370 	  }
   1371 	  s/.*/./; q'`
   1372   srcdir=$ac_confdir
   1373   if test ! -r "$srcdir/$ac_unique_file"; then
   1374     srcdir=..
   1375   fi
   1376 else
   1377   ac_srcdir_defaulted=no
   1378 fi
   1379 if test ! -r "$srcdir/$ac_unique_file"; then
   1380   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1381   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1382 fi
   1383 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1384 ac_abs_confdir=`(
   1385 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1386 	pwd)`
   1387 # When building in place, set srcdir=.
   1388 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1389   srcdir=.
   1390 fi
   1391 # Remove unnecessary trailing slashes from srcdir.
   1392 # Double slashes in file names in object file debugging info
   1393 # mess up M-x gdb in Emacs.
   1394 case $srcdir in
   1395 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1396 esac
   1397 for ac_var in $ac_precious_vars; do
   1398   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1399   eval ac_env_${ac_var}_value=\$${ac_var}
   1400   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1401   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1402 done
   1403 
   1404 #
   1405 # Report the --help message.
   1406 #
   1407 if test "$ac_init_help" = "long"; then
   1408   # Omit some internal or obsolete options to make the list less imposing.
   1409   # This message is too long to be a string in the A/UX 3.1 sh.
   1410   cat <<_ACEOF
   1411 \`configure' configures xf86-video-amdgpu 1.1.0 to adapt to many kinds of systems.
   1412 
   1413 Usage: $0 [OPTION]... [VAR=VALUE]...
   1414 
   1415 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1416 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1417 
   1418 Defaults for the options are specified in brackets.
   1419 
   1420 Configuration:
   1421   -h, --help              display this help and exit
   1422       --help=short        display options specific to this package
   1423       --help=recursive    display the short help of all the included packages
   1424   -V, --version           display version information and exit
   1425   -q, --quiet, --silent   do not print \`checking ...' messages
   1426       --cache-file=FILE   cache test results in FILE [disabled]
   1427   -C, --config-cache      alias for \`--cache-file=config.cache'
   1428   -n, --no-create         do not create output files
   1429       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1430 
   1431 Installation directories:
   1432   --prefix=PREFIX         install architecture-independent files in PREFIX
   1433                           [$ac_default_prefix]
   1434   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1435                           [PREFIX]
   1436 
   1437 By default, \`make install' will install all the files in
   1438 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1439 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1440 for instance \`--prefix=\$HOME'.
   1441 
   1442 For better control, use the options below.
   1443 
   1444 Fine tuning of the installation directories:
   1445   --bindir=DIR            user executables [EPREFIX/bin]
   1446   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1447   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1448   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1449   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1450   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1451   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1452   --libdir=DIR            object code libraries [EPREFIX/lib]
   1453   --includedir=DIR        C header files [PREFIX/include]
   1454   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1455   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1456   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1457   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1458   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1459   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1460   --docdir=DIR            documentation root
   1461                           [DATAROOTDIR/doc/xf86-video-amdgpu]
   1462   --htmldir=DIR           html documentation [DOCDIR]
   1463   --dvidir=DIR            dvi documentation [DOCDIR]
   1464   --pdfdir=DIR            pdf documentation [DOCDIR]
   1465   --psdir=DIR             ps documentation [DOCDIR]
   1466 _ACEOF
   1467 
   1468   cat <<\_ACEOF
   1469 
   1470 Program names:
   1471   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1472   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1473   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1474 
   1475 System types:
   1476   --build=BUILD     configure for building on BUILD [guessed]
   1477   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1478 _ACEOF
   1479 fi
   1480 
   1481 if test -n "$ac_init_help"; then
   1482   case $ac_init_help in
   1483      short | recursive ) echo "Configuration of xf86-video-amdgpu 1.1.0:";;
   1484    esac
   1485   cat <<\_ACEOF
   1486 
   1487 Optional Features:
   1488   --disable-option-checking  ignore unrecognized --enable/--with options
   1489   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1490   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1491   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1492   --disable-silent-rules  verbose build output (undo: "make V=0")
   1493   --disable-largefile     omit support for large files
   1494   --enable-dependency-tracking
   1495                           do not reject slow dependency extractors
   1496   --disable-dependency-tracking
   1497                           speeds up one-time build
   1498   --enable-maintainer-mode
   1499                           enable make rules and dependencies not useful (and
   1500                           sometimes confusing) to the casual installer
   1501   --disable-selective-werror
   1502                           Turn off selective compiler errors. (default:
   1503                           enabled)
   1504   --enable-strict-compilation
   1505                           Enable all warnings from compiler and make them
   1506                           errors (default: disabled)
   1507   --enable-static[=PKGS]  build static libraries [default=no]
   1508   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1509   --enable-fast-install[=PKGS]
   1510                           optimize for fast installation [default=yes]
   1511   --disable-libtool-lock  avoid locking (might break parallel builds)
   1512   --disable-udev          Disable libudev support [default=auto]
   1513   --disable-glamor        Disable glamor, a new GL-based acceleration
   1514                           [default=enabled]
   1515 
   1516 Optional Packages:
   1517   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1518   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1519   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1520                           both]
   1521   --with-aix-soname=aix|svr4|both
   1522                           shared library versioning (aka "SONAME") variant to
   1523                           provide on AIX, [default=aix].
   1524   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1525   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1526                           compiler's sysroot if not specified).
   1527   --with-xorg-module-dir=DIR
   1528                           Default xorg module directory
   1529                           [[default=$libdir/xorg/modules]]
   1530   --with-xorg-conf-dir=DIR
   1531                           Default xorg.conf.d directory [[default=from
   1532                           $PKG_CONFIG xorg-server]]
   1533 
   1534 Some influential environment variables:
   1535   CC          C compiler command
   1536   CFLAGS      C compiler flags
   1537   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1538               nonstandard directory <lib dir>
   1539   LIBS        libraries to pass to the linker, e.g. -l<library>
   1540   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1541               you have headers in a nonstandard directory <include dir>
   1542   CPP         C preprocessor
   1543   PKG_CONFIG  path to pkg-config utility
   1544   PKG_CONFIG_PATH
   1545               directories to add to pkg-config's search path
   1546   PKG_CONFIG_LIBDIR
   1547               path overriding pkg-config's built-in search path
   1548   LT_SYS_LIBRARY_PATH
   1549               User-defined run-time library search path.
   1550   LIBDRM_CFLAGS
   1551               C compiler flags for LIBDRM, overriding pkg-config
   1552   LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
   1553   LIBDRM_AMDGPU_CFLAGS
   1554               C compiler flags for LIBDRM_AMDGPU, overriding pkg-config
   1555   LIBDRM_AMDGPU_LIBS
   1556               linker flags for LIBDRM_AMDGPU, overriding pkg-config
   1557   GBM_CFLAGS  C compiler flags for GBM, overriding pkg-config
   1558   GBM_LIBS    linker flags for GBM, overriding pkg-config
   1559   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1560   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1561   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1562   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1563   LIBUDEV_CFLAGS
   1564               C compiler flags for LIBUDEV, overriding pkg-config
   1565   LIBUDEV_LIBS
   1566               linker flags for LIBUDEV, overriding pkg-config
   1567   LIBGL_CFLAGS
   1568               C compiler flags for LIBGL, overriding pkg-config
   1569   LIBGL_LIBS  linker flags for LIBGL, overriding pkg-config
   1570   LIBGLAMOR_CFLAGS
   1571               C compiler flags for LIBGLAMOR, overriding pkg-config
   1572   LIBGLAMOR_LIBS
   1573               linker flags for LIBGLAMOR, overriding pkg-config
   1574   LIBGLAMOR_EGL_CFLAGS
   1575               C compiler flags for LIBGLAMOR_EGL, overriding pkg-config
   1576   LIBGLAMOR_EGL_LIBS
   1577               linker flags for LIBGLAMOR_EGL, overriding pkg-config
   1578 
   1579 Use these variables to override the choices made by `configure' or to help
   1580 it to find libraries and programs with nonstandard names/locations.
   1581 
   1582 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1583 _ACEOF
   1584 ac_status=$?
   1585 fi
   1586 
   1587 if test "$ac_init_help" = "recursive"; then
   1588   # If there are subdirs, report their specific --help.
   1589   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1590     test -d "$ac_dir" ||
   1591       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1592       continue
   1593     ac_builddir=.
   1594 
   1595 case "$ac_dir" in
   1596 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1597 *)
   1598   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1599   # A ".." for each directory in $ac_dir_suffix.
   1600   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1601   case $ac_top_builddir_sub in
   1602   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1603   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1604   esac ;;
   1605 esac
   1606 ac_abs_top_builddir=$ac_pwd
   1607 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1608 # for backward compatibility:
   1609 ac_top_builddir=$ac_top_build_prefix
   1610 
   1611 case $srcdir in
   1612   .)  # We are building in place.
   1613     ac_srcdir=.
   1614     ac_top_srcdir=$ac_top_builddir_sub
   1615     ac_abs_top_srcdir=$ac_pwd ;;
   1616   [\\/]* | ?:[\\/]* )  # Absolute name.
   1617     ac_srcdir=$srcdir$ac_dir_suffix;
   1618     ac_top_srcdir=$srcdir
   1619     ac_abs_top_srcdir=$srcdir ;;
   1620   *) # Relative name.
   1621     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1622     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1623     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1624 esac
   1625 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1626 
   1627     cd "$ac_dir" || { ac_status=$?; continue; }
   1628     # Check for guested configure.
   1629     if test -f "$ac_srcdir/configure.gnu"; then
   1630       echo &&
   1631       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1632     elif test -f "$ac_srcdir/configure"; then
   1633       echo &&
   1634       $SHELL "$ac_srcdir/configure" --help=recursive
   1635     else
   1636       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1637     fi || ac_status=$?
   1638     cd "$ac_pwd" || { ac_status=$?; break; }
   1639   done
   1640 fi
   1641 
   1642 test -n "$ac_init_help" && exit $ac_status
   1643 if $ac_init_version; then
   1644   cat <<\_ACEOF
   1645 xf86-video-amdgpu configure 1.1.0
   1646 generated by GNU Autoconf 2.69
   1647 
   1648 Copyright (C) 2012 Free Software Foundation, Inc.
   1649 This configure script is free software; the Free Software Foundation
   1650 gives unlimited permission to copy, distribute and modify it.
   1651 _ACEOF
   1652   exit
   1653 fi
   1654 
   1655 ## ------------------------ ##
   1656 ## Autoconf initialization. ##
   1657 ## ------------------------ ##
   1658 
   1659 # ac_fn_c_try_compile LINENO
   1660 # --------------------------
   1661 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1662 ac_fn_c_try_compile ()
   1663 {
   1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1665   rm -f conftest.$ac_objext
   1666   if { { ac_try="$ac_compile"
   1667 case "(($ac_try" in
   1668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1669   *) ac_try_echo=$ac_try;;
   1670 esac
   1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1672 $as_echo "$ac_try_echo"; } >&5
   1673   (eval "$ac_compile") 2>conftest.err
   1674   ac_status=$?
   1675   if test -s conftest.err; then
   1676     grep -v '^ *+' conftest.err >conftest.er1
   1677     cat conftest.er1 >&5
   1678     mv -f conftest.er1 conftest.err
   1679   fi
   1680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1681   test $ac_status = 0; } && {
   1682 	 test -z "$ac_c_werror_flag" ||
   1683 	 test ! -s conftest.err
   1684        } && test -s conftest.$ac_objext; then :
   1685   ac_retval=0
   1686 else
   1687   $as_echo "$as_me: failed program was:" >&5
   1688 sed 's/^/| /' conftest.$ac_ext >&5
   1689 
   1690 	ac_retval=1
   1691 fi
   1692   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1693   as_fn_set_status $ac_retval
   1694 
   1695 } # ac_fn_c_try_compile
   1696 
   1697 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1698 # ---------------------------------------------
   1699 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1700 # accordingly.
   1701 ac_fn_c_check_decl ()
   1702 {
   1703   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1704   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1705   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1707 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1708 if eval \${$3+:} false; then :
   1709   $as_echo_n "(cached) " >&6
   1710 else
   1711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1712 /* end confdefs.h.  */
   1713 $4
   1714 int
   1715 main ()
   1716 {
   1717 #ifndef $as_decl_name
   1718 #ifdef __cplusplus
   1719   (void) $as_decl_use;
   1720 #else
   1721   (void) $as_decl_name;
   1722 #endif
   1723 #endif
   1724 
   1725   ;
   1726   return 0;
   1727 }
   1728 _ACEOF
   1729 if ac_fn_c_try_compile "$LINENO"; then :
   1730   eval "$3=yes"
   1731 else
   1732   eval "$3=no"
   1733 fi
   1734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1735 fi
   1736 eval ac_res=\$$3
   1737 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1738 $as_echo "$ac_res" >&6; }
   1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1740 
   1741 } # ac_fn_c_check_decl
   1742 
   1743 # ac_fn_c_try_cpp LINENO
   1744 # ----------------------
   1745 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1746 ac_fn_c_try_cpp ()
   1747 {
   1748   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1749   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1750 case "(($ac_try" in
   1751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1752   *) ac_try_echo=$ac_try;;
   1753 esac
   1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1755 $as_echo "$ac_try_echo"; } >&5
   1756   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1757   ac_status=$?
   1758   if test -s conftest.err; then
   1759     grep -v '^ *+' conftest.err >conftest.er1
   1760     cat conftest.er1 >&5
   1761     mv -f conftest.er1 conftest.err
   1762   fi
   1763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1764   test $ac_status = 0; } > conftest.i && {
   1765 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1766 	 test ! -s conftest.err
   1767        }; then :
   1768   ac_retval=0
   1769 else
   1770   $as_echo "$as_me: failed program was:" >&5
   1771 sed 's/^/| /' conftest.$ac_ext >&5
   1772 
   1773     ac_retval=1
   1774 fi
   1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1776   as_fn_set_status $ac_retval
   1777 
   1778 } # ac_fn_c_try_cpp
   1779 
   1780 # ac_fn_c_try_run LINENO
   1781 # ----------------------
   1782 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1783 # that executables *can* be run.
   1784 ac_fn_c_try_run ()
   1785 {
   1786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1787   if { { ac_try="$ac_link"
   1788 case "(($ac_try" in
   1789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1790   *) ac_try_echo=$ac_try;;
   1791 esac
   1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1793 $as_echo "$ac_try_echo"; } >&5
   1794   (eval "$ac_link") 2>&5
   1795   ac_status=$?
   1796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1797   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1798   { { case "(($ac_try" in
   1799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1800   *) ac_try_echo=$ac_try;;
   1801 esac
   1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1803 $as_echo "$ac_try_echo"; } >&5
   1804   (eval "$ac_try") 2>&5
   1805   ac_status=$?
   1806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1807   test $ac_status = 0; }; }; then :
   1808   ac_retval=0
   1809 else
   1810   $as_echo "$as_me: program exited with status $ac_status" >&5
   1811        $as_echo "$as_me: failed program was:" >&5
   1812 sed 's/^/| /' conftest.$ac_ext >&5
   1813 
   1814        ac_retval=$ac_status
   1815 fi
   1816   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1818   as_fn_set_status $ac_retval
   1819 
   1820 } # ac_fn_c_try_run
   1821 
   1822 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1823 # -------------------------------------------------------
   1824 # Tests whether HEADER exists and can be compiled using the include files in
   1825 # INCLUDES, setting the cache variable VAR accordingly.
   1826 ac_fn_c_check_header_compile ()
   1827 {
   1828   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1830 $as_echo_n "checking for $2... " >&6; }
   1831 if eval \${$3+:} false; then :
   1832   $as_echo_n "(cached) " >&6
   1833 else
   1834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1835 /* end confdefs.h.  */
   1836 $4
   1837 #include <$2>
   1838 _ACEOF
   1839 if ac_fn_c_try_compile "$LINENO"; then :
   1840   eval "$3=yes"
   1841 else
   1842   eval "$3=no"
   1843 fi
   1844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1845 fi
   1846 eval ac_res=\$$3
   1847 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1848 $as_echo "$ac_res" >&6; }
   1849   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1850 
   1851 } # ac_fn_c_check_header_compile
   1852 
   1853 # ac_fn_c_try_link LINENO
   1854 # -----------------------
   1855 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1856 ac_fn_c_try_link ()
   1857 {
   1858   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1859   rm -f conftest.$ac_objext conftest$ac_exeext
   1860   if { { ac_try="$ac_link"
   1861 case "(($ac_try" in
   1862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1863   *) ac_try_echo=$ac_try;;
   1864 esac
   1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1866 $as_echo "$ac_try_echo"; } >&5
   1867   (eval "$ac_link") 2>conftest.err
   1868   ac_status=$?
   1869   if test -s conftest.err; then
   1870     grep -v '^ *+' conftest.err >conftest.er1
   1871     cat conftest.er1 >&5
   1872     mv -f conftest.er1 conftest.err
   1873   fi
   1874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1875   test $ac_status = 0; } && {
   1876 	 test -z "$ac_c_werror_flag" ||
   1877 	 test ! -s conftest.err
   1878        } && test -s conftest$ac_exeext && {
   1879 	 test "$cross_compiling" = yes ||
   1880 	 test -x conftest$ac_exeext
   1881        }; then :
   1882   ac_retval=0
   1883 else
   1884   $as_echo "$as_me: failed program was:" >&5
   1885 sed 's/^/| /' conftest.$ac_ext >&5
   1886 
   1887 	ac_retval=1
   1888 fi
   1889   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1890   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1891   # interfere with the next link command; also delete a directory that is
   1892   # left behind by Apple's compiler.  We do this before executing the actions.
   1893   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1894   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1895   as_fn_set_status $ac_retval
   1896 
   1897 } # ac_fn_c_try_link
   1898 
   1899 # ac_fn_c_check_func LINENO FUNC VAR
   1900 # ----------------------------------
   1901 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1902 ac_fn_c_check_func ()
   1903 {
   1904   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1906 $as_echo_n "checking for $2... " >&6; }
   1907 if eval \${$3+:} false; then :
   1908   $as_echo_n "(cached) " >&6
   1909 else
   1910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1911 /* end confdefs.h.  */
   1912 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1914 #define $2 innocuous_$2
   1915 
   1916 /* System header to define __stub macros and hopefully few prototypes,
   1917     which can conflict with char $2 (); below.
   1918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1919     <limits.h> exists even on freestanding compilers.  */
   1920 
   1921 #ifdef __STDC__
   1922 # include <limits.h>
   1923 #else
   1924 # include <assert.h>
   1925 #endif
   1926 
   1927 #undef $2
   1928 
   1929 /* Override any GCC internal prototype to avoid an error.
   1930    Use char because int might match the return type of a GCC
   1931    builtin and then its argument prototype would still apply.  */
   1932 #ifdef __cplusplus
   1933 extern "C"
   1934 #endif
   1935 char $2 ();
   1936 /* The GNU C library defines this for functions which it implements
   1937     to always fail with ENOSYS.  Some functions are actually named
   1938     something starting with __ and the normal name is an alias.  */
   1939 #if defined __stub_$2 || defined __stub___$2
   1940 choke me
   1941 #endif
   1942 
   1943 int
   1944 main ()
   1945 {
   1946 return $2 ();
   1947   ;
   1948   return 0;
   1949 }
   1950 _ACEOF
   1951 if ac_fn_c_try_link "$LINENO"; then :
   1952   eval "$3=yes"
   1953 else
   1954   eval "$3=no"
   1955 fi
   1956 rm -f core conftest.err conftest.$ac_objext \
   1957     conftest$ac_exeext conftest.$ac_ext
   1958 fi
   1959 eval ac_res=\$$3
   1960 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1961 $as_echo "$ac_res" >&6; }
   1962   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1963 
   1964 } # ac_fn_c_check_func
   1965 
   1966 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1967 # -------------------------------------------------------
   1968 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1969 # the include files in INCLUDES and setting the cache variable VAR
   1970 # accordingly.
   1971 ac_fn_c_check_header_mongrel ()
   1972 {
   1973   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1974   if eval \${$3+:} false; then :
   1975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1976 $as_echo_n "checking for $2... " >&6; }
   1977 if eval \${$3+:} false; then :
   1978   $as_echo_n "(cached) " >&6
   1979 fi
   1980 eval ac_res=\$$3
   1981 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1982 $as_echo "$ac_res" >&6; }
   1983 else
   1984   # Is the header compilable?
   1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1986 $as_echo_n "checking $2 usability... " >&6; }
   1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1988 /* end confdefs.h.  */
   1989 $4
   1990 #include <$2>
   1991 _ACEOF
   1992 if ac_fn_c_try_compile "$LINENO"; then :
   1993   ac_header_compiler=yes
   1994 else
   1995   ac_header_compiler=no
   1996 fi
   1997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1999 $as_echo "$ac_header_compiler" >&6; }
   2000 
   2001 # Is the header present?
   2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2003 $as_echo_n "checking $2 presence... " >&6; }
   2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2005 /* end confdefs.h.  */
   2006 #include <$2>
   2007 _ACEOF
   2008 if ac_fn_c_try_cpp "$LINENO"; then :
   2009   ac_header_preproc=yes
   2010 else
   2011   ac_header_preproc=no
   2012 fi
   2013 rm -f conftest.err conftest.i conftest.$ac_ext
   2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2015 $as_echo "$ac_header_preproc" >&6; }
   2016 
   2017 # So?  What about this header?
   2018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2019   yes:no: )
   2020     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2021 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2022     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2023 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2024     ;;
   2025   no:yes:* )
   2026     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2027 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2028     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2029 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2030     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2031 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2032     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2033 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2034     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2035 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2036 ( $as_echo "## ---------------------------------------------------------------------- ##
   2037 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   2038 ## ---------------------------------------------------------------------- ##"
   2039      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2040     ;;
   2041 esac
   2042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2043 $as_echo_n "checking for $2... " >&6; }
   2044 if eval \${$3+:} false; then :
   2045   $as_echo_n "(cached) " >&6
   2046 else
   2047   eval "$3=\$ac_header_compiler"
   2048 fi
   2049 eval ac_res=\$$3
   2050 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2051 $as_echo "$ac_res" >&6; }
   2052 fi
   2053   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2054 
   2055 } # ac_fn_c_check_header_mongrel
   2056 cat >config.log <<_ACEOF
   2057 This file contains any messages produced by compilers while
   2058 running configure, to aid debugging if configure makes a mistake.
   2059 
   2060 It was created by xf86-video-amdgpu $as_me 1.1.0, which was
   2061 generated by GNU Autoconf 2.69.  Invocation command line was
   2062 
   2063   $ $0 $@
   2064 
   2065 _ACEOF
   2066 exec 5>>config.log
   2067 {
   2068 cat <<_ASUNAME
   2069 ## --------- ##
   2070 ## Platform. ##
   2071 ## --------- ##
   2072 
   2073 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2074 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2075 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2076 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2077 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2078 
   2079 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2080 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2081 
   2082 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2083 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2084 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2085 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2086 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2087 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2088 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2089 
   2090 _ASUNAME
   2091 
   2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2093 for as_dir in $PATH
   2094 do
   2095   IFS=$as_save_IFS
   2096   test -z "$as_dir" && as_dir=.
   2097     $as_echo "PATH: $as_dir"
   2098   done
   2099 IFS=$as_save_IFS
   2100 
   2101 } >&5
   2102 
   2103 cat >&5 <<_ACEOF
   2104 
   2105 
   2106 ## ----------- ##
   2107 ## Core tests. ##
   2108 ## ----------- ##
   2109 
   2110 _ACEOF
   2111 
   2112 
   2113 # Keep a trace of the command line.
   2114 # Strip out --no-create and --no-recursion so they do not pile up.
   2115 # Strip out --silent because we don't want to record it for future runs.
   2116 # Also quote any args containing shell meta-characters.
   2117 # Make two passes to allow for proper duplicate-argument suppression.
   2118 ac_configure_args=
   2119 ac_configure_args0=
   2120 ac_configure_args1=
   2121 ac_must_keep_next=false
   2122 for ac_pass in 1 2
   2123 do
   2124   for ac_arg
   2125   do
   2126     case $ac_arg in
   2127     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2128     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2129     | -silent | --silent | --silen | --sile | --sil)
   2130       continue ;;
   2131     *\'*)
   2132       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2133     esac
   2134     case $ac_pass in
   2135     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2136     2)
   2137       as_fn_append ac_configure_args1 " '$ac_arg'"
   2138       if test $ac_must_keep_next = true; then
   2139 	ac_must_keep_next=false # Got value, back to normal.
   2140       else
   2141 	case $ac_arg in
   2142 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2143 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2144 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2145 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2146 	    case "$ac_configure_args0 " in
   2147 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2148 	    esac
   2149 	    ;;
   2150 	  -* ) ac_must_keep_next=true ;;
   2151 	esac
   2152       fi
   2153       as_fn_append ac_configure_args " '$ac_arg'"
   2154       ;;
   2155     esac
   2156   done
   2157 done
   2158 { ac_configure_args0=; unset ac_configure_args0;}
   2159 { ac_configure_args1=; unset ac_configure_args1;}
   2160 
   2161 # When interrupted or exit'd, cleanup temporary files, and complete
   2162 # config.log.  We remove comments because anyway the quotes in there
   2163 # would cause problems or look ugly.
   2164 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2165 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2166 trap 'exit_status=$?
   2167   # Save into config.log some information that might help in debugging.
   2168   {
   2169     echo
   2170 
   2171     $as_echo "## ---------------- ##
   2172 ## Cache variables. ##
   2173 ## ---------------- ##"
   2174     echo
   2175     # The following way of writing the cache mishandles newlines in values,
   2176 (
   2177   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2178     eval ac_val=\$$ac_var
   2179     case $ac_val in #(
   2180     *${as_nl}*)
   2181       case $ac_var in #(
   2182       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2184       esac
   2185       case $ac_var in #(
   2186       _ | IFS | as_nl) ;; #(
   2187       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2188       *) { eval $ac_var=; unset $ac_var;} ;;
   2189       esac ;;
   2190     esac
   2191   done
   2192   (set) 2>&1 |
   2193     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2194     *${as_nl}ac_space=\ *)
   2195       sed -n \
   2196 	"s/'\''/'\''\\\\'\'''\''/g;
   2197 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2198       ;; #(
   2199     *)
   2200       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2201       ;;
   2202     esac |
   2203     sort
   2204 )
   2205     echo
   2206 
   2207     $as_echo "## ----------------- ##
   2208 ## Output variables. ##
   2209 ## ----------------- ##"
   2210     echo
   2211     for ac_var in $ac_subst_vars
   2212     do
   2213       eval ac_val=\$$ac_var
   2214       case $ac_val in
   2215       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2216       esac
   2217       $as_echo "$ac_var='\''$ac_val'\''"
   2218     done | sort
   2219     echo
   2220 
   2221     if test -n "$ac_subst_files"; then
   2222       $as_echo "## ------------------- ##
   2223 ## File substitutions. ##
   2224 ## ------------------- ##"
   2225       echo
   2226       for ac_var in $ac_subst_files
   2227       do
   2228 	eval ac_val=\$$ac_var
   2229 	case $ac_val in
   2230 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2231 	esac
   2232 	$as_echo "$ac_var='\''$ac_val'\''"
   2233       done | sort
   2234       echo
   2235     fi
   2236 
   2237     if test -s confdefs.h; then
   2238       $as_echo "## ----------- ##
   2239 ## confdefs.h. ##
   2240 ## ----------- ##"
   2241       echo
   2242       cat confdefs.h
   2243       echo
   2244     fi
   2245     test "$ac_signal" != 0 &&
   2246       $as_echo "$as_me: caught signal $ac_signal"
   2247     $as_echo "$as_me: exit $exit_status"
   2248   } >&5
   2249   rm -f core *.core core.conftest.* &&
   2250     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2251     exit $exit_status
   2252 ' 0
   2253 for ac_signal in 1 2 13 15; do
   2254   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2255 done
   2256 ac_signal=0
   2257 
   2258 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2259 rm -f -r conftest* confdefs.h
   2260 
   2261 $as_echo "/* confdefs.h */" > confdefs.h
   2262 
   2263 # Predefined preprocessor variables.
   2264 
   2265 cat >>confdefs.h <<_ACEOF
   2266 #define PACKAGE_NAME "$PACKAGE_NAME"
   2267 _ACEOF
   2268 
   2269 cat >>confdefs.h <<_ACEOF
   2270 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2271 _ACEOF
   2272 
   2273 cat >>confdefs.h <<_ACEOF
   2274 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2275 _ACEOF
   2276 
   2277 cat >>confdefs.h <<_ACEOF
   2278 #define PACKAGE_STRING "$PACKAGE_STRING"
   2279 _ACEOF
   2280 
   2281 cat >>confdefs.h <<_ACEOF
   2282 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2283 _ACEOF
   2284 
   2285 cat >>confdefs.h <<_ACEOF
   2286 #define PACKAGE_URL "$PACKAGE_URL"
   2287 _ACEOF
   2288 
   2289 
   2290 # Let the site file select an alternate cache file if it wants to.
   2291 # Prefer an explicitly selected file to automatically selected ones.
   2292 ac_site_file1=NONE
   2293 ac_site_file2=NONE
   2294 if test -n "$CONFIG_SITE"; then
   2295   # We do not want a PATH search for config.site.
   2296   case $CONFIG_SITE in #((
   2297     -*)  ac_site_file1=./$CONFIG_SITE;;
   2298     */*) ac_site_file1=$CONFIG_SITE;;
   2299     *)   ac_site_file1=./$CONFIG_SITE;;
   2300   esac
   2301 elif test "x$prefix" != xNONE; then
   2302   ac_site_file1=$prefix/share/config.site
   2303   ac_site_file2=$prefix/etc/config.site
   2304 else
   2305   ac_site_file1=$ac_default_prefix/share/config.site
   2306   ac_site_file2=$ac_default_prefix/etc/config.site
   2307 fi
   2308 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2309 do
   2310   test "x$ac_site_file" = xNONE && continue
   2311   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2312     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2313 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2314     sed 's/^/| /' "$ac_site_file" >&5
   2315     . "$ac_site_file" \
   2316       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2318 as_fn_error $? "failed to load site script $ac_site_file
   2319 See \`config.log' for more details" "$LINENO" 5; }
   2320   fi
   2321 done
   2322 
   2323 if test -r "$cache_file"; then
   2324   # Some versions of bash will fail to source /dev/null (special files
   2325   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2326   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2327     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2328 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2329     case $cache_file in
   2330       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2331       *)                      . "./$cache_file";;
   2332     esac
   2333   fi
   2334 else
   2335   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2336 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2337   >$cache_file
   2338 fi
   2339 
   2340 # Check that the precious variables saved in the cache have kept the same
   2341 # value.
   2342 ac_cache_corrupted=false
   2343 for ac_var in $ac_precious_vars; do
   2344   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2345   eval ac_new_set=\$ac_env_${ac_var}_set
   2346   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2347   eval ac_new_val=\$ac_env_${ac_var}_value
   2348   case $ac_old_set,$ac_new_set in
   2349     set,)
   2350       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2351 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2352       ac_cache_corrupted=: ;;
   2353     ,set)
   2354       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2355 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2356       ac_cache_corrupted=: ;;
   2357     ,);;
   2358     *)
   2359       if test "x$ac_old_val" != "x$ac_new_val"; then
   2360 	# differences in whitespace do not lead to failure.
   2361 	ac_old_val_w=`echo x $ac_old_val`
   2362 	ac_new_val_w=`echo x $ac_new_val`
   2363 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2364 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2365 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2366 	  ac_cache_corrupted=:
   2367 	else
   2368 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2369 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2370 	  eval $ac_var=\$ac_old_val
   2371 	fi
   2372 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2373 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2374 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2375 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2376       fi;;
   2377   esac
   2378   # Pass precious variables to config.status.
   2379   if test "$ac_new_set" = set; then
   2380     case $ac_new_val in
   2381     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2382     *) ac_arg=$ac_var=$ac_new_val ;;
   2383     esac
   2384     case " $ac_configure_args " in
   2385       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2386       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2387     esac
   2388   fi
   2389 done
   2390 if $ac_cache_corrupted; then
   2391   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2393   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2394 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2395   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2396 fi
   2397 ## -------------------- ##
   2398 ## Main body of script. ##
   2399 ## -------------------- ##
   2400 
   2401 ac_ext=c
   2402 ac_cpp='$CPP $CPPFLAGS'
   2403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2406 
   2407 
   2408 
   2409 
   2410 ac_config_headers="$ac_config_headers config.h"
   2411 
   2412 
   2413 ac_aux_dir=
   2414 for ac_dir in . "$srcdir"/.; do
   2415   if test -f "$ac_dir/install-sh"; then
   2416     ac_aux_dir=$ac_dir
   2417     ac_install_sh="$ac_aux_dir/install-sh -c"
   2418     break
   2419   elif test -f "$ac_dir/install.sh"; then
   2420     ac_aux_dir=$ac_dir
   2421     ac_install_sh="$ac_aux_dir/install.sh -c"
   2422     break
   2423   elif test -f "$ac_dir/shtool"; then
   2424     ac_aux_dir=$ac_dir
   2425     ac_install_sh="$ac_aux_dir/shtool install -c"
   2426     break
   2427   fi
   2428 done
   2429 if test -z "$ac_aux_dir"; then
   2430   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2431 fi
   2432 
   2433 # These three variables are undocumented and unsupported,
   2434 # and are intended to be withdrawn in a future Autoconf release.
   2435 # They can cause serious problems if a builder's source tree is in a directory
   2436 # whose full name contains unusual characters.
   2437 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2438 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2439 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2440 
   2441 
   2442 
   2443 # Initialize Automake
   2444 am__api_version='1.15'
   2445 
   2446 # Find a good install program.  We prefer a C program (faster),
   2447 # so one script is as good as another.  But avoid the broken or
   2448 # incompatible versions:
   2449 # SysV /etc/install, /usr/sbin/install
   2450 # SunOS /usr/etc/install
   2451 # IRIX /sbin/install
   2452 # AIX /bin/install
   2453 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2454 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2455 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2456 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2457 # OS/2's system install, which has a completely different semantic
   2458 # ./install, which can be erroneously created by make from ./install.sh.
   2459 # Reject install programs that cannot install multiple files.
   2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2461 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2462 if test -z "$INSTALL"; then
   2463 if ${ac_cv_path_install+:} false; then :
   2464   $as_echo_n "(cached) " >&6
   2465 else
   2466   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2467 for as_dir in $PATH
   2468 do
   2469   IFS=$as_save_IFS
   2470   test -z "$as_dir" && as_dir=.
   2471     # Account for people who put trailing slashes in PATH elements.
   2472 case $as_dir/ in #((
   2473   ./ | .// | /[cC]/* | \
   2474   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2475   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2476   /usr/ucb/* ) ;;
   2477   *)
   2478     # OSF1 and SCO ODT 3.0 have their own names for install.
   2479     # Don't use installbsd from OSF since it installs stuff as root
   2480     # by default.
   2481     for ac_prog in ginstall scoinst install; do
   2482       for ac_exec_ext in '' $ac_executable_extensions; do
   2483 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2484 	  if test $ac_prog = install &&
   2485 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2486 	    # AIX install.  It has an incompatible calling convention.
   2487 	    :
   2488 	  elif test $ac_prog = install &&
   2489 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2490 	    # program-specific install script used by HP pwplus--don't use.
   2491 	    :
   2492 	  else
   2493 	    rm -rf conftest.one conftest.two conftest.dir
   2494 	    echo one > conftest.one
   2495 	    echo two > conftest.two
   2496 	    mkdir conftest.dir
   2497 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2498 	      test -s conftest.one && test -s conftest.two &&
   2499 	      test -s conftest.dir/conftest.one &&
   2500 	      test -s conftest.dir/conftest.two
   2501 	    then
   2502 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2503 	      break 3
   2504 	    fi
   2505 	  fi
   2506 	fi
   2507       done
   2508     done
   2509     ;;
   2510 esac
   2511 
   2512   done
   2513 IFS=$as_save_IFS
   2514 
   2515 rm -rf conftest.one conftest.two conftest.dir
   2516 
   2517 fi
   2518   if test "${ac_cv_path_install+set}" = set; then
   2519     INSTALL=$ac_cv_path_install
   2520   else
   2521     # As a last resort, use the slow shell script.  Don't cache a
   2522     # value for INSTALL within a source directory, because that will
   2523     # break other packages using the cache if that directory is
   2524     # removed, or if the value is a relative name.
   2525     INSTALL=$ac_install_sh
   2526   fi
   2527 fi
   2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2529 $as_echo "$INSTALL" >&6; }
   2530 
   2531 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2532 # It thinks the first close brace ends the variable substitution.
   2533 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2534 
   2535 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2536 
   2537 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2538 
   2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2540 $as_echo_n "checking whether build environment is sane... " >&6; }
   2541 # Reject unsafe characters in $srcdir or the absolute working directory
   2542 # name.  Accept space and tab only in the latter.
   2543 am_lf='
   2544 '
   2545 case `pwd` in
   2546   *[\\\"\#\$\&\'\`$am_lf]*)
   2547     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2548 esac
   2549 case $srcdir in
   2550   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2551     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2552 esac
   2553 
   2554 # Do 'set' in a subshell so we don't clobber the current shell's
   2555 # arguments.  Must try -L first in case configure is actually a
   2556 # symlink; some systems play weird games with the mod time of symlinks
   2557 # (eg FreeBSD returns the mod time of the symlink's containing
   2558 # directory).
   2559 if (
   2560    am_has_slept=no
   2561    for am_try in 1 2; do
   2562      echo "timestamp, slept: $am_has_slept" > conftest.file
   2563      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2564      if test "$*" = "X"; then
   2565 	# -L didn't work.
   2566 	set X `ls -t "$srcdir/configure" conftest.file`
   2567      fi
   2568      if test "$*" != "X $srcdir/configure conftest.file" \
   2569 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2570 
   2571 	# If neither matched, then we have a broken ls.  This can happen
   2572 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2573 	# broken ls alias from the environment.  This has actually
   2574 	# happened.  Such a system could not be considered "sane".
   2575 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2576   alias in your environment" "$LINENO" 5
   2577      fi
   2578      if test "$2" = conftest.file || test $am_try -eq 2; then
   2579        break
   2580      fi
   2581      # Just in case.
   2582      sleep 1
   2583      am_has_slept=yes
   2584    done
   2585    test "$2" = conftest.file
   2586    )
   2587 then
   2588    # Ok.
   2589    :
   2590 else
   2591    as_fn_error $? "newly created file is older than distributed files!
   2592 Check your system clock" "$LINENO" 5
   2593 fi
   2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2595 $as_echo "yes" >&6; }
   2596 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2597 # generated files are strictly newer.
   2598 am_sleep_pid=
   2599 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2600   ( sleep 1 ) &
   2601   am_sleep_pid=$!
   2602 fi
   2603 
   2604 rm -f conftest.file
   2605 
   2606 test "$program_prefix" != NONE &&
   2607   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2608 # Use a double $ so make ignores it.
   2609 test "$program_suffix" != NONE &&
   2610   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2611 # Double any \ or $.
   2612 # By default was `s,x,x', remove it if useless.
   2613 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2614 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2615 
   2616 # Expand $ac_aux_dir to an absolute path.
   2617 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2618 
   2619 if test x"${MISSING+set}" != xset; then
   2620   case $am_aux_dir in
   2621   *\ * | *\	*)
   2622     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2623   *)
   2624     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2625   esac
   2626 fi
   2627 # Use eval to expand $SHELL
   2628 if eval "$MISSING --is-lightweight"; then
   2629   am_missing_run="$MISSING "
   2630 else
   2631   am_missing_run=
   2632   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2633 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2634 fi
   2635 
   2636 if test x"${install_sh+set}" != xset; then
   2637   case $am_aux_dir in
   2638   *\ * | *\	*)
   2639     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2640   *)
   2641     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2642   esac
   2643 fi
   2644 
   2645 # Installed binaries are usually stripped using 'strip' when the user
   2646 # run "make install-strip".  However 'strip' might not be the right
   2647 # tool to use in cross-compilation environments, therefore Automake
   2648 # will honor the 'STRIP' environment variable to overrule this program.
   2649 if test "$cross_compiling" != no; then
   2650   if test -n "$ac_tool_prefix"; then
   2651   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2652 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2654 $as_echo_n "checking for $ac_word... " >&6; }
   2655 if ${ac_cv_prog_STRIP+:} false; then :
   2656   $as_echo_n "(cached) " >&6
   2657 else
   2658   if test -n "$STRIP"; then
   2659   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2660 else
   2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2662 for as_dir in $PATH
   2663 do
   2664   IFS=$as_save_IFS
   2665   test -z "$as_dir" && as_dir=.
   2666     for ac_exec_ext in '' $ac_executable_extensions; do
   2667   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2668     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2670     break 2
   2671   fi
   2672 done
   2673   done
   2674 IFS=$as_save_IFS
   2675 
   2676 fi
   2677 fi
   2678 STRIP=$ac_cv_prog_STRIP
   2679 if test -n "$STRIP"; then
   2680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2681 $as_echo "$STRIP" >&6; }
   2682 else
   2683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2684 $as_echo "no" >&6; }
   2685 fi
   2686 
   2687 
   2688 fi
   2689 if test -z "$ac_cv_prog_STRIP"; then
   2690   ac_ct_STRIP=$STRIP
   2691   # Extract the first word of "strip", so it can be a program name with args.
   2692 set dummy strip; ac_word=$2
   2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2694 $as_echo_n "checking for $ac_word... " >&6; }
   2695 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2696   $as_echo_n "(cached) " >&6
   2697 else
   2698   if test -n "$ac_ct_STRIP"; then
   2699   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2700 else
   2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2702 for as_dir in $PATH
   2703 do
   2704   IFS=$as_save_IFS
   2705   test -z "$as_dir" && as_dir=.
   2706     for ac_exec_ext in '' $ac_executable_extensions; do
   2707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2708     ac_cv_prog_ac_ct_STRIP="strip"
   2709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2710     break 2
   2711   fi
   2712 done
   2713   done
   2714 IFS=$as_save_IFS
   2715 
   2716 fi
   2717 fi
   2718 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2719 if test -n "$ac_ct_STRIP"; then
   2720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2721 $as_echo "$ac_ct_STRIP" >&6; }
   2722 else
   2723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2724 $as_echo "no" >&6; }
   2725 fi
   2726 
   2727   if test "x$ac_ct_STRIP" = x; then
   2728     STRIP=":"
   2729   else
   2730     case $cross_compiling:$ac_tool_warned in
   2731 yes:)
   2732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2734 ac_tool_warned=yes ;;
   2735 esac
   2736     STRIP=$ac_ct_STRIP
   2737   fi
   2738 else
   2739   STRIP="$ac_cv_prog_STRIP"
   2740 fi
   2741 
   2742 fi
   2743 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2744 
   2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2746 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2747 if test -z "$MKDIR_P"; then
   2748   if ${ac_cv_path_mkdir+:} false; then :
   2749   $as_echo_n "(cached) " >&6
   2750 else
   2751   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2752 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2753 do
   2754   IFS=$as_save_IFS
   2755   test -z "$as_dir" && as_dir=.
   2756     for ac_prog in mkdir gmkdir; do
   2757 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2758 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2759 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2760 	     'mkdir (GNU coreutils) '* | \
   2761 	     'mkdir (coreutils) '* | \
   2762 	     'mkdir (fileutils) '4.1*)
   2763 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2764 	       break 3;;
   2765 	   esac
   2766 	 done
   2767        done
   2768   done
   2769 IFS=$as_save_IFS
   2770 
   2771 fi
   2772 
   2773   test -d ./--version && rmdir ./--version
   2774   if test "${ac_cv_path_mkdir+set}" = set; then
   2775     MKDIR_P="$ac_cv_path_mkdir -p"
   2776   else
   2777     # As a last resort, use the slow shell script.  Don't cache a
   2778     # value for MKDIR_P within a source directory, because that will
   2779     # break other packages using the cache if that directory is
   2780     # removed, or if the value is a relative name.
   2781     MKDIR_P="$ac_install_sh -d"
   2782   fi
   2783 fi
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2785 $as_echo "$MKDIR_P" >&6; }
   2786 
   2787 for ac_prog in gawk mawk nawk awk
   2788 do
   2789   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2790 set dummy $ac_prog; ac_word=$2
   2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2792 $as_echo_n "checking for $ac_word... " >&6; }
   2793 if ${ac_cv_prog_AWK+:} false; then :
   2794   $as_echo_n "(cached) " >&6
   2795 else
   2796   if test -n "$AWK"; then
   2797   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2798 else
   2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2800 for as_dir in $PATH
   2801 do
   2802   IFS=$as_save_IFS
   2803   test -z "$as_dir" && as_dir=.
   2804     for ac_exec_ext in '' $ac_executable_extensions; do
   2805   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2806     ac_cv_prog_AWK="$ac_prog"
   2807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2808     break 2
   2809   fi
   2810 done
   2811   done
   2812 IFS=$as_save_IFS
   2813 
   2814 fi
   2815 fi
   2816 AWK=$ac_cv_prog_AWK
   2817 if test -n "$AWK"; then
   2818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2819 $as_echo "$AWK" >&6; }
   2820 else
   2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2822 $as_echo "no" >&6; }
   2823 fi
   2824 
   2825 
   2826   test -n "$AWK" && break
   2827 done
   2828 
   2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2830 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2831 set x ${MAKE-make}
   2832 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2833 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2834   $as_echo_n "(cached) " >&6
   2835 else
   2836   cat >conftest.make <<\_ACEOF
   2837 SHELL = /bin/sh
   2838 all:
   2839 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2840 _ACEOF
   2841 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2842 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2843   *@@@%%%=?*=@@@%%%*)
   2844     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2845   *)
   2846     eval ac_cv_prog_make_${ac_make}_set=no;;
   2847 esac
   2848 rm -f conftest.make
   2849 fi
   2850 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2852 $as_echo "yes" >&6; }
   2853   SET_MAKE=
   2854 else
   2855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2856 $as_echo "no" >&6; }
   2857   SET_MAKE="MAKE=${MAKE-make}"
   2858 fi
   2859 
   2860 rm -rf .tst 2>/dev/null
   2861 mkdir .tst 2>/dev/null
   2862 if test -d .tst; then
   2863   am__leading_dot=.
   2864 else
   2865   am__leading_dot=_
   2866 fi
   2867 rmdir .tst 2>/dev/null
   2868 
   2869 # Check whether --enable-silent-rules was given.
   2870 if test "${enable_silent_rules+set}" = set; then :
   2871   enableval=$enable_silent_rules;
   2872 fi
   2873 
   2874 case $enable_silent_rules in # (((
   2875   yes) AM_DEFAULT_VERBOSITY=0;;
   2876    no) AM_DEFAULT_VERBOSITY=1;;
   2877     *) AM_DEFAULT_VERBOSITY=1;;
   2878 esac
   2879 am_make=${MAKE-make}
   2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2881 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2882 if ${am_cv_make_support_nested_variables+:} false; then :
   2883   $as_echo_n "(cached) " >&6
   2884 else
   2885   if $as_echo 'TRUE=$(BAR$(V))
   2886 BAR0=false
   2887 BAR1=true
   2888 V=1
   2889 am__doit:
   2890 	@$(TRUE)
   2891 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2892   am_cv_make_support_nested_variables=yes
   2893 else
   2894   am_cv_make_support_nested_variables=no
   2895 fi
   2896 fi
   2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2898 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2899 if test $am_cv_make_support_nested_variables = yes; then
   2900     AM_V='$(V)'
   2901   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2902 else
   2903   AM_V=$AM_DEFAULT_VERBOSITY
   2904   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2905 fi
   2906 AM_BACKSLASH='\'
   2907 
   2908 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2909   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2910   # is not polluted with repeated "-I."
   2911   am__isrc=' -I$(srcdir)'
   2912   # test to see if srcdir already configured
   2913   if test -f $srcdir/config.status; then
   2914     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2915   fi
   2916 fi
   2917 
   2918 # test whether we have cygpath
   2919 if test -z "$CYGPATH_W"; then
   2920   if (cygpath --version) >/dev/null 2>/dev/null; then
   2921     CYGPATH_W='cygpath -w'
   2922   else
   2923     CYGPATH_W=echo
   2924   fi
   2925 fi
   2926 
   2927 
   2928 # Define the identity of the package.
   2929  PACKAGE='xf86-video-amdgpu'
   2930  VERSION='1.1.0'
   2931 
   2932 
   2933 cat >>confdefs.h <<_ACEOF
   2934 #define PACKAGE "$PACKAGE"
   2935 _ACEOF
   2936 
   2937 
   2938 cat >>confdefs.h <<_ACEOF
   2939 #define VERSION "$VERSION"
   2940 _ACEOF
   2941 
   2942 # Some tools Automake needs.
   2943 
   2944 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2945 
   2946 
   2947 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2948 
   2949 
   2950 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2951 
   2952 
   2953 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2954 
   2955 
   2956 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2957 
   2958 # For better backward compatibility.  To be removed once Automake 1.9.x
   2959 # dies out for good.  For more background, see:
   2960 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2961 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2962 mkdir_p='$(MKDIR_P)'
   2963 
   2964 # We need awk for the "check" target (and possibly the TAP driver).  The
   2965 # system "awk" is bad on some platforms.
   2966 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2967 # in the wild :-(  We should find a proper way to deprecate it ...
   2968 AMTAR='$${TAR-tar}'
   2969 
   2970 
   2971 # We'll loop over all known methods to create a tar archive until one works.
   2972 _am_tools='gnutar  pax cpio none'
   2973 
   2974 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2975 
   2976 
   2977 
   2978 
   2979 
   2980 
   2981 # POSIX will say in a future version that running "rm -f" with no argument
   2982 # is OK; and we want to be able to make that assumption in our Makefile
   2983 # recipes.  So use an aggressive probe to check that the usage we want is
   2984 # actually supported "in the wild" to an acceptable degree.
   2985 # See automake bug#10828.
   2986 # To make any issue more visible, cause the running configure to be aborted
   2987 # by default if the 'rm' program in use doesn't match our expectations; the
   2988 # user can still override this though.
   2989 if rm -f && rm -fr && rm -rf; then : OK; else
   2990   cat >&2 <<'END'
   2991 Oops!
   2992 
   2993 Your 'rm' program seems unable to run without file operands specified
   2994 on the command line, even when the '-f' option is present.  This is contrary
   2995 to the behaviour of most rm programs out there, and not conforming with
   2996 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2997 
   2998 Please tell bug-automake@gnu.org about your system, including the value
   2999 of your $PATH and any error possibly output before this message.  This
   3000 can help us improve future automake versions.
   3001 
   3002 END
   3003   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3004     echo 'Configuration will proceed anyway, since you have set the' >&2
   3005     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3006     echo >&2
   3007   else
   3008     cat >&2 <<'END'
   3009 Aborting the configuration process, to ensure you take notice of the issue.
   3010 
   3011 You can download and install GNU coreutils to get an 'rm' implementation
   3012 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3013 
   3014 If you want to complete the configuration process using your problematic
   3015 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3016 to "yes", and re-run configure.
   3017 
   3018 END
   3019     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3020   fi
   3021 fi
   3022 
   3023 DEPDIR="${am__leading_dot}deps"
   3024 
   3025 ac_config_commands="$ac_config_commands depfiles"
   3026 
   3027 
   3028 am_make=${MAKE-make}
   3029 cat > confinc << 'END'
   3030 am__doit:
   3031 	@echo this is the am__doit target
   3032 .PHONY: am__doit
   3033 END
   3034 # If we don't find an include directive, just comment out the code.
   3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3036 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3037 am__include="#"
   3038 am__quote=
   3039 _am_result=none
   3040 # First try GNU make style include.
   3041 echo "include confinc" > confmf
   3042 # Ignore all kinds of additional output from 'make'.
   3043 case `$am_make -s -f confmf 2> /dev/null` in #(
   3044 *the\ am__doit\ target*)
   3045   am__include=include
   3046   am__quote=
   3047   _am_result=GNU
   3048   ;;
   3049 esac
   3050 # Now try BSD make style include.
   3051 if test "$am__include" = "#"; then
   3052    echo '.include "confinc"' > confmf
   3053    case `$am_make -s -f confmf 2> /dev/null` in #(
   3054    *the\ am__doit\ target*)
   3055      am__include=.include
   3056      am__quote="\""
   3057      _am_result=BSD
   3058      ;;
   3059    esac
   3060 fi
   3061 
   3062 
   3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3064 $as_echo "$_am_result" >&6; }
   3065 rm -f confinc confmf
   3066 
   3067 # Check whether --enable-dependency-tracking was given.
   3068 if test "${enable_dependency_tracking+set}" = set; then :
   3069   enableval=$enable_dependency_tracking;
   3070 fi
   3071 
   3072 if test "x$enable_dependency_tracking" != xno; then
   3073   am_depcomp="$ac_aux_dir/depcomp"
   3074   AMDEPBACKSLASH='\'
   3075   am__nodep='_no'
   3076 fi
   3077  if test "x$enable_dependency_tracking" != xno; then
   3078   AMDEP_TRUE=
   3079   AMDEP_FALSE='#'
   3080 else
   3081   AMDEP_TRUE='#'
   3082   AMDEP_FALSE=
   3083 fi
   3084 
   3085 
   3086 ac_ext=c
   3087 ac_cpp='$CPP $CPPFLAGS'
   3088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3091 if test -n "$ac_tool_prefix"; then
   3092   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3093 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3095 $as_echo_n "checking for $ac_word... " >&6; }
   3096 if ${ac_cv_prog_CC+:} false; then :
   3097   $as_echo_n "(cached) " >&6
   3098 else
   3099   if test -n "$CC"; then
   3100   ac_cv_prog_CC="$CC" # Let the user override the test.
   3101 else
   3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3103 for as_dir in $PATH
   3104 do
   3105   IFS=$as_save_IFS
   3106   test -z "$as_dir" && as_dir=.
   3107     for ac_exec_ext in '' $ac_executable_extensions; do
   3108   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3109     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3111     break 2
   3112   fi
   3113 done
   3114   done
   3115 IFS=$as_save_IFS
   3116 
   3117 fi
   3118 fi
   3119 CC=$ac_cv_prog_CC
   3120 if test -n "$CC"; then
   3121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3122 $as_echo "$CC" >&6; }
   3123 else
   3124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3125 $as_echo "no" >&6; }
   3126 fi
   3127 
   3128 
   3129 fi
   3130 if test -z "$ac_cv_prog_CC"; then
   3131   ac_ct_CC=$CC
   3132   # Extract the first word of "gcc", so it can be a program name with args.
   3133 set dummy gcc; ac_word=$2
   3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3135 $as_echo_n "checking for $ac_word... " >&6; }
   3136 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3137   $as_echo_n "(cached) " >&6
   3138 else
   3139   if test -n "$ac_ct_CC"; then
   3140   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3141 else
   3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3143 for as_dir in $PATH
   3144 do
   3145   IFS=$as_save_IFS
   3146   test -z "$as_dir" && as_dir=.
   3147     for ac_exec_ext in '' $ac_executable_extensions; do
   3148   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3149     ac_cv_prog_ac_ct_CC="gcc"
   3150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3151     break 2
   3152   fi
   3153 done
   3154   done
   3155 IFS=$as_save_IFS
   3156 
   3157 fi
   3158 fi
   3159 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3160 if test -n "$ac_ct_CC"; then
   3161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3162 $as_echo "$ac_ct_CC" >&6; }
   3163 else
   3164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3165 $as_echo "no" >&6; }
   3166 fi
   3167 
   3168   if test "x$ac_ct_CC" = x; then
   3169     CC=""
   3170   else
   3171     case $cross_compiling:$ac_tool_warned in
   3172 yes:)
   3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3175 ac_tool_warned=yes ;;
   3176 esac
   3177     CC=$ac_ct_CC
   3178   fi
   3179 else
   3180   CC="$ac_cv_prog_CC"
   3181 fi
   3182 
   3183 if test -z "$CC"; then
   3184           if test -n "$ac_tool_prefix"; then
   3185     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3186 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3188 $as_echo_n "checking for $ac_word... " >&6; }
   3189 if ${ac_cv_prog_CC+:} false; then :
   3190   $as_echo_n "(cached) " >&6
   3191 else
   3192   if test -n "$CC"; then
   3193   ac_cv_prog_CC="$CC" # Let the user override the test.
   3194 else
   3195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3196 for as_dir in $PATH
   3197 do
   3198   IFS=$as_save_IFS
   3199   test -z "$as_dir" && as_dir=.
   3200     for ac_exec_ext in '' $ac_executable_extensions; do
   3201   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3202     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3204     break 2
   3205   fi
   3206 done
   3207   done
   3208 IFS=$as_save_IFS
   3209 
   3210 fi
   3211 fi
   3212 CC=$ac_cv_prog_CC
   3213 if test -n "$CC"; then
   3214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3215 $as_echo "$CC" >&6; }
   3216 else
   3217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3218 $as_echo "no" >&6; }
   3219 fi
   3220 
   3221 
   3222   fi
   3223 fi
   3224 if test -z "$CC"; then
   3225   # Extract the first word of "cc", so it can be a program name with args.
   3226 set dummy cc; ac_word=$2
   3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3228 $as_echo_n "checking for $ac_word... " >&6; }
   3229 if ${ac_cv_prog_CC+:} false; then :
   3230   $as_echo_n "(cached) " >&6
   3231 else
   3232   if test -n "$CC"; then
   3233   ac_cv_prog_CC="$CC" # Let the user override the test.
   3234 else
   3235   ac_prog_rejected=no
   3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3237 for as_dir in $PATH
   3238 do
   3239   IFS=$as_save_IFS
   3240   test -z "$as_dir" && as_dir=.
   3241     for ac_exec_ext in '' $ac_executable_extensions; do
   3242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3243     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3244        ac_prog_rejected=yes
   3245        continue
   3246      fi
   3247     ac_cv_prog_CC="cc"
   3248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3249     break 2
   3250   fi
   3251 done
   3252   done
   3253 IFS=$as_save_IFS
   3254 
   3255 if test $ac_prog_rejected = yes; then
   3256   # We found a bogon in the path, so make sure we never use it.
   3257   set dummy $ac_cv_prog_CC
   3258   shift
   3259   if test $# != 0; then
   3260     # We chose a different compiler from the bogus one.
   3261     # However, it has the same basename, so the bogon will be chosen
   3262     # first if we set CC to just the basename; use the full file name.
   3263     shift
   3264     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3265   fi
   3266 fi
   3267 fi
   3268 fi
   3269 CC=$ac_cv_prog_CC
   3270 if test -n "$CC"; then
   3271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3272 $as_echo "$CC" >&6; }
   3273 else
   3274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3275 $as_echo "no" >&6; }
   3276 fi
   3277 
   3278 
   3279 fi
   3280 if test -z "$CC"; then
   3281   if test -n "$ac_tool_prefix"; then
   3282   for ac_prog in cl.exe
   3283   do
   3284     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3285 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3287 $as_echo_n "checking for $ac_word... " >&6; }
   3288 if ${ac_cv_prog_CC+:} false; then :
   3289   $as_echo_n "(cached) " >&6
   3290 else
   3291   if test -n "$CC"; then
   3292   ac_cv_prog_CC="$CC" # Let the user override the test.
   3293 else
   3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3295 for as_dir in $PATH
   3296 do
   3297   IFS=$as_save_IFS
   3298   test -z "$as_dir" && as_dir=.
   3299     for ac_exec_ext in '' $ac_executable_extensions; do
   3300   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3301     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3303     break 2
   3304   fi
   3305 done
   3306   done
   3307 IFS=$as_save_IFS
   3308 
   3309 fi
   3310 fi
   3311 CC=$ac_cv_prog_CC
   3312 if test -n "$CC"; then
   3313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3314 $as_echo "$CC" >&6; }
   3315 else
   3316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3317 $as_echo "no" >&6; }
   3318 fi
   3319 
   3320 
   3321     test -n "$CC" && break
   3322   done
   3323 fi
   3324 if test -z "$CC"; then
   3325   ac_ct_CC=$CC
   3326   for ac_prog in cl.exe
   3327 do
   3328   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3329 set dummy $ac_prog; ac_word=$2
   3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3331 $as_echo_n "checking for $ac_word... " >&6; }
   3332 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3333   $as_echo_n "(cached) " >&6
   3334 else
   3335   if test -n "$ac_ct_CC"; then
   3336   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3337 else
   3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3339 for as_dir in $PATH
   3340 do
   3341   IFS=$as_save_IFS
   3342   test -z "$as_dir" && as_dir=.
   3343     for ac_exec_ext in '' $ac_executable_extensions; do
   3344   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3345     ac_cv_prog_ac_ct_CC="$ac_prog"
   3346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3347     break 2
   3348   fi
   3349 done
   3350   done
   3351 IFS=$as_save_IFS
   3352 
   3353 fi
   3354 fi
   3355 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3356 if test -n "$ac_ct_CC"; then
   3357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3358 $as_echo "$ac_ct_CC" >&6; }
   3359 else
   3360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3361 $as_echo "no" >&6; }
   3362 fi
   3363 
   3364 
   3365   test -n "$ac_ct_CC" && break
   3366 done
   3367 
   3368   if test "x$ac_ct_CC" = x; then
   3369     CC=""
   3370   else
   3371     case $cross_compiling:$ac_tool_warned in
   3372 yes:)
   3373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3375 ac_tool_warned=yes ;;
   3376 esac
   3377     CC=$ac_ct_CC
   3378   fi
   3379 fi
   3380 
   3381 fi
   3382 
   3383 
   3384 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3386 as_fn_error $? "no acceptable C compiler found in \$PATH
   3387 See \`config.log' for more details" "$LINENO" 5; }
   3388 
   3389 # Provide some information about the compiler.
   3390 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3391 set X $ac_compile
   3392 ac_compiler=$2
   3393 for ac_option in --version -v -V -qversion; do
   3394   { { ac_try="$ac_compiler $ac_option >&5"
   3395 case "(($ac_try" in
   3396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3397   *) ac_try_echo=$ac_try;;
   3398 esac
   3399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3400 $as_echo "$ac_try_echo"; } >&5
   3401   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3402   ac_status=$?
   3403   if test -s conftest.err; then
   3404     sed '10a\
   3405 ... rest of stderr output deleted ...
   3406          10q' conftest.err >conftest.er1
   3407     cat conftest.er1 >&5
   3408   fi
   3409   rm -f conftest.er1 conftest.err
   3410   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3411   test $ac_status = 0; }
   3412 done
   3413 
   3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3415 /* end confdefs.h.  */
   3416 
   3417 int
   3418 main ()
   3419 {
   3420 
   3421   ;
   3422   return 0;
   3423 }
   3424 _ACEOF
   3425 ac_clean_files_save=$ac_clean_files
   3426 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3427 # Try to create an executable without -o first, disregard a.out.
   3428 # It will help us diagnose broken compilers, and finding out an intuition
   3429 # of exeext.
   3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3431 $as_echo_n "checking whether the C compiler works... " >&6; }
   3432 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3433 
   3434 # The possible output files:
   3435 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3436 
   3437 ac_rmfiles=
   3438 for ac_file in $ac_files
   3439 do
   3440   case $ac_file in
   3441     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3442     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3443   esac
   3444 done
   3445 rm -f $ac_rmfiles
   3446 
   3447 if { { ac_try="$ac_link_default"
   3448 case "(($ac_try" in
   3449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3450   *) ac_try_echo=$ac_try;;
   3451 esac
   3452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3453 $as_echo "$ac_try_echo"; } >&5
   3454   (eval "$ac_link_default") 2>&5
   3455   ac_status=$?
   3456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3457   test $ac_status = 0; }; then :
   3458   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3460 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3461 # so that the user can short-circuit this test for compilers unknown to
   3462 # Autoconf.
   3463 for ac_file in $ac_files ''
   3464 do
   3465   test -f "$ac_file" || continue
   3466   case $ac_file in
   3467     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3468 	;;
   3469     [ab].out )
   3470 	# We found the default executable, but exeext='' is most
   3471 	# certainly right.
   3472 	break;;
   3473     *.* )
   3474 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3475 	then :; else
   3476 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3477 	fi
   3478 	# We set ac_cv_exeext here because the later test for it is not
   3479 	# safe: cross compilers may not add the suffix if given an `-o'
   3480 	# argument, so we may need to know it at that point already.
   3481 	# Even if this section looks crufty: it has the advantage of
   3482 	# actually working.
   3483 	break;;
   3484     * )
   3485 	break;;
   3486   esac
   3487 done
   3488 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3489 
   3490 else
   3491   ac_file=''
   3492 fi
   3493 if test -z "$ac_file"; then :
   3494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3495 $as_echo "no" >&6; }
   3496 $as_echo "$as_me: failed program was:" >&5
   3497 sed 's/^/| /' conftest.$ac_ext >&5
   3498 
   3499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3501 as_fn_error 77 "C compiler cannot create executables
   3502 See \`config.log' for more details" "$LINENO" 5; }
   3503 else
   3504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3505 $as_echo "yes" >&6; }
   3506 fi
   3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3508 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3510 $as_echo "$ac_file" >&6; }
   3511 ac_exeext=$ac_cv_exeext
   3512 
   3513 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3514 ac_clean_files=$ac_clean_files_save
   3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3516 $as_echo_n "checking for suffix of executables... " >&6; }
   3517 if { { ac_try="$ac_link"
   3518 case "(($ac_try" in
   3519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3520   *) ac_try_echo=$ac_try;;
   3521 esac
   3522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3523 $as_echo "$ac_try_echo"; } >&5
   3524   (eval "$ac_link") 2>&5
   3525   ac_status=$?
   3526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3527   test $ac_status = 0; }; then :
   3528   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3529 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3530 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3531 # `rm'.
   3532 for ac_file in conftest.exe conftest conftest.*; do
   3533   test -f "$ac_file" || continue
   3534   case $ac_file in
   3535     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3536     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3537 	  break;;
   3538     * ) break;;
   3539   esac
   3540 done
   3541 else
   3542   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3544 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3545 See \`config.log' for more details" "$LINENO" 5; }
   3546 fi
   3547 rm -f conftest conftest$ac_cv_exeext
   3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3549 $as_echo "$ac_cv_exeext" >&6; }
   3550 
   3551 rm -f conftest.$ac_ext
   3552 EXEEXT=$ac_cv_exeext
   3553 ac_exeext=$EXEEXT
   3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3555 /* end confdefs.h.  */
   3556 #include <stdio.h>
   3557 int
   3558 main ()
   3559 {
   3560 FILE *f = fopen ("conftest.out", "w");
   3561  return ferror (f) || fclose (f) != 0;
   3562 
   3563   ;
   3564   return 0;
   3565 }
   3566 _ACEOF
   3567 ac_clean_files="$ac_clean_files conftest.out"
   3568 # Check that the compiler produces executables we can run.  If not, either
   3569 # the compiler is broken, or we cross compile.
   3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3571 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3572 if test "$cross_compiling" != yes; then
   3573   { { ac_try="$ac_link"
   3574 case "(($ac_try" in
   3575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3576   *) ac_try_echo=$ac_try;;
   3577 esac
   3578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3579 $as_echo "$ac_try_echo"; } >&5
   3580   (eval "$ac_link") 2>&5
   3581   ac_status=$?
   3582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3583   test $ac_status = 0; }
   3584   if { ac_try='./conftest$ac_cv_exeext'
   3585   { { case "(($ac_try" in
   3586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3587   *) ac_try_echo=$ac_try;;
   3588 esac
   3589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3590 $as_echo "$ac_try_echo"; } >&5
   3591   (eval "$ac_try") 2>&5
   3592   ac_status=$?
   3593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3594   test $ac_status = 0; }; }; then
   3595     cross_compiling=no
   3596   else
   3597     if test "$cross_compiling" = maybe; then
   3598 	cross_compiling=yes
   3599     else
   3600 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3602 as_fn_error $? "cannot run C compiled programs.
   3603 If you meant to cross compile, use \`--host'.
   3604 See \`config.log' for more details" "$LINENO" 5; }
   3605     fi
   3606   fi
   3607 fi
   3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3609 $as_echo "$cross_compiling" >&6; }
   3610 
   3611 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3612 ac_clean_files=$ac_clean_files_save
   3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3614 $as_echo_n "checking for suffix of object files... " >&6; }
   3615 if ${ac_cv_objext+:} false; then :
   3616   $as_echo_n "(cached) " >&6
   3617 else
   3618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3619 /* end confdefs.h.  */
   3620 
   3621 int
   3622 main ()
   3623 {
   3624 
   3625   ;
   3626   return 0;
   3627 }
   3628 _ACEOF
   3629 rm -f conftest.o conftest.obj
   3630 if { { ac_try="$ac_compile"
   3631 case "(($ac_try" in
   3632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3633   *) ac_try_echo=$ac_try;;
   3634 esac
   3635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3636 $as_echo "$ac_try_echo"; } >&5
   3637   (eval "$ac_compile") 2>&5
   3638   ac_status=$?
   3639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3640   test $ac_status = 0; }; then :
   3641   for ac_file in conftest.o conftest.obj conftest.*; do
   3642   test -f "$ac_file" || continue;
   3643   case $ac_file in
   3644     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3645     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3646        break;;
   3647   esac
   3648 done
   3649 else
   3650   $as_echo "$as_me: failed program was:" >&5
   3651 sed 's/^/| /' conftest.$ac_ext >&5
   3652 
   3653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3655 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3656 See \`config.log' for more details" "$LINENO" 5; }
   3657 fi
   3658 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3659 fi
   3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3661 $as_echo "$ac_cv_objext" >&6; }
   3662 OBJEXT=$ac_cv_objext
   3663 ac_objext=$OBJEXT
   3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3665 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3666 if ${ac_cv_c_compiler_gnu+:} false; then :
   3667   $as_echo_n "(cached) " >&6
   3668 else
   3669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3670 /* end confdefs.h.  */
   3671 
   3672 int
   3673 main ()
   3674 {
   3675 #ifndef __GNUC__
   3676        choke me
   3677 #endif
   3678 
   3679   ;
   3680   return 0;
   3681 }
   3682 _ACEOF
   3683 if ac_fn_c_try_compile "$LINENO"; then :
   3684   ac_compiler_gnu=yes
   3685 else
   3686   ac_compiler_gnu=no
   3687 fi
   3688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3689 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3690 
   3691 fi
   3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3693 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3694 if test $ac_compiler_gnu = yes; then
   3695   GCC=yes
   3696 else
   3697   GCC=
   3698 fi
   3699 ac_test_CFLAGS=${CFLAGS+set}
   3700 ac_save_CFLAGS=$CFLAGS
   3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3702 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3703 if ${ac_cv_prog_cc_g+:} false; then :
   3704   $as_echo_n "(cached) " >&6
   3705 else
   3706   ac_save_c_werror_flag=$ac_c_werror_flag
   3707    ac_c_werror_flag=yes
   3708    ac_cv_prog_cc_g=no
   3709    CFLAGS="-g"
   3710    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3711 /* end confdefs.h.  */
   3712 
   3713 int
   3714 main ()
   3715 {
   3716 
   3717   ;
   3718   return 0;
   3719 }
   3720 _ACEOF
   3721 if ac_fn_c_try_compile "$LINENO"; then :
   3722   ac_cv_prog_cc_g=yes
   3723 else
   3724   CFLAGS=""
   3725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3726 /* end confdefs.h.  */
   3727 
   3728 int
   3729 main ()
   3730 {
   3731 
   3732   ;
   3733   return 0;
   3734 }
   3735 _ACEOF
   3736 if ac_fn_c_try_compile "$LINENO"; then :
   3737 
   3738 else
   3739   ac_c_werror_flag=$ac_save_c_werror_flag
   3740 	 CFLAGS="-g"
   3741 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3742 /* end confdefs.h.  */
   3743 
   3744 int
   3745 main ()
   3746 {
   3747 
   3748   ;
   3749   return 0;
   3750 }
   3751 _ACEOF
   3752 if ac_fn_c_try_compile "$LINENO"; then :
   3753   ac_cv_prog_cc_g=yes
   3754 fi
   3755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3756 fi
   3757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3758 fi
   3759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3760    ac_c_werror_flag=$ac_save_c_werror_flag
   3761 fi
   3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3763 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3764 if test "$ac_test_CFLAGS" = set; then
   3765   CFLAGS=$ac_save_CFLAGS
   3766 elif test $ac_cv_prog_cc_g = yes; then
   3767   if test "$GCC" = yes; then
   3768     CFLAGS="-g -O2"
   3769   else
   3770     CFLAGS="-g"
   3771   fi
   3772 else
   3773   if test "$GCC" = yes; then
   3774     CFLAGS="-O2"
   3775   else
   3776     CFLAGS=
   3777   fi
   3778 fi
   3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3780 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3781 if ${ac_cv_prog_cc_c89+:} false; then :
   3782   $as_echo_n "(cached) " >&6
   3783 else
   3784   ac_cv_prog_cc_c89=no
   3785 ac_save_CC=$CC
   3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3787 /* end confdefs.h.  */
   3788 #include <stdarg.h>
   3789 #include <stdio.h>
   3790 struct stat;
   3791 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3792 struct buf { int x; };
   3793 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3794 static char *e (p, i)
   3795      char **p;
   3796      int i;
   3797 {
   3798   return p[i];
   3799 }
   3800 static char *f (char * (*g) (char **, int), char **p, ...)
   3801 {
   3802   char *s;
   3803   va_list v;
   3804   va_start (v,p);
   3805   s = g (p, va_arg (v,int));
   3806   va_end (v);
   3807   return s;
   3808 }
   3809 
   3810 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3811    function prototypes and stuff, but not '\xHH' hex character constants.
   3812    These don't provoke an error unfortunately, instead are silently treated
   3813    as 'x'.  The following induces an error, until -std is added to get
   3814    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3815    array size at least.  It's necessary to write '\x00'==0 to get something
   3816    that's true only with -std.  */
   3817 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3818 
   3819 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3820    inside strings and character constants.  */
   3821 #define FOO(x) 'x'
   3822 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3823 
   3824 int test (int i, double x);
   3825 struct s1 {int (*f) (int a);};
   3826 struct s2 {int (*f) (double a);};
   3827 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3828 int argc;
   3829 char **argv;
   3830 int
   3831 main ()
   3832 {
   3833 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3834   ;
   3835   return 0;
   3836 }
   3837 _ACEOF
   3838 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3839 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3840 do
   3841   CC="$ac_save_CC $ac_arg"
   3842   if ac_fn_c_try_compile "$LINENO"; then :
   3843   ac_cv_prog_cc_c89=$ac_arg
   3844 fi
   3845 rm -f core conftest.err conftest.$ac_objext
   3846   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3847 done
   3848 rm -f conftest.$ac_ext
   3849 CC=$ac_save_CC
   3850 
   3851 fi
   3852 # AC_CACHE_VAL
   3853 case "x$ac_cv_prog_cc_c89" in
   3854   x)
   3855     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3856 $as_echo "none needed" >&6; } ;;
   3857   xno)
   3858     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3859 $as_echo "unsupported" >&6; } ;;
   3860   *)
   3861     CC="$CC $ac_cv_prog_cc_c89"
   3862     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3863 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3864 esac
   3865 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3866 
   3867 fi
   3868 
   3869 ac_ext=c
   3870 ac_cpp='$CPP $CPPFLAGS'
   3871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3874 
   3875 ac_ext=c
   3876 ac_cpp='$CPP $CPPFLAGS'
   3877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3881 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3882 if ${am_cv_prog_cc_c_o+:} false; then :
   3883   $as_echo_n "(cached) " >&6
   3884 else
   3885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3886 /* end confdefs.h.  */
   3887 
   3888 int
   3889 main ()
   3890 {
   3891 
   3892   ;
   3893   return 0;
   3894 }
   3895 _ACEOF
   3896   # Make sure it works both with $CC and with simple cc.
   3897   # Following AC_PROG_CC_C_O, we do the test twice because some
   3898   # compilers refuse to overwrite an existing .o file with -o,
   3899   # though they will create one.
   3900   am_cv_prog_cc_c_o=yes
   3901   for am_i in 1 2; do
   3902     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3903    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3904    ac_status=$?
   3905    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3906    (exit $ac_status); } \
   3907          && test -f conftest2.$ac_objext; then
   3908       : OK
   3909     else
   3910       am_cv_prog_cc_c_o=no
   3911       break
   3912     fi
   3913   done
   3914   rm -f core conftest*
   3915   unset am_i
   3916 fi
   3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3918 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3919 if test "$am_cv_prog_cc_c_o" != yes; then
   3920    # Losing compiler, so override with the script.
   3921    # FIXME: It is wrong to rewrite CC.
   3922    # But if we don't then we get into trouble of one sort or another.
   3923    # A longer-term fix would be to have automake use am__CC in this case,
   3924    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3925    CC="$am_aux_dir/compile $CC"
   3926 fi
   3927 ac_ext=c
   3928 ac_cpp='$CPP $CPPFLAGS'
   3929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3932 
   3933 
   3934 depcc="$CC"   am_compiler_list=
   3935 
   3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3937 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3938 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3939   $as_echo_n "(cached) " >&6
   3940 else
   3941   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3942   # We make a subdir and do the tests there.  Otherwise we can end up
   3943   # making bogus files that we don't know about and never remove.  For
   3944   # instance it was reported that on HP-UX the gcc test will end up
   3945   # making a dummy file named 'D' -- because '-MD' means "put the output
   3946   # in D".
   3947   rm -rf conftest.dir
   3948   mkdir conftest.dir
   3949   # Copy depcomp to subdir because otherwise we won't find it if we're
   3950   # using a relative directory.
   3951   cp "$am_depcomp" conftest.dir
   3952   cd conftest.dir
   3953   # We will build objects and dependencies in a subdirectory because
   3954   # it helps to detect inapplicable dependency modes.  For instance
   3955   # both Tru64's cc and ICC support -MD to output dependencies as a
   3956   # side effect of compilation, but ICC will put the dependencies in
   3957   # the current directory while Tru64 will put them in the object
   3958   # directory.
   3959   mkdir sub
   3960 
   3961   am_cv_CC_dependencies_compiler_type=none
   3962   if test "$am_compiler_list" = ""; then
   3963      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3964   fi
   3965   am__universal=false
   3966   case " $depcc " in #(
   3967      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3968      esac
   3969 
   3970   for depmode in $am_compiler_list; do
   3971     # Setup a source with many dependencies, because some compilers
   3972     # like to wrap large dependency lists on column 80 (with \), and
   3973     # we should not choose a depcomp mode which is confused by this.
   3974     #
   3975     # We need to recreate these files for each test, as the compiler may
   3976     # overwrite some of them when testing with obscure command lines.
   3977     # This happens at least with the AIX C compiler.
   3978     : > sub/conftest.c
   3979     for i in 1 2 3 4 5 6; do
   3980       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3981       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3982       # Solaris 10 /bin/sh.
   3983       echo '/* dummy */' > sub/conftst$i.h
   3984     done
   3985     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3986 
   3987     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3988     # mode.  It turns out that the SunPro C++ compiler does not properly
   3989     # handle '-M -o', and we need to detect this.  Also, some Intel
   3990     # versions had trouble with output in subdirs.
   3991     am__obj=sub/conftest.${OBJEXT-o}
   3992     am__minus_obj="-o $am__obj"
   3993     case $depmode in
   3994     gcc)
   3995       # This depmode causes a compiler race in universal mode.
   3996       test "$am__universal" = false || continue
   3997       ;;
   3998     nosideeffect)
   3999       # After this tag, mechanisms are not by side-effect, so they'll
   4000       # only be used when explicitly requested.
   4001       if test "x$enable_dependency_tracking" = xyes; then
   4002 	continue
   4003       else
   4004 	break
   4005       fi
   4006       ;;
   4007     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4008       # This compiler won't grok '-c -o', but also, the minuso test has
   4009       # not run yet.  These depmodes are late enough in the game, and
   4010       # so weak that their functioning should not be impacted.
   4011       am__obj=conftest.${OBJEXT-o}
   4012       am__minus_obj=
   4013       ;;
   4014     none) break ;;
   4015     esac
   4016     if depmode=$depmode \
   4017        source=sub/conftest.c object=$am__obj \
   4018        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4019        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4020          >/dev/null 2>conftest.err &&
   4021        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4022        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4023        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4024        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4025       # icc doesn't choke on unknown options, it will just issue warnings
   4026       # or remarks (even with -Werror).  So we grep stderr for any message
   4027       # that says an option was ignored or not supported.
   4028       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4029       #   icc: Command line warning: ignoring option '-M'; no argument required
   4030       # The diagnosis changed in icc 8.0:
   4031       #   icc: Command line remark: option '-MP' not supported
   4032       if (grep 'ignoring option' conftest.err ||
   4033           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4034         am_cv_CC_dependencies_compiler_type=$depmode
   4035         break
   4036       fi
   4037     fi
   4038   done
   4039 
   4040   cd ..
   4041   rm -rf conftest.dir
   4042 else
   4043   am_cv_CC_dependencies_compiler_type=none
   4044 fi
   4045 
   4046 fi
   4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4048 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4049 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4050 
   4051  if
   4052   test "x$enable_dependency_tracking" != xno \
   4053   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4054   am__fastdepCC_TRUE=
   4055   am__fastdepCC_FALSE='#'
   4056 else
   4057   am__fastdepCC_TRUE='#'
   4058   am__fastdepCC_FALSE=
   4059 fi
   4060 
   4061 
   4062 
   4063 # Check whether --enable-largefile was given.
   4064 if test "${enable_largefile+set}" = set; then :
   4065   enableval=$enable_largefile;
   4066 fi
   4067 
   4068 if test "$enable_largefile" != no; then
   4069 
   4070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   4071 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   4072 if ${ac_cv_sys_largefile_CC+:} false; then :
   4073   $as_echo_n "(cached) " >&6
   4074 else
   4075   ac_cv_sys_largefile_CC=no
   4076      if test "$GCC" != yes; then
   4077        ac_save_CC=$CC
   4078        while :; do
   4079 	 # IRIX 6.2 and later do not support large files by default,
   4080 	 # so use the C compiler's -n32 option if that helps.
   4081 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4082 /* end confdefs.h.  */
   4083 #include <sys/types.h>
   4084  /* Check that off_t can represent 2**63 - 1 correctly.
   4085     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4086     since some C++ compilers masquerading as C compilers
   4087     incorrectly reject 9223372036854775807.  */
   4088 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
   4089   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4090 		       && LARGE_OFF_T % 2147483647 == 1)
   4091 		      ? 1 : -1];
   4092 int
   4093 main ()
   4094 {
   4095 
   4096   ;
   4097   return 0;
   4098 }
   4099 _ACEOF
   4100 	 if ac_fn_c_try_compile "$LINENO"; then :
   4101   break
   4102 fi
   4103 rm -f core conftest.err conftest.$ac_objext
   4104 	 CC="$CC -n32"
   4105 	 if ac_fn_c_try_compile "$LINENO"; then :
   4106   ac_cv_sys_largefile_CC=' -n32'; break
   4107 fi
   4108 rm -f core conftest.err conftest.$ac_objext
   4109 	 break
   4110        done
   4111        CC=$ac_save_CC
   4112        rm -f conftest.$ac_ext
   4113     fi
   4114 fi
   4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   4116 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   4117   if test "$ac_cv_sys_largefile_CC" != no; then
   4118     CC=$CC$ac_cv_sys_largefile_CC
   4119   fi
   4120 
   4121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   4122 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   4123 if ${ac_cv_sys_file_offset_bits+:} false; then :
   4124   $as_echo_n "(cached) " >&6
   4125 else
   4126   while :; do
   4127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4128 /* end confdefs.h.  */
   4129 #include <sys/types.h>
   4130  /* Check that off_t can represent 2**63 - 1 correctly.
   4131     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4132     since some C++ compilers masquerading as C compilers
   4133     incorrectly reject 9223372036854775807.  */
   4134 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
   4135   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4136 		       && LARGE_OFF_T % 2147483647 == 1)
   4137 		      ? 1 : -1];
   4138 int
   4139 main ()
   4140 {
   4141 
   4142   ;
   4143   return 0;
   4144 }
   4145 _ACEOF
   4146 if ac_fn_c_try_compile "$LINENO"; then :
   4147   ac_cv_sys_file_offset_bits=no; break
   4148 fi
   4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4151 /* end confdefs.h.  */
   4152 #define _FILE_OFFSET_BITS 64
   4153 #include <sys/types.h>
   4154  /* Check that off_t can represent 2**63 - 1 correctly.
   4155     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4156     since some C++ compilers masquerading as C compilers
   4157     incorrectly reject 9223372036854775807.  */
   4158 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
   4159   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4160 		       && LARGE_OFF_T % 2147483647 == 1)
   4161 		      ? 1 : -1];
   4162 int
   4163 main ()
   4164 {
   4165 
   4166   ;
   4167   return 0;
   4168 }
   4169 _ACEOF
   4170 if ac_fn_c_try_compile "$LINENO"; then :
   4171   ac_cv_sys_file_offset_bits=64; break
   4172 fi
   4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4174   ac_cv_sys_file_offset_bits=unknown
   4175   break
   4176 done
   4177 fi
   4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   4179 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   4180 case $ac_cv_sys_file_offset_bits in #(
   4181   no | unknown) ;;
   4182   *)
   4183 cat >>confdefs.h <<_ACEOF
   4184 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   4185 _ACEOF
   4186 ;;
   4187 esac
   4188 rm -rf conftest*
   4189   if test $ac_cv_sys_file_offset_bits = unknown; then
   4190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   4191 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   4192 if ${ac_cv_sys_large_files+:} false; then :
   4193   $as_echo_n "(cached) " >&6
   4194 else
   4195   while :; do
   4196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4197 /* end confdefs.h.  */
   4198 #include <sys/types.h>
   4199  /* Check that off_t can represent 2**63 - 1 correctly.
   4200     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4201     since some C++ compilers masquerading as C compilers
   4202     incorrectly reject 9223372036854775807.  */
   4203 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
   4204   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4205 		       && LARGE_OFF_T % 2147483647 == 1)
   4206 		      ? 1 : -1];
   4207 int
   4208 main ()
   4209 {
   4210 
   4211   ;
   4212   return 0;
   4213 }
   4214 _ACEOF
   4215 if ac_fn_c_try_compile "$LINENO"; then :
   4216   ac_cv_sys_large_files=no; break
   4217 fi
   4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4220 /* end confdefs.h.  */
   4221 #define _LARGE_FILES 1
   4222 #include <sys/types.h>
   4223  /* Check that off_t can represent 2**63 - 1 correctly.
   4224     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4225     since some C++ compilers masquerading as C compilers
   4226     incorrectly reject 9223372036854775807.  */
   4227 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
   4228   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4229 		       && LARGE_OFF_T % 2147483647 == 1)
   4230 		      ? 1 : -1];
   4231 int
   4232 main ()
   4233 {
   4234 
   4235   ;
   4236   return 0;
   4237 }
   4238 _ACEOF
   4239 if ac_fn_c_try_compile "$LINENO"; then :
   4240   ac_cv_sys_large_files=1; break
   4241 fi
   4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4243   ac_cv_sys_large_files=unknown
   4244   break
   4245 done
   4246 fi
   4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   4248 $as_echo "$ac_cv_sys_large_files" >&6; }
   4249 case $ac_cv_sys_large_files in #(
   4250   no | unknown) ;;
   4251   *)
   4252 cat >>confdefs.h <<_ACEOF
   4253 #define _LARGE_FILES $ac_cv_sys_large_files
   4254 _ACEOF
   4255 ;;
   4256 esac
   4257 rm -rf conftest*
   4258   fi
   4259 
   4260 
   4261 fi
   4262 
   4263 
   4264 
   4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4266 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4267     # Check whether --enable-maintainer-mode was given.
   4268 if test "${enable_maintainer_mode+set}" = set; then :
   4269   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4270 else
   4271   USE_MAINTAINER_MODE=no
   4272 fi
   4273 
   4274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4275 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4276    if test $USE_MAINTAINER_MODE = yes; then
   4277   MAINTAINER_MODE_TRUE=
   4278   MAINTAINER_MODE_FALSE='#'
   4279 else
   4280   MAINTAINER_MODE_TRUE='#'
   4281   MAINTAINER_MODE_FALSE=
   4282 fi
   4283 
   4284   MAINT=$MAINTAINER_MODE_TRUE
   4285 
   4286 
   4287 
   4288 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4289 
   4290 
   4291 
   4292 
   4293 
   4294 
   4295 
   4296 
   4297 
   4298 
   4299 
   4300    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4301 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4302 if ${ac_cv_prog_cc_c99+:} false; then :
   4303   $as_echo_n "(cached) " >&6
   4304 else
   4305   ac_cv_prog_cc_c99=no
   4306 ac_save_CC=$CC
   4307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4308 /* end confdefs.h.  */
   4309 #include <stdarg.h>
   4310 #include <stdbool.h>
   4311 #include <stdlib.h>
   4312 #include <wchar.h>
   4313 #include <stdio.h>
   4314 
   4315 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4316 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4317 #define showlist(...) puts (#__VA_ARGS__)
   4318 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4319 static void
   4320 test_varargs_macros (void)
   4321 {
   4322   int x = 1234;
   4323   int y = 5678;
   4324   debug ("Flag");
   4325   debug ("X = %d\n", x);
   4326   showlist (The first, second, and third items.);
   4327   report (x>y, "x is %d but y is %d", x, y);
   4328 }
   4329 
   4330 // Check long long types.
   4331 #define BIG64 18446744073709551615ull
   4332 #define BIG32 4294967295ul
   4333 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4334 #if !BIG_OK
   4335   your preprocessor is broken;
   4336 #endif
   4337 #if BIG_OK
   4338 #else
   4339   your preprocessor is broken;
   4340 #endif
   4341 static long long int bignum = -9223372036854775807LL;
   4342 static unsigned long long int ubignum = BIG64;
   4343 
   4344 struct incomplete_array
   4345 {
   4346   int datasize;
   4347   double data[];
   4348 };
   4349 
   4350 struct named_init {
   4351   int number;
   4352   const wchar_t *name;
   4353   double average;
   4354 };
   4355 
   4356 typedef const char *ccp;
   4357 
   4358 static inline int
   4359 test_restrict (ccp restrict text)
   4360 {
   4361   // See if C++-style comments work.
   4362   // Iterate through items via the restricted pointer.
   4363   // Also check for declarations in for loops.
   4364   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4365     continue;
   4366   return 0;
   4367 }
   4368 
   4369 // Check varargs and va_copy.
   4370 static void
   4371 test_varargs (const char *format, ...)
   4372 {
   4373   va_list args;
   4374   va_start (args, format);
   4375   va_list args_copy;
   4376   va_copy (args_copy, args);
   4377 
   4378   const char *str;
   4379   int number;
   4380   float fnumber;
   4381 
   4382   while (*format)
   4383     {
   4384       switch (*format++)
   4385 	{
   4386 	case 's': // string
   4387 	  str = va_arg (args_copy, const char *);
   4388 	  break;
   4389 	case 'd': // int
   4390 	  number = va_arg (args_copy, int);
   4391 	  break;
   4392 	case 'f': // float
   4393 	  fnumber = va_arg (args_copy, double);
   4394 	  break;
   4395 	default:
   4396 	  break;
   4397 	}
   4398     }
   4399   va_end (args_copy);
   4400   va_end (args);
   4401 }
   4402 
   4403 int
   4404 main ()
   4405 {
   4406 
   4407   // Check bool.
   4408   _Bool success = false;
   4409 
   4410   // Check restrict.
   4411   if (test_restrict ("String literal") == 0)
   4412     success = true;
   4413   char *restrict newvar = "Another string";
   4414 
   4415   // Check varargs.
   4416   test_varargs ("s, d' f .", "string", 65, 34.234);
   4417   test_varargs_macros ();
   4418 
   4419   // Check flexible array members.
   4420   struct incomplete_array *ia =
   4421     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4422   ia->datasize = 10;
   4423   for (int i = 0; i < ia->datasize; ++i)
   4424     ia->data[i] = i * 1.234;
   4425 
   4426   // Check named initializers.
   4427   struct named_init ni = {
   4428     .number = 34,
   4429     .name = L"Test wide string",
   4430     .average = 543.34343,
   4431   };
   4432 
   4433   ni.number = 58;
   4434 
   4435   int dynamic_array[ni.number];
   4436   dynamic_array[ni.number - 1] = 543;
   4437 
   4438   // work around unused variable warnings
   4439   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4440 	  || dynamic_array[ni.number - 1] != 543);
   4441 
   4442   ;
   4443   return 0;
   4444 }
   4445 _ACEOF
   4446 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4447 do
   4448   CC="$ac_save_CC $ac_arg"
   4449   if ac_fn_c_try_compile "$LINENO"; then :
   4450   ac_cv_prog_cc_c99=$ac_arg
   4451 fi
   4452 rm -f core conftest.err conftest.$ac_objext
   4453   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4454 done
   4455 rm -f conftest.$ac_ext
   4456 CC=$ac_save_CC
   4457 
   4458 fi
   4459 # AC_CACHE_VAL
   4460 case "x$ac_cv_prog_cc_c99" in
   4461   x)
   4462     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4463 $as_echo "none needed" >&6; } ;;
   4464   xno)
   4465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4466 $as_echo "unsupported" >&6; } ;;
   4467   *)
   4468     CC="$CC $ac_cv_prog_cc_c99"
   4469     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4470 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4471 esac
   4472 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4473 
   4474 fi
   4475 
   4476 
   4477 ac_ext=c
   4478 ac_cpp='$CPP $CPPFLAGS'
   4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4483 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4484 # On Suns, sometimes $CPP names a directory.
   4485 if test -n "$CPP" && test -d "$CPP"; then
   4486   CPP=
   4487 fi
   4488 if test -z "$CPP"; then
   4489   if ${ac_cv_prog_CPP+:} false; then :
   4490   $as_echo_n "(cached) " >&6
   4491 else
   4492       # Double quotes because CPP needs to be expanded
   4493     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4494     do
   4495       ac_preproc_ok=false
   4496 for ac_c_preproc_warn_flag in '' yes
   4497 do
   4498   # Use a header file that comes with gcc, so configuring glibc
   4499   # with a fresh cross-compiler works.
   4500   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4501   # <limits.h> exists even on freestanding compilers.
   4502   # On the NeXT, cc -E runs the code through the compiler's parser,
   4503   # not just through cpp. "Syntax error" is here to catch this case.
   4504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4505 /* end confdefs.h.  */
   4506 #ifdef __STDC__
   4507 # include <limits.h>
   4508 #else
   4509 # include <assert.h>
   4510 #endif
   4511 		     Syntax error
   4512 _ACEOF
   4513 if ac_fn_c_try_cpp "$LINENO"; then :
   4514 
   4515 else
   4516   # Broken: fails on valid input.
   4517 continue
   4518 fi
   4519 rm -f conftest.err conftest.i conftest.$ac_ext
   4520 
   4521   # OK, works on sane cases.  Now check whether nonexistent headers
   4522   # can be detected and how.
   4523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4524 /* end confdefs.h.  */
   4525 #include <ac_nonexistent.h>
   4526 _ACEOF
   4527 if ac_fn_c_try_cpp "$LINENO"; then :
   4528   # Broken: success on invalid input.
   4529 continue
   4530 else
   4531   # Passes both tests.
   4532 ac_preproc_ok=:
   4533 break
   4534 fi
   4535 rm -f conftest.err conftest.i conftest.$ac_ext
   4536 
   4537 done
   4538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4539 rm -f conftest.i conftest.err conftest.$ac_ext
   4540 if $ac_preproc_ok; then :
   4541   break
   4542 fi
   4543 
   4544     done
   4545     ac_cv_prog_CPP=$CPP
   4546 
   4547 fi
   4548   CPP=$ac_cv_prog_CPP
   4549 else
   4550   ac_cv_prog_CPP=$CPP
   4551 fi
   4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4553 $as_echo "$CPP" >&6; }
   4554 ac_preproc_ok=false
   4555 for ac_c_preproc_warn_flag in '' yes
   4556 do
   4557   # Use a header file that comes with gcc, so configuring glibc
   4558   # with a fresh cross-compiler works.
   4559   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4560   # <limits.h> exists even on freestanding compilers.
   4561   # On the NeXT, cc -E runs the code through the compiler's parser,
   4562   # not just through cpp. "Syntax error" is here to catch this case.
   4563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4564 /* end confdefs.h.  */
   4565 #ifdef __STDC__
   4566 # include <limits.h>
   4567 #else
   4568 # include <assert.h>
   4569 #endif
   4570 		     Syntax error
   4571 _ACEOF
   4572 if ac_fn_c_try_cpp "$LINENO"; then :
   4573 
   4574 else
   4575   # Broken: fails on valid input.
   4576 continue
   4577 fi
   4578 rm -f conftest.err conftest.i conftest.$ac_ext
   4579 
   4580   # OK, works on sane cases.  Now check whether nonexistent headers
   4581   # can be detected and how.
   4582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4583 /* end confdefs.h.  */
   4584 #include <ac_nonexistent.h>
   4585 _ACEOF
   4586 if ac_fn_c_try_cpp "$LINENO"; then :
   4587   # Broken: success on invalid input.
   4588 continue
   4589 else
   4590   # Passes both tests.
   4591 ac_preproc_ok=:
   4592 break
   4593 fi
   4594 rm -f conftest.err conftest.i conftest.$ac_ext
   4595 
   4596 done
   4597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4598 rm -f conftest.i conftest.err conftest.$ac_ext
   4599 if $ac_preproc_ok; then :
   4600 
   4601 else
   4602   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4604 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4605 See \`config.log' for more details" "$LINENO" 5; }
   4606 fi
   4607 
   4608 ac_ext=c
   4609 ac_cpp='$CPP $CPPFLAGS'
   4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4613 
   4614 
   4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4616 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4617 if ${ac_cv_path_GREP+:} false; then :
   4618   $as_echo_n "(cached) " >&6
   4619 else
   4620   if test -z "$GREP"; then
   4621   ac_path_GREP_found=false
   4622   # Loop through the user's path and test for each of PROGNAME-LIST
   4623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4624 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4625 do
   4626   IFS=$as_save_IFS
   4627   test -z "$as_dir" && as_dir=.
   4628     for ac_prog in grep ggrep; do
   4629     for ac_exec_ext in '' $ac_executable_extensions; do
   4630       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4631       as_fn_executable_p "$ac_path_GREP" || continue
   4632 # Check for GNU ac_path_GREP and select it if it is found.
   4633   # Check for GNU $ac_path_GREP
   4634 case `"$ac_path_GREP" --version 2>&1` in
   4635 *GNU*)
   4636   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4637 *)
   4638   ac_count=0
   4639   $as_echo_n 0123456789 >"conftest.in"
   4640   while :
   4641   do
   4642     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4643     mv "conftest.tmp" "conftest.in"
   4644     cp "conftest.in" "conftest.nl"
   4645     $as_echo 'GREP' >> "conftest.nl"
   4646     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4647     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4648     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4649     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4650       # Best one so far, save it but keep looking for a better one
   4651       ac_cv_path_GREP="$ac_path_GREP"
   4652       ac_path_GREP_max=$ac_count
   4653     fi
   4654     # 10*(2^10) chars as input seems more than enough
   4655     test $ac_count -gt 10 && break
   4656   done
   4657   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4658 esac
   4659 
   4660       $ac_path_GREP_found && break 3
   4661     done
   4662   done
   4663   done
   4664 IFS=$as_save_IFS
   4665   if test -z "$ac_cv_path_GREP"; then
   4666     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4667   fi
   4668 else
   4669   ac_cv_path_GREP=$GREP
   4670 fi
   4671 
   4672 fi
   4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4674 $as_echo "$ac_cv_path_GREP" >&6; }
   4675  GREP="$ac_cv_path_GREP"
   4676 
   4677 
   4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4679 $as_echo_n "checking for egrep... " >&6; }
   4680 if ${ac_cv_path_EGREP+:} false; then :
   4681   $as_echo_n "(cached) " >&6
   4682 else
   4683   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4684    then ac_cv_path_EGREP="$GREP -E"
   4685    else
   4686      if test -z "$EGREP"; then
   4687   ac_path_EGREP_found=false
   4688   # Loop through the user's path and test for each of PROGNAME-LIST
   4689   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4690 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4691 do
   4692   IFS=$as_save_IFS
   4693   test -z "$as_dir" && as_dir=.
   4694     for ac_prog in egrep; do
   4695     for ac_exec_ext in '' $ac_executable_extensions; do
   4696       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4697       as_fn_executable_p "$ac_path_EGREP" || continue
   4698 # Check for GNU ac_path_EGREP and select it if it is found.
   4699   # Check for GNU $ac_path_EGREP
   4700 case `"$ac_path_EGREP" --version 2>&1` in
   4701 *GNU*)
   4702   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4703 *)
   4704   ac_count=0
   4705   $as_echo_n 0123456789 >"conftest.in"
   4706   while :
   4707   do
   4708     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4709     mv "conftest.tmp" "conftest.in"
   4710     cp "conftest.in" "conftest.nl"
   4711     $as_echo 'EGREP' >> "conftest.nl"
   4712     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4713     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4714     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4715     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4716       # Best one so far, save it but keep looking for a better one
   4717       ac_cv_path_EGREP="$ac_path_EGREP"
   4718       ac_path_EGREP_max=$ac_count
   4719     fi
   4720     # 10*(2^10) chars as input seems more than enough
   4721     test $ac_count -gt 10 && break
   4722   done
   4723   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4724 esac
   4725 
   4726       $ac_path_EGREP_found && break 3
   4727     done
   4728   done
   4729   done
   4730 IFS=$as_save_IFS
   4731   if test -z "$ac_cv_path_EGREP"; then
   4732     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4733   fi
   4734 else
   4735   ac_cv_path_EGREP=$EGREP
   4736 fi
   4737 
   4738    fi
   4739 fi
   4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4741 $as_echo "$ac_cv_path_EGREP" >&6; }
   4742  EGREP="$ac_cv_path_EGREP"
   4743 
   4744 
   4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4746 $as_echo_n "checking for ANSI C header files... " >&6; }
   4747 if ${ac_cv_header_stdc+:} false; then :
   4748   $as_echo_n "(cached) " >&6
   4749 else
   4750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4751 /* end confdefs.h.  */
   4752 #include <stdlib.h>
   4753 #include <stdarg.h>
   4754 #include <string.h>
   4755 #include <float.h>
   4756 
   4757 int
   4758 main ()
   4759 {
   4760 
   4761   ;
   4762   return 0;
   4763 }
   4764 _ACEOF
   4765 if ac_fn_c_try_compile "$LINENO"; then :
   4766   ac_cv_header_stdc=yes
   4767 else
   4768   ac_cv_header_stdc=no
   4769 fi
   4770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4771 
   4772 if test $ac_cv_header_stdc = yes; then
   4773   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4775 /* end confdefs.h.  */
   4776 #include <string.h>
   4777 
   4778 _ACEOF
   4779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4780   $EGREP "memchr" >/dev/null 2>&1; then :
   4781 
   4782 else
   4783   ac_cv_header_stdc=no
   4784 fi
   4785 rm -f conftest*
   4786 
   4787 fi
   4788 
   4789 if test $ac_cv_header_stdc = yes; then
   4790   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4792 /* end confdefs.h.  */
   4793 #include <stdlib.h>
   4794 
   4795 _ACEOF
   4796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4797   $EGREP "free" >/dev/null 2>&1; then :
   4798 
   4799 else
   4800   ac_cv_header_stdc=no
   4801 fi
   4802 rm -f conftest*
   4803 
   4804 fi
   4805 
   4806 if test $ac_cv_header_stdc = yes; then
   4807   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4808   if test "$cross_compiling" = yes; then :
   4809   :
   4810 else
   4811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4812 /* end confdefs.h.  */
   4813 #include <ctype.h>
   4814 #include <stdlib.h>
   4815 #if ((' ' & 0x0FF) == 0x020)
   4816 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4817 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4818 #else
   4819 # define ISLOWER(c) \
   4820 		   (('a' <= (c) && (c) <= 'i') \
   4821 		     || ('j' <= (c) && (c) <= 'r') \
   4822 		     || ('s' <= (c) && (c) <= 'z'))
   4823 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4824 #endif
   4825 
   4826 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4827 int
   4828 main ()
   4829 {
   4830   int i;
   4831   for (i = 0; i < 256; i++)
   4832     if (XOR (islower (i), ISLOWER (i))
   4833 	|| toupper (i) != TOUPPER (i))
   4834       return 2;
   4835   return 0;
   4836 }
   4837 _ACEOF
   4838 if ac_fn_c_try_run "$LINENO"; then :
   4839 
   4840 else
   4841   ac_cv_header_stdc=no
   4842 fi
   4843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4844   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4845 fi
   4846 
   4847 fi
   4848 fi
   4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4850 $as_echo "$ac_cv_header_stdc" >&6; }
   4851 if test $ac_cv_header_stdc = yes; then
   4852 
   4853 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4854 
   4855 fi
   4856 
   4857 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4858 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4859 		  inttypes.h stdint.h unistd.h
   4860 do :
   4861   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4862 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4863 "
   4864 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4865   cat >>confdefs.h <<_ACEOF
   4866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4867 _ACEOF
   4868 
   4869 fi
   4870 
   4871 done
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4879 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4880   CLANGCC="yes"
   4881 else
   4882   CLANGCC="no"
   4883 fi
   4884 
   4885 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4886 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4887   INTELCC="yes"
   4888 else
   4889   INTELCC="no"
   4890 fi
   4891 
   4892 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4893 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4894   SUNCC="yes"
   4895 else
   4896   SUNCC="no"
   4897 fi
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4908 	if test -n "$ac_tool_prefix"; then
   4909   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4910 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4912 $as_echo_n "checking for $ac_word... " >&6; }
   4913 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4914   $as_echo_n "(cached) " >&6
   4915 else
   4916   case $PKG_CONFIG in
   4917   [\\/]* | ?:[\\/]*)
   4918   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4919   ;;
   4920   *)
   4921   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4922 for as_dir in $PATH
   4923 do
   4924   IFS=$as_save_IFS
   4925   test -z "$as_dir" && as_dir=.
   4926     for ac_exec_ext in '' $ac_executable_extensions; do
   4927   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4928     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4930     break 2
   4931   fi
   4932 done
   4933   done
   4934 IFS=$as_save_IFS
   4935 
   4936   ;;
   4937 esac
   4938 fi
   4939 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4940 if test -n "$PKG_CONFIG"; then
   4941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4942 $as_echo "$PKG_CONFIG" >&6; }
   4943 else
   4944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4945 $as_echo "no" >&6; }
   4946 fi
   4947 
   4948 
   4949 fi
   4950 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4951   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4952   # Extract the first word of "pkg-config", so it can be a program name with args.
   4953 set dummy pkg-config; ac_word=$2
   4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4955 $as_echo_n "checking for $ac_word... " >&6; }
   4956 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4957   $as_echo_n "(cached) " >&6
   4958 else
   4959   case $ac_pt_PKG_CONFIG in
   4960   [\\/]* | ?:[\\/]*)
   4961   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4962   ;;
   4963   *)
   4964   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4965 for as_dir in $PATH
   4966 do
   4967   IFS=$as_save_IFS
   4968   test -z "$as_dir" && as_dir=.
   4969     for ac_exec_ext in '' $ac_executable_extensions; do
   4970   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4971     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4973     break 2
   4974   fi
   4975 done
   4976   done
   4977 IFS=$as_save_IFS
   4978 
   4979   ;;
   4980 esac
   4981 fi
   4982 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4983 if test -n "$ac_pt_PKG_CONFIG"; then
   4984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4985 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4986 else
   4987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4988 $as_echo "no" >&6; }
   4989 fi
   4990 
   4991   if test "x$ac_pt_PKG_CONFIG" = x; then
   4992     PKG_CONFIG=""
   4993   else
   4994     case $cross_compiling:$ac_tool_warned in
   4995 yes:)
   4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4998 ac_tool_warned=yes ;;
   4999 esac
   5000     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5001   fi
   5002 else
   5003   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5004 fi
   5005 
   5006 fi
   5007 if test -n "$PKG_CONFIG"; then
   5008 	_pkg_min_version=0.9.0
   5009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5010 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5011 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5013 $as_echo "yes" >&6; }
   5014 	else
   5015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5016 $as_echo "no" >&6; }
   5017 		PKG_CONFIG=""
   5018 	fi
   5019 fi
   5020 # Make sure we can run config.sub.
   5021 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   5022   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   5023 
   5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5025 $as_echo_n "checking build system type... " >&6; }
   5026 if ${ac_cv_build+:} false; then :
   5027   $as_echo_n "(cached) " >&6
   5028 else
   5029   ac_build_alias=$build_alias
   5030 test "x$ac_build_alias" = x &&
   5031   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   5032 test "x$ac_build_alias" = x &&
   5033   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5034 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   5035   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   5036 
   5037 fi
   5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5039 $as_echo "$ac_cv_build" >&6; }
   5040 case $ac_cv_build in
   5041 *-*-*) ;;
   5042 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5043 esac
   5044 build=$ac_cv_build
   5045 ac_save_IFS=$IFS; IFS='-'
   5046 set x $ac_cv_build
   5047 shift
   5048 build_cpu=$1
   5049 build_vendor=$2
   5050 shift; shift
   5051 # Remember, the first character of IFS is used to create $*,
   5052 # except with old shells:
   5053 build_os=$*
   5054 IFS=$ac_save_IFS
   5055 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5056 
   5057 
   5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5059 $as_echo_n "checking host system type... " >&6; }
   5060 if ${ac_cv_host+:} false; then :
   5061   $as_echo_n "(cached) " >&6
   5062 else
   5063   if test "x$host_alias" = x; then
   5064   ac_cv_host=$ac_cv_build
   5065 else
   5066   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5067     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5068 fi
   5069 
   5070 fi
   5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5072 $as_echo "$ac_cv_host" >&6; }
   5073 case $ac_cv_host in
   5074 *-*-*) ;;
   5075 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5076 esac
   5077 host=$ac_cv_host
   5078 ac_save_IFS=$IFS; IFS='-'
   5079 set x $ac_cv_host
   5080 shift
   5081 host_cpu=$1
   5082 host_vendor=$2
   5083 shift; shift
   5084 # Remember, the first character of IFS is used to create $*,
   5085 # except with old shells:
   5086 host_os=$*
   5087 IFS=$ac_save_IFS
   5088 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5089 
   5090 
   5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5092 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5093 if ${ac_cv_path_SED+:} false; then :
   5094   $as_echo_n "(cached) " >&6
   5095 else
   5096             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5097      for ac_i in 1 2 3 4 5 6 7; do
   5098        ac_script="$ac_script$as_nl$ac_script"
   5099      done
   5100      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5101      { ac_script=; unset ac_script;}
   5102      if test -z "$SED"; then
   5103   ac_path_SED_found=false
   5104   # Loop through the user's path and test for each of PROGNAME-LIST
   5105   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5106 for as_dir in $PATH
   5107 do
   5108   IFS=$as_save_IFS
   5109   test -z "$as_dir" && as_dir=.
   5110     for ac_prog in sed gsed; do
   5111     for ac_exec_ext in '' $ac_executable_extensions; do
   5112       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5113       as_fn_executable_p "$ac_path_SED" || continue
   5114 # Check for GNU ac_path_SED and select it if it is found.
   5115   # Check for GNU $ac_path_SED
   5116 case `"$ac_path_SED" --version 2>&1` in
   5117 *GNU*)
   5118   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5119 *)
   5120   ac_count=0
   5121   $as_echo_n 0123456789 >"conftest.in"
   5122   while :
   5123   do
   5124     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5125     mv "conftest.tmp" "conftest.in"
   5126     cp "conftest.in" "conftest.nl"
   5127     $as_echo '' >> "conftest.nl"
   5128     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5129     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5130     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5131     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5132       # Best one so far, save it but keep looking for a better one
   5133       ac_cv_path_SED="$ac_path_SED"
   5134       ac_path_SED_max=$ac_count
   5135     fi
   5136     # 10*(2^10) chars as input seems more than enough
   5137     test $ac_count -gt 10 && break
   5138   done
   5139   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5140 esac
   5141 
   5142       $ac_path_SED_found && break 3
   5143     done
   5144   done
   5145   done
   5146 IFS=$as_save_IFS
   5147   if test -z "$ac_cv_path_SED"; then
   5148     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5149   fi
   5150 else
   5151   ac_cv_path_SED=$SED
   5152 fi
   5153 
   5154 fi
   5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5156 $as_echo "$ac_cv_path_SED" >&6; }
   5157  SED="$ac_cv_path_SED"
   5158   rm -f conftest.sed
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 # Check whether --enable-selective-werror was given.
   5166 if test "${enable_selective_werror+set}" = set; then :
   5167   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5168 else
   5169   SELECTIVE_WERROR=yes
   5170 fi
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5177 if test "x$SUNCC" = "xyes"; then
   5178     BASE_CFLAGS="-v"
   5179 else
   5180     BASE_CFLAGS=""
   5181 fi
   5182 
   5183 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 xorg_testset_save_CFLAGS="$CFLAGS"
   5198 
   5199 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5200 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5202 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5203 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5204   $as_echo_n "(cached) " >&6
   5205 else
   5206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5207 /* end confdefs.h.  */
   5208 int i;
   5209 _ACEOF
   5210 if ac_fn_c_try_compile "$LINENO"; then :
   5211   xorg_cv_cc_flag_unknown_warning_option=yes
   5212 else
   5213   xorg_cv_cc_flag_unknown_warning_option=no
   5214 fi
   5215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5216 fi
   5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5218 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5220 	CFLAGS="$xorg_testset_save_CFLAGS"
   5221 fi
   5222 
   5223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5226 	fi
   5227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5229 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5230 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5231   $as_echo_n "(cached) " >&6
   5232 else
   5233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5234 /* end confdefs.h.  */
   5235 int i;
   5236 _ACEOF
   5237 if ac_fn_c_try_compile "$LINENO"; then :
   5238   xorg_cv_cc_flag_unused_command_line_argument=yes
   5239 else
   5240   xorg_cv_cc_flag_unused_command_line_argument=no
   5241 fi
   5242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5243 fi
   5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5245 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5247 	CFLAGS="$xorg_testset_save_CFLAGS"
   5248 fi
   5249 
   5250 found="no"
   5251 
   5252 	if test $found = "no" ; then
   5253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5255 		fi
   5256 
   5257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5259 		fi
   5260 
   5261 		CFLAGS="$CFLAGS -Wall"
   5262 
   5263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5264 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5265 		cacheid=xorg_cv_cc_flag__Wall
   5266 		if eval \${$cacheid+:} false; then :
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5270 /* end confdefs.h.  */
   5271 int i;
   5272 int
   5273 main ()
   5274 {
   5275 
   5276   ;
   5277   return 0;
   5278 }
   5279 _ACEOF
   5280 if ac_fn_c_try_link "$LINENO"; then :
   5281   eval $cacheid=yes
   5282 else
   5283   eval $cacheid=no
   5284 fi
   5285 rm -f core conftest.err conftest.$ac_objext \
   5286     conftest$ac_exeext conftest.$ac_ext
   5287 fi
   5288 
   5289 
   5290 		CFLAGS="$xorg_testset_save_CFLAGS"
   5291 
   5292 		eval supported=\$$cacheid
   5293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5294 $as_echo "$supported" >&6; }
   5295 		if test "$supported" = "yes" ; then
   5296 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5297 			found="yes"
   5298 		fi
   5299 	fi
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 xorg_testset_save_CFLAGS="$CFLAGS"
   5316 
   5317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5322   $as_echo_n "(cached) " >&6
   5323 else
   5324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5325 /* end confdefs.h.  */
   5326 int i;
   5327 _ACEOF
   5328 if ac_fn_c_try_compile "$LINENO"; then :
   5329   xorg_cv_cc_flag_unknown_warning_option=yes
   5330 else
   5331   xorg_cv_cc_flag_unknown_warning_option=no
   5332 fi
   5333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5334 fi
   5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5338 	CFLAGS="$xorg_testset_save_CFLAGS"
   5339 fi
   5340 
   5341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5344 	fi
   5345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5349   $as_echo_n "(cached) " >&6
   5350 else
   5351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5352 /* end confdefs.h.  */
   5353 int i;
   5354 _ACEOF
   5355 if ac_fn_c_try_compile "$LINENO"; then :
   5356   xorg_cv_cc_flag_unused_command_line_argument=yes
   5357 else
   5358   xorg_cv_cc_flag_unused_command_line_argument=no
   5359 fi
   5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5361 fi
   5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5365 	CFLAGS="$xorg_testset_save_CFLAGS"
   5366 fi
   5367 
   5368 found="no"
   5369 
   5370 	if test $found = "no" ; then
   5371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5373 		fi
   5374 
   5375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5377 		fi
   5378 
   5379 		CFLAGS="$CFLAGS -Wpointer-arith"
   5380 
   5381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5382 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5383 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5384 		if eval \${$cacheid+:} false; then :
   5385   $as_echo_n "(cached) " >&6
   5386 else
   5387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5388 /* end confdefs.h.  */
   5389 int i;
   5390 int
   5391 main ()
   5392 {
   5393 
   5394   ;
   5395   return 0;
   5396 }
   5397 _ACEOF
   5398 if ac_fn_c_try_link "$LINENO"; then :
   5399   eval $cacheid=yes
   5400 else
   5401   eval $cacheid=no
   5402 fi
   5403 rm -f core conftest.err conftest.$ac_objext \
   5404     conftest$ac_exeext conftest.$ac_ext
   5405 fi
   5406 
   5407 
   5408 		CFLAGS="$xorg_testset_save_CFLAGS"
   5409 
   5410 		eval supported=\$$cacheid
   5411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5412 $as_echo "$supported" >&6; }
   5413 		if test "$supported" = "yes" ; then
   5414 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5415 			found="yes"
   5416 		fi
   5417 	fi
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 xorg_testset_save_CFLAGS="$CFLAGS"
   5434 
   5435 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5436 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5438 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5439 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5440   $as_echo_n "(cached) " >&6
   5441 else
   5442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5443 /* end confdefs.h.  */
   5444 int i;
   5445 _ACEOF
   5446 if ac_fn_c_try_compile "$LINENO"; then :
   5447   xorg_cv_cc_flag_unknown_warning_option=yes
   5448 else
   5449   xorg_cv_cc_flag_unknown_warning_option=no
   5450 fi
   5451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5452 fi
   5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5454 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5455 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5456 	CFLAGS="$xorg_testset_save_CFLAGS"
   5457 fi
   5458 
   5459 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5460 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5461 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5462 	fi
   5463 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5465 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5466 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5467   $as_echo_n "(cached) " >&6
   5468 else
   5469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5470 /* end confdefs.h.  */
   5471 int i;
   5472 _ACEOF
   5473 if ac_fn_c_try_compile "$LINENO"; then :
   5474   xorg_cv_cc_flag_unused_command_line_argument=yes
   5475 else
   5476   xorg_cv_cc_flag_unused_command_line_argument=no
   5477 fi
   5478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5479 fi
   5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5481 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5483 	CFLAGS="$xorg_testset_save_CFLAGS"
   5484 fi
   5485 
   5486 found="no"
   5487 
   5488 	if test $found = "no" ; then
   5489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5491 		fi
   5492 
   5493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5495 		fi
   5496 
   5497 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5498 
   5499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5500 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5501 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5502 		if eval \${$cacheid+:} false; then :
   5503   $as_echo_n "(cached) " >&6
   5504 else
   5505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5506 /* end confdefs.h.  */
   5507 int i;
   5508 int
   5509 main ()
   5510 {
   5511 
   5512   ;
   5513   return 0;
   5514 }
   5515 _ACEOF
   5516 if ac_fn_c_try_link "$LINENO"; then :
   5517   eval $cacheid=yes
   5518 else
   5519   eval $cacheid=no
   5520 fi
   5521 rm -f core conftest.err conftest.$ac_objext \
   5522     conftest$ac_exeext conftest.$ac_ext
   5523 fi
   5524 
   5525 
   5526 		CFLAGS="$xorg_testset_save_CFLAGS"
   5527 
   5528 		eval supported=\$$cacheid
   5529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5530 $as_echo "$supported" >&6; }
   5531 		if test "$supported" = "yes" ; then
   5532 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5533 			found="yes"
   5534 		fi
   5535 	fi
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 xorg_testset_save_CFLAGS="$CFLAGS"
   5552 
   5553 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5554 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5556 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5557 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5558   $as_echo_n "(cached) " >&6
   5559 else
   5560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5561 /* end confdefs.h.  */
   5562 int i;
   5563 _ACEOF
   5564 if ac_fn_c_try_compile "$LINENO"; then :
   5565   xorg_cv_cc_flag_unknown_warning_option=yes
   5566 else
   5567   xorg_cv_cc_flag_unknown_warning_option=no
   5568 fi
   5569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5570 fi
   5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5572 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5574 	CFLAGS="$xorg_testset_save_CFLAGS"
   5575 fi
   5576 
   5577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5580 	fi
   5581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5583 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5584 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5585   $as_echo_n "(cached) " >&6
   5586 else
   5587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5588 /* end confdefs.h.  */
   5589 int i;
   5590 _ACEOF
   5591 if ac_fn_c_try_compile "$LINENO"; then :
   5592   xorg_cv_cc_flag_unused_command_line_argument=yes
   5593 else
   5594   xorg_cv_cc_flag_unused_command_line_argument=no
   5595 fi
   5596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5597 fi
   5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5599 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5601 	CFLAGS="$xorg_testset_save_CFLAGS"
   5602 fi
   5603 
   5604 found="no"
   5605 
   5606 	if test $found = "no" ; then
   5607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5609 		fi
   5610 
   5611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5613 		fi
   5614 
   5615 		CFLAGS="$CFLAGS -Wformat=2"
   5616 
   5617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5618 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5619 		cacheid=xorg_cv_cc_flag__Wformat_2
   5620 		if eval \${$cacheid+:} false; then :
   5621   $as_echo_n "(cached) " >&6
   5622 else
   5623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5624 /* end confdefs.h.  */
   5625 int i;
   5626 int
   5627 main ()
   5628 {
   5629 
   5630   ;
   5631   return 0;
   5632 }
   5633 _ACEOF
   5634 if ac_fn_c_try_link "$LINENO"; then :
   5635   eval $cacheid=yes
   5636 else
   5637   eval $cacheid=no
   5638 fi
   5639 rm -f core conftest.err conftest.$ac_objext \
   5640     conftest$ac_exeext conftest.$ac_ext
   5641 fi
   5642 
   5643 
   5644 		CFLAGS="$xorg_testset_save_CFLAGS"
   5645 
   5646 		eval supported=\$$cacheid
   5647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5648 $as_echo "$supported" >&6; }
   5649 		if test "$supported" = "yes" ; then
   5650 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5651 			found="yes"
   5652 		fi
   5653 	fi
   5654 
   5655 	if test $found = "no" ; then
   5656 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5657 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5658 		fi
   5659 
   5660 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5661 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5662 		fi
   5663 
   5664 		CFLAGS="$CFLAGS -Wformat"
   5665 
   5666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5667 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5668 		cacheid=xorg_cv_cc_flag__Wformat
   5669 		if eval \${$cacheid+:} false; then :
   5670   $as_echo_n "(cached) " >&6
   5671 else
   5672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5673 /* end confdefs.h.  */
   5674 int i;
   5675 int
   5676 main ()
   5677 {
   5678 
   5679   ;
   5680   return 0;
   5681 }
   5682 _ACEOF
   5683 if ac_fn_c_try_link "$LINENO"; then :
   5684   eval $cacheid=yes
   5685 else
   5686   eval $cacheid=no
   5687 fi
   5688 rm -f core conftest.err conftest.$ac_objext \
   5689     conftest$ac_exeext conftest.$ac_ext
   5690 fi
   5691 
   5692 
   5693 		CFLAGS="$xorg_testset_save_CFLAGS"
   5694 
   5695 		eval supported=\$$cacheid
   5696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5697 $as_echo "$supported" >&6; }
   5698 		if test "$supported" = "yes" ; then
   5699 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5700 			found="yes"
   5701 		fi
   5702 	fi
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 xorg_testset_save_CFLAGS="$CFLAGS"
   5721 
   5722 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5725 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5726 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5727   $as_echo_n "(cached) " >&6
   5728 else
   5729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5730 /* end confdefs.h.  */
   5731 int i;
   5732 _ACEOF
   5733 if ac_fn_c_try_compile "$LINENO"; then :
   5734   xorg_cv_cc_flag_unknown_warning_option=yes
   5735 else
   5736   xorg_cv_cc_flag_unknown_warning_option=no
   5737 fi
   5738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5739 fi
   5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5741 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5742 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5743 	CFLAGS="$xorg_testset_save_CFLAGS"
   5744 fi
   5745 
   5746 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5747 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5749 	fi
   5750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5752 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5753 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5754   $as_echo_n "(cached) " >&6
   5755 else
   5756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5757 /* end confdefs.h.  */
   5758 int i;
   5759 _ACEOF
   5760 if ac_fn_c_try_compile "$LINENO"; then :
   5761   xorg_cv_cc_flag_unused_command_line_argument=yes
   5762 else
   5763   xorg_cv_cc_flag_unused_command_line_argument=no
   5764 fi
   5765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5766 fi
   5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5768 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5769 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5770 	CFLAGS="$xorg_testset_save_CFLAGS"
   5771 fi
   5772 
   5773 found="no"
   5774 
   5775 	if test $found = "no" ; then
   5776 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5778 		fi
   5779 
   5780 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5782 		fi
   5783 
   5784 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5785 
   5786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5787 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5788 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5789 		if eval \${$cacheid+:} false; then :
   5790   $as_echo_n "(cached) " >&6
   5791 else
   5792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5793 /* end confdefs.h.  */
   5794 int i;
   5795 int
   5796 main ()
   5797 {
   5798 
   5799   ;
   5800   return 0;
   5801 }
   5802 _ACEOF
   5803 if ac_fn_c_try_link "$LINENO"; then :
   5804   eval $cacheid=yes
   5805 else
   5806   eval $cacheid=no
   5807 fi
   5808 rm -f core conftest.err conftest.$ac_objext \
   5809     conftest$ac_exeext conftest.$ac_ext
   5810 fi
   5811 
   5812 
   5813 		CFLAGS="$xorg_testset_save_CFLAGS"
   5814 
   5815 		eval supported=\$$cacheid
   5816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5817 $as_echo "$supported" >&6; }
   5818 		if test "$supported" = "yes" ; then
   5819 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5820 			found="yes"
   5821 		fi
   5822 	fi
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 xorg_testset_save_CFLAGS="$CFLAGS"
   5839 
   5840 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5841 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5843 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5844 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5845   $as_echo_n "(cached) " >&6
   5846 else
   5847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5848 /* end confdefs.h.  */
   5849 int i;
   5850 _ACEOF
   5851 if ac_fn_c_try_compile "$LINENO"; then :
   5852   xorg_cv_cc_flag_unknown_warning_option=yes
   5853 else
   5854   xorg_cv_cc_flag_unknown_warning_option=no
   5855 fi
   5856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5857 fi
   5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5859 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5860 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5861 	CFLAGS="$xorg_testset_save_CFLAGS"
   5862 fi
   5863 
   5864 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5865 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5866 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5867 	fi
   5868 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5870 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5871 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5872   $as_echo_n "(cached) " >&6
   5873 else
   5874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5875 /* end confdefs.h.  */
   5876 int i;
   5877 _ACEOF
   5878 if ac_fn_c_try_compile "$LINENO"; then :
   5879   xorg_cv_cc_flag_unused_command_line_argument=yes
   5880 else
   5881   xorg_cv_cc_flag_unused_command_line_argument=no
   5882 fi
   5883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5884 fi
   5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5886 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5888 	CFLAGS="$xorg_testset_save_CFLAGS"
   5889 fi
   5890 
   5891 found="no"
   5892 
   5893 	if test $found = "no" ; then
   5894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5896 		fi
   5897 
   5898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5900 		fi
   5901 
   5902 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5903 
   5904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5905 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5906 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5907 		if eval \${$cacheid+:} false; then :
   5908   $as_echo_n "(cached) " >&6
   5909 else
   5910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5911 /* end confdefs.h.  */
   5912 int i;
   5913 int
   5914 main ()
   5915 {
   5916 
   5917   ;
   5918   return 0;
   5919 }
   5920 _ACEOF
   5921 if ac_fn_c_try_link "$LINENO"; then :
   5922   eval $cacheid=yes
   5923 else
   5924   eval $cacheid=no
   5925 fi
   5926 rm -f core conftest.err conftest.$ac_objext \
   5927     conftest$ac_exeext conftest.$ac_ext
   5928 fi
   5929 
   5930 
   5931 		CFLAGS="$xorg_testset_save_CFLAGS"
   5932 
   5933 		eval supported=\$$cacheid
   5934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5935 $as_echo "$supported" >&6; }
   5936 		if test "$supported" = "yes" ; then
   5937 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5938 			found="yes"
   5939 		fi
   5940 	fi
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 xorg_testset_save_CFLAGS="$CFLAGS"
   5957 
   5958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5960 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5961 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5962 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5963   $as_echo_n "(cached) " >&6
   5964 else
   5965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5966 /* end confdefs.h.  */
   5967 int i;
   5968 _ACEOF
   5969 if ac_fn_c_try_compile "$LINENO"; then :
   5970   xorg_cv_cc_flag_unknown_warning_option=yes
   5971 else
   5972   xorg_cv_cc_flag_unknown_warning_option=no
   5973 fi
   5974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5975 fi
   5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5977 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5979 	CFLAGS="$xorg_testset_save_CFLAGS"
   5980 fi
   5981 
   5982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5985 	fi
   5986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5987 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5988 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5989 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5990   $as_echo_n "(cached) " >&6
   5991 else
   5992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5993 /* end confdefs.h.  */
   5994 int i;
   5995 _ACEOF
   5996 if ac_fn_c_try_compile "$LINENO"; then :
   5997   xorg_cv_cc_flag_unused_command_line_argument=yes
   5998 else
   5999   xorg_cv_cc_flag_unused_command_line_argument=no
   6000 fi
   6001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6002 fi
   6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6004 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6005 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6006 	CFLAGS="$xorg_testset_save_CFLAGS"
   6007 fi
   6008 
   6009 found="no"
   6010 
   6011 	if test $found = "no" ; then
   6012 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6013 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6014 		fi
   6015 
   6016 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6017 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6018 		fi
   6019 
   6020 		CFLAGS="$CFLAGS -Wnested-externs"
   6021 
   6022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6023 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   6024 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6025 		if eval \${$cacheid+:} false; then :
   6026   $as_echo_n "(cached) " >&6
   6027 else
   6028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6029 /* end confdefs.h.  */
   6030 int i;
   6031 int
   6032 main ()
   6033 {
   6034 
   6035   ;
   6036   return 0;
   6037 }
   6038 _ACEOF
   6039 if ac_fn_c_try_link "$LINENO"; then :
   6040   eval $cacheid=yes
   6041 else
   6042   eval $cacheid=no
   6043 fi
   6044 rm -f core conftest.err conftest.$ac_objext \
   6045     conftest$ac_exeext conftest.$ac_ext
   6046 fi
   6047 
   6048 
   6049 		CFLAGS="$xorg_testset_save_CFLAGS"
   6050 
   6051 		eval supported=\$$cacheid
   6052 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6053 $as_echo "$supported" >&6; }
   6054 		if test "$supported" = "yes" ; then
   6055 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6056 			found="yes"
   6057 		fi
   6058 	fi
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 xorg_testset_save_CFLAGS="$CFLAGS"
   6075 
   6076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6079 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6080 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6081   $as_echo_n "(cached) " >&6
   6082 else
   6083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6084 /* end confdefs.h.  */
   6085 int i;
   6086 _ACEOF
   6087 if ac_fn_c_try_compile "$LINENO"; then :
   6088   xorg_cv_cc_flag_unknown_warning_option=yes
   6089 else
   6090   xorg_cv_cc_flag_unknown_warning_option=no
   6091 fi
   6092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6093 fi
   6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6095 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6097 	CFLAGS="$xorg_testset_save_CFLAGS"
   6098 fi
   6099 
   6100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6103 	fi
   6104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6106 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6107 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6108   $as_echo_n "(cached) " >&6
   6109 else
   6110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6111 /* end confdefs.h.  */
   6112 int i;
   6113 _ACEOF
   6114 if ac_fn_c_try_compile "$LINENO"; then :
   6115   xorg_cv_cc_flag_unused_command_line_argument=yes
   6116 else
   6117   xorg_cv_cc_flag_unused_command_line_argument=no
   6118 fi
   6119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6120 fi
   6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6122 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6123 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6124 	CFLAGS="$xorg_testset_save_CFLAGS"
   6125 fi
   6126 
   6127 found="no"
   6128 
   6129 	if test $found = "no" ; then
   6130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6132 		fi
   6133 
   6134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6136 		fi
   6137 
   6138 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6139 
   6140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6141 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   6142 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6143 		if eval \${$cacheid+:} false; then :
   6144   $as_echo_n "(cached) " >&6
   6145 else
   6146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6147 /* end confdefs.h.  */
   6148 int i;
   6149 int
   6150 main ()
   6151 {
   6152 
   6153   ;
   6154   return 0;
   6155 }
   6156 _ACEOF
   6157 if ac_fn_c_try_link "$LINENO"; then :
   6158   eval $cacheid=yes
   6159 else
   6160   eval $cacheid=no
   6161 fi
   6162 rm -f core conftest.err conftest.$ac_objext \
   6163     conftest$ac_exeext conftest.$ac_ext
   6164 fi
   6165 
   6166 
   6167 		CFLAGS="$xorg_testset_save_CFLAGS"
   6168 
   6169 		eval supported=\$$cacheid
   6170 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6171 $as_echo "$supported" >&6; }
   6172 		if test "$supported" = "yes" ; then
   6173 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6174 			found="yes"
   6175 		fi
   6176 	fi
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 xorg_testset_save_CFLAGS="$CFLAGS"
   6193 
   6194 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6197 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6198 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6199   $as_echo_n "(cached) " >&6
   6200 else
   6201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6202 /* end confdefs.h.  */
   6203 int i;
   6204 _ACEOF
   6205 if ac_fn_c_try_compile "$LINENO"; then :
   6206   xorg_cv_cc_flag_unknown_warning_option=yes
   6207 else
   6208   xorg_cv_cc_flag_unknown_warning_option=no
   6209 fi
   6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6211 fi
   6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6213 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6215 	CFLAGS="$xorg_testset_save_CFLAGS"
   6216 fi
   6217 
   6218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6221 	fi
   6222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6224 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6225 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6226   $as_echo_n "(cached) " >&6
   6227 else
   6228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6229 /* end confdefs.h.  */
   6230 int i;
   6231 _ACEOF
   6232 if ac_fn_c_try_compile "$LINENO"; then :
   6233   xorg_cv_cc_flag_unused_command_line_argument=yes
   6234 else
   6235   xorg_cv_cc_flag_unused_command_line_argument=no
   6236 fi
   6237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6238 fi
   6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6240 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6242 	CFLAGS="$xorg_testset_save_CFLAGS"
   6243 fi
   6244 
   6245 found="no"
   6246 
   6247 	if test $found = "no" ; then
   6248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6250 		fi
   6251 
   6252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6254 		fi
   6255 
   6256 		CFLAGS="$CFLAGS -Wold-style-definition"
   6257 
   6258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6259 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6260 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6261 		if eval \${$cacheid+:} false; then :
   6262   $as_echo_n "(cached) " >&6
   6263 else
   6264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6265 /* end confdefs.h.  */
   6266 int i;
   6267 int
   6268 main ()
   6269 {
   6270 
   6271   ;
   6272   return 0;
   6273 }
   6274 _ACEOF
   6275 if ac_fn_c_try_link "$LINENO"; then :
   6276   eval $cacheid=yes
   6277 else
   6278   eval $cacheid=no
   6279 fi
   6280 rm -f core conftest.err conftest.$ac_objext \
   6281     conftest$ac_exeext conftest.$ac_ext
   6282 fi
   6283 
   6284 
   6285 		CFLAGS="$xorg_testset_save_CFLAGS"
   6286 
   6287 		eval supported=\$$cacheid
   6288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6289 $as_echo "$supported" >&6; }
   6290 		if test "$supported" = "yes" ; then
   6291 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6292 			found="yes"
   6293 		fi
   6294 	fi
   6295 
   6296 	if test $found = "no" ; then
   6297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6299 		fi
   6300 
   6301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6303 		fi
   6304 
   6305 		CFLAGS="$CFLAGS -fd"
   6306 
   6307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6308 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6309 		cacheid=xorg_cv_cc_flag__fd
   6310 		if eval \${$cacheid+:} false; then :
   6311   $as_echo_n "(cached) " >&6
   6312 else
   6313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6314 /* end confdefs.h.  */
   6315 int i;
   6316 int
   6317 main ()
   6318 {
   6319 
   6320   ;
   6321   return 0;
   6322 }
   6323 _ACEOF
   6324 if ac_fn_c_try_link "$LINENO"; then :
   6325   eval $cacheid=yes
   6326 else
   6327   eval $cacheid=no
   6328 fi
   6329 rm -f core conftest.err conftest.$ac_objext \
   6330     conftest$ac_exeext conftest.$ac_ext
   6331 fi
   6332 
   6333 
   6334 		CFLAGS="$xorg_testset_save_CFLAGS"
   6335 
   6336 		eval supported=\$$cacheid
   6337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6338 $as_echo "$supported" >&6; }
   6339 		if test "$supported" = "yes" ; then
   6340 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6341 			found="yes"
   6342 		fi
   6343 	fi
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 xorg_testset_save_CFLAGS="$CFLAGS"
   6360 
   6361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6364 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6365 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6366   $as_echo_n "(cached) " >&6
   6367 else
   6368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6369 /* end confdefs.h.  */
   6370 int i;
   6371 _ACEOF
   6372 if ac_fn_c_try_compile "$LINENO"; then :
   6373   xorg_cv_cc_flag_unknown_warning_option=yes
   6374 else
   6375   xorg_cv_cc_flag_unknown_warning_option=no
   6376 fi
   6377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6378 fi
   6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6380 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6382 	CFLAGS="$xorg_testset_save_CFLAGS"
   6383 fi
   6384 
   6385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6388 	fi
   6389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6392 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6393   $as_echo_n "(cached) " >&6
   6394 else
   6395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6396 /* end confdefs.h.  */
   6397 int i;
   6398 _ACEOF
   6399 if ac_fn_c_try_compile "$LINENO"; then :
   6400   xorg_cv_cc_flag_unused_command_line_argument=yes
   6401 else
   6402   xorg_cv_cc_flag_unused_command_line_argument=no
   6403 fi
   6404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6405 fi
   6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6407 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6409 	CFLAGS="$xorg_testset_save_CFLAGS"
   6410 fi
   6411 
   6412 found="no"
   6413 
   6414 	if test $found = "no" ; then
   6415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6417 		fi
   6418 
   6419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6421 		fi
   6422 
   6423 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6424 
   6425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6426 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6427 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6428 		if eval \${$cacheid+:} false; then :
   6429   $as_echo_n "(cached) " >&6
   6430 else
   6431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6432 /* end confdefs.h.  */
   6433 int i;
   6434 int
   6435 main ()
   6436 {
   6437 
   6438   ;
   6439   return 0;
   6440 }
   6441 _ACEOF
   6442 if ac_fn_c_try_link "$LINENO"; then :
   6443   eval $cacheid=yes
   6444 else
   6445   eval $cacheid=no
   6446 fi
   6447 rm -f core conftest.err conftest.$ac_objext \
   6448     conftest$ac_exeext conftest.$ac_ext
   6449 fi
   6450 
   6451 
   6452 		CFLAGS="$xorg_testset_save_CFLAGS"
   6453 
   6454 		eval supported=\$$cacheid
   6455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6456 $as_echo "$supported" >&6; }
   6457 		if test "$supported" = "yes" ; then
   6458 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6459 			found="yes"
   6460 		fi
   6461 	fi
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 # This chunk adds additional warnings that could catch undesired effects.
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 xorg_testset_save_CFLAGS="$CFLAGS"
   6482 
   6483 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6484 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6486 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6487 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6488   $as_echo_n "(cached) " >&6
   6489 else
   6490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6491 /* end confdefs.h.  */
   6492 int i;
   6493 _ACEOF
   6494 if ac_fn_c_try_compile "$LINENO"; then :
   6495   xorg_cv_cc_flag_unknown_warning_option=yes
   6496 else
   6497   xorg_cv_cc_flag_unknown_warning_option=no
   6498 fi
   6499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6500 fi
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6502 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6504 	CFLAGS="$xorg_testset_save_CFLAGS"
   6505 fi
   6506 
   6507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6510 	fi
   6511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6512 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6513 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6514 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6515   $as_echo_n "(cached) " >&6
   6516 else
   6517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6518 /* end confdefs.h.  */
   6519 int i;
   6520 _ACEOF
   6521 if ac_fn_c_try_compile "$LINENO"; then :
   6522   xorg_cv_cc_flag_unused_command_line_argument=yes
   6523 else
   6524   xorg_cv_cc_flag_unused_command_line_argument=no
   6525 fi
   6526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6527 fi
   6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6529 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6530 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6531 	CFLAGS="$xorg_testset_save_CFLAGS"
   6532 fi
   6533 
   6534 found="no"
   6535 
   6536 	if test $found = "no" ; then
   6537 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6538 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6539 		fi
   6540 
   6541 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6542 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6543 		fi
   6544 
   6545 		CFLAGS="$CFLAGS -Wunused"
   6546 
   6547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6548 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6549 		cacheid=xorg_cv_cc_flag__Wunused
   6550 		if eval \${$cacheid+:} false; then :
   6551   $as_echo_n "(cached) " >&6
   6552 else
   6553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6554 /* end confdefs.h.  */
   6555 int i;
   6556 int
   6557 main ()
   6558 {
   6559 
   6560   ;
   6561   return 0;
   6562 }
   6563 _ACEOF
   6564 if ac_fn_c_try_link "$LINENO"; then :
   6565   eval $cacheid=yes
   6566 else
   6567   eval $cacheid=no
   6568 fi
   6569 rm -f core conftest.err conftest.$ac_objext \
   6570     conftest$ac_exeext conftest.$ac_ext
   6571 fi
   6572 
   6573 
   6574 		CFLAGS="$xorg_testset_save_CFLAGS"
   6575 
   6576 		eval supported=\$$cacheid
   6577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6578 $as_echo "$supported" >&6; }
   6579 		if test "$supported" = "yes" ; then
   6580 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6581 			found="yes"
   6582 		fi
   6583 	fi
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 xorg_testset_save_CFLAGS="$CFLAGS"
   6600 
   6601 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6602 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6604 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6605 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6606   $as_echo_n "(cached) " >&6
   6607 else
   6608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6609 /* end confdefs.h.  */
   6610 int i;
   6611 _ACEOF
   6612 if ac_fn_c_try_compile "$LINENO"; then :
   6613   xorg_cv_cc_flag_unknown_warning_option=yes
   6614 else
   6615   xorg_cv_cc_flag_unknown_warning_option=no
   6616 fi
   6617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6618 fi
   6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6620 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6621 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6622 	CFLAGS="$xorg_testset_save_CFLAGS"
   6623 fi
   6624 
   6625 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6626 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6627 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6628 	fi
   6629 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6630 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6631 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6632 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6633   $as_echo_n "(cached) " >&6
   6634 else
   6635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6636 /* end confdefs.h.  */
   6637 int i;
   6638 _ACEOF
   6639 if ac_fn_c_try_compile "$LINENO"; then :
   6640   xorg_cv_cc_flag_unused_command_line_argument=yes
   6641 else
   6642   xorg_cv_cc_flag_unused_command_line_argument=no
   6643 fi
   6644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6645 fi
   6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6647 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6648 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6649 	CFLAGS="$xorg_testset_save_CFLAGS"
   6650 fi
   6651 
   6652 found="no"
   6653 
   6654 	if test $found = "no" ; then
   6655 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6656 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6657 		fi
   6658 
   6659 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6660 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6661 		fi
   6662 
   6663 		CFLAGS="$CFLAGS -Wuninitialized"
   6664 
   6665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6666 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6667 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6668 		if eval \${$cacheid+:} false; then :
   6669   $as_echo_n "(cached) " >&6
   6670 else
   6671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6672 /* end confdefs.h.  */
   6673 int i;
   6674 int
   6675 main ()
   6676 {
   6677 
   6678   ;
   6679   return 0;
   6680 }
   6681 _ACEOF
   6682 if ac_fn_c_try_link "$LINENO"; then :
   6683   eval $cacheid=yes
   6684 else
   6685   eval $cacheid=no
   6686 fi
   6687 rm -f core conftest.err conftest.$ac_objext \
   6688     conftest$ac_exeext conftest.$ac_ext
   6689 fi
   6690 
   6691 
   6692 		CFLAGS="$xorg_testset_save_CFLAGS"
   6693 
   6694 		eval supported=\$$cacheid
   6695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6696 $as_echo "$supported" >&6; }
   6697 		if test "$supported" = "yes" ; then
   6698 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6699 			found="yes"
   6700 		fi
   6701 	fi
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 xorg_testset_save_CFLAGS="$CFLAGS"
   6718 
   6719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6722 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6723 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6724   $as_echo_n "(cached) " >&6
   6725 else
   6726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6727 /* end confdefs.h.  */
   6728 int i;
   6729 _ACEOF
   6730 if ac_fn_c_try_compile "$LINENO"; then :
   6731   xorg_cv_cc_flag_unknown_warning_option=yes
   6732 else
   6733   xorg_cv_cc_flag_unknown_warning_option=no
   6734 fi
   6735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6736 fi
   6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6738 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6740 	CFLAGS="$xorg_testset_save_CFLAGS"
   6741 fi
   6742 
   6743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6746 	fi
   6747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6749 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6750 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6751   $as_echo_n "(cached) " >&6
   6752 else
   6753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6754 /* end confdefs.h.  */
   6755 int i;
   6756 _ACEOF
   6757 if ac_fn_c_try_compile "$LINENO"; then :
   6758   xorg_cv_cc_flag_unused_command_line_argument=yes
   6759 else
   6760   xorg_cv_cc_flag_unused_command_line_argument=no
   6761 fi
   6762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6763 fi
   6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6765 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6766 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6767 	CFLAGS="$xorg_testset_save_CFLAGS"
   6768 fi
   6769 
   6770 found="no"
   6771 
   6772 	if test $found = "no" ; then
   6773 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6775 		fi
   6776 
   6777 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6779 		fi
   6780 
   6781 		CFLAGS="$CFLAGS -Wshadow"
   6782 
   6783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6784 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6785 		cacheid=xorg_cv_cc_flag__Wshadow
   6786 		if eval \${$cacheid+:} false; then :
   6787   $as_echo_n "(cached) " >&6
   6788 else
   6789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6790 /* end confdefs.h.  */
   6791 int i;
   6792 int
   6793 main ()
   6794 {
   6795 
   6796   ;
   6797   return 0;
   6798 }
   6799 _ACEOF
   6800 if ac_fn_c_try_link "$LINENO"; then :
   6801   eval $cacheid=yes
   6802 else
   6803   eval $cacheid=no
   6804 fi
   6805 rm -f core conftest.err conftest.$ac_objext \
   6806     conftest$ac_exeext conftest.$ac_ext
   6807 fi
   6808 
   6809 
   6810 		CFLAGS="$xorg_testset_save_CFLAGS"
   6811 
   6812 		eval supported=\$$cacheid
   6813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6814 $as_echo "$supported" >&6; }
   6815 		if test "$supported" = "yes" ; then
   6816 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6817 			found="yes"
   6818 		fi
   6819 	fi
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 xorg_testset_save_CFLAGS="$CFLAGS"
   6836 
   6837 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6838 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6840 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6841 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6842   $as_echo_n "(cached) " >&6
   6843 else
   6844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6845 /* end confdefs.h.  */
   6846 int i;
   6847 _ACEOF
   6848 if ac_fn_c_try_compile "$LINENO"; then :
   6849   xorg_cv_cc_flag_unknown_warning_option=yes
   6850 else
   6851   xorg_cv_cc_flag_unknown_warning_option=no
   6852 fi
   6853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6854 fi
   6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6856 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6857 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6858 	CFLAGS="$xorg_testset_save_CFLAGS"
   6859 fi
   6860 
   6861 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6862 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6863 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6864 	fi
   6865 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6866 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6867 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6868 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6869   $as_echo_n "(cached) " >&6
   6870 else
   6871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6872 /* end confdefs.h.  */
   6873 int i;
   6874 _ACEOF
   6875 if ac_fn_c_try_compile "$LINENO"; then :
   6876   xorg_cv_cc_flag_unused_command_line_argument=yes
   6877 else
   6878   xorg_cv_cc_flag_unused_command_line_argument=no
   6879 fi
   6880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6881 fi
   6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6883 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6884 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6885 	CFLAGS="$xorg_testset_save_CFLAGS"
   6886 fi
   6887 
   6888 found="no"
   6889 
   6890 	if test $found = "no" ; then
   6891 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6892 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6893 		fi
   6894 
   6895 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6896 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6897 		fi
   6898 
   6899 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6900 
   6901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6902 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6903 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6904 		if eval \${$cacheid+:} false; then :
   6905   $as_echo_n "(cached) " >&6
   6906 else
   6907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6908 /* end confdefs.h.  */
   6909 int i;
   6910 int
   6911 main ()
   6912 {
   6913 
   6914   ;
   6915   return 0;
   6916 }
   6917 _ACEOF
   6918 if ac_fn_c_try_link "$LINENO"; then :
   6919   eval $cacheid=yes
   6920 else
   6921   eval $cacheid=no
   6922 fi
   6923 rm -f core conftest.err conftest.$ac_objext \
   6924     conftest$ac_exeext conftest.$ac_ext
   6925 fi
   6926 
   6927 
   6928 		CFLAGS="$xorg_testset_save_CFLAGS"
   6929 
   6930 		eval supported=\$$cacheid
   6931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6932 $as_echo "$supported" >&6; }
   6933 		if test "$supported" = "yes" ; then
   6934 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6935 			found="yes"
   6936 		fi
   6937 	fi
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 xorg_testset_save_CFLAGS="$CFLAGS"
   6954 
   6955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6958 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6959 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6960   $as_echo_n "(cached) " >&6
   6961 else
   6962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6963 /* end confdefs.h.  */
   6964 int i;
   6965 _ACEOF
   6966 if ac_fn_c_try_compile "$LINENO"; then :
   6967   xorg_cv_cc_flag_unknown_warning_option=yes
   6968 else
   6969   xorg_cv_cc_flag_unknown_warning_option=no
   6970 fi
   6971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6972 fi
   6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6974 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6975 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6976 	CFLAGS="$xorg_testset_save_CFLAGS"
   6977 fi
   6978 
   6979 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6980 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6981 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6982 	fi
   6983 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6984 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6985 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6986 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6987   $as_echo_n "(cached) " >&6
   6988 else
   6989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6990 /* end confdefs.h.  */
   6991 int i;
   6992 _ACEOF
   6993 if ac_fn_c_try_compile "$LINENO"; then :
   6994   xorg_cv_cc_flag_unused_command_line_argument=yes
   6995 else
   6996   xorg_cv_cc_flag_unused_command_line_argument=no
   6997 fi
   6998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6999 fi
   7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7001 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7003 	CFLAGS="$xorg_testset_save_CFLAGS"
   7004 fi
   7005 
   7006 found="no"
   7007 
   7008 	if test $found = "no" ; then
   7009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7011 		fi
   7012 
   7013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7015 		fi
   7016 
   7017 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7018 
   7019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7020 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7021 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7022 		if eval \${$cacheid+:} false; then :
   7023   $as_echo_n "(cached) " >&6
   7024 else
   7025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7026 /* end confdefs.h.  */
   7027 int i;
   7028 int
   7029 main ()
   7030 {
   7031 
   7032   ;
   7033   return 0;
   7034 }
   7035 _ACEOF
   7036 if ac_fn_c_try_link "$LINENO"; then :
   7037   eval $cacheid=yes
   7038 else
   7039   eval $cacheid=no
   7040 fi
   7041 rm -f core conftest.err conftest.$ac_objext \
   7042     conftest$ac_exeext conftest.$ac_ext
   7043 fi
   7044 
   7045 
   7046 		CFLAGS="$xorg_testset_save_CFLAGS"
   7047 
   7048 		eval supported=\$$cacheid
   7049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7050 $as_echo "$supported" >&6; }
   7051 		if test "$supported" = "yes" ; then
   7052 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7053 			found="yes"
   7054 		fi
   7055 	fi
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 xorg_testset_save_CFLAGS="$CFLAGS"
   7072 
   7073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7076 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7077 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7078   $as_echo_n "(cached) " >&6
   7079 else
   7080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7081 /* end confdefs.h.  */
   7082 int i;
   7083 _ACEOF
   7084 if ac_fn_c_try_compile "$LINENO"; then :
   7085   xorg_cv_cc_flag_unknown_warning_option=yes
   7086 else
   7087   xorg_cv_cc_flag_unknown_warning_option=no
   7088 fi
   7089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7090 fi
   7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7092 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7094 	CFLAGS="$xorg_testset_save_CFLAGS"
   7095 fi
   7096 
   7097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7100 	fi
   7101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7103 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7104 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7105   $as_echo_n "(cached) " >&6
   7106 else
   7107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7108 /* end confdefs.h.  */
   7109 int i;
   7110 _ACEOF
   7111 if ac_fn_c_try_compile "$LINENO"; then :
   7112   xorg_cv_cc_flag_unused_command_line_argument=yes
   7113 else
   7114   xorg_cv_cc_flag_unused_command_line_argument=no
   7115 fi
   7116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7117 fi
   7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7119 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7121 	CFLAGS="$xorg_testset_save_CFLAGS"
   7122 fi
   7123 
   7124 found="no"
   7125 
   7126 	if test $found = "no" ; then
   7127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7129 		fi
   7130 
   7131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7133 		fi
   7134 
   7135 		CFLAGS="$CFLAGS -Wredundant-decls"
   7136 
   7137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7138 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   7139 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7140 		if eval \${$cacheid+:} false; then :
   7141   $as_echo_n "(cached) " >&6
   7142 else
   7143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7144 /* end confdefs.h.  */
   7145 int i;
   7146 int
   7147 main ()
   7148 {
   7149 
   7150   ;
   7151   return 0;
   7152 }
   7153 _ACEOF
   7154 if ac_fn_c_try_link "$LINENO"; then :
   7155   eval $cacheid=yes
   7156 else
   7157   eval $cacheid=no
   7158 fi
   7159 rm -f core conftest.err conftest.$ac_objext \
   7160     conftest$ac_exeext conftest.$ac_ext
   7161 fi
   7162 
   7163 
   7164 		CFLAGS="$xorg_testset_save_CFLAGS"
   7165 
   7166 		eval supported=\$$cacheid
   7167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7168 $as_echo "$supported" >&6; }
   7169 		if test "$supported" = "yes" ; then
   7170 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7171 			found="yes"
   7172 		fi
   7173 	fi
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 xorg_testset_save_CFLAGS="$CFLAGS"
   7190 
   7191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7194 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7195 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7196   $as_echo_n "(cached) " >&6
   7197 else
   7198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7199 /* end confdefs.h.  */
   7200 int i;
   7201 _ACEOF
   7202 if ac_fn_c_try_compile "$LINENO"; then :
   7203   xorg_cv_cc_flag_unknown_warning_option=yes
   7204 else
   7205   xorg_cv_cc_flag_unknown_warning_option=no
   7206 fi
   7207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7208 fi
   7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7210 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7212 	CFLAGS="$xorg_testset_save_CFLAGS"
   7213 fi
   7214 
   7215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7218 	fi
   7219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7221 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7222 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7223   $as_echo_n "(cached) " >&6
   7224 else
   7225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7226 /* end confdefs.h.  */
   7227 int i;
   7228 _ACEOF
   7229 if ac_fn_c_try_compile "$LINENO"; then :
   7230   xorg_cv_cc_flag_unused_command_line_argument=yes
   7231 else
   7232   xorg_cv_cc_flag_unused_command_line_argument=no
   7233 fi
   7234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7235 fi
   7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7237 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7239 	CFLAGS="$xorg_testset_save_CFLAGS"
   7240 fi
   7241 
   7242 found="no"
   7243 
   7244 	if test $found = "no" ; then
   7245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7247 		fi
   7248 
   7249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7251 		fi
   7252 
   7253 		CFLAGS="$CFLAGS -Wlogical-op"
   7254 
   7255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7256 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   7257 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7258 		if eval \${$cacheid+:} false; then :
   7259   $as_echo_n "(cached) " >&6
   7260 else
   7261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7262 /* end confdefs.h.  */
   7263 int i;
   7264 int
   7265 main ()
   7266 {
   7267 
   7268   ;
   7269   return 0;
   7270 }
   7271 _ACEOF
   7272 if ac_fn_c_try_link "$LINENO"; then :
   7273   eval $cacheid=yes
   7274 else
   7275   eval $cacheid=no
   7276 fi
   7277 rm -f core conftest.err conftest.$ac_objext \
   7278     conftest$ac_exeext conftest.$ac_ext
   7279 fi
   7280 
   7281 
   7282 		CFLAGS="$xorg_testset_save_CFLAGS"
   7283 
   7284 		eval supported=\$$cacheid
   7285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7286 $as_echo "$supported" >&6; }
   7287 		if test "$supported" = "yes" ; then
   7288 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7289 			found="yes"
   7290 		fi
   7291 	fi
   7292 
   7293 
   7294 
   7295 # These are currently disabled because they are noisy.  They will be enabled
   7296 # in the future once the codebase is sufficiently modernized to silence
   7297 # them.  For now, I don't want them to drown out the other warnings.
   7298 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7299 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7300 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7301 
   7302 # Turn some warnings into errors, so we don't accidently get successful builds
   7303 # when there are problems that should be fixed.
   7304 
   7305 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 xorg_testset_save_CFLAGS="$CFLAGS"
   7320 
   7321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7324 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7325 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7326   $as_echo_n "(cached) " >&6
   7327 else
   7328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7329 /* end confdefs.h.  */
   7330 int i;
   7331 _ACEOF
   7332 if ac_fn_c_try_compile "$LINENO"; then :
   7333   xorg_cv_cc_flag_unknown_warning_option=yes
   7334 else
   7335   xorg_cv_cc_flag_unknown_warning_option=no
   7336 fi
   7337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7338 fi
   7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7340 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7342 	CFLAGS="$xorg_testset_save_CFLAGS"
   7343 fi
   7344 
   7345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7348 	fi
   7349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7351 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7352 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7353   $as_echo_n "(cached) " >&6
   7354 else
   7355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7356 /* end confdefs.h.  */
   7357 int i;
   7358 _ACEOF
   7359 if ac_fn_c_try_compile "$LINENO"; then :
   7360   xorg_cv_cc_flag_unused_command_line_argument=yes
   7361 else
   7362   xorg_cv_cc_flag_unused_command_line_argument=no
   7363 fi
   7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7365 fi
   7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7367 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7369 	CFLAGS="$xorg_testset_save_CFLAGS"
   7370 fi
   7371 
   7372 found="no"
   7373 
   7374 	if test $found = "no" ; then
   7375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7377 		fi
   7378 
   7379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7381 		fi
   7382 
   7383 		CFLAGS="$CFLAGS -Werror=implicit"
   7384 
   7385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7386 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7387 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7388 		if eval \${$cacheid+:} false; then :
   7389   $as_echo_n "(cached) " >&6
   7390 else
   7391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7392 /* end confdefs.h.  */
   7393 int i;
   7394 int
   7395 main ()
   7396 {
   7397 
   7398   ;
   7399   return 0;
   7400 }
   7401 _ACEOF
   7402 if ac_fn_c_try_link "$LINENO"; then :
   7403   eval $cacheid=yes
   7404 else
   7405   eval $cacheid=no
   7406 fi
   7407 rm -f core conftest.err conftest.$ac_objext \
   7408     conftest$ac_exeext conftest.$ac_ext
   7409 fi
   7410 
   7411 
   7412 		CFLAGS="$xorg_testset_save_CFLAGS"
   7413 
   7414 		eval supported=\$$cacheid
   7415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7416 $as_echo "$supported" >&6; }
   7417 		if test "$supported" = "yes" ; then
   7418 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7419 			found="yes"
   7420 		fi
   7421 	fi
   7422 
   7423 	if test $found = "no" ; then
   7424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7426 		fi
   7427 
   7428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7430 		fi
   7431 
   7432 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7433 
   7434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7435 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7436 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7437 		if eval \${$cacheid+:} false; then :
   7438   $as_echo_n "(cached) " >&6
   7439 else
   7440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7441 /* end confdefs.h.  */
   7442 int i;
   7443 int
   7444 main ()
   7445 {
   7446 
   7447   ;
   7448   return 0;
   7449 }
   7450 _ACEOF
   7451 if ac_fn_c_try_link "$LINENO"; then :
   7452   eval $cacheid=yes
   7453 else
   7454   eval $cacheid=no
   7455 fi
   7456 rm -f core conftest.err conftest.$ac_objext \
   7457     conftest$ac_exeext conftest.$ac_ext
   7458 fi
   7459 
   7460 
   7461 		CFLAGS="$xorg_testset_save_CFLAGS"
   7462 
   7463 		eval supported=\$$cacheid
   7464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7465 $as_echo "$supported" >&6; }
   7466 		if test "$supported" = "yes" ; then
   7467 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7468 			found="yes"
   7469 		fi
   7470 	fi
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 xorg_testset_save_CFLAGS="$CFLAGS"
   7487 
   7488 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7489 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7490 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7491 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7492 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7493   $as_echo_n "(cached) " >&6
   7494 else
   7495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7496 /* end confdefs.h.  */
   7497 int i;
   7498 _ACEOF
   7499 if ac_fn_c_try_compile "$LINENO"; then :
   7500   xorg_cv_cc_flag_unknown_warning_option=yes
   7501 else
   7502   xorg_cv_cc_flag_unknown_warning_option=no
   7503 fi
   7504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7505 fi
   7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7507 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7508 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7509 	CFLAGS="$xorg_testset_save_CFLAGS"
   7510 fi
   7511 
   7512 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7513 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7514 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7515 	fi
   7516 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7518 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7519 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7520   $as_echo_n "(cached) " >&6
   7521 else
   7522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7523 /* end confdefs.h.  */
   7524 int i;
   7525 _ACEOF
   7526 if ac_fn_c_try_compile "$LINENO"; then :
   7527   xorg_cv_cc_flag_unused_command_line_argument=yes
   7528 else
   7529   xorg_cv_cc_flag_unused_command_line_argument=no
   7530 fi
   7531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7532 fi
   7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7534 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7535 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7536 	CFLAGS="$xorg_testset_save_CFLAGS"
   7537 fi
   7538 
   7539 found="no"
   7540 
   7541 	if test $found = "no" ; then
   7542 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7543 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7544 		fi
   7545 
   7546 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7547 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7548 		fi
   7549 
   7550 		CFLAGS="$CFLAGS -Werror=nonnull"
   7551 
   7552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7553 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7554 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7555 		if eval \${$cacheid+:} false; then :
   7556   $as_echo_n "(cached) " >&6
   7557 else
   7558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7559 /* end confdefs.h.  */
   7560 int i;
   7561 int
   7562 main ()
   7563 {
   7564 
   7565   ;
   7566   return 0;
   7567 }
   7568 _ACEOF
   7569 if ac_fn_c_try_link "$LINENO"; then :
   7570   eval $cacheid=yes
   7571 else
   7572   eval $cacheid=no
   7573 fi
   7574 rm -f core conftest.err conftest.$ac_objext \
   7575     conftest$ac_exeext conftest.$ac_ext
   7576 fi
   7577 
   7578 
   7579 		CFLAGS="$xorg_testset_save_CFLAGS"
   7580 
   7581 		eval supported=\$$cacheid
   7582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7583 $as_echo "$supported" >&6; }
   7584 		if test "$supported" = "yes" ; then
   7585 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7586 			found="yes"
   7587 		fi
   7588 	fi
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 xorg_testset_save_CFLAGS="$CFLAGS"
   7605 
   7606 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7609 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7610 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7611   $as_echo_n "(cached) " >&6
   7612 else
   7613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7614 /* end confdefs.h.  */
   7615 int i;
   7616 _ACEOF
   7617 if ac_fn_c_try_compile "$LINENO"; then :
   7618   xorg_cv_cc_flag_unknown_warning_option=yes
   7619 else
   7620   xorg_cv_cc_flag_unknown_warning_option=no
   7621 fi
   7622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7623 fi
   7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7625 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7626 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7627 	CFLAGS="$xorg_testset_save_CFLAGS"
   7628 fi
   7629 
   7630 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7631 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7632 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7633 	fi
   7634 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7636 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7637 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7638   $as_echo_n "(cached) " >&6
   7639 else
   7640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7641 /* end confdefs.h.  */
   7642 int i;
   7643 _ACEOF
   7644 if ac_fn_c_try_compile "$LINENO"; then :
   7645   xorg_cv_cc_flag_unused_command_line_argument=yes
   7646 else
   7647   xorg_cv_cc_flag_unused_command_line_argument=no
   7648 fi
   7649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7650 fi
   7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7652 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7653 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7654 	CFLAGS="$xorg_testset_save_CFLAGS"
   7655 fi
   7656 
   7657 found="no"
   7658 
   7659 	if test $found = "no" ; then
   7660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7662 		fi
   7663 
   7664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7666 		fi
   7667 
   7668 		CFLAGS="$CFLAGS -Werror=init-self"
   7669 
   7670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7671 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7672 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7673 		if eval \${$cacheid+:} false; then :
   7674   $as_echo_n "(cached) " >&6
   7675 else
   7676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7677 /* end confdefs.h.  */
   7678 int i;
   7679 int
   7680 main ()
   7681 {
   7682 
   7683   ;
   7684   return 0;
   7685 }
   7686 _ACEOF
   7687 if ac_fn_c_try_link "$LINENO"; then :
   7688   eval $cacheid=yes
   7689 else
   7690   eval $cacheid=no
   7691 fi
   7692 rm -f core conftest.err conftest.$ac_objext \
   7693     conftest$ac_exeext conftest.$ac_ext
   7694 fi
   7695 
   7696 
   7697 		CFLAGS="$xorg_testset_save_CFLAGS"
   7698 
   7699 		eval supported=\$$cacheid
   7700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7701 $as_echo "$supported" >&6; }
   7702 		if test "$supported" = "yes" ; then
   7703 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7704 			found="yes"
   7705 		fi
   7706 	fi
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 xorg_testset_save_CFLAGS="$CFLAGS"
   7723 
   7724 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7725 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7727 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7728 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7729   $as_echo_n "(cached) " >&6
   7730 else
   7731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7732 /* end confdefs.h.  */
   7733 int i;
   7734 _ACEOF
   7735 if ac_fn_c_try_compile "$LINENO"; then :
   7736   xorg_cv_cc_flag_unknown_warning_option=yes
   7737 else
   7738   xorg_cv_cc_flag_unknown_warning_option=no
   7739 fi
   7740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7741 fi
   7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7743 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7744 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7745 	CFLAGS="$xorg_testset_save_CFLAGS"
   7746 fi
   7747 
   7748 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7749 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7750 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7751 	fi
   7752 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7754 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7755 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7756   $as_echo_n "(cached) " >&6
   7757 else
   7758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7759 /* end confdefs.h.  */
   7760 int i;
   7761 _ACEOF
   7762 if ac_fn_c_try_compile "$LINENO"; then :
   7763   xorg_cv_cc_flag_unused_command_line_argument=yes
   7764 else
   7765   xorg_cv_cc_flag_unused_command_line_argument=no
   7766 fi
   7767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7768 fi
   7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7770 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7771 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7772 	CFLAGS="$xorg_testset_save_CFLAGS"
   7773 fi
   7774 
   7775 found="no"
   7776 
   7777 	if test $found = "no" ; then
   7778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7780 		fi
   7781 
   7782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7784 		fi
   7785 
   7786 		CFLAGS="$CFLAGS -Werror=main"
   7787 
   7788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7789 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7790 		cacheid=xorg_cv_cc_flag__Werror_main
   7791 		if eval \${$cacheid+:} false; then :
   7792   $as_echo_n "(cached) " >&6
   7793 else
   7794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7795 /* end confdefs.h.  */
   7796 int i;
   7797 int
   7798 main ()
   7799 {
   7800 
   7801   ;
   7802   return 0;
   7803 }
   7804 _ACEOF
   7805 if ac_fn_c_try_link "$LINENO"; then :
   7806   eval $cacheid=yes
   7807 else
   7808   eval $cacheid=no
   7809 fi
   7810 rm -f core conftest.err conftest.$ac_objext \
   7811     conftest$ac_exeext conftest.$ac_ext
   7812 fi
   7813 
   7814 
   7815 		CFLAGS="$xorg_testset_save_CFLAGS"
   7816 
   7817 		eval supported=\$$cacheid
   7818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7819 $as_echo "$supported" >&6; }
   7820 		if test "$supported" = "yes" ; then
   7821 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7822 			found="yes"
   7823 		fi
   7824 	fi
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 xorg_testset_save_CFLAGS="$CFLAGS"
   7841 
   7842 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7843 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7845 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7846 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7847   $as_echo_n "(cached) " >&6
   7848 else
   7849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7850 /* end confdefs.h.  */
   7851 int i;
   7852 _ACEOF
   7853 if ac_fn_c_try_compile "$LINENO"; then :
   7854   xorg_cv_cc_flag_unknown_warning_option=yes
   7855 else
   7856   xorg_cv_cc_flag_unknown_warning_option=no
   7857 fi
   7858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7859 fi
   7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7861 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7862 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7863 	CFLAGS="$xorg_testset_save_CFLAGS"
   7864 fi
   7865 
   7866 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7867 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7868 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7869 	fi
   7870 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7872 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7873 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7874   $as_echo_n "(cached) " >&6
   7875 else
   7876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7877 /* end confdefs.h.  */
   7878 int i;
   7879 _ACEOF
   7880 if ac_fn_c_try_compile "$LINENO"; then :
   7881   xorg_cv_cc_flag_unused_command_line_argument=yes
   7882 else
   7883   xorg_cv_cc_flag_unused_command_line_argument=no
   7884 fi
   7885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7886 fi
   7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7888 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7889 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7890 	CFLAGS="$xorg_testset_save_CFLAGS"
   7891 fi
   7892 
   7893 found="no"
   7894 
   7895 	if test $found = "no" ; then
   7896 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7897 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7898 		fi
   7899 
   7900 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7901 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7902 		fi
   7903 
   7904 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7905 
   7906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7907 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7908 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7909 		if eval \${$cacheid+:} false; then :
   7910   $as_echo_n "(cached) " >&6
   7911 else
   7912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7913 /* end confdefs.h.  */
   7914 int i;
   7915 int
   7916 main ()
   7917 {
   7918 
   7919   ;
   7920   return 0;
   7921 }
   7922 _ACEOF
   7923 if ac_fn_c_try_link "$LINENO"; then :
   7924   eval $cacheid=yes
   7925 else
   7926   eval $cacheid=no
   7927 fi
   7928 rm -f core conftest.err conftest.$ac_objext \
   7929     conftest$ac_exeext conftest.$ac_ext
   7930 fi
   7931 
   7932 
   7933 		CFLAGS="$xorg_testset_save_CFLAGS"
   7934 
   7935 		eval supported=\$$cacheid
   7936 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7937 $as_echo "$supported" >&6; }
   7938 		if test "$supported" = "yes" ; then
   7939 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7940 			found="yes"
   7941 		fi
   7942 	fi
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 xorg_testset_save_CFLAGS="$CFLAGS"
   7959 
   7960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7963 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7964 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7965   $as_echo_n "(cached) " >&6
   7966 else
   7967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7968 /* end confdefs.h.  */
   7969 int i;
   7970 _ACEOF
   7971 if ac_fn_c_try_compile "$LINENO"; then :
   7972   xorg_cv_cc_flag_unknown_warning_option=yes
   7973 else
   7974   xorg_cv_cc_flag_unknown_warning_option=no
   7975 fi
   7976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7977 fi
   7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7979 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7980 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7981 	CFLAGS="$xorg_testset_save_CFLAGS"
   7982 fi
   7983 
   7984 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7985 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7986 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7987 	fi
   7988 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7990 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7991 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7992   $as_echo_n "(cached) " >&6
   7993 else
   7994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7995 /* end confdefs.h.  */
   7996 int i;
   7997 _ACEOF
   7998 if ac_fn_c_try_compile "$LINENO"; then :
   7999   xorg_cv_cc_flag_unused_command_line_argument=yes
   8000 else
   8001   xorg_cv_cc_flag_unused_command_line_argument=no
   8002 fi
   8003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8004 fi
   8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8006 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8007 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8008 	CFLAGS="$xorg_testset_save_CFLAGS"
   8009 fi
   8010 
   8011 found="no"
   8012 
   8013 	if test $found = "no" ; then
   8014 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8016 		fi
   8017 
   8018 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8020 		fi
   8021 
   8022 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8023 
   8024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8025 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   8026 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8027 		if eval \${$cacheid+:} false; then :
   8028   $as_echo_n "(cached) " >&6
   8029 else
   8030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8031 /* end confdefs.h.  */
   8032 int i;
   8033 int
   8034 main ()
   8035 {
   8036 
   8037   ;
   8038   return 0;
   8039 }
   8040 _ACEOF
   8041 if ac_fn_c_try_link "$LINENO"; then :
   8042   eval $cacheid=yes
   8043 else
   8044   eval $cacheid=no
   8045 fi
   8046 rm -f core conftest.err conftest.$ac_objext \
   8047     conftest$ac_exeext conftest.$ac_ext
   8048 fi
   8049 
   8050 
   8051 		CFLAGS="$xorg_testset_save_CFLAGS"
   8052 
   8053 		eval supported=\$$cacheid
   8054 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8055 $as_echo "$supported" >&6; }
   8056 		if test "$supported" = "yes" ; then
   8057 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8058 			found="yes"
   8059 		fi
   8060 	fi
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 xorg_testset_save_CFLAGS="$CFLAGS"
   8077 
   8078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8080 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8081 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8082 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8083   $as_echo_n "(cached) " >&6
   8084 else
   8085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8086 /* end confdefs.h.  */
   8087 int i;
   8088 _ACEOF
   8089 if ac_fn_c_try_compile "$LINENO"; then :
   8090   xorg_cv_cc_flag_unknown_warning_option=yes
   8091 else
   8092   xorg_cv_cc_flag_unknown_warning_option=no
   8093 fi
   8094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8095 fi
   8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8097 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8098 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8099 	CFLAGS="$xorg_testset_save_CFLAGS"
   8100 fi
   8101 
   8102 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8103 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8105 	fi
   8106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8107 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8108 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8109 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8110   $as_echo_n "(cached) " >&6
   8111 else
   8112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8113 /* end confdefs.h.  */
   8114 int i;
   8115 _ACEOF
   8116 if ac_fn_c_try_compile "$LINENO"; then :
   8117   xorg_cv_cc_flag_unused_command_line_argument=yes
   8118 else
   8119   xorg_cv_cc_flag_unused_command_line_argument=no
   8120 fi
   8121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8122 fi
   8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8124 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8125 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8126 	CFLAGS="$xorg_testset_save_CFLAGS"
   8127 fi
   8128 
   8129 found="no"
   8130 
   8131 	if test $found = "no" ; then
   8132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8134 		fi
   8135 
   8136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8138 		fi
   8139 
   8140 		CFLAGS="$CFLAGS -Werror=return-type"
   8141 
   8142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8143 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   8144 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8145 		if eval \${$cacheid+:} false; then :
   8146   $as_echo_n "(cached) " >&6
   8147 else
   8148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8149 /* end confdefs.h.  */
   8150 int i;
   8151 int
   8152 main ()
   8153 {
   8154 
   8155   ;
   8156   return 0;
   8157 }
   8158 _ACEOF
   8159 if ac_fn_c_try_link "$LINENO"; then :
   8160   eval $cacheid=yes
   8161 else
   8162   eval $cacheid=no
   8163 fi
   8164 rm -f core conftest.err conftest.$ac_objext \
   8165     conftest$ac_exeext conftest.$ac_ext
   8166 fi
   8167 
   8168 
   8169 		CFLAGS="$xorg_testset_save_CFLAGS"
   8170 
   8171 		eval supported=\$$cacheid
   8172 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8173 $as_echo "$supported" >&6; }
   8174 		if test "$supported" = "yes" ; then
   8175 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8176 			found="yes"
   8177 		fi
   8178 	fi
   8179 
   8180 	if test $found = "no" ; then
   8181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8183 		fi
   8184 
   8185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8187 		fi
   8188 
   8189 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8190 
   8191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8192 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8193 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8194 		if eval \${$cacheid+:} false; then :
   8195   $as_echo_n "(cached) " >&6
   8196 else
   8197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8198 /* end confdefs.h.  */
   8199 int i;
   8200 int
   8201 main ()
   8202 {
   8203 
   8204   ;
   8205   return 0;
   8206 }
   8207 _ACEOF
   8208 if ac_fn_c_try_link "$LINENO"; then :
   8209   eval $cacheid=yes
   8210 else
   8211   eval $cacheid=no
   8212 fi
   8213 rm -f core conftest.err conftest.$ac_objext \
   8214     conftest$ac_exeext conftest.$ac_ext
   8215 fi
   8216 
   8217 
   8218 		CFLAGS="$xorg_testset_save_CFLAGS"
   8219 
   8220 		eval supported=\$$cacheid
   8221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8222 $as_echo "$supported" >&6; }
   8223 		if test "$supported" = "yes" ; then
   8224 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8225 			found="yes"
   8226 		fi
   8227 	fi
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 xorg_testset_save_CFLAGS="$CFLAGS"
   8244 
   8245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8248 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8249 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8250   $as_echo_n "(cached) " >&6
   8251 else
   8252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8253 /* end confdefs.h.  */
   8254 int i;
   8255 _ACEOF
   8256 if ac_fn_c_try_compile "$LINENO"; then :
   8257   xorg_cv_cc_flag_unknown_warning_option=yes
   8258 else
   8259   xorg_cv_cc_flag_unknown_warning_option=no
   8260 fi
   8261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8262 fi
   8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8264 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8266 	CFLAGS="$xorg_testset_save_CFLAGS"
   8267 fi
   8268 
   8269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8272 	fi
   8273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8275 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8276 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8277   $as_echo_n "(cached) " >&6
   8278 else
   8279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8280 /* end confdefs.h.  */
   8281 int i;
   8282 _ACEOF
   8283 if ac_fn_c_try_compile "$LINENO"; then :
   8284   xorg_cv_cc_flag_unused_command_line_argument=yes
   8285 else
   8286   xorg_cv_cc_flag_unused_command_line_argument=no
   8287 fi
   8288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8289 fi
   8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8291 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8292 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8293 	CFLAGS="$xorg_testset_save_CFLAGS"
   8294 fi
   8295 
   8296 found="no"
   8297 
   8298 	if test $found = "no" ; then
   8299 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8300 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8301 		fi
   8302 
   8303 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8304 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8305 		fi
   8306 
   8307 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8308 
   8309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8310 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8311 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8312 		if eval \${$cacheid+:} false; then :
   8313   $as_echo_n "(cached) " >&6
   8314 else
   8315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8316 /* end confdefs.h.  */
   8317 int i;
   8318 int
   8319 main ()
   8320 {
   8321 
   8322   ;
   8323   return 0;
   8324 }
   8325 _ACEOF
   8326 if ac_fn_c_try_link "$LINENO"; then :
   8327   eval $cacheid=yes
   8328 else
   8329   eval $cacheid=no
   8330 fi
   8331 rm -f core conftest.err conftest.$ac_objext \
   8332     conftest$ac_exeext conftest.$ac_ext
   8333 fi
   8334 
   8335 
   8336 		CFLAGS="$xorg_testset_save_CFLAGS"
   8337 
   8338 		eval supported=\$$cacheid
   8339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8340 $as_echo "$supported" >&6; }
   8341 		if test "$supported" = "yes" ; then
   8342 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8343 			found="yes"
   8344 		fi
   8345 	fi
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 
   8360 
   8361 xorg_testset_save_CFLAGS="$CFLAGS"
   8362 
   8363 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8364 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8365 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8366 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8367 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8368   $as_echo_n "(cached) " >&6
   8369 else
   8370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8371 /* end confdefs.h.  */
   8372 int i;
   8373 _ACEOF
   8374 if ac_fn_c_try_compile "$LINENO"; then :
   8375   xorg_cv_cc_flag_unknown_warning_option=yes
   8376 else
   8377   xorg_cv_cc_flag_unknown_warning_option=no
   8378 fi
   8379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8380 fi
   8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8382 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8383 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8384 	CFLAGS="$xorg_testset_save_CFLAGS"
   8385 fi
   8386 
   8387 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8388 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8389 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8390 	fi
   8391 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8393 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8394 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8395   $as_echo_n "(cached) " >&6
   8396 else
   8397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8398 /* end confdefs.h.  */
   8399 int i;
   8400 _ACEOF
   8401 if ac_fn_c_try_compile "$LINENO"; then :
   8402   xorg_cv_cc_flag_unused_command_line_argument=yes
   8403 else
   8404   xorg_cv_cc_flag_unused_command_line_argument=no
   8405 fi
   8406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8407 fi
   8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8409 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8411 	CFLAGS="$xorg_testset_save_CFLAGS"
   8412 fi
   8413 
   8414 found="no"
   8415 
   8416 	if test $found = "no" ; then
   8417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8419 		fi
   8420 
   8421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8423 		fi
   8424 
   8425 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8426 
   8427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8428 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8429 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8430 		if eval \${$cacheid+:} false; then :
   8431   $as_echo_n "(cached) " >&6
   8432 else
   8433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8434 /* end confdefs.h.  */
   8435 int i;
   8436 int
   8437 main ()
   8438 {
   8439 
   8440   ;
   8441   return 0;
   8442 }
   8443 _ACEOF
   8444 if ac_fn_c_try_link "$LINENO"; then :
   8445   eval $cacheid=yes
   8446 else
   8447   eval $cacheid=no
   8448 fi
   8449 rm -f core conftest.err conftest.$ac_objext \
   8450     conftest$ac_exeext conftest.$ac_ext
   8451 fi
   8452 
   8453 
   8454 		CFLAGS="$xorg_testset_save_CFLAGS"
   8455 
   8456 		eval supported=\$$cacheid
   8457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8458 $as_echo "$supported" >&6; }
   8459 		if test "$supported" = "yes" ; then
   8460 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8461 			found="yes"
   8462 		fi
   8463 	fi
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 xorg_testset_save_CFLAGS="$CFLAGS"
   8480 
   8481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8484 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8485 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8486   $as_echo_n "(cached) " >&6
   8487 else
   8488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8489 /* end confdefs.h.  */
   8490 int i;
   8491 _ACEOF
   8492 if ac_fn_c_try_compile "$LINENO"; then :
   8493   xorg_cv_cc_flag_unknown_warning_option=yes
   8494 else
   8495   xorg_cv_cc_flag_unknown_warning_option=no
   8496 fi
   8497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8498 fi
   8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8500 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8502 	CFLAGS="$xorg_testset_save_CFLAGS"
   8503 fi
   8504 
   8505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8508 	fi
   8509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8511 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8512 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8513   $as_echo_n "(cached) " >&6
   8514 else
   8515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8516 /* end confdefs.h.  */
   8517 int i;
   8518 _ACEOF
   8519 if ac_fn_c_try_compile "$LINENO"; then :
   8520   xorg_cv_cc_flag_unused_command_line_argument=yes
   8521 else
   8522   xorg_cv_cc_flag_unused_command_line_argument=no
   8523 fi
   8524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8525 fi
   8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8527 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8529 	CFLAGS="$xorg_testset_save_CFLAGS"
   8530 fi
   8531 
   8532 found="no"
   8533 
   8534 	if test $found = "no" ; then
   8535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8537 		fi
   8538 
   8539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8541 		fi
   8542 
   8543 		CFLAGS="$CFLAGS -Werror=write-strings"
   8544 
   8545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8546 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8547 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8548 		if eval \${$cacheid+:} false; then :
   8549   $as_echo_n "(cached) " >&6
   8550 else
   8551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8552 /* end confdefs.h.  */
   8553 int i;
   8554 int
   8555 main ()
   8556 {
   8557 
   8558   ;
   8559   return 0;
   8560 }
   8561 _ACEOF
   8562 if ac_fn_c_try_link "$LINENO"; then :
   8563   eval $cacheid=yes
   8564 else
   8565   eval $cacheid=no
   8566 fi
   8567 rm -f core conftest.err conftest.$ac_objext \
   8568     conftest$ac_exeext conftest.$ac_ext
   8569 fi
   8570 
   8571 
   8572 		CFLAGS="$xorg_testset_save_CFLAGS"
   8573 
   8574 		eval supported=\$$cacheid
   8575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8576 $as_echo "$supported" >&6; }
   8577 		if test "$supported" = "yes" ; then
   8578 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8579 			found="yes"
   8580 		fi
   8581 	fi
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 xorg_testset_save_CFLAGS="$CFLAGS"
   8598 
   8599 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8600 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8602 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8603 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8604   $as_echo_n "(cached) " >&6
   8605 else
   8606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8607 /* end confdefs.h.  */
   8608 int i;
   8609 _ACEOF
   8610 if ac_fn_c_try_compile "$LINENO"; then :
   8611   xorg_cv_cc_flag_unknown_warning_option=yes
   8612 else
   8613   xorg_cv_cc_flag_unknown_warning_option=no
   8614 fi
   8615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8616 fi
   8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8618 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8619 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8620 	CFLAGS="$xorg_testset_save_CFLAGS"
   8621 fi
   8622 
   8623 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8624 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8625 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8626 	fi
   8627 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8629 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8630 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8631   $as_echo_n "(cached) " >&6
   8632 else
   8633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8634 /* end confdefs.h.  */
   8635 int i;
   8636 _ACEOF
   8637 if ac_fn_c_try_compile "$LINENO"; then :
   8638   xorg_cv_cc_flag_unused_command_line_argument=yes
   8639 else
   8640   xorg_cv_cc_flag_unused_command_line_argument=no
   8641 fi
   8642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8643 fi
   8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8645 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8647 	CFLAGS="$xorg_testset_save_CFLAGS"
   8648 fi
   8649 
   8650 found="no"
   8651 
   8652 	if test $found = "no" ; then
   8653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8655 		fi
   8656 
   8657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8659 		fi
   8660 
   8661 		CFLAGS="$CFLAGS -Werror=address"
   8662 
   8663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8664 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8665 		cacheid=xorg_cv_cc_flag__Werror_address
   8666 		if eval \${$cacheid+:} false; then :
   8667   $as_echo_n "(cached) " >&6
   8668 else
   8669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8670 /* end confdefs.h.  */
   8671 int i;
   8672 int
   8673 main ()
   8674 {
   8675 
   8676   ;
   8677   return 0;
   8678 }
   8679 _ACEOF
   8680 if ac_fn_c_try_link "$LINENO"; then :
   8681   eval $cacheid=yes
   8682 else
   8683   eval $cacheid=no
   8684 fi
   8685 rm -f core conftest.err conftest.$ac_objext \
   8686     conftest$ac_exeext conftest.$ac_ext
   8687 fi
   8688 
   8689 
   8690 		CFLAGS="$xorg_testset_save_CFLAGS"
   8691 
   8692 		eval supported=\$$cacheid
   8693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8694 $as_echo "$supported" >&6; }
   8695 		if test "$supported" = "yes" ; then
   8696 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8697 			found="yes"
   8698 		fi
   8699 	fi
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 xorg_testset_save_CFLAGS="$CFLAGS"
   8716 
   8717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8720 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8721 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8722   $as_echo_n "(cached) " >&6
   8723 else
   8724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8725 /* end confdefs.h.  */
   8726 int i;
   8727 _ACEOF
   8728 if ac_fn_c_try_compile "$LINENO"; then :
   8729   xorg_cv_cc_flag_unknown_warning_option=yes
   8730 else
   8731   xorg_cv_cc_flag_unknown_warning_option=no
   8732 fi
   8733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8734 fi
   8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8736 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8737 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8738 	CFLAGS="$xorg_testset_save_CFLAGS"
   8739 fi
   8740 
   8741 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8742 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8744 	fi
   8745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8747 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8748 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8749   $as_echo_n "(cached) " >&6
   8750 else
   8751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8752 /* end confdefs.h.  */
   8753 int i;
   8754 _ACEOF
   8755 if ac_fn_c_try_compile "$LINENO"; then :
   8756   xorg_cv_cc_flag_unused_command_line_argument=yes
   8757 else
   8758   xorg_cv_cc_flag_unused_command_line_argument=no
   8759 fi
   8760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8761 fi
   8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8763 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8765 	CFLAGS="$xorg_testset_save_CFLAGS"
   8766 fi
   8767 
   8768 found="no"
   8769 
   8770 	if test $found = "no" ; then
   8771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8773 		fi
   8774 
   8775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8777 		fi
   8778 
   8779 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8780 
   8781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8782 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8783 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8784 		if eval \${$cacheid+:} false; then :
   8785   $as_echo_n "(cached) " >&6
   8786 else
   8787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8788 /* end confdefs.h.  */
   8789 int i;
   8790 int
   8791 main ()
   8792 {
   8793 
   8794   ;
   8795   return 0;
   8796 }
   8797 _ACEOF
   8798 if ac_fn_c_try_link "$LINENO"; then :
   8799   eval $cacheid=yes
   8800 else
   8801   eval $cacheid=no
   8802 fi
   8803 rm -f core conftest.err conftest.$ac_objext \
   8804     conftest$ac_exeext conftest.$ac_ext
   8805 fi
   8806 
   8807 
   8808 		CFLAGS="$xorg_testset_save_CFLAGS"
   8809 
   8810 		eval supported=\$$cacheid
   8811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8812 $as_echo "$supported" >&6; }
   8813 		if test "$supported" = "yes" ; then
   8814 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8815 			found="yes"
   8816 		fi
   8817 	fi
   8818 
   8819 	if test $found = "no" ; then
   8820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8822 		fi
   8823 
   8824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8826 		fi
   8827 
   8828 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8829 
   8830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8831 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8832 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8833 		if eval \${$cacheid+:} false; then :
   8834   $as_echo_n "(cached) " >&6
   8835 else
   8836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8837 /* end confdefs.h.  */
   8838 int i;
   8839 int
   8840 main ()
   8841 {
   8842 
   8843   ;
   8844   return 0;
   8845 }
   8846 _ACEOF
   8847 if ac_fn_c_try_link "$LINENO"; then :
   8848   eval $cacheid=yes
   8849 else
   8850   eval $cacheid=no
   8851 fi
   8852 rm -f core conftest.err conftest.$ac_objext \
   8853     conftest$ac_exeext conftest.$ac_ext
   8854 fi
   8855 
   8856 
   8857 		CFLAGS="$xorg_testset_save_CFLAGS"
   8858 
   8859 		eval supported=\$$cacheid
   8860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8861 $as_echo "$supported" >&6; }
   8862 		if test "$supported" = "yes" ; then
   8863 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8864 			found="yes"
   8865 		fi
   8866 	fi
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 xorg_testset_save_CFLAGS="$CFLAGS"
   8883 
   8884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8887 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8888 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8889   $as_echo_n "(cached) " >&6
   8890 else
   8891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8892 /* end confdefs.h.  */
   8893 int i;
   8894 _ACEOF
   8895 if ac_fn_c_try_compile "$LINENO"; then :
   8896   xorg_cv_cc_flag_unknown_warning_option=yes
   8897 else
   8898   xorg_cv_cc_flag_unknown_warning_option=no
   8899 fi
   8900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8901 fi
   8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8903 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8905 	CFLAGS="$xorg_testset_save_CFLAGS"
   8906 fi
   8907 
   8908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8911 	fi
   8912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8914 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8915 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8916   $as_echo_n "(cached) " >&6
   8917 else
   8918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8919 /* end confdefs.h.  */
   8920 int i;
   8921 _ACEOF
   8922 if ac_fn_c_try_compile "$LINENO"; then :
   8923   xorg_cv_cc_flag_unused_command_line_argument=yes
   8924 else
   8925   xorg_cv_cc_flag_unused_command_line_argument=no
   8926 fi
   8927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8928 fi
   8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8930 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8932 	CFLAGS="$xorg_testset_save_CFLAGS"
   8933 fi
   8934 
   8935 found="no"
   8936 
   8937 	if test $found = "no" ; then
   8938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8940 		fi
   8941 
   8942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8944 		fi
   8945 
   8946 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8947 
   8948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8949 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8950 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8951 		if eval \${$cacheid+:} false; then :
   8952   $as_echo_n "(cached) " >&6
   8953 else
   8954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8955 /* end confdefs.h.  */
   8956 int i;
   8957 int
   8958 main ()
   8959 {
   8960 
   8961   ;
   8962   return 0;
   8963 }
   8964 _ACEOF
   8965 if ac_fn_c_try_link "$LINENO"; then :
   8966   eval $cacheid=yes
   8967 else
   8968   eval $cacheid=no
   8969 fi
   8970 rm -f core conftest.err conftest.$ac_objext \
   8971     conftest$ac_exeext conftest.$ac_ext
   8972 fi
   8973 
   8974 
   8975 		CFLAGS="$xorg_testset_save_CFLAGS"
   8976 
   8977 		eval supported=\$$cacheid
   8978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8979 $as_echo "$supported" >&6; }
   8980 		if test "$supported" = "yes" ; then
   8981 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8982 			found="yes"
   8983 		fi
   8984 	fi
   8985 
   8986  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8987 else
   8988 { $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
   8989 $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;}
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 xorg_testset_save_CFLAGS="$CFLAGS"
   9004 
   9005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9008 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9009 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9010   $as_echo_n "(cached) " >&6
   9011 else
   9012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9013 /* end confdefs.h.  */
   9014 int i;
   9015 _ACEOF
   9016 if ac_fn_c_try_compile "$LINENO"; then :
   9017   xorg_cv_cc_flag_unknown_warning_option=yes
   9018 else
   9019   xorg_cv_cc_flag_unknown_warning_option=no
   9020 fi
   9021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9022 fi
   9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9024 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9026 	CFLAGS="$xorg_testset_save_CFLAGS"
   9027 fi
   9028 
   9029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9032 	fi
   9033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9035 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9036 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9037   $as_echo_n "(cached) " >&6
   9038 else
   9039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9040 /* end confdefs.h.  */
   9041 int i;
   9042 _ACEOF
   9043 if ac_fn_c_try_compile "$LINENO"; then :
   9044   xorg_cv_cc_flag_unused_command_line_argument=yes
   9045 else
   9046   xorg_cv_cc_flag_unused_command_line_argument=no
   9047 fi
   9048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9049 fi
   9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9051 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9053 	CFLAGS="$xorg_testset_save_CFLAGS"
   9054 fi
   9055 
   9056 found="no"
   9057 
   9058 	if test $found = "no" ; then
   9059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9061 		fi
   9062 
   9063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9065 		fi
   9066 
   9067 		CFLAGS="$CFLAGS -Wimplicit"
   9068 
   9069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9070 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   9071 		cacheid=xorg_cv_cc_flag__Wimplicit
   9072 		if eval \${$cacheid+:} false; then :
   9073   $as_echo_n "(cached) " >&6
   9074 else
   9075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9076 /* end confdefs.h.  */
   9077 int i;
   9078 int
   9079 main ()
   9080 {
   9081 
   9082   ;
   9083   return 0;
   9084 }
   9085 _ACEOF
   9086 if ac_fn_c_try_link "$LINENO"; then :
   9087   eval $cacheid=yes
   9088 else
   9089   eval $cacheid=no
   9090 fi
   9091 rm -f core conftest.err conftest.$ac_objext \
   9092     conftest$ac_exeext conftest.$ac_ext
   9093 fi
   9094 
   9095 
   9096 		CFLAGS="$xorg_testset_save_CFLAGS"
   9097 
   9098 		eval supported=\$$cacheid
   9099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9100 $as_echo "$supported" >&6; }
   9101 		if test "$supported" = "yes" ; then
   9102 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9103 			found="yes"
   9104 		fi
   9105 	fi
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 xorg_testset_save_CFLAGS="$CFLAGS"
   9122 
   9123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9126 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9127 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9128   $as_echo_n "(cached) " >&6
   9129 else
   9130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9131 /* end confdefs.h.  */
   9132 int i;
   9133 _ACEOF
   9134 if ac_fn_c_try_compile "$LINENO"; then :
   9135   xorg_cv_cc_flag_unknown_warning_option=yes
   9136 else
   9137   xorg_cv_cc_flag_unknown_warning_option=no
   9138 fi
   9139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9140 fi
   9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9142 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9143 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9144 	CFLAGS="$xorg_testset_save_CFLAGS"
   9145 fi
   9146 
   9147 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9148 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9149 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9150 	fi
   9151 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9153 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9154 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9155   $as_echo_n "(cached) " >&6
   9156 else
   9157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9158 /* end confdefs.h.  */
   9159 int i;
   9160 _ACEOF
   9161 if ac_fn_c_try_compile "$LINENO"; then :
   9162   xorg_cv_cc_flag_unused_command_line_argument=yes
   9163 else
   9164   xorg_cv_cc_flag_unused_command_line_argument=no
   9165 fi
   9166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9167 fi
   9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9169 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9171 	CFLAGS="$xorg_testset_save_CFLAGS"
   9172 fi
   9173 
   9174 found="no"
   9175 
   9176 	if test $found = "no" ; then
   9177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9179 		fi
   9180 
   9181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9183 		fi
   9184 
   9185 		CFLAGS="$CFLAGS -Wnonnull"
   9186 
   9187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9188 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   9189 		cacheid=xorg_cv_cc_flag__Wnonnull
   9190 		if eval \${$cacheid+:} false; then :
   9191   $as_echo_n "(cached) " >&6
   9192 else
   9193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9194 /* end confdefs.h.  */
   9195 int i;
   9196 int
   9197 main ()
   9198 {
   9199 
   9200   ;
   9201   return 0;
   9202 }
   9203 _ACEOF
   9204 if ac_fn_c_try_link "$LINENO"; then :
   9205   eval $cacheid=yes
   9206 else
   9207   eval $cacheid=no
   9208 fi
   9209 rm -f core conftest.err conftest.$ac_objext \
   9210     conftest$ac_exeext conftest.$ac_ext
   9211 fi
   9212 
   9213 
   9214 		CFLAGS="$xorg_testset_save_CFLAGS"
   9215 
   9216 		eval supported=\$$cacheid
   9217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9218 $as_echo "$supported" >&6; }
   9219 		if test "$supported" = "yes" ; then
   9220 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9221 			found="yes"
   9222 		fi
   9223 	fi
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 xorg_testset_save_CFLAGS="$CFLAGS"
   9240 
   9241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9244 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9245 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9246   $as_echo_n "(cached) " >&6
   9247 else
   9248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9249 /* end confdefs.h.  */
   9250 int i;
   9251 _ACEOF
   9252 if ac_fn_c_try_compile "$LINENO"; then :
   9253   xorg_cv_cc_flag_unknown_warning_option=yes
   9254 else
   9255   xorg_cv_cc_flag_unknown_warning_option=no
   9256 fi
   9257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9258 fi
   9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9260 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9262 	CFLAGS="$xorg_testset_save_CFLAGS"
   9263 fi
   9264 
   9265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9268 	fi
   9269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9271 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9272 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9273   $as_echo_n "(cached) " >&6
   9274 else
   9275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9276 /* end confdefs.h.  */
   9277 int i;
   9278 _ACEOF
   9279 if ac_fn_c_try_compile "$LINENO"; then :
   9280   xorg_cv_cc_flag_unused_command_line_argument=yes
   9281 else
   9282   xorg_cv_cc_flag_unused_command_line_argument=no
   9283 fi
   9284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9285 fi
   9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9287 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9289 	CFLAGS="$xorg_testset_save_CFLAGS"
   9290 fi
   9291 
   9292 found="no"
   9293 
   9294 	if test $found = "no" ; then
   9295 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9297 		fi
   9298 
   9299 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9301 		fi
   9302 
   9303 		CFLAGS="$CFLAGS -Winit-self"
   9304 
   9305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9306 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9307 		cacheid=xorg_cv_cc_flag__Winit_self
   9308 		if eval \${$cacheid+:} false; then :
   9309   $as_echo_n "(cached) " >&6
   9310 else
   9311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9312 /* end confdefs.h.  */
   9313 int i;
   9314 int
   9315 main ()
   9316 {
   9317 
   9318   ;
   9319   return 0;
   9320 }
   9321 _ACEOF
   9322 if ac_fn_c_try_link "$LINENO"; then :
   9323   eval $cacheid=yes
   9324 else
   9325   eval $cacheid=no
   9326 fi
   9327 rm -f core conftest.err conftest.$ac_objext \
   9328     conftest$ac_exeext conftest.$ac_ext
   9329 fi
   9330 
   9331 
   9332 		CFLAGS="$xorg_testset_save_CFLAGS"
   9333 
   9334 		eval supported=\$$cacheid
   9335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9336 $as_echo "$supported" >&6; }
   9337 		if test "$supported" = "yes" ; then
   9338 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9339 			found="yes"
   9340 		fi
   9341 	fi
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 xorg_testset_save_CFLAGS="$CFLAGS"
   9358 
   9359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9362 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9363 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9364   $as_echo_n "(cached) " >&6
   9365 else
   9366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9367 /* end confdefs.h.  */
   9368 int i;
   9369 _ACEOF
   9370 if ac_fn_c_try_compile "$LINENO"; then :
   9371   xorg_cv_cc_flag_unknown_warning_option=yes
   9372 else
   9373   xorg_cv_cc_flag_unknown_warning_option=no
   9374 fi
   9375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9376 fi
   9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9378 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9380 	CFLAGS="$xorg_testset_save_CFLAGS"
   9381 fi
   9382 
   9383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9386 	fi
   9387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9389 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9390 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9391   $as_echo_n "(cached) " >&6
   9392 else
   9393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9394 /* end confdefs.h.  */
   9395 int i;
   9396 _ACEOF
   9397 if ac_fn_c_try_compile "$LINENO"; then :
   9398   xorg_cv_cc_flag_unused_command_line_argument=yes
   9399 else
   9400   xorg_cv_cc_flag_unused_command_line_argument=no
   9401 fi
   9402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9403 fi
   9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9405 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9407 	CFLAGS="$xorg_testset_save_CFLAGS"
   9408 fi
   9409 
   9410 found="no"
   9411 
   9412 	if test $found = "no" ; then
   9413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9415 		fi
   9416 
   9417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9419 		fi
   9420 
   9421 		CFLAGS="$CFLAGS -Wmain"
   9422 
   9423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9424 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9425 		cacheid=xorg_cv_cc_flag__Wmain
   9426 		if eval \${$cacheid+:} false; then :
   9427   $as_echo_n "(cached) " >&6
   9428 else
   9429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9430 /* end confdefs.h.  */
   9431 int i;
   9432 int
   9433 main ()
   9434 {
   9435 
   9436   ;
   9437   return 0;
   9438 }
   9439 _ACEOF
   9440 if ac_fn_c_try_link "$LINENO"; then :
   9441   eval $cacheid=yes
   9442 else
   9443   eval $cacheid=no
   9444 fi
   9445 rm -f core conftest.err conftest.$ac_objext \
   9446     conftest$ac_exeext conftest.$ac_ext
   9447 fi
   9448 
   9449 
   9450 		CFLAGS="$xorg_testset_save_CFLAGS"
   9451 
   9452 		eval supported=\$$cacheid
   9453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9454 $as_echo "$supported" >&6; }
   9455 		if test "$supported" = "yes" ; then
   9456 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9457 			found="yes"
   9458 		fi
   9459 	fi
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 xorg_testset_save_CFLAGS="$CFLAGS"
   9476 
   9477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9480 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9481 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9482   $as_echo_n "(cached) " >&6
   9483 else
   9484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9485 /* end confdefs.h.  */
   9486 int i;
   9487 _ACEOF
   9488 if ac_fn_c_try_compile "$LINENO"; then :
   9489   xorg_cv_cc_flag_unknown_warning_option=yes
   9490 else
   9491   xorg_cv_cc_flag_unknown_warning_option=no
   9492 fi
   9493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9494 fi
   9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9496 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9498 	CFLAGS="$xorg_testset_save_CFLAGS"
   9499 fi
   9500 
   9501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9504 	fi
   9505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9507 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9508 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9509   $as_echo_n "(cached) " >&6
   9510 else
   9511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9512 /* end confdefs.h.  */
   9513 int i;
   9514 _ACEOF
   9515 if ac_fn_c_try_compile "$LINENO"; then :
   9516   xorg_cv_cc_flag_unused_command_line_argument=yes
   9517 else
   9518   xorg_cv_cc_flag_unused_command_line_argument=no
   9519 fi
   9520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9521 fi
   9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9523 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9525 	CFLAGS="$xorg_testset_save_CFLAGS"
   9526 fi
   9527 
   9528 found="no"
   9529 
   9530 	if test $found = "no" ; then
   9531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9533 		fi
   9534 
   9535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9537 		fi
   9538 
   9539 		CFLAGS="$CFLAGS -Wmissing-braces"
   9540 
   9541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9542 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9543 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9544 		if eval \${$cacheid+:} false; then :
   9545   $as_echo_n "(cached) " >&6
   9546 else
   9547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9548 /* end confdefs.h.  */
   9549 int i;
   9550 int
   9551 main ()
   9552 {
   9553 
   9554   ;
   9555   return 0;
   9556 }
   9557 _ACEOF
   9558 if ac_fn_c_try_link "$LINENO"; then :
   9559   eval $cacheid=yes
   9560 else
   9561   eval $cacheid=no
   9562 fi
   9563 rm -f core conftest.err conftest.$ac_objext \
   9564     conftest$ac_exeext conftest.$ac_ext
   9565 fi
   9566 
   9567 
   9568 		CFLAGS="$xorg_testset_save_CFLAGS"
   9569 
   9570 		eval supported=\$$cacheid
   9571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9572 $as_echo "$supported" >&6; }
   9573 		if test "$supported" = "yes" ; then
   9574 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9575 			found="yes"
   9576 		fi
   9577 	fi
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 xorg_testset_save_CFLAGS="$CFLAGS"
   9594 
   9595 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9596 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9598 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9599 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9600   $as_echo_n "(cached) " >&6
   9601 else
   9602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9603 /* end confdefs.h.  */
   9604 int i;
   9605 _ACEOF
   9606 if ac_fn_c_try_compile "$LINENO"; then :
   9607   xorg_cv_cc_flag_unknown_warning_option=yes
   9608 else
   9609   xorg_cv_cc_flag_unknown_warning_option=no
   9610 fi
   9611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9612 fi
   9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9614 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9616 	CFLAGS="$xorg_testset_save_CFLAGS"
   9617 fi
   9618 
   9619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9622 	fi
   9623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9625 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9626 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9627   $as_echo_n "(cached) " >&6
   9628 else
   9629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9630 /* end confdefs.h.  */
   9631 int i;
   9632 _ACEOF
   9633 if ac_fn_c_try_compile "$LINENO"; then :
   9634   xorg_cv_cc_flag_unused_command_line_argument=yes
   9635 else
   9636   xorg_cv_cc_flag_unused_command_line_argument=no
   9637 fi
   9638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9639 fi
   9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9641 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9642 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9643 	CFLAGS="$xorg_testset_save_CFLAGS"
   9644 fi
   9645 
   9646 found="no"
   9647 
   9648 	if test $found = "no" ; then
   9649 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9650 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9651 		fi
   9652 
   9653 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9654 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9655 		fi
   9656 
   9657 		CFLAGS="$CFLAGS -Wsequence-point"
   9658 
   9659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9660 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9661 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9662 		if eval \${$cacheid+:} false; then :
   9663   $as_echo_n "(cached) " >&6
   9664 else
   9665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9666 /* end confdefs.h.  */
   9667 int i;
   9668 int
   9669 main ()
   9670 {
   9671 
   9672   ;
   9673   return 0;
   9674 }
   9675 _ACEOF
   9676 if ac_fn_c_try_link "$LINENO"; then :
   9677   eval $cacheid=yes
   9678 else
   9679   eval $cacheid=no
   9680 fi
   9681 rm -f core conftest.err conftest.$ac_objext \
   9682     conftest$ac_exeext conftest.$ac_ext
   9683 fi
   9684 
   9685 
   9686 		CFLAGS="$xorg_testset_save_CFLAGS"
   9687 
   9688 		eval supported=\$$cacheid
   9689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9690 $as_echo "$supported" >&6; }
   9691 		if test "$supported" = "yes" ; then
   9692 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9693 			found="yes"
   9694 		fi
   9695 	fi
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 xorg_testset_save_CFLAGS="$CFLAGS"
   9712 
   9713 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9714 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9716 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9717 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9718   $as_echo_n "(cached) " >&6
   9719 else
   9720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9721 /* end confdefs.h.  */
   9722 int i;
   9723 _ACEOF
   9724 if ac_fn_c_try_compile "$LINENO"; then :
   9725   xorg_cv_cc_flag_unknown_warning_option=yes
   9726 else
   9727   xorg_cv_cc_flag_unknown_warning_option=no
   9728 fi
   9729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9730 fi
   9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9732 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9734 	CFLAGS="$xorg_testset_save_CFLAGS"
   9735 fi
   9736 
   9737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9740 	fi
   9741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9743 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9744 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9745   $as_echo_n "(cached) " >&6
   9746 else
   9747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9748 /* end confdefs.h.  */
   9749 int i;
   9750 _ACEOF
   9751 if ac_fn_c_try_compile "$LINENO"; then :
   9752   xorg_cv_cc_flag_unused_command_line_argument=yes
   9753 else
   9754   xorg_cv_cc_flag_unused_command_line_argument=no
   9755 fi
   9756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9757 fi
   9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9759 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9760 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9761 	CFLAGS="$xorg_testset_save_CFLAGS"
   9762 fi
   9763 
   9764 found="no"
   9765 
   9766 	if test $found = "no" ; then
   9767 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9769 		fi
   9770 
   9771 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9773 		fi
   9774 
   9775 		CFLAGS="$CFLAGS -Wreturn-type"
   9776 
   9777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9778 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9779 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9780 		if eval \${$cacheid+:} false; then :
   9781   $as_echo_n "(cached) " >&6
   9782 else
   9783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9784 /* end confdefs.h.  */
   9785 int i;
   9786 int
   9787 main ()
   9788 {
   9789 
   9790   ;
   9791   return 0;
   9792 }
   9793 _ACEOF
   9794 if ac_fn_c_try_link "$LINENO"; then :
   9795   eval $cacheid=yes
   9796 else
   9797   eval $cacheid=no
   9798 fi
   9799 rm -f core conftest.err conftest.$ac_objext \
   9800     conftest$ac_exeext conftest.$ac_ext
   9801 fi
   9802 
   9803 
   9804 		CFLAGS="$xorg_testset_save_CFLAGS"
   9805 
   9806 		eval supported=\$$cacheid
   9807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9808 $as_echo "$supported" >&6; }
   9809 		if test "$supported" = "yes" ; then
   9810 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9811 			found="yes"
   9812 		fi
   9813 	fi
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 xorg_testset_save_CFLAGS="$CFLAGS"
   9830 
   9831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9834 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9835 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9836   $as_echo_n "(cached) " >&6
   9837 else
   9838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9839 /* end confdefs.h.  */
   9840 int i;
   9841 _ACEOF
   9842 if ac_fn_c_try_compile "$LINENO"; then :
   9843   xorg_cv_cc_flag_unknown_warning_option=yes
   9844 else
   9845   xorg_cv_cc_flag_unknown_warning_option=no
   9846 fi
   9847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9848 fi
   9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9850 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9852 	CFLAGS="$xorg_testset_save_CFLAGS"
   9853 fi
   9854 
   9855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9858 	fi
   9859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9861 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9862 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9863   $as_echo_n "(cached) " >&6
   9864 else
   9865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9866 /* end confdefs.h.  */
   9867 int i;
   9868 _ACEOF
   9869 if ac_fn_c_try_compile "$LINENO"; then :
   9870   xorg_cv_cc_flag_unused_command_line_argument=yes
   9871 else
   9872   xorg_cv_cc_flag_unused_command_line_argument=no
   9873 fi
   9874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9875 fi
   9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9877 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9879 	CFLAGS="$xorg_testset_save_CFLAGS"
   9880 fi
   9881 
   9882 found="no"
   9883 
   9884 	if test $found = "no" ; then
   9885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9887 		fi
   9888 
   9889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9891 		fi
   9892 
   9893 		CFLAGS="$CFLAGS -Wtrigraphs"
   9894 
   9895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9896 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9897 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9898 		if eval \${$cacheid+:} false; then :
   9899   $as_echo_n "(cached) " >&6
   9900 else
   9901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9902 /* end confdefs.h.  */
   9903 int i;
   9904 int
   9905 main ()
   9906 {
   9907 
   9908   ;
   9909   return 0;
   9910 }
   9911 _ACEOF
   9912 if ac_fn_c_try_link "$LINENO"; then :
   9913   eval $cacheid=yes
   9914 else
   9915   eval $cacheid=no
   9916 fi
   9917 rm -f core conftest.err conftest.$ac_objext \
   9918     conftest$ac_exeext conftest.$ac_ext
   9919 fi
   9920 
   9921 
   9922 		CFLAGS="$xorg_testset_save_CFLAGS"
   9923 
   9924 		eval supported=\$$cacheid
   9925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9926 $as_echo "$supported" >&6; }
   9927 		if test "$supported" = "yes" ; then
   9928 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9929 			found="yes"
   9930 		fi
   9931 	fi
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 xorg_testset_save_CFLAGS="$CFLAGS"
   9948 
   9949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9952 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9953 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9954   $as_echo_n "(cached) " >&6
   9955 else
   9956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9957 /* end confdefs.h.  */
   9958 int i;
   9959 _ACEOF
   9960 if ac_fn_c_try_compile "$LINENO"; then :
   9961   xorg_cv_cc_flag_unknown_warning_option=yes
   9962 else
   9963   xorg_cv_cc_flag_unknown_warning_option=no
   9964 fi
   9965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9966 fi
   9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9968 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9970 	CFLAGS="$xorg_testset_save_CFLAGS"
   9971 fi
   9972 
   9973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9976 	fi
   9977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9979 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9980 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9981   $as_echo_n "(cached) " >&6
   9982 else
   9983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9984 /* end confdefs.h.  */
   9985 int i;
   9986 _ACEOF
   9987 if ac_fn_c_try_compile "$LINENO"; then :
   9988   xorg_cv_cc_flag_unused_command_line_argument=yes
   9989 else
   9990   xorg_cv_cc_flag_unused_command_line_argument=no
   9991 fi
   9992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9993 fi
   9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9995 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9997 	CFLAGS="$xorg_testset_save_CFLAGS"
   9998 fi
   9999 
   10000 found="no"
   10001 
   10002 	if test $found = "no" ; then
   10003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10005 		fi
   10006 
   10007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10009 		fi
   10010 
   10011 		CFLAGS="$CFLAGS -Warray-bounds"
   10012 
   10013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10014 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   10015 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10016 		if eval \${$cacheid+:} false; then :
   10017   $as_echo_n "(cached) " >&6
   10018 else
   10019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10020 /* end confdefs.h.  */
   10021 int i;
   10022 int
   10023 main ()
   10024 {
   10025 
   10026   ;
   10027   return 0;
   10028 }
   10029 _ACEOF
   10030 if ac_fn_c_try_link "$LINENO"; then :
   10031   eval $cacheid=yes
   10032 else
   10033   eval $cacheid=no
   10034 fi
   10035 rm -f core conftest.err conftest.$ac_objext \
   10036     conftest$ac_exeext conftest.$ac_ext
   10037 fi
   10038 
   10039 
   10040 		CFLAGS="$xorg_testset_save_CFLAGS"
   10041 
   10042 		eval supported=\$$cacheid
   10043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10044 $as_echo "$supported" >&6; }
   10045 		if test "$supported" = "yes" ; then
   10046 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10047 			found="yes"
   10048 		fi
   10049 	fi
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 xorg_testset_save_CFLAGS="$CFLAGS"
   10066 
   10067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10070 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10071 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10072   $as_echo_n "(cached) " >&6
   10073 else
   10074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10075 /* end confdefs.h.  */
   10076 int i;
   10077 _ACEOF
   10078 if ac_fn_c_try_compile "$LINENO"; then :
   10079   xorg_cv_cc_flag_unknown_warning_option=yes
   10080 else
   10081   xorg_cv_cc_flag_unknown_warning_option=no
   10082 fi
   10083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10084 fi
   10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10086 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10087 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10088 	CFLAGS="$xorg_testset_save_CFLAGS"
   10089 fi
   10090 
   10091 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10092 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10093 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10094 	fi
   10095 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10097 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10098 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10099   $as_echo_n "(cached) " >&6
   10100 else
   10101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10102 /* end confdefs.h.  */
   10103 int i;
   10104 _ACEOF
   10105 if ac_fn_c_try_compile "$LINENO"; then :
   10106   xorg_cv_cc_flag_unused_command_line_argument=yes
   10107 else
   10108   xorg_cv_cc_flag_unused_command_line_argument=no
   10109 fi
   10110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10111 fi
   10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10113 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10115 	CFLAGS="$xorg_testset_save_CFLAGS"
   10116 fi
   10117 
   10118 found="no"
   10119 
   10120 	if test $found = "no" ; then
   10121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10123 		fi
   10124 
   10125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10127 		fi
   10128 
   10129 		CFLAGS="$CFLAGS -Wwrite-strings"
   10130 
   10131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10132 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   10133 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10134 		if eval \${$cacheid+:} false; then :
   10135   $as_echo_n "(cached) " >&6
   10136 else
   10137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10138 /* end confdefs.h.  */
   10139 int i;
   10140 int
   10141 main ()
   10142 {
   10143 
   10144   ;
   10145   return 0;
   10146 }
   10147 _ACEOF
   10148 if ac_fn_c_try_link "$LINENO"; then :
   10149   eval $cacheid=yes
   10150 else
   10151   eval $cacheid=no
   10152 fi
   10153 rm -f core conftest.err conftest.$ac_objext \
   10154     conftest$ac_exeext conftest.$ac_ext
   10155 fi
   10156 
   10157 
   10158 		CFLAGS="$xorg_testset_save_CFLAGS"
   10159 
   10160 		eval supported=\$$cacheid
   10161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10162 $as_echo "$supported" >&6; }
   10163 		if test "$supported" = "yes" ; then
   10164 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10165 			found="yes"
   10166 		fi
   10167 	fi
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 xorg_testset_save_CFLAGS="$CFLAGS"
   10184 
   10185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10188 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10189 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10190   $as_echo_n "(cached) " >&6
   10191 else
   10192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10193 /* end confdefs.h.  */
   10194 int i;
   10195 _ACEOF
   10196 if ac_fn_c_try_compile "$LINENO"; then :
   10197   xorg_cv_cc_flag_unknown_warning_option=yes
   10198 else
   10199   xorg_cv_cc_flag_unknown_warning_option=no
   10200 fi
   10201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10202 fi
   10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10204 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10205 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10206 	CFLAGS="$xorg_testset_save_CFLAGS"
   10207 fi
   10208 
   10209 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10210 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10211 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10212 	fi
   10213 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10215 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10216 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10217   $as_echo_n "(cached) " >&6
   10218 else
   10219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10220 /* end confdefs.h.  */
   10221 int i;
   10222 _ACEOF
   10223 if ac_fn_c_try_compile "$LINENO"; then :
   10224   xorg_cv_cc_flag_unused_command_line_argument=yes
   10225 else
   10226   xorg_cv_cc_flag_unused_command_line_argument=no
   10227 fi
   10228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10229 fi
   10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10231 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10232 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10233 	CFLAGS="$xorg_testset_save_CFLAGS"
   10234 fi
   10235 
   10236 found="no"
   10237 
   10238 	if test $found = "no" ; then
   10239 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10241 		fi
   10242 
   10243 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10245 		fi
   10246 
   10247 		CFLAGS="$CFLAGS -Waddress"
   10248 
   10249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10250 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   10251 		cacheid=xorg_cv_cc_flag__Waddress
   10252 		if eval \${$cacheid+:} false; then :
   10253   $as_echo_n "(cached) " >&6
   10254 else
   10255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10256 /* end confdefs.h.  */
   10257 int i;
   10258 int
   10259 main ()
   10260 {
   10261 
   10262   ;
   10263   return 0;
   10264 }
   10265 _ACEOF
   10266 if ac_fn_c_try_link "$LINENO"; then :
   10267   eval $cacheid=yes
   10268 else
   10269   eval $cacheid=no
   10270 fi
   10271 rm -f core conftest.err conftest.$ac_objext \
   10272     conftest$ac_exeext conftest.$ac_ext
   10273 fi
   10274 
   10275 
   10276 		CFLAGS="$xorg_testset_save_CFLAGS"
   10277 
   10278 		eval supported=\$$cacheid
   10279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10280 $as_echo "$supported" >&6; }
   10281 		if test "$supported" = "yes" ; then
   10282 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10283 			found="yes"
   10284 		fi
   10285 	fi
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 xorg_testset_save_CFLAGS="$CFLAGS"
   10302 
   10303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10306 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10307 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10308   $as_echo_n "(cached) " >&6
   10309 else
   10310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10311 /* end confdefs.h.  */
   10312 int i;
   10313 _ACEOF
   10314 if ac_fn_c_try_compile "$LINENO"; then :
   10315   xorg_cv_cc_flag_unknown_warning_option=yes
   10316 else
   10317   xorg_cv_cc_flag_unknown_warning_option=no
   10318 fi
   10319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10320 fi
   10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10322 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10324 	CFLAGS="$xorg_testset_save_CFLAGS"
   10325 fi
   10326 
   10327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10330 	fi
   10331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10333 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10334 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10335   $as_echo_n "(cached) " >&6
   10336 else
   10337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10338 /* end confdefs.h.  */
   10339 int i;
   10340 _ACEOF
   10341 if ac_fn_c_try_compile "$LINENO"; then :
   10342   xorg_cv_cc_flag_unused_command_line_argument=yes
   10343 else
   10344   xorg_cv_cc_flag_unused_command_line_argument=no
   10345 fi
   10346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10347 fi
   10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10349 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10351 	CFLAGS="$xorg_testset_save_CFLAGS"
   10352 fi
   10353 
   10354 found="no"
   10355 
   10356 	if test $found = "no" ; then
   10357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10359 		fi
   10360 
   10361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10363 		fi
   10364 
   10365 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10366 
   10367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10368 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10369 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10370 		if eval \${$cacheid+:} false; then :
   10371   $as_echo_n "(cached) " >&6
   10372 else
   10373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10374 /* end confdefs.h.  */
   10375 int i;
   10376 int
   10377 main ()
   10378 {
   10379 
   10380   ;
   10381   return 0;
   10382 }
   10383 _ACEOF
   10384 if ac_fn_c_try_link "$LINENO"; then :
   10385   eval $cacheid=yes
   10386 else
   10387   eval $cacheid=no
   10388 fi
   10389 rm -f core conftest.err conftest.$ac_objext \
   10390     conftest$ac_exeext conftest.$ac_ext
   10391 fi
   10392 
   10393 
   10394 		CFLAGS="$xorg_testset_save_CFLAGS"
   10395 
   10396 		eval supported=\$$cacheid
   10397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10398 $as_echo "$supported" >&6; }
   10399 		if test "$supported" = "yes" ; then
   10400 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10401 			found="yes"
   10402 		fi
   10403 	fi
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 xorg_testset_save_CFLAGS="$CFLAGS"
   10420 
   10421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10424 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10425 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10426   $as_echo_n "(cached) " >&6
   10427 else
   10428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10429 /* end confdefs.h.  */
   10430 int i;
   10431 _ACEOF
   10432 if ac_fn_c_try_compile "$LINENO"; then :
   10433   xorg_cv_cc_flag_unknown_warning_option=yes
   10434 else
   10435   xorg_cv_cc_flag_unknown_warning_option=no
   10436 fi
   10437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10438 fi
   10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10440 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10442 	CFLAGS="$xorg_testset_save_CFLAGS"
   10443 fi
   10444 
   10445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10448 	fi
   10449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10451 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10452 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10453   $as_echo_n "(cached) " >&6
   10454 else
   10455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10456 /* end confdefs.h.  */
   10457 int i;
   10458 _ACEOF
   10459 if ac_fn_c_try_compile "$LINENO"; then :
   10460   xorg_cv_cc_flag_unused_command_line_argument=yes
   10461 else
   10462   xorg_cv_cc_flag_unused_command_line_argument=no
   10463 fi
   10464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10465 fi
   10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10467 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10468 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10469 	CFLAGS="$xorg_testset_save_CFLAGS"
   10470 fi
   10471 
   10472 found="no"
   10473 
   10474 	if test $found = "no" ; then
   10475 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10477 		fi
   10478 
   10479 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10481 		fi
   10482 
   10483 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10484 
   10485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10486 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10487 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10488 		if eval \${$cacheid+:} false; then :
   10489   $as_echo_n "(cached) " >&6
   10490 else
   10491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10492 /* end confdefs.h.  */
   10493 int i;
   10494 int
   10495 main ()
   10496 {
   10497 
   10498   ;
   10499   return 0;
   10500 }
   10501 _ACEOF
   10502 if ac_fn_c_try_link "$LINENO"; then :
   10503   eval $cacheid=yes
   10504 else
   10505   eval $cacheid=no
   10506 fi
   10507 rm -f core conftest.err conftest.$ac_objext \
   10508     conftest$ac_exeext conftest.$ac_ext
   10509 fi
   10510 
   10511 
   10512 		CFLAGS="$xorg_testset_save_CFLAGS"
   10513 
   10514 		eval supported=\$$cacheid
   10515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10516 $as_echo "$supported" >&6; }
   10517 		if test "$supported" = "yes" ; then
   10518 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10519 			found="yes"
   10520 		fi
   10521 	fi
   10522 
   10523 
   10524 fi
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 		CWARNFLAGS="$BASE_CFLAGS"
   10533 		if  test "x$GCC" = xyes ; then
   10534 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10535 		fi
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 # Check whether --enable-strict-compilation was given.
   10545 if test "${enable_strict_compilation+set}" = set; then :
   10546   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10547 else
   10548   STRICT_COMPILE=no
   10549 fi
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 STRICT_CFLAGS=""
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 xorg_testset_save_CFLAGS="$CFLAGS"
   10571 
   10572 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10573 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10575 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10576 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10577   $as_echo_n "(cached) " >&6
   10578 else
   10579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10580 /* end confdefs.h.  */
   10581 int i;
   10582 _ACEOF
   10583 if ac_fn_c_try_compile "$LINENO"; then :
   10584   xorg_cv_cc_flag_unknown_warning_option=yes
   10585 else
   10586   xorg_cv_cc_flag_unknown_warning_option=no
   10587 fi
   10588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10589 fi
   10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10591 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10593 	CFLAGS="$xorg_testset_save_CFLAGS"
   10594 fi
   10595 
   10596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10599 	fi
   10600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10602 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10603 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10604   $as_echo_n "(cached) " >&6
   10605 else
   10606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10607 /* end confdefs.h.  */
   10608 int i;
   10609 _ACEOF
   10610 if ac_fn_c_try_compile "$LINENO"; then :
   10611   xorg_cv_cc_flag_unused_command_line_argument=yes
   10612 else
   10613   xorg_cv_cc_flag_unused_command_line_argument=no
   10614 fi
   10615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10616 fi
   10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10618 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10620 	CFLAGS="$xorg_testset_save_CFLAGS"
   10621 fi
   10622 
   10623 found="no"
   10624 
   10625 	if test $found = "no" ; then
   10626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10628 		fi
   10629 
   10630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10632 		fi
   10633 
   10634 		CFLAGS="$CFLAGS -pedantic"
   10635 
   10636 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10637 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10638 		cacheid=xorg_cv_cc_flag__pedantic
   10639 		if eval \${$cacheid+:} false; then :
   10640   $as_echo_n "(cached) " >&6
   10641 else
   10642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10643 /* end confdefs.h.  */
   10644 int i;
   10645 int
   10646 main ()
   10647 {
   10648 
   10649   ;
   10650   return 0;
   10651 }
   10652 _ACEOF
   10653 if ac_fn_c_try_link "$LINENO"; then :
   10654   eval $cacheid=yes
   10655 else
   10656   eval $cacheid=no
   10657 fi
   10658 rm -f core conftest.err conftest.$ac_objext \
   10659     conftest$ac_exeext conftest.$ac_ext
   10660 fi
   10661 
   10662 
   10663 		CFLAGS="$xorg_testset_save_CFLAGS"
   10664 
   10665 		eval supported=\$$cacheid
   10666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10667 $as_echo "$supported" >&6; }
   10668 		if test "$supported" = "yes" ; then
   10669 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10670 			found="yes"
   10671 		fi
   10672 	fi
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 xorg_testset_save_CFLAGS="$CFLAGS"
   10689 
   10690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10693 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10694 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10695   $as_echo_n "(cached) " >&6
   10696 else
   10697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10698 /* end confdefs.h.  */
   10699 int i;
   10700 _ACEOF
   10701 if ac_fn_c_try_compile "$LINENO"; then :
   10702   xorg_cv_cc_flag_unknown_warning_option=yes
   10703 else
   10704   xorg_cv_cc_flag_unknown_warning_option=no
   10705 fi
   10706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10707 fi
   10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10709 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10710 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10711 	CFLAGS="$xorg_testset_save_CFLAGS"
   10712 fi
   10713 
   10714 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10715 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10716 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10717 	fi
   10718 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10720 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10721 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10722   $as_echo_n "(cached) " >&6
   10723 else
   10724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10725 /* end confdefs.h.  */
   10726 int i;
   10727 _ACEOF
   10728 if ac_fn_c_try_compile "$LINENO"; then :
   10729   xorg_cv_cc_flag_unused_command_line_argument=yes
   10730 else
   10731   xorg_cv_cc_flag_unused_command_line_argument=no
   10732 fi
   10733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10734 fi
   10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10736 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10737 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10738 	CFLAGS="$xorg_testset_save_CFLAGS"
   10739 fi
   10740 
   10741 found="no"
   10742 
   10743 	if test $found = "no" ; then
   10744 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10745 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10746 		fi
   10747 
   10748 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10749 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10750 		fi
   10751 
   10752 		CFLAGS="$CFLAGS -Werror"
   10753 
   10754 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10755 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10756 		cacheid=xorg_cv_cc_flag__Werror
   10757 		if eval \${$cacheid+:} false; then :
   10758   $as_echo_n "(cached) " >&6
   10759 else
   10760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10761 /* end confdefs.h.  */
   10762 int i;
   10763 int
   10764 main ()
   10765 {
   10766 
   10767   ;
   10768   return 0;
   10769 }
   10770 _ACEOF
   10771 if ac_fn_c_try_link "$LINENO"; then :
   10772   eval $cacheid=yes
   10773 else
   10774   eval $cacheid=no
   10775 fi
   10776 rm -f core conftest.err conftest.$ac_objext \
   10777     conftest$ac_exeext conftest.$ac_ext
   10778 fi
   10779 
   10780 
   10781 		CFLAGS="$xorg_testset_save_CFLAGS"
   10782 
   10783 		eval supported=\$$cacheid
   10784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10785 $as_echo "$supported" >&6; }
   10786 		if test "$supported" = "yes" ; then
   10787 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10788 			found="yes"
   10789 		fi
   10790 	fi
   10791 
   10792 	if test $found = "no" ; then
   10793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10795 		fi
   10796 
   10797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10799 		fi
   10800 
   10801 		CFLAGS="$CFLAGS -errwarn"
   10802 
   10803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10804 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10805 		cacheid=xorg_cv_cc_flag__errwarn
   10806 		if eval \${$cacheid+:} false; then :
   10807   $as_echo_n "(cached) " >&6
   10808 else
   10809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10810 /* end confdefs.h.  */
   10811 int i;
   10812 int
   10813 main ()
   10814 {
   10815 
   10816   ;
   10817   return 0;
   10818 }
   10819 _ACEOF
   10820 if ac_fn_c_try_link "$LINENO"; then :
   10821   eval $cacheid=yes
   10822 else
   10823   eval $cacheid=no
   10824 fi
   10825 rm -f core conftest.err conftest.$ac_objext \
   10826     conftest$ac_exeext conftest.$ac_ext
   10827 fi
   10828 
   10829 
   10830 		CFLAGS="$xorg_testset_save_CFLAGS"
   10831 
   10832 		eval supported=\$$cacheid
   10833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10834 $as_echo "$supported" >&6; }
   10835 		if test "$supported" = "yes" ; then
   10836 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10837 			found="yes"
   10838 		fi
   10839 	fi
   10840 
   10841 
   10842 
   10843 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10844 # activate it with -Werror, so we add it here explicitly.
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 xorg_testset_save_CFLAGS="$CFLAGS"
   10859 
   10860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10863 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10864 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10865   $as_echo_n "(cached) " >&6
   10866 else
   10867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10868 /* end confdefs.h.  */
   10869 int i;
   10870 _ACEOF
   10871 if ac_fn_c_try_compile "$LINENO"; then :
   10872   xorg_cv_cc_flag_unknown_warning_option=yes
   10873 else
   10874   xorg_cv_cc_flag_unknown_warning_option=no
   10875 fi
   10876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10877 fi
   10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10879 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10880 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10881 	CFLAGS="$xorg_testset_save_CFLAGS"
   10882 fi
   10883 
   10884 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10885 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10886 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10887 	fi
   10888 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10890 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10891 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10892   $as_echo_n "(cached) " >&6
   10893 else
   10894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10895 /* end confdefs.h.  */
   10896 int i;
   10897 _ACEOF
   10898 if ac_fn_c_try_compile "$LINENO"; then :
   10899   xorg_cv_cc_flag_unused_command_line_argument=yes
   10900 else
   10901   xorg_cv_cc_flag_unused_command_line_argument=no
   10902 fi
   10903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10904 fi
   10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10906 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10907 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10908 	CFLAGS="$xorg_testset_save_CFLAGS"
   10909 fi
   10910 
   10911 found="no"
   10912 
   10913 	if test $found = "no" ; then
   10914 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10915 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10916 		fi
   10917 
   10918 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10919 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10920 		fi
   10921 
   10922 		CFLAGS="$CFLAGS -Werror=attributes"
   10923 
   10924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10925 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10926 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10927 		if eval \${$cacheid+:} false; then :
   10928   $as_echo_n "(cached) " >&6
   10929 else
   10930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10931 /* end confdefs.h.  */
   10932 int i;
   10933 int
   10934 main ()
   10935 {
   10936 
   10937   ;
   10938   return 0;
   10939 }
   10940 _ACEOF
   10941 if ac_fn_c_try_link "$LINENO"; then :
   10942   eval $cacheid=yes
   10943 else
   10944   eval $cacheid=no
   10945 fi
   10946 rm -f core conftest.err conftest.$ac_objext \
   10947     conftest$ac_exeext conftest.$ac_ext
   10948 fi
   10949 
   10950 
   10951 		CFLAGS="$xorg_testset_save_CFLAGS"
   10952 
   10953 		eval supported=\$$cacheid
   10954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10955 $as_echo "$supported" >&6; }
   10956 		if test "$supported" = "yes" ; then
   10957 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10958 			found="yes"
   10959 		fi
   10960 	fi
   10961 
   10962 
   10963 
   10964 if test "x$STRICT_COMPILE" = "xyes"; then
   10965     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10966     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10967 fi
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 cat >>confdefs.h <<_ACEOF
   10975 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10976 _ACEOF
   10977 
   10978 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10979 	if test "x$PVM" = "x"; then
   10980 		PVM="0"
   10981 	fi
   10982 
   10983 cat >>confdefs.h <<_ACEOF
   10984 #define PACKAGE_VERSION_MINOR $PVM
   10985 _ACEOF
   10986 
   10987 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10988 	if test "x$PVP" = "x"; then
   10989 		PVP="0"
   10990 	fi
   10991 
   10992 cat >>confdefs.h <<_ACEOF
   10993 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10994 _ACEOF
   10995 
   10996 
   10997 
   10998 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10999 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11000 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   11001 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   11002 
   11003 
   11004 
   11005 
   11006 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11007 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11008 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11009 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   11010 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 if test x$APP_MAN_SUFFIX = x    ; then
   11018     APP_MAN_SUFFIX=1
   11019 fi
   11020 if test x$APP_MAN_DIR = x    ; then
   11021     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11022 fi
   11023 
   11024 if test x$LIB_MAN_SUFFIX = x    ; then
   11025     LIB_MAN_SUFFIX=3
   11026 fi
   11027 if test x$LIB_MAN_DIR = x    ; then
   11028     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11029 fi
   11030 
   11031 if test x$FILE_MAN_SUFFIX = x    ; then
   11032     case $host_os in
   11033 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   11034 	*)		FILE_MAN_SUFFIX=5  ;;
   11035     esac
   11036 fi
   11037 if test x$FILE_MAN_DIR = x    ; then
   11038     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11039 fi
   11040 
   11041 if test x$MISC_MAN_SUFFIX = x    ; then
   11042     case $host_os in
   11043 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   11044 	*)		MISC_MAN_SUFFIX=7  ;;
   11045     esac
   11046 fi
   11047 if test x$MISC_MAN_DIR = x    ; then
   11048     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11049 fi
   11050 
   11051 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11052     case $host_os in
   11053 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   11054 	*)		DRIVER_MAN_SUFFIX=4  ;;
   11055     esac
   11056 fi
   11057 if test x$DRIVER_MAN_DIR = x    ; then
   11058     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11059 fi
   11060 
   11061 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11062     case $host_os in
   11063 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11064 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11065     esac
   11066 fi
   11067 if test x$ADMIN_MAN_DIR = x    ; then
   11068     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11069 fi
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 XORG_MAN_PAGE="X Version 11"
   11086 
   11087 MAN_SUBSTS="\
   11088 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11089 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11090 	-e 's|__xservername__|Xorg|g' \
   11091 	-e 's|__xconfigfile__|xorg.conf|g' \
   11092 	-e 's|__projectroot__|\$(prefix)|g' \
   11093 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11094 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11095 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11096 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11097 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11098 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11099 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11100 
   11101 
   11102 
   11103 # Check whether --enable-silent-rules was given.
   11104 if test "${enable_silent_rules+set}" = set; then :
   11105   enableval=$enable_silent_rules;
   11106 fi
   11107 
   11108 case $enable_silent_rules in # (((
   11109   yes) AM_DEFAULT_VERBOSITY=0;;
   11110    no) AM_DEFAULT_VERBOSITY=1;;
   11111     *) AM_DEFAULT_VERBOSITY=0;;
   11112 esac
   11113 am_make=${MAKE-make}
   11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11115 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   11116 if ${am_cv_make_support_nested_variables+:} false; then :
   11117   $as_echo_n "(cached) " >&6
   11118 else
   11119   if $as_echo 'TRUE=$(BAR$(V))
   11120 BAR0=false
   11121 BAR1=true
   11122 V=1
   11123 am__doit:
   11124 	@$(TRUE)
   11125 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11126   am_cv_make_support_nested_variables=yes
   11127 else
   11128   am_cv_make_support_nested_variables=no
   11129 fi
   11130 fi
   11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11132 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   11133 if test $am_cv_make_support_nested_variables = yes; then
   11134     AM_V='$(V)'
   11135   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11136 else
   11137   AM_V=$AM_DEFAULT_VERBOSITY
   11138   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11139 fi
   11140 AM_BACKSLASH='\'
   11141 
   11142 
   11143 
   11144 # Initialize libtool
   11145 # Check whether --enable-static was given.
   11146 if test "${enable_static+set}" = set; then :
   11147   enableval=$enable_static; p=${PACKAGE-default}
   11148     case $enableval in
   11149     yes) enable_static=yes ;;
   11150     no) enable_static=no ;;
   11151     *)
   11152      enable_static=no
   11153       # Look at the argument we got.  We use all the common list separators.
   11154       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   11155       for pkg in $enableval; do
   11156 	IFS=$lt_save_ifs
   11157 	if test "X$pkg" = "X$p"; then
   11158 	  enable_static=yes
   11159 	fi
   11160       done
   11161       IFS=$lt_save_ifs
   11162       ;;
   11163     esac
   11164 else
   11165   enable_static=no
   11166 fi
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 case `pwd` in
   11177   *\ * | *\	*)
   11178     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11179 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11180 esac
   11181 
   11182 
   11183 
   11184 macro_version='2.4.6'
   11185 macro_revision='2.4.6'
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 ltmain=$ac_aux_dir/ltmain.sh
   11200 
   11201 # Backslashify metacharacters that are still active within
   11202 # double-quoted strings.
   11203 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11204 
   11205 # Same as above, but do not quote variable references.
   11206 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11207 
   11208 # Sed substitution to delay expansion of an escaped shell variable in a
   11209 # double_quote_subst'ed string.
   11210 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11211 
   11212 # Sed substitution to delay expansion of an escaped single quote.
   11213 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11214 
   11215 # Sed substitution to avoid accidental globbing in evaled expressions
   11216 no_glob_subst='s/\*/\\\*/g'
   11217 
   11218 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11219 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11220 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11221 
   11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11223 $as_echo_n "checking how to print strings... " >&6; }
   11224 # Test print first, because it will be a builtin if present.
   11225 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11226    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11227   ECHO='print -r --'
   11228 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11229   ECHO='printf %s\n'
   11230 else
   11231   # Use this function as a fallback that always works.
   11232   func_fallback_echo ()
   11233   {
   11234     eval 'cat <<_LTECHO_EOF
   11235 $1
   11236 _LTECHO_EOF'
   11237   }
   11238   ECHO='func_fallback_echo'
   11239 fi
   11240 
   11241 # func_echo_all arg...
   11242 # Invoke $ECHO with all args, space-separated.
   11243 func_echo_all ()
   11244 {
   11245     $ECHO ""
   11246 }
   11247 
   11248 case $ECHO in
   11249   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11250 $as_echo "printf" >&6; } ;;
   11251   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11252 $as_echo "print -r" >&6; } ;;
   11253   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11254 $as_echo "cat" >&6; } ;;
   11255 esac
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11271 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   11272 if ${ac_cv_path_SED+:} false; then :
   11273   $as_echo_n "(cached) " >&6
   11274 else
   11275             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11276      for ac_i in 1 2 3 4 5 6 7; do
   11277        ac_script="$ac_script$as_nl$ac_script"
   11278      done
   11279      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11280      { ac_script=; unset ac_script;}
   11281      if test -z "$SED"; then
   11282   ac_path_SED_found=false
   11283   # Loop through the user's path and test for each of PROGNAME-LIST
   11284   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11285 for as_dir in $PATH
   11286 do
   11287   IFS=$as_save_IFS
   11288   test -z "$as_dir" && as_dir=.
   11289     for ac_prog in sed gsed; do
   11290     for ac_exec_ext in '' $ac_executable_extensions; do
   11291       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11292       as_fn_executable_p "$ac_path_SED" || continue
   11293 # Check for GNU ac_path_SED and select it if it is found.
   11294   # Check for GNU $ac_path_SED
   11295 case `"$ac_path_SED" --version 2>&1` in
   11296 *GNU*)
   11297   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11298 *)
   11299   ac_count=0
   11300   $as_echo_n 0123456789 >"conftest.in"
   11301   while :
   11302   do
   11303     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11304     mv "conftest.tmp" "conftest.in"
   11305     cp "conftest.in" "conftest.nl"
   11306     $as_echo '' >> "conftest.nl"
   11307     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11308     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11309     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11310     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11311       # Best one so far, save it but keep looking for a better one
   11312       ac_cv_path_SED="$ac_path_SED"
   11313       ac_path_SED_max=$ac_count
   11314     fi
   11315     # 10*(2^10) chars as input seems more than enough
   11316     test $ac_count -gt 10 && break
   11317   done
   11318   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11319 esac
   11320 
   11321       $ac_path_SED_found && break 3
   11322     done
   11323   done
   11324   done
   11325 IFS=$as_save_IFS
   11326   if test -z "$ac_cv_path_SED"; then
   11327     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11328   fi
   11329 else
   11330   ac_cv_path_SED=$SED
   11331 fi
   11332 
   11333 fi
   11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11335 $as_echo "$ac_cv_path_SED" >&6; }
   11336  SED="$ac_cv_path_SED"
   11337   rm -f conftest.sed
   11338 
   11339 test -z "$SED" && SED=sed
   11340 Xsed="$SED -e 1s/^X//"
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11353 $as_echo_n "checking for fgrep... " >&6; }
   11354 if ${ac_cv_path_FGREP+:} false; then :
   11355   $as_echo_n "(cached) " >&6
   11356 else
   11357   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11358    then ac_cv_path_FGREP="$GREP -F"
   11359    else
   11360      if test -z "$FGREP"; then
   11361   ac_path_FGREP_found=false
   11362   # Loop through the user's path and test for each of PROGNAME-LIST
   11363   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11364 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11365 do
   11366   IFS=$as_save_IFS
   11367   test -z "$as_dir" && as_dir=.
   11368     for ac_prog in fgrep; do
   11369     for ac_exec_ext in '' $ac_executable_extensions; do
   11370       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11371       as_fn_executable_p "$ac_path_FGREP" || continue
   11372 # Check for GNU ac_path_FGREP and select it if it is found.
   11373   # Check for GNU $ac_path_FGREP
   11374 case `"$ac_path_FGREP" --version 2>&1` in
   11375 *GNU*)
   11376   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11377 *)
   11378   ac_count=0
   11379   $as_echo_n 0123456789 >"conftest.in"
   11380   while :
   11381   do
   11382     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11383     mv "conftest.tmp" "conftest.in"
   11384     cp "conftest.in" "conftest.nl"
   11385     $as_echo 'FGREP' >> "conftest.nl"
   11386     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11387     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11388     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11389     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11390       # Best one so far, save it but keep looking for a better one
   11391       ac_cv_path_FGREP="$ac_path_FGREP"
   11392       ac_path_FGREP_max=$ac_count
   11393     fi
   11394     # 10*(2^10) chars as input seems more than enough
   11395     test $ac_count -gt 10 && break
   11396   done
   11397   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11398 esac
   11399 
   11400       $ac_path_FGREP_found && break 3
   11401     done
   11402   done
   11403   done
   11404 IFS=$as_save_IFS
   11405   if test -z "$ac_cv_path_FGREP"; then
   11406     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11407   fi
   11408 else
   11409   ac_cv_path_FGREP=$FGREP
   11410 fi
   11411 
   11412    fi
   11413 fi
   11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11415 $as_echo "$ac_cv_path_FGREP" >&6; }
   11416  FGREP="$ac_cv_path_FGREP"
   11417 
   11418 
   11419 test -z "$GREP" && GREP=grep
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 # Check whether --with-gnu-ld was given.
   11440 if test "${with_gnu_ld+set}" = set; then :
   11441   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11442 else
   11443   with_gnu_ld=no
   11444 fi
   11445 
   11446 ac_prog=ld
   11447 if test yes = "$GCC"; then
   11448   # Check if gcc -print-prog-name=ld gives a path.
   11449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11450 $as_echo_n "checking for ld used by $CC... " >&6; }
   11451   case $host in
   11452   *-*-mingw*)
   11453     # gcc leaves a trailing carriage return, which upsets mingw
   11454     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11455   *)
   11456     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11457   esac
   11458   case $ac_prog in
   11459     # Accept absolute paths.
   11460     [\\/]* | ?:[\\/]*)
   11461       re_direlt='/[^/][^/]*/\.\./'
   11462       # Canonicalize the pathname of ld
   11463       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11464       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11465 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11466       done
   11467       test -z "$LD" && LD=$ac_prog
   11468       ;;
   11469   "")
   11470     # If it fails, then pretend we aren't using GCC.
   11471     ac_prog=ld
   11472     ;;
   11473   *)
   11474     # If it is relative, then search for the first ld in PATH.
   11475     with_gnu_ld=unknown
   11476     ;;
   11477   esac
   11478 elif test yes = "$with_gnu_ld"; then
   11479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11480 $as_echo_n "checking for GNU ld... " >&6; }
   11481 else
   11482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11483 $as_echo_n "checking for non-GNU ld... " >&6; }
   11484 fi
   11485 if ${lt_cv_path_LD+:} false; then :
   11486   $as_echo_n "(cached) " >&6
   11487 else
   11488   if test -z "$LD"; then
   11489   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11490   for ac_dir in $PATH; do
   11491     IFS=$lt_save_ifs
   11492     test -z "$ac_dir" && ac_dir=.
   11493     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11494       lt_cv_path_LD=$ac_dir/$ac_prog
   11495       # Check to see if the program is GNU ld.  I'd rather use --version,
   11496       # but apparently some variants of GNU ld only accept -v.
   11497       # Break only if it was the GNU/non-GNU ld that we prefer.
   11498       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11499       *GNU* | *'with BFD'*)
   11500 	test no != "$with_gnu_ld" && break
   11501 	;;
   11502       *)
   11503 	test yes != "$with_gnu_ld" && break
   11504 	;;
   11505       esac
   11506     fi
   11507   done
   11508   IFS=$lt_save_ifs
   11509 else
   11510   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11511 fi
   11512 fi
   11513 
   11514 LD=$lt_cv_path_LD
   11515 if test -n "$LD"; then
   11516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11517 $as_echo "$LD" >&6; }
   11518 else
   11519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11520 $as_echo "no" >&6; }
   11521 fi
   11522 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11524 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11525 if ${lt_cv_prog_gnu_ld+:} false; then :
   11526   $as_echo_n "(cached) " >&6
   11527 else
   11528   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11529 case `$LD -v 2>&1 </dev/null` in
   11530 *GNU* | *'with BFD'*)
   11531   lt_cv_prog_gnu_ld=yes
   11532   ;;
   11533 *)
   11534   lt_cv_prog_gnu_ld=no
   11535   ;;
   11536 esac
   11537 fi
   11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11539 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11540 with_gnu_ld=$lt_cv_prog_gnu_ld
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11551 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11552 if ${lt_cv_path_NM+:} false; then :
   11553   $as_echo_n "(cached) " >&6
   11554 else
   11555   if test -n "$NM"; then
   11556   # Let the user override the test.
   11557   lt_cv_path_NM=$NM
   11558 else
   11559   lt_nm_to_check=${ac_tool_prefix}nm
   11560   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11561     lt_nm_to_check="$lt_nm_to_check nm"
   11562   fi
   11563   for lt_tmp_nm in $lt_nm_to_check; do
   11564     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11565     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11566       IFS=$lt_save_ifs
   11567       test -z "$ac_dir" && ac_dir=.
   11568       tmp_nm=$ac_dir/$lt_tmp_nm
   11569       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11570 	# Check to see if the nm accepts a BSD-compat flag.
   11571 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11572 	#   nm: unknown option "B" ignored
   11573 	# Tru64's nm complains that /dev/null is an invalid object file
   11574 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11575 	case $build_os in
   11576 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11577 	*) lt_bad_file=/dev/null ;;
   11578 	esac
   11579 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11580 	*$lt_bad_file* | *'Invalid file or object type'*)
   11581 	  lt_cv_path_NM="$tmp_nm -B"
   11582 	  break 2
   11583 	  ;;
   11584 	*)
   11585 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11586 	  */dev/null*)
   11587 	    lt_cv_path_NM="$tmp_nm -p"
   11588 	    break 2
   11589 	    ;;
   11590 	  *)
   11591 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11592 	    continue # so that we can try to find one that supports BSD flags
   11593 	    ;;
   11594 	  esac
   11595 	  ;;
   11596 	esac
   11597       fi
   11598     done
   11599     IFS=$lt_save_ifs
   11600   done
   11601   : ${lt_cv_path_NM=no}
   11602 fi
   11603 fi
   11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11605 $as_echo "$lt_cv_path_NM" >&6; }
   11606 if test no != "$lt_cv_path_NM"; then
   11607   NM=$lt_cv_path_NM
   11608 else
   11609   # Didn't find any BSD compatible name lister, look for dumpbin.
   11610   if test -n "$DUMPBIN"; then :
   11611     # Let the user override the test.
   11612   else
   11613     if test -n "$ac_tool_prefix"; then
   11614   for ac_prog in dumpbin "link -dump"
   11615   do
   11616     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11617 set dummy $ac_tool_prefix$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_DUMPBIN+:} false; then :
   11621   $as_echo_n "(cached) " >&6
   11622 else
   11623   if test -n "$DUMPBIN"; then
   11624   ac_cv_prog_DUMPBIN="$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_DUMPBIN="$ac_tool_prefix$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 DUMPBIN=$ac_cv_prog_DUMPBIN
   11644 if test -n "$DUMPBIN"; then
   11645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11646 $as_echo "$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 "$DUMPBIN" && break
   11654   done
   11655 fi
   11656 if test -z "$DUMPBIN"; then
   11657   ac_ct_DUMPBIN=$DUMPBIN
   11658   for ac_prog in dumpbin "link -dump"
   11659 do
   11660   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11661 set dummy $ac_prog; ac_word=$2
   11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11663 $as_echo_n "checking for $ac_word... " >&6; }
   11664 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11665   $as_echo_n "(cached) " >&6
   11666 else
   11667   if test -n "$ac_ct_DUMPBIN"; then
   11668   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11669 else
   11670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11671 for as_dir in $PATH
   11672 do
   11673   IFS=$as_save_IFS
   11674   test -z "$as_dir" && as_dir=.
   11675     for ac_exec_ext in '' $ac_executable_extensions; do
   11676   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11677     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11679     break 2
   11680   fi
   11681 done
   11682   done
   11683 IFS=$as_save_IFS
   11684 
   11685 fi
   11686 fi
   11687 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11688 if test -n "$ac_ct_DUMPBIN"; then
   11689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11690 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11691 else
   11692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11693 $as_echo "no" >&6; }
   11694 fi
   11695 
   11696 
   11697   test -n "$ac_ct_DUMPBIN" && break
   11698 done
   11699 
   11700   if test "x$ac_ct_DUMPBIN" = x; then
   11701     DUMPBIN=":"
   11702   else
   11703     case $cross_compiling:$ac_tool_warned in
   11704 yes:)
   11705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11707 ac_tool_warned=yes ;;
   11708 esac
   11709     DUMPBIN=$ac_ct_DUMPBIN
   11710   fi
   11711 fi
   11712 
   11713     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11714     *COFF*)
   11715       DUMPBIN="$DUMPBIN -symbols -headers"
   11716       ;;
   11717     *)
   11718       DUMPBIN=:
   11719       ;;
   11720     esac
   11721   fi
   11722 
   11723   if test : != "$DUMPBIN"; then
   11724     NM=$DUMPBIN
   11725   fi
   11726 fi
   11727 test -z "$NM" && NM=nm
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11735 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11736 if ${lt_cv_nm_interface+:} false; then :
   11737   $as_echo_n "(cached) " >&6
   11738 else
   11739   lt_cv_nm_interface="BSD nm"
   11740   echo "int some_variable = 0;" > conftest.$ac_ext
   11741   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11742   (eval "$ac_compile" 2>conftest.err)
   11743   cat conftest.err >&5
   11744   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11745   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11746   cat conftest.err >&5
   11747   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11748   cat conftest.out >&5
   11749   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11750     lt_cv_nm_interface="MS dumpbin"
   11751   fi
   11752   rm -f conftest*
   11753 fi
   11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11755 $as_echo "$lt_cv_nm_interface" >&6; }
   11756 
   11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11758 $as_echo_n "checking whether ln -s works... " >&6; }
   11759 LN_S=$as_ln_s
   11760 if test "$LN_S" = "ln -s"; then
   11761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11762 $as_echo "yes" >&6; }
   11763 else
   11764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11765 $as_echo "no, using $LN_S" >&6; }
   11766 fi
   11767 
   11768 # find the maximum length of command line arguments
   11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11770 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11771 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11772   $as_echo_n "(cached) " >&6
   11773 else
   11774     i=0
   11775   teststring=ABCD
   11776 
   11777   case $build_os in
   11778   msdosdjgpp*)
   11779     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11780     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11781     # during glob expansion).  Even if it were fixed, the result of this
   11782     # check would be larger than it should be.
   11783     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11784     ;;
   11785 
   11786   gnu*)
   11787     # Under GNU Hurd, this test is not required because there is
   11788     # no limit to the length of command line arguments.
   11789     # Libtool will interpret -1 as no limit whatsoever
   11790     lt_cv_sys_max_cmd_len=-1;
   11791     ;;
   11792 
   11793   cygwin* | mingw* | cegcc*)
   11794     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11795     # about 5 minutes as the teststring grows exponentially.
   11796     # Worse, since 9x/ME are not pre-emptively multitasking,
   11797     # you end up with a "frozen" computer, even though with patience
   11798     # the test eventually succeeds (with a max line length of 256k).
   11799     # Instead, let's just punt: use the minimum linelength reported by
   11800     # all of the supported platforms: 8192 (on NT/2K/XP).
   11801     lt_cv_sys_max_cmd_len=8192;
   11802     ;;
   11803 
   11804   mint*)
   11805     # On MiNT this can take a long time and run out of memory.
   11806     lt_cv_sys_max_cmd_len=8192;
   11807     ;;
   11808 
   11809   amigaos*)
   11810     # On AmigaOS with pdksh, this test takes hours, literally.
   11811     # So we just punt and use a minimum line length of 8192.
   11812     lt_cv_sys_max_cmd_len=8192;
   11813     ;;
   11814 
   11815   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11816     # This has been around since 386BSD, at least.  Likely further.
   11817     if test -x /sbin/sysctl; then
   11818       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11819     elif test -x /usr/sbin/sysctl; then
   11820       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11821     else
   11822       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11823     fi
   11824     # And add a safety zone
   11825     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11826     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11827     ;;
   11828 
   11829   interix*)
   11830     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11831     lt_cv_sys_max_cmd_len=196608
   11832     ;;
   11833 
   11834   os2*)
   11835     # The test takes a long time on OS/2.
   11836     lt_cv_sys_max_cmd_len=8192
   11837     ;;
   11838 
   11839   osf*)
   11840     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11841     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11842     # nice to cause kernel panics so lets avoid the loop below.
   11843     # First set a reasonable default.
   11844     lt_cv_sys_max_cmd_len=16384
   11845     #
   11846     if test -x /sbin/sysconfig; then
   11847       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11848         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11849       esac
   11850     fi
   11851     ;;
   11852   sco3.2v5*)
   11853     lt_cv_sys_max_cmd_len=102400
   11854     ;;
   11855   sysv5* | sco5v6* | sysv4.2uw2*)
   11856     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11857     if test -n "$kargmax"; then
   11858       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11859     else
   11860       lt_cv_sys_max_cmd_len=32768
   11861     fi
   11862     ;;
   11863   *)
   11864     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11865     if test -n "$lt_cv_sys_max_cmd_len" && \
   11866        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11867       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11868       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11869     else
   11870       # Make teststring a little bigger before we do anything with it.
   11871       # a 1K string should be a reasonable start.
   11872       for i in 1 2 3 4 5 6 7 8; do
   11873         teststring=$teststring$teststring
   11874       done
   11875       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11876       # If test is not a shell built-in, we'll probably end up computing a
   11877       # maximum length that is only half of the actual maximum length, but
   11878       # we can't tell.
   11879       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11880 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11881 	      test 17 != "$i" # 1/2 MB should be enough
   11882       do
   11883         i=`expr $i + 1`
   11884         teststring=$teststring$teststring
   11885       done
   11886       # Only check the string length outside the loop.
   11887       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11888       teststring=
   11889       # Add a significant safety factor because C++ compilers can tack on
   11890       # massive amounts of additional arguments before passing them to the
   11891       # linker.  It appears as though 1/2 is a usable value.
   11892       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11893     fi
   11894     ;;
   11895   esac
   11896 
   11897 fi
   11898 
   11899 if test -n "$lt_cv_sys_max_cmd_len"; then
   11900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11901 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11902 else
   11903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11904 $as_echo "none" >&6; }
   11905 fi
   11906 max_cmd_len=$lt_cv_sys_max_cmd_len
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 : ${CP="cp -f"}
   11914 : ${MV="mv -f"}
   11915 : ${RM="rm -f"}
   11916 
   11917 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11918   lt_unset=unset
   11919 else
   11920   lt_unset=false
   11921 fi
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 # test EBCDIC or ASCII
   11928 case `echo X|tr X '\101'` in
   11929  A) # ASCII based system
   11930     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11931   lt_SP2NL='tr \040 \012'
   11932   lt_NL2SP='tr \015\012 \040\040'
   11933   ;;
   11934  *) # EBCDIC based system
   11935   lt_SP2NL='tr \100 \n'
   11936   lt_NL2SP='tr \r\n \100\100'
   11937   ;;
   11938 esac
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11949 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11950 if ${lt_cv_to_host_file_cmd+:} false; then :
   11951   $as_echo_n "(cached) " >&6
   11952 else
   11953   case $host in
   11954   *-*-mingw* )
   11955     case $build in
   11956       *-*-mingw* ) # actually msys
   11957         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11958         ;;
   11959       *-*-cygwin* )
   11960         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11961         ;;
   11962       * ) # otherwise, assume *nix
   11963         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11964         ;;
   11965     esac
   11966     ;;
   11967   *-*-cygwin* )
   11968     case $build in
   11969       *-*-mingw* ) # actually msys
   11970         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11971         ;;
   11972       *-*-cygwin* )
   11973         lt_cv_to_host_file_cmd=func_convert_file_noop
   11974         ;;
   11975       * ) # otherwise, assume *nix
   11976         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11977         ;;
   11978     esac
   11979     ;;
   11980   * ) # unhandled hosts (and "normal" native builds)
   11981     lt_cv_to_host_file_cmd=func_convert_file_noop
   11982     ;;
   11983 esac
   11984 
   11985 fi
   11986 
   11987 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11989 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11996 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11997 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11998   $as_echo_n "(cached) " >&6
   11999 else
   12000   #assume ordinary cross tools, or native build.
   12001 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12002 case $host in
   12003   *-*-mingw* )
   12004     case $build in
   12005       *-*-mingw* ) # actually msys
   12006         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12007         ;;
   12008     esac
   12009     ;;
   12010 esac
   12011 
   12012 fi
   12013 
   12014 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12016 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12023 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   12024 if ${lt_cv_ld_reload_flag+:} false; then :
   12025   $as_echo_n "(cached) " >&6
   12026 else
   12027   lt_cv_ld_reload_flag='-r'
   12028 fi
   12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12030 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   12031 reload_flag=$lt_cv_ld_reload_flag
   12032 case $reload_flag in
   12033 "" | " "*) ;;
   12034 *) reload_flag=" $reload_flag" ;;
   12035 esac
   12036 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12037 case $host_os in
   12038   cygwin* | mingw* | pw32* | cegcc*)
   12039     if test yes != "$GCC"; then
   12040       reload_cmds=false
   12041     fi
   12042     ;;
   12043   darwin*)
   12044     if test yes = "$GCC"; then
   12045       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12046     else
   12047       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12048     fi
   12049     ;;
   12050 esac
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 if test -n "$ac_tool_prefix"; then
   12061   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12062 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12064 $as_echo_n "checking for $ac_word... " >&6; }
   12065 if ${ac_cv_prog_OBJDUMP+:} false; then :
   12066   $as_echo_n "(cached) " >&6
   12067 else
   12068   if test -n "$OBJDUMP"; then
   12069   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12070 else
   12071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12072 for as_dir in $PATH
   12073 do
   12074   IFS=$as_save_IFS
   12075   test -z "$as_dir" && as_dir=.
   12076     for ac_exec_ext in '' $ac_executable_extensions; do
   12077   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12078     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12080     break 2
   12081   fi
   12082 done
   12083   done
   12084 IFS=$as_save_IFS
   12085 
   12086 fi
   12087 fi
   12088 OBJDUMP=$ac_cv_prog_OBJDUMP
   12089 if test -n "$OBJDUMP"; then
   12090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12091 $as_echo "$OBJDUMP" >&6; }
   12092 else
   12093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12094 $as_echo "no" >&6; }
   12095 fi
   12096 
   12097 
   12098 fi
   12099 if test -z "$ac_cv_prog_OBJDUMP"; then
   12100   ac_ct_OBJDUMP=$OBJDUMP
   12101   # Extract the first word of "objdump", so it can be a program name with args.
   12102 set dummy objdump; ac_word=$2
   12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12104 $as_echo_n "checking for $ac_word... " >&6; }
   12105 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   12106   $as_echo_n "(cached) " >&6
   12107 else
   12108   if test -n "$ac_ct_OBJDUMP"; then
   12109   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12110 else
   12111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12112 for as_dir in $PATH
   12113 do
   12114   IFS=$as_save_IFS
   12115   test -z "$as_dir" && as_dir=.
   12116     for ac_exec_ext in '' $ac_executable_extensions; do
   12117   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12118     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12119     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12120     break 2
   12121   fi
   12122 done
   12123   done
   12124 IFS=$as_save_IFS
   12125 
   12126 fi
   12127 fi
   12128 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12129 if test -n "$ac_ct_OBJDUMP"; then
   12130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12131 $as_echo "$ac_ct_OBJDUMP" >&6; }
   12132 else
   12133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12134 $as_echo "no" >&6; }
   12135 fi
   12136 
   12137   if test "x$ac_ct_OBJDUMP" = x; then
   12138     OBJDUMP="false"
   12139   else
   12140     case $cross_compiling:$ac_tool_warned in
   12141 yes:)
   12142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12144 ac_tool_warned=yes ;;
   12145 esac
   12146     OBJDUMP=$ac_ct_OBJDUMP
   12147   fi
   12148 else
   12149   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12150 fi
   12151 
   12152 test -z "$OBJDUMP" && OBJDUMP=objdump
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12163 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   12164 if ${lt_cv_deplibs_check_method+:} false; then :
   12165   $as_echo_n "(cached) " >&6
   12166 else
   12167   lt_cv_file_magic_cmd='$MAGIC_CMD'
   12168 lt_cv_file_magic_test_file=
   12169 lt_cv_deplibs_check_method='unknown'
   12170 # Need to set the preceding variable on all platforms that support
   12171 # interlibrary dependencies.
   12172 # 'none' -- dependencies not supported.
   12173 # 'unknown' -- same as none, but documents that we really don't know.
   12174 # 'pass_all' -- all dependencies passed with no checks.
   12175 # 'test_compile' -- check by making test program.
   12176 # 'file_magic [[regex]]' -- check by looking for files in library path
   12177 # that responds to the $file_magic_cmd with a given extended regex.
   12178 # If you have 'file' or equivalent on your system and you're not sure
   12179 # whether 'pass_all' will *always* work, you probably want this one.
   12180 
   12181 case $host_os in
   12182 aix[4-9]*)
   12183   lt_cv_deplibs_check_method=pass_all
   12184   ;;
   12185 
   12186 beos*)
   12187   lt_cv_deplibs_check_method=pass_all
   12188   ;;
   12189 
   12190 bsdi[45]*)
   12191   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12192   lt_cv_file_magic_cmd='/usr/bin/file -L'
   12193   lt_cv_file_magic_test_file=/shlib/libc.so
   12194   ;;
   12195 
   12196 cygwin*)
   12197   # func_win32_libid is a shell function defined in ltmain.sh
   12198   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12199   lt_cv_file_magic_cmd='func_win32_libid'
   12200   ;;
   12201 
   12202 mingw* | pw32*)
   12203   # Base MSYS/MinGW do not provide the 'file' command needed by
   12204   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12205   # unless we find 'file', for example because we are cross-compiling.
   12206   if ( file / ) >/dev/null 2>&1; then
   12207     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12208     lt_cv_file_magic_cmd='func_win32_libid'
   12209   else
   12210     # Keep this pattern in sync with the one in func_win32_libid.
   12211     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12212     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12213   fi
   12214   ;;
   12215 
   12216 cegcc*)
   12217   # use the weaker test based on 'objdump'. See mingw*.
   12218   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12219   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12220   ;;
   12221 
   12222 darwin* | rhapsody*)
   12223   lt_cv_deplibs_check_method=pass_all
   12224   ;;
   12225 
   12226 freebsd* | dragonfly*)
   12227   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12228     case $host_cpu in
   12229     i*86 )
   12230       # Not sure whether the presence of OpenBSD here was a mistake.
   12231       # Let's accept both of them until this is cleared up.
   12232       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12233       lt_cv_file_magic_cmd=/usr/bin/file
   12234       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12235       ;;
   12236     esac
   12237   else
   12238     lt_cv_deplibs_check_method=pass_all
   12239   fi
   12240   ;;
   12241 
   12242 haiku*)
   12243   lt_cv_deplibs_check_method=pass_all
   12244   ;;
   12245 
   12246 hpux10.20* | hpux11*)
   12247   lt_cv_file_magic_cmd=/usr/bin/file
   12248   case $host_cpu in
   12249   ia64*)
   12250     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12251     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12252     ;;
   12253   hppa*64*)
   12254     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]'
   12255     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12256     ;;
   12257   *)
   12258     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12259     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12260     ;;
   12261   esac
   12262   ;;
   12263 
   12264 interix[3-9]*)
   12265   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12266   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12267   ;;
   12268 
   12269 irix5* | irix6* | nonstopux*)
   12270   case $LD in
   12271   *-32|*"-32 ") libmagic=32-bit;;
   12272   *-n32|*"-n32 ") libmagic=N32;;
   12273   *-64|*"-64 ") libmagic=64-bit;;
   12274   *) libmagic=never-match;;
   12275   esac
   12276   lt_cv_deplibs_check_method=pass_all
   12277   ;;
   12278 
   12279 # This must be glibc/ELF.
   12280 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12281   lt_cv_deplibs_check_method=pass_all
   12282   ;;
   12283 
   12284 netbsd* | netbsdelf*-gnu)
   12285   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12286     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12287   else
   12288     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12289   fi
   12290   ;;
   12291 
   12292 newos6*)
   12293   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12294   lt_cv_file_magic_cmd=/usr/bin/file
   12295   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12296   ;;
   12297 
   12298 *nto* | *qnx*)
   12299   lt_cv_deplibs_check_method=pass_all
   12300   ;;
   12301 
   12302 openbsd* | bitrig*)
   12303   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12304     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12305   else
   12306     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12307   fi
   12308   ;;
   12309 
   12310 osf3* | osf4* | osf5*)
   12311   lt_cv_deplibs_check_method=pass_all
   12312   ;;
   12313 
   12314 rdos*)
   12315   lt_cv_deplibs_check_method=pass_all
   12316   ;;
   12317 
   12318 solaris*)
   12319   lt_cv_deplibs_check_method=pass_all
   12320   ;;
   12321 
   12322 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12323   lt_cv_deplibs_check_method=pass_all
   12324   ;;
   12325 
   12326 sysv4 | sysv4.3*)
   12327   case $host_vendor in
   12328   motorola)
   12329     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]'
   12330     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12331     ;;
   12332   ncr)
   12333     lt_cv_deplibs_check_method=pass_all
   12334     ;;
   12335   sequent)
   12336     lt_cv_file_magic_cmd='/bin/file'
   12337     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12338     ;;
   12339   sni)
   12340     lt_cv_file_magic_cmd='/bin/file'
   12341     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12342     lt_cv_file_magic_test_file=/lib/libc.so
   12343     ;;
   12344   siemens)
   12345     lt_cv_deplibs_check_method=pass_all
   12346     ;;
   12347   pc)
   12348     lt_cv_deplibs_check_method=pass_all
   12349     ;;
   12350   esac
   12351   ;;
   12352 
   12353 tpf*)
   12354   lt_cv_deplibs_check_method=pass_all
   12355   ;;
   12356 os2*)
   12357   lt_cv_deplibs_check_method=pass_all
   12358   ;;
   12359 esac
   12360 
   12361 fi
   12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12363 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12364 
   12365 file_magic_glob=
   12366 want_nocaseglob=no
   12367 if test "$build" = "$host"; then
   12368   case $host_os in
   12369   mingw* | pw32*)
   12370     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12371       want_nocaseglob=yes
   12372     else
   12373       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12374     fi
   12375     ;;
   12376   esac
   12377 fi
   12378 
   12379 file_magic_cmd=$lt_cv_file_magic_cmd
   12380 deplibs_check_method=$lt_cv_deplibs_check_method
   12381 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 
   12390 
   12391 
   12392 
   12393 
   12394 
   12395 
   12396 
   12397 
   12398 
   12399 
   12400 
   12401 
   12402 
   12403 
   12404 if test -n "$ac_tool_prefix"; then
   12405   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12406 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12408 $as_echo_n "checking for $ac_word... " >&6; }
   12409 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12410   $as_echo_n "(cached) " >&6
   12411 else
   12412   if test -n "$DLLTOOL"; then
   12413   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12414 else
   12415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12416 for as_dir in $PATH
   12417 do
   12418   IFS=$as_save_IFS
   12419   test -z "$as_dir" && as_dir=.
   12420     for ac_exec_ext in '' $ac_executable_extensions; do
   12421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12422     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12424     break 2
   12425   fi
   12426 done
   12427   done
   12428 IFS=$as_save_IFS
   12429 
   12430 fi
   12431 fi
   12432 DLLTOOL=$ac_cv_prog_DLLTOOL
   12433 if test -n "$DLLTOOL"; then
   12434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12435 $as_echo "$DLLTOOL" >&6; }
   12436 else
   12437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12438 $as_echo "no" >&6; }
   12439 fi
   12440 
   12441 
   12442 fi
   12443 if test -z "$ac_cv_prog_DLLTOOL"; then
   12444   ac_ct_DLLTOOL=$DLLTOOL
   12445   # Extract the first word of "dlltool", so it can be a program name with args.
   12446 set dummy dlltool; ac_word=$2
   12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12448 $as_echo_n "checking for $ac_word... " >&6; }
   12449 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12450   $as_echo_n "(cached) " >&6
   12451 else
   12452   if test -n "$ac_ct_DLLTOOL"; then
   12453   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12454 else
   12455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12456 for as_dir in $PATH
   12457 do
   12458   IFS=$as_save_IFS
   12459   test -z "$as_dir" && as_dir=.
   12460     for ac_exec_ext in '' $ac_executable_extensions; do
   12461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12462     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12464     break 2
   12465   fi
   12466 done
   12467   done
   12468 IFS=$as_save_IFS
   12469 
   12470 fi
   12471 fi
   12472 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12473 if test -n "$ac_ct_DLLTOOL"; then
   12474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12475 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12476 else
   12477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12478 $as_echo "no" >&6; }
   12479 fi
   12480 
   12481   if test "x$ac_ct_DLLTOOL" = x; then
   12482     DLLTOOL="false"
   12483   else
   12484     case $cross_compiling:$ac_tool_warned in
   12485 yes:)
   12486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12488 ac_tool_warned=yes ;;
   12489 esac
   12490     DLLTOOL=$ac_ct_DLLTOOL
   12491   fi
   12492 else
   12493   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12494 fi
   12495 
   12496 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12497 
   12498 
   12499 
   12500 
   12501 
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12508 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12509 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12510   $as_echo_n "(cached) " >&6
   12511 else
   12512   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12513 
   12514 case $host_os in
   12515 cygwin* | mingw* | pw32* | cegcc*)
   12516   # two different shell functions defined in ltmain.sh;
   12517   # decide which one to use based on capabilities of $DLLTOOL
   12518   case `$DLLTOOL --help 2>&1` in
   12519   *--identify-strict*)
   12520     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12521     ;;
   12522   *)
   12523     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12524     ;;
   12525   esac
   12526   ;;
   12527 *)
   12528   # fallback: assume linklib IS sharedlib
   12529   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12530   ;;
   12531 esac
   12532 
   12533 fi
   12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12535 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12536 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12537 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 if test -n "$ac_tool_prefix"; then
   12546   for ac_prog in ar
   12547   do
   12548     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12549 set dummy $ac_tool_prefix$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_AR+:} false; then :
   12553   $as_echo_n "(cached) " >&6
   12554 else
   12555   if test -n "$AR"; then
   12556   ac_cv_prog_AR="$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_AR="$ac_tool_prefix$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 AR=$ac_cv_prog_AR
   12576 if test -n "$AR"; then
   12577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12578 $as_echo "$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 "$AR" && break
   12586   done
   12587 fi
   12588 if test -z "$AR"; then
   12589   ac_ct_AR=$AR
   12590   for ac_prog in ar
   12591 do
   12592   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12593 set dummy $ac_prog; ac_word=$2
   12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12595 $as_echo_n "checking for $ac_word... " >&6; }
   12596 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12597   $as_echo_n "(cached) " >&6
   12598 else
   12599   if test -n "$ac_ct_AR"; then
   12600   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12601 else
   12602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12603 for as_dir in $PATH
   12604 do
   12605   IFS=$as_save_IFS
   12606   test -z "$as_dir" && as_dir=.
   12607     for ac_exec_ext in '' $ac_executable_extensions; do
   12608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12609     ac_cv_prog_ac_ct_AR="$ac_prog"
   12610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12611     break 2
   12612   fi
   12613 done
   12614   done
   12615 IFS=$as_save_IFS
   12616 
   12617 fi
   12618 fi
   12619 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12620 if test -n "$ac_ct_AR"; then
   12621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12622 $as_echo "$ac_ct_AR" >&6; }
   12623 else
   12624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12625 $as_echo "no" >&6; }
   12626 fi
   12627 
   12628 
   12629   test -n "$ac_ct_AR" && break
   12630 done
   12631 
   12632   if test "x$ac_ct_AR" = x; then
   12633     AR="false"
   12634   else
   12635     case $cross_compiling:$ac_tool_warned in
   12636 yes:)
   12637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12639 ac_tool_warned=yes ;;
   12640 esac
   12641     AR=$ac_ct_AR
   12642   fi
   12643 fi
   12644 
   12645 : ${AR=ar}
   12646 : ${AR_FLAGS=cru}
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12659 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12660 if ${lt_cv_ar_at_file+:} false; then :
   12661   $as_echo_n "(cached) " >&6
   12662 else
   12663   lt_cv_ar_at_file=no
   12664    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12665 /* end confdefs.h.  */
   12666 
   12667 int
   12668 main ()
   12669 {
   12670 
   12671   ;
   12672   return 0;
   12673 }
   12674 _ACEOF
   12675 if ac_fn_c_try_compile "$LINENO"; then :
   12676   echo conftest.$ac_objext > conftest.lst
   12677       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12678       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12679   (eval $lt_ar_try) 2>&5
   12680   ac_status=$?
   12681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12682   test $ac_status = 0; }
   12683       if test 0 -eq "$ac_status"; then
   12684 	# Ensure the archiver fails upon bogus file names.
   12685 	rm -f conftest.$ac_objext libconftest.a
   12686 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12687   (eval $lt_ar_try) 2>&5
   12688   ac_status=$?
   12689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12690   test $ac_status = 0; }
   12691 	if test 0 -ne "$ac_status"; then
   12692           lt_cv_ar_at_file=@
   12693         fi
   12694       fi
   12695       rm -f conftest.* libconftest.a
   12696 
   12697 fi
   12698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12699 
   12700 fi
   12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12702 $as_echo "$lt_cv_ar_at_file" >&6; }
   12703 
   12704 if test no = "$lt_cv_ar_at_file"; then
   12705   archiver_list_spec=
   12706 else
   12707   archiver_list_spec=$lt_cv_ar_at_file
   12708 fi
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 if test -n "$ac_tool_prefix"; then
   12717   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12718 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12720 $as_echo_n "checking for $ac_word... " >&6; }
   12721 if ${ac_cv_prog_STRIP+:} false; then :
   12722   $as_echo_n "(cached) " >&6
   12723 else
   12724   if test -n "$STRIP"; then
   12725   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12726 else
   12727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12728 for as_dir in $PATH
   12729 do
   12730   IFS=$as_save_IFS
   12731   test -z "$as_dir" && as_dir=.
   12732     for ac_exec_ext in '' $ac_executable_extensions; do
   12733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12734     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12736     break 2
   12737   fi
   12738 done
   12739   done
   12740 IFS=$as_save_IFS
   12741 
   12742 fi
   12743 fi
   12744 STRIP=$ac_cv_prog_STRIP
   12745 if test -n "$STRIP"; then
   12746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12747 $as_echo "$STRIP" >&6; }
   12748 else
   12749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12750 $as_echo "no" >&6; }
   12751 fi
   12752 
   12753 
   12754 fi
   12755 if test -z "$ac_cv_prog_STRIP"; then
   12756   ac_ct_STRIP=$STRIP
   12757   # Extract the first word of "strip", so it can be a program name with args.
   12758 set dummy strip; ac_word=$2
   12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12760 $as_echo_n "checking for $ac_word... " >&6; }
   12761 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12762   $as_echo_n "(cached) " >&6
   12763 else
   12764   if test -n "$ac_ct_STRIP"; then
   12765   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12766 else
   12767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12768 for as_dir in $PATH
   12769 do
   12770   IFS=$as_save_IFS
   12771   test -z "$as_dir" && as_dir=.
   12772     for ac_exec_ext in '' $ac_executable_extensions; do
   12773   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12774     ac_cv_prog_ac_ct_STRIP="strip"
   12775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12776     break 2
   12777   fi
   12778 done
   12779   done
   12780 IFS=$as_save_IFS
   12781 
   12782 fi
   12783 fi
   12784 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12785 if test -n "$ac_ct_STRIP"; then
   12786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12787 $as_echo "$ac_ct_STRIP" >&6; }
   12788 else
   12789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12790 $as_echo "no" >&6; }
   12791 fi
   12792 
   12793   if test "x$ac_ct_STRIP" = x; then
   12794     STRIP=":"
   12795   else
   12796     case $cross_compiling:$ac_tool_warned in
   12797 yes:)
   12798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12800 ac_tool_warned=yes ;;
   12801 esac
   12802     STRIP=$ac_ct_STRIP
   12803   fi
   12804 else
   12805   STRIP="$ac_cv_prog_STRIP"
   12806 fi
   12807 
   12808 test -z "$STRIP" && STRIP=:
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 if test -n "$ac_tool_prefix"; then
   12816   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12817 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12819 $as_echo_n "checking for $ac_word... " >&6; }
   12820 if ${ac_cv_prog_RANLIB+:} false; then :
   12821   $as_echo_n "(cached) " >&6
   12822 else
   12823   if test -n "$RANLIB"; then
   12824   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12825 else
   12826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12827 for as_dir in $PATH
   12828 do
   12829   IFS=$as_save_IFS
   12830   test -z "$as_dir" && as_dir=.
   12831     for ac_exec_ext in '' $ac_executable_extensions; do
   12832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12833     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12835     break 2
   12836   fi
   12837 done
   12838   done
   12839 IFS=$as_save_IFS
   12840 
   12841 fi
   12842 fi
   12843 RANLIB=$ac_cv_prog_RANLIB
   12844 if test -n "$RANLIB"; then
   12845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12846 $as_echo "$RANLIB" >&6; }
   12847 else
   12848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12849 $as_echo "no" >&6; }
   12850 fi
   12851 
   12852 
   12853 fi
   12854 if test -z "$ac_cv_prog_RANLIB"; then
   12855   ac_ct_RANLIB=$RANLIB
   12856   # Extract the first word of "ranlib", so it can be a program name with args.
   12857 set dummy ranlib; ac_word=$2
   12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12859 $as_echo_n "checking for $ac_word... " >&6; }
   12860 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12861   $as_echo_n "(cached) " >&6
   12862 else
   12863   if test -n "$ac_ct_RANLIB"; then
   12864   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12865 else
   12866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12867 for as_dir in $PATH
   12868 do
   12869   IFS=$as_save_IFS
   12870   test -z "$as_dir" && as_dir=.
   12871     for ac_exec_ext in '' $ac_executable_extensions; do
   12872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12873     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12875     break 2
   12876   fi
   12877 done
   12878   done
   12879 IFS=$as_save_IFS
   12880 
   12881 fi
   12882 fi
   12883 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12884 if test -n "$ac_ct_RANLIB"; then
   12885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12886 $as_echo "$ac_ct_RANLIB" >&6; }
   12887 else
   12888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12889 $as_echo "no" >&6; }
   12890 fi
   12891 
   12892   if test "x$ac_ct_RANLIB" = x; then
   12893     RANLIB=":"
   12894   else
   12895     case $cross_compiling:$ac_tool_warned in
   12896 yes:)
   12897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12899 ac_tool_warned=yes ;;
   12900 esac
   12901     RANLIB=$ac_ct_RANLIB
   12902   fi
   12903 else
   12904   RANLIB="$ac_cv_prog_RANLIB"
   12905 fi
   12906 
   12907 test -z "$RANLIB" && RANLIB=:
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 # Determine commands to create old-style static archives.
   12915 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12916 old_postinstall_cmds='chmod 644 $oldlib'
   12917 old_postuninstall_cmds=
   12918 
   12919 if test -n "$RANLIB"; then
   12920   case $host_os in
   12921   bitrig* | openbsd*)
   12922     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12923     ;;
   12924   *)
   12925     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12926     ;;
   12927   esac
   12928   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12929 fi
   12930 
   12931 case $host_os in
   12932   darwin*)
   12933     lock_old_archive_extraction=yes ;;
   12934   *)
   12935     lock_old_archive_extraction=no ;;
   12936 esac
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 # If no C compiler was specified, use CC.
   12977 LTCC=${LTCC-"$CC"}
   12978 
   12979 # If no C compiler flags were specified, use CFLAGS.
   12980 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12981 
   12982 # Allow CC to be a program name with arguments.
   12983 compiler=$CC
   12984 
   12985 
   12986 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12988 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12989 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12990   $as_echo_n "(cached) " >&6
   12991 else
   12992 
   12993 # These are sane defaults that work on at least a few old systems.
   12994 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12995 
   12996 # Character class describing NM global symbol codes.
   12997 symcode='[BCDEGRST]'
   12998 
   12999 # Regexp to match symbols that can be accessed directly from C.
   13000 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13001 
   13002 # Define system-specific variables.
   13003 case $host_os in
   13004 aix*)
   13005   symcode='[BCDT]'
   13006   ;;
   13007 cygwin* | mingw* | pw32* | cegcc*)
   13008   symcode='[ABCDGISTW]'
   13009   ;;
   13010 hpux*)
   13011   if test ia64 = "$host_cpu"; then
   13012     symcode='[ABCDEGRST]'
   13013   fi
   13014   ;;
   13015 irix* | nonstopux*)
   13016   symcode='[BCDEGRST]'
   13017   ;;
   13018 osf*)
   13019   symcode='[BCDEGQRST]'
   13020   ;;
   13021 solaris*)
   13022   symcode='[BDRT]'
   13023   ;;
   13024 sco3.2v5*)
   13025   symcode='[DT]'
   13026   ;;
   13027 sysv4.2uw2*)
   13028   symcode='[DT]'
   13029   ;;
   13030 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13031   symcode='[ABDT]'
   13032   ;;
   13033 sysv4)
   13034   symcode='[DFNSTU]'
   13035   ;;
   13036 esac
   13037 
   13038 # If we're using GNU nm, then use its standard symbol codes.
   13039 case `$NM -V 2>&1` in
   13040 *GNU* | *'with BFD'*)
   13041   symcode='[ABCDGIRSTW]' ;;
   13042 esac
   13043 
   13044 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13045   # Gets list of data symbols to import.
   13046   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   13047   # Adjust the below global symbol transforms to fixup imported variables.
   13048   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13049   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13050   lt_c_name_lib_hook="\
   13051   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13052   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13053 else
   13054   # Disable hooks by default.
   13055   lt_cv_sys_global_symbol_to_import=
   13056   lt_cdecl_hook=
   13057   lt_c_name_hook=
   13058   lt_c_name_lib_hook=
   13059 fi
   13060 
   13061 # Transform an extracted symbol line into a proper C declaration.
   13062 # Some systems (esp. on ia64) link data and code symbols differently,
   13063 # so use this general approach.
   13064 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   13065 $lt_cdecl_hook\
   13066 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13067 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13068 
   13069 # Transform an extracted symbol line into symbol name and symbol address
   13070 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   13071 $lt_c_name_hook\
   13072 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13073 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13074 
   13075 # Transform an extracted symbol line into symbol name with lib prefix and
   13076 # symbol address.
   13077 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   13078 $lt_c_name_lib_hook\
   13079 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13080 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13081 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13082 
   13083 # Handle CRLF in mingw tool chain
   13084 opt_cr=
   13085 case $build_os in
   13086 mingw*)
   13087   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13088   ;;
   13089 esac
   13090 
   13091 # Try without a prefix underscore, then with it.
   13092 for ac_symprfx in "" "_"; do
   13093 
   13094   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13095   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13096 
   13097   # Write the raw and C identifiers.
   13098   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13099     # Fake it for dumpbin and say T for any non-static function,
   13100     # D for any global variable and I for any imported variable.
   13101     # Also find C++ and __fastcall symbols from MSVC++,
   13102     # which start with @ or ?.
   13103     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13104 "     {last_section=section; section=\$ 3};"\
   13105 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13106 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13107 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13108 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13109 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13110 "     \$ 0!~/External *\|/{next};"\
   13111 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13112 "     {if(hide[section]) next};"\
   13113 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13114 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13115 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13116 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13117 "     ' prfx=^$ac_symprfx"
   13118   else
   13119     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13120   fi
   13121   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   13122 
   13123   # Check to see that the pipe works correctly.
   13124   pipe_works=no
   13125 
   13126   rm -f conftest*
   13127   cat > conftest.$ac_ext <<_LT_EOF
   13128 #ifdef __cplusplus
   13129 extern "C" {
   13130 #endif
   13131 char nm_test_var;
   13132 void nm_test_func(void);
   13133 void nm_test_func(void){}
   13134 #ifdef __cplusplus
   13135 }
   13136 #endif
   13137 int main(){nm_test_var='a';nm_test_func();return(0);}
   13138 _LT_EOF
   13139 
   13140   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13141   (eval $ac_compile) 2>&5
   13142   ac_status=$?
   13143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13144   test $ac_status = 0; }; then
   13145     # Now try to grab the symbols.
   13146     nlist=conftest.nm
   13147     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13148   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13149   ac_status=$?
   13150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13151   test $ac_status = 0; } && test -s "$nlist"; then
   13152       # Try sorting and uniquifying the output.
   13153       if sort "$nlist" | uniq > "$nlist"T; then
   13154 	mv -f "$nlist"T "$nlist"
   13155       else
   13156 	rm -f "$nlist"T
   13157       fi
   13158 
   13159       # Make sure that we snagged all the symbols we need.
   13160       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13161 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13162 	  cat <<_LT_EOF > conftest.$ac_ext
   13163 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13164 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13165 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13166    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13167 # define LT_DLSYM_CONST
   13168 #elif defined __osf__
   13169 /* This system does not cope well with relocations in const data.  */
   13170 # define LT_DLSYM_CONST
   13171 #else
   13172 # define LT_DLSYM_CONST const
   13173 #endif
   13174 
   13175 #ifdef __cplusplus
   13176 extern "C" {
   13177 #endif
   13178 
   13179 _LT_EOF
   13180 	  # Now generate the symbol file.
   13181 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13182 
   13183 	  cat <<_LT_EOF >> conftest.$ac_ext
   13184 
   13185 /* The mapping between symbol names and symbols.  */
   13186 LT_DLSYM_CONST struct {
   13187   const char *name;
   13188   void       *address;
   13189 }
   13190 lt__PROGRAM__LTX_preloaded_symbols[] =
   13191 {
   13192   { "@PROGRAM@", (void *) 0 },
   13193 _LT_EOF
   13194 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13195 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13196   {0, (void *) 0}
   13197 };
   13198 
   13199 /* This works around a problem in FreeBSD linker */
   13200 #ifdef FREEBSD_WORKAROUND
   13201 static const void *lt_preloaded_setup() {
   13202   return lt__PROGRAM__LTX_preloaded_symbols;
   13203 }
   13204 #endif
   13205 
   13206 #ifdef __cplusplus
   13207 }
   13208 #endif
   13209 _LT_EOF
   13210 	  # Now try linking the two files.
   13211 	  mv conftest.$ac_objext conftstm.$ac_objext
   13212 	  lt_globsym_save_LIBS=$LIBS
   13213 	  lt_globsym_save_CFLAGS=$CFLAGS
   13214 	  LIBS=conftstm.$ac_objext
   13215 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   13216 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13217   (eval $ac_link) 2>&5
   13218   ac_status=$?
   13219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13220   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   13221 	    pipe_works=yes
   13222 	  fi
   13223 	  LIBS=$lt_globsym_save_LIBS
   13224 	  CFLAGS=$lt_globsym_save_CFLAGS
   13225 	else
   13226 	  echo "cannot find nm_test_func in $nlist" >&5
   13227 	fi
   13228       else
   13229 	echo "cannot find nm_test_var in $nlist" >&5
   13230       fi
   13231     else
   13232       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   13233     fi
   13234   else
   13235     echo "$progname: failed program was:" >&5
   13236     cat conftest.$ac_ext >&5
   13237   fi
   13238   rm -rf conftest* conftst*
   13239 
   13240   # Do not use the global_symbol_pipe unless it works.
   13241   if test yes = "$pipe_works"; then
   13242     break
   13243   else
   13244     lt_cv_sys_global_symbol_pipe=
   13245   fi
   13246 done
   13247 
   13248 fi
   13249 
   13250 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   13251   lt_cv_sys_global_symbol_to_cdecl=
   13252 fi
   13253 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   13254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   13255 $as_echo "failed" >&6; }
   13256 else
   13257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   13258 $as_echo "ok" >&6; }
   13259 fi
   13260 
   13261 # Response file support.
   13262 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13263   nm_file_list_spec='@'
   13264 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13265   nm_file_list_spec='@'
   13266 fi
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 
   13290 
   13291 
   13292 
   13293 
   13294 
   13295 
   13296 
   13297 
   13298 
   13299 
   13300 
   13301 
   13302 
   13303 
   13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13305 $as_echo_n "checking for sysroot... " >&6; }
   13306 
   13307 # Check whether --with-sysroot was given.
   13308 if test "${with_sysroot+set}" = set; then :
   13309   withval=$with_sysroot;
   13310 else
   13311   with_sysroot=no
   13312 fi
   13313 
   13314 
   13315 lt_sysroot=
   13316 case $with_sysroot in #(
   13317  yes)
   13318    if test yes = "$GCC"; then
   13319      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13320    fi
   13321    ;; #(
   13322  /*)
   13323    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13324    ;; #(
   13325  no|'')
   13326    ;; #(
   13327  *)
   13328    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13329 $as_echo "$with_sysroot" >&6; }
   13330    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13331    ;;
   13332 esac
   13333 
   13334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13335 $as_echo "${lt_sysroot:-no}" >&6; }
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13342 $as_echo_n "checking for a working dd... " >&6; }
   13343 if ${ac_cv_path_lt_DD+:} false; then :
   13344   $as_echo_n "(cached) " >&6
   13345 else
   13346   printf 0123456789abcdef0123456789abcdef >conftest.i
   13347 cat conftest.i conftest.i >conftest2.i
   13348 : ${lt_DD:=$DD}
   13349 if test -z "$lt_DD"; then
   13350   ac_path_lt_DD_found=false
   13351   # Loop through the user's path and test for each of PROGNAME-LIST
   13352   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13353 for as_dir in $PATH
   13354 do
   13355   IFS=$as_save_IFS
   13356   test -z "$as_dir" && as_dir=.
   13357     for ac_prog in dd; do
   13358     for ac_exec_ext in '' $ac_executable_extensions; do
   13359       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13360       as_fn_executable_p "$ac_path_lt_DD" || continue
   13361 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13362   cmp -s conftest.i conftest.out \
   13363   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13364 fi
   13365       $ac_path_lt_DD_found && break 3
   13366     done
   13367   done
   13368   done
   13369 IFS=$as_save_IFS
   13370   if test -z "$ac_cv_path_lt_DD"; then
   13371     :
   13372   fi
   13373 else
   13374   ac_cv_path_lt_DD=$lt_DD
   13375 fi
   13376 
   13377 rm -f conftest.i conftest2.i conftest.out
   13378 fi
   13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13380 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13381 
   13382 
   13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13384 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13385 if ${lt_cv_truncate_bin+:} false; then :
   13386   $as_echo_n "(cached) " >&6
   13387 else
   13388   printf 0123456789abcdef0123456789abcdef >conftest.i
   13389 cat conftest.i conftest.i >conftest2.i
   13390 lt_cv_truncate_bin=
   13391 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13392   cmp -s conftest.i conftest.out \
   13393   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13394 fi
   13395 rm -f conftest.i conftest2.i conftest.out
   13396 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13397 fi
   13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13399 $as_echo "$lt_cv_truncate_bin" >&6; }
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13408 func_cc_basename ()
   13409 {
   13410     for cc_temp in $*""; do
   13411       case $cc_temp in
   13412         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13413         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13414         \-*) ;;
   13415         *) break;;
   13416       esac
   13417     done
   13418     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13419 }
   13420 
   13421 # Check whether --enable-libtool-lock was given.
   13422 if test "${enable_libtool_lock+set}" = set; then :
   13423   enableval=$enable_libtool_lock;
   13424 fi
   13425 
   13426 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13427 
   13428 # Some flags need to be propagated to the compiler or linker for good
   13429 # libtool support.
   13430 case $host in
   13431 ia64-*-hpux*)
   13432   # Find out what ABI is being produced by ac_compile, and set mode
   13433   # options accordingly.
   13434   echo 'int i;' > conftest.$ac_ext
   13435   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13436   (eval $ac_compile) 2>&5
   13437   ac_status=$?
   13438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13439   test $ac_status = 0; }; then
   13440     case `/usr/bin/file conftest.$ac_objext` in
   13441       *ELF-32*)
   13442 	HPUX_IA64_MODE=32
   13443 	;;
   13444       *ELF-64*)
   13445 	HPUX_IA64_MODE=64
   13446 	;;
   13447     esac
   13448   fi
   13449   rm -rf conftest*
   13450   ;;
   13451 *-*-irix6*)
   13452   # Find out what ABI is being produced by ac_compile, and set linker
   13453   # options accordingly.
   13454   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13455   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13456   (eval $ac_compile) 2>&5
   13457   ac_status=$?
   13458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13459   test $ac_status = 0; }; then
   13460     if test yes = "$lt_cv_prog_gnu_ld"; then
   13461       case `/usr/bin/file conftest.$ac_objext` in
   13462 	*32-bit*)
   13463 	  LD="${LD-ld} -melf32bsmip"
   13464 	  ;;
   13465 	*N32*)
   13466 	  LD="${LD-ld} -melf32bmipn32"
   13467 	  ;;
   13468 	*64-bit*)
   13469 	  LD="${LD-ld} -melf64bmip"
   13470 	;;
   13471       esac
   13472     else
   13473       case `/usr/bin/file conftest.$ac_objext` in
   13474 	*32-bit*)
   13475 	  LD="${LD-ld} -32"
   13476 	  ;;
   13477 	*N32*)
   13478 	  LD="${LD-ld} -n32"
   13479 	  ;;
   13480 	*64-bit*)
   13481 	  LD="${LD-ld} -64"
   13482 	  ;;
   13483       esac
   13484     fi
   13485   fi
   13486   rm -rf conftest*
   13487   ;;
   13488 
   13489 mips64*-*linux*)
   13490   # Find out what ABI is being produced by ac_compile, and set linker
   13491   # options accordingly.
   13492   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13493   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13494   (eval $ac_compile) 2>&5
   13495   ac_status=$?
   13496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13497   test $ac_status = 0; }; then
   13498     emul=elf
   13499     case `/usr/bin/file conftest.$ac_objext` in
   13500       *32-bit*)
   13501 	emul="${emul}32"
   13502 	;;
   13503       *64-bit*)
   13504 	emul="${emul}64"
   13505 	;;
   13506     esac
   13507     case `/usr/bin/file conftest.$ac_objext` in
   13508       *MSB*)
   13509 	emul="${emul}btsmip"
   13510 	;;
   13511       *LSB*)
   13512 	emul="${emul}ltsmip"
   13513 	;;
   13514     esac
   13515     case `/usr/bin/file conftest.$ac_objext` in
   13516       *N32*)
   13517 	emul="${emul}n32"
   13518 	;;
   13519     esac
   13520     LD="${LD-ld} -m $emul"
   13521   fi
   13522   rm -rf conftest*
   13523   ;;
   13524 
   13525 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13526 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13527   # Find out what ABI is being produced by ac_compile, and set linker
   13528   # options accordingly.  Note that the listed cases only cover the
   13529   # situations where additional linker options are needed (such as when
   13530   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13531   # vice versa); the common cases where no linker options are needed do
   13532   # not appear in the list.
   13533   echo 'int i;' > conftest.$ac_ext
   13534   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13535   (eval $ac_compile) 2>&5
   13536   ac_status=$?
   13537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13538   test $ac_status = 0; }; then
   13539     case `/usr/bin/file conftest.o` in
   13540       *32-bit*)
   13541 	case $host in
   13542 	  x86_64-*kfreebsd*-gnu)
   13543 	    LD="${LD-ld} -m elf_i386_fbsd"
   13544 	    ;;
   13545 	  x86_64-*linux*)
   13546 	    case `/usr/bin/file conftest.o` in
   13547 	      *x86-64*)
   13548 		LD="${LD-ld} -m elf32_x86_64"
   13549 		;;
   13550 	      *)
   13551 		LD="${LD-ld} -m elf_i386"
   13552 		;;
   13553 	    esac
   13554 	    ;;
   13555 	  powerpc64le-*linux*)
   13556 	    LD="${LD-ld} -m elf32lppclinux"
   13557 	    ;;
   13558 	  powerpc64-*linux*)
   13559 	    LD="${LD-ld} -m elf32ppclinux"
   13560 	    ;;
   13561 	  s390x-*linux*)
   13562 	    LD="${LD-ld} -m elf_s390"
   13563 	    ;;
   13564 	  sparc64-*linux*)
   13565 	    LD="${LD-ld} -m elf32_sparc"
   13566 	    ;;
   13567 	esac
   13568 	;;
   13569       *64-bit*)
   13570 	case $host in
   13571 	  x86_64-*kfreebsd*-gnu)
   13572 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13573 	    ;;
   13574 	  x86_64-*linux*)
   13575 	    LD="${LD-ld} -m elf_x86_64"
   13576 	    ;;
   13577 	  powerpcle-*linux*)
   13578 	    LD="${LD-ld} -m elf64lppc"
   13579 	    ;;
   13580 	  powerpc-*linux*)
   13581 	    LD="${LD-ld} -m elf64ppc"
   13582 	    ;;
   13583 	  s390*-*linux*|s390*-*tpf*)
   13584 	    LD="${LD-ld} -m elf64_s390"
   13585 	    ;;
   13586 	  sparc*-*linux*)
   13587 	    LD="${LD-ld} -m elf64_sparc"
   13588 	    ;;
   13589 	esac
   13590 	;;
   13591     esac
   13592   fi
   13593   rm -rf conftest*
   13594   ;;
   13595 
   13596 *-*-sco3.2v5*)
   13597   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13598   SAVE_CFLAGS=$CFLAGS
   13599   CFLAGS="$CFLAGS -belf"
   13600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13601 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13602 if ${lt_cv_cc_needs_belf+:} false; then :
   13603   $as_echo_n "(cached) " >&6
   13604 else
   13605   ac_ext=c
   13606 ac_cpp='$CPP $CPPFLAGS'
   13607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13610 
   13611      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13612 /* end confdefs.h.  */
   13613 
   13614 int
   13615 main ()
   13616 {
   13617 
   13618   ;
   13619   return 0;
   13620 }
   13621 _ACEOF
   13622 if ac_fn_c_try_link "$LINENO"; then :
   13623   lt_cv_cc_needs_belf=yes
   13624 else
   13625   lt_cv_cc_needs_belf=no
   13626 fi
   13627 rm -f core conftest.err conftest.$ac_objext \
   13628     conftest$ac_exeext conftest.$ac_ext
   13629      ac_ext=c
   13630 ac_cpp='$CPP $CPPFLAGS'
   13631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13634 
   13635 fi
   13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13637 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13638   if test yes != "$lt_cv_cc_needs_belf"; then
   13639     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13640     CFLAGS=$SAVE_CFLAGS
   13641   fi
   13642   ;;
   13643 *-*solaris*)
   13644   # Find out what ABI is being produced by ac_compile, and set linker
   13645   # options accordingly.
   13646   echo 'int i;' > conftest.$ac_ext
   13647   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13648   (eval $ac_compile) 2>&5
   13649   ac_status=$?
   13650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13651   test $ac_status = 0; }; then
   13652     case `/usr/bin/file conftest.o` in
   13653     *64-bit*)
   13654       case $lt_cv_prog_gnu_ld in
   13655       yes*)
   13656         case $host in
   13657         i?86-*-solaris*|x86_64-*-solaris*)
   13658           LD="${LD-ld} -m elf_x86_64"
   13659           ;;
   13660         sparc*-*-solaris*)
   13661           LD="${LD-ld} -m elf64_sparc"
   13662           ;;
   13663         esac
   13664         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13665         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13666           LD=${LD-ld}_sol2
   13667         fi
   13668         ;;
   13669       *)
   13670 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13671 	  LD="${LD-ld} -64"
   13672 	fi
   13673 	;;
   13674       esac
   13675       ;;
   13676     esac
   13677   fi
   13678   rm -rf conftest*
   13679   ;;
   13680 esac
   13681 
   13682 need_locks=$enable_libtool_lock
   13683 
   13684 if test -n "$ac_tool_prefix"; then
   13685   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13686 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13688 $as_echo_n "checking for $ac_word... " >&6; }
   13689 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13690   $as_echo_n "(cached) " >&6
   13691 else
   13692   if test -n "$MANIFEST_TOOL"; then
   13693   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13694 else
   13695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13696 for as_dir in $PATH
   13697 do
   13698   IFS=$as_save_IFS
   13699   test -z "$as_dir" && as_dir=.
   13700     for ac_exec_ext in '' $ac_executable_extensions; do
   13701   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13702     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13704     break 2
   13705   fi
   13706 done
   13707   done
   13708 IFS=$as_save_IFS
   13709 
   13710 fi
   13711 fi
   13712 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13713 if test -n "$MANIFEST_TOOL"; then
   13714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13715 $as_echo "$MANIFEST_TOOL" >&6; }
   13716 else
   13717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13718 $as_echo "no" >&6; }
   13719 fi
   13720 
   13721 
   13722 fi
   13723 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13724   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13725   # Extract the first word of "mt", so it can be a program name with args.
   13726 set dummy mt; ac_word=$2
   13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13728 $as_echo_n "checking for $ac_word... " >&6; }
   13729 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13730   $as_echo_n "(cached) " >&6
   13731 else
   13732   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13733   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13734 else
   13735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13736 for as_dir in $PATH
   13737 do
   13738   IFS=$as_save_IFS
   13739   test -z "$as_dir" && as_dir=.
   13740     for ac_exec_ext in '' $ac_executable_extensions; do
   13741   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13742     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13744     break 2
   13745   fi
   13746 done
   13747   done
   13748 IFS=$as_save_IFS
   13749 
   13750 fi
   13751 fi
   13752 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13753 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13755 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13756 else
   13757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13758 $as_echo "no" >&6; }
   13759 fi
   13760 
   13761   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13762     MANIFEST_TOOL=":"
   13763   else
   13764     case $cross_compiling:$ac_tool_warned in
   13765 yes:)
   13766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13768 ac_tool_warned=yes ;;
   13769 esac
   13770     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13771   fi
   13772 else
   13773   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13774 fi
   13775 
   13776 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13778 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13779 if ${lt_cv_path_mainfest_tool+:} false; then :
   13780   $as_echo_n "(cached) " >&6
   13781 else
   13782   lt_cv_path_mainfest_tool=no
   13783   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13784   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13785   cat conftest.err >&5
   13786   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13787     lt_cv_path_mainfest_tool=yes
   13788   fi
   13789   rm -f conftest*
   13790 fi
   13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13792 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13793 if test yes != "$lt_cv_path_mainfest_tool"; then
   13794   MANIFEST_TOOL=:
   13795 fi
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 
   13802   case $host_os in
   13803     rhapsody* | darwin*)
   13804     if test -n "$ac_tool_prefix"; then
   13805   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13806 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13808 $as_echo_n "checking for $ac_word... " >&6; }
   13809 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13810   $as_echo_n "(cached) " >&6
   13811 else
   13812   if test -n "$DSYMUTIL"; then
   13813   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13814 else
   13815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13816 for as_dir in $PATH
   13817 do
   13818   IFS=$as_save_IFS
   13819   test -z "$as_dir" && as_dir=.
   13820     for ac_exec_ext in '' $ac_executable_extensions; do
   13821   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13822     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13824     break 2
   13825   fi
   13826 done
   13827   done
   13828 IFS=$as_save_IFS
   13829 
   13830 fi
   13831 fi
   13832 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13833 if test -n "$DSYMUTIL"; then
   13834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13835 $as_echo "$DSYMUTIL" >&6; }
   13836 else
   13837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13838 $as_echo "no" >&6; }
   13839 fi
   13840 
   13841 
   13842 fi
   13843 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13844   ac_ct_DSYMUTIL=$DSYMUTIL
   13845   # Extract the first word of "dsymutil", so it can be a program name with args.
   13846 set dummy dsymutil; ac_word=$2
   13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13848 $as_echo_n "checking for $ac_word... " >&6; }
   13849 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13850   $as_echo_n "(cached) " >&6
   13851 else
   13852   if test -n "$ac_ct_DSYMUTIL"; then
   13853   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13854 else
   13855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13856 for as_dir in $PATH
   13857 do
   13858   IFS=$as_save_IFS
   13859   test -z "$as_dir" && as_dir=.
   13860     for ac_exec_ext in '' $ac_executable_extensions; do
   13861   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13862     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13864     break 2
   13865   fi
   13866 done
   13867   done
   13868 IFS=$as_save_IFS
   13869 
   13870 fi
   13871 fi
   13872 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13873 if test -n "$ac_ct_DSYMUTIL"; then
   13874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13875 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13876 else
   13877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13878 $as_echo "no" >&6; }
   13879 fi
   13880 
   13881   if test "x$ac_ct_DSYMUTIL" = x; then
   13882     DSYMUTIL=":"
   13883   else
   13884     case $cross_compiling:$ac_tool_warned in
   13885 yes:)
   13886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13888 ac_tool_warned=yes ;;
   13889 esac
   13890     DSYMUTIL=$ac_ct_DSYMUTIL
   13891   fi
   13892 else
   13893   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13894 fi
   13895 
   13896     if test -n "$ac_tool_prefix"; then
   13897   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13898 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13900 $as_echo_n "checking for $ac_word... " >&6; }
   13901 if ${ac_cv_prog_NMEDIT+:} false; then :
   13902   $as_echo_n "(cached) " >&6
   13903 else
   13904   if test -n "$NMEDIT"; then
   13905   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13906 else
   13907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13908 for as_dir in $PATH
   13909 do
   13910   IFS=$as_save_IFS
   13911   test -z "$as_dir" && as_dir=.
   13912     for ac_exec_ext in '' $ac_executable_extensions; do
   13913   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13914     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13916     break 2
   13917   fi
   13918 done
   13919   done
   13920 IFS=$as_save_IFS
   13921 
   13922 fi
   13923 fi
   13924 NMEDIT=$ac_cv_prog_NMEDIT
   13925 if test -n "$NMEDIT"; then
   13926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13927 $as_echo "$NMEDIT" >&6; }
   13928 else
   13929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13930 $as_echo "no" >&6; }
   13931 fi
   13932 
   13933 
   13934 fi
   13935 if test -z "$ac_cv_prog_NMEDIT"; then
   13936   ac_ct_NMEDIT=$NMEDIT
   13937   # Extract the first word of "nmedit", so it can be a program name with args.
   13938 set dummy nmedit; ac_word=$2
   13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13940 $as_echo_n "checking for $ac_word... " >&6; }
   13941 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13942   $as_echo_n "(cached) " >&6
   13943 else
   13944   if test -n "$ac_ct_NMEDIT"; then
   13945   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13946 else
   13947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13948 for as_dir in $PATH
   13949 do
   13950   IFS=$as_save_IFS
   13951   test -z "$as_dir" && as_dir=.
   13952     for ac_exec_ext in '' $ac_executable_extensions; do
   13953   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13954     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13956     break 2
   13957   fi
   13958 done
   13959   done
   13960 IFS=$as_save_IFS
   13961 
   13962 fi
   13963 fi
   13964 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13965 if test -n "$ac_ct_NMEDIT"; then
   13966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13967 $as_echo "$ac_ct_NMEDIT" >&6; }
   13968 else
   13969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13970 $as_echo "no" >&6; }
   13971 fi
   13972 
   13973   if test "x$ac_ct_NMEDIT" = x; then
   13974     NMEDIT=":"
   13975   else
   13976     case $cross_compiling:$ac_tool_warned in
   13977 yes:)
   13978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13980 ac_tool_warned=yes ;;
   13981 esac
   13982     NMEDIT=$ac_ct_NMEDIT
   13983   fi
   13984 else
   13985   NMEDIT="$ac_cv_prog_NMEDIT"
   13986 fi
   13987 
   13988     if test -n "$ac_tool_prefix"; then
   13989   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13990 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13992 $as_echo_n "checking for $ac_word... " >&6; }
   13993 if ${ac_cv_prog_LIPO+:} false; then :
   13994   $as_echo_n "(cached) " >&6
   13995 else
   13996   if test -n "$LIPO"; then
   13997   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13998 else
   13999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14000 for as_dir in $PATH
   14001 do
   14002   IFS=$as_save_IFS
   14003   test -z "$as_dir" && as_dir=.
   14004     for ac_exec_ext in '' $ac_executable_extensions; do
   14005   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14006     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14008     break 2
   14009   fi
   14010 done
   14011   done
   14012 IFS=$as_save_IFS
   14013 
   14014 fi
   14015 fi
   14016 LIPO=$ac_cv_prog_LIPO
   14017 if test -n "$LIPO"; then
   14018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14019 $as_echo "$LIPO" >&6; }
   14020 else
   14021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14022 $as_echo "no" >&6; }
   14023 fi
   14024 
   14025 
   14026 fi
   14027 if test -z "$ac_cv_prog_LIPO"; then
   14028   ac_ct_LIPO=$LIPO
   14029   # Extract the first word of "lipo", so it can be a program name with args.
   14030 set dummy lipo; ac_word=$2
   14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14032 $as_echo_n "checking for $ac_word... " >&6; }
   14033 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   14034   $as_echo_n "(cached) " >&6
   14035 else
   14036   if test -n "$ac_ct_LIPO"; then
   14037   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14038 else
   14039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14040 for as_dir in $PATH
   14041 do
   14042   IFS=$as_save_IFS
   14043   test -z "$as_dir" && as_dir=.
   14044     for ac_exec_ext in '' $ac_executable_extensions; do
   14045   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14046     ac_cv_prog_ac_ct_LIPO="lipo"
   14047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14048     break 2
   14049   fi
   14050 done
   14051   done
   14052 IFS=$as_save_IFS
   14053 
   14054 fi
   14055 fi
   14056 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14057 if test -n "$ac_ct_LIPO"; then
   14058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14059 $as_echo "$ac_ct_LIPO" >&6; }
   14060 else
   14061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14062 $as_echo "no" >&6; }
   14063 fi
   14064 
   14065   if test "x$ac_ct_LIPO" = x; then
   14066     LIPO=":"
   14067   else
   14068     case $cross_compiling:$ac_tool_warned in
   14069 yes:)
   14070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14072 ac_tool_warned=yes ;;
   14073 esac
   14074     LIPO=$ac_ct_LIPO
   14075   fi
   14076 else
   14077   LIPO="$ac_cv_prog_LIPO"
   14078 fi
   14079 
   14080     if test -n "$ac_tool_prefix"; then
   14081   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14082 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14084 $as_echo_n "checking for $ac_word... " >&6; }
   14085 if ${ac_cv_prog_OTOOL+:} false; then :
   14086   $as_echo_n "(cached) " >&6
   14087 else
   14088   if test -n "$OTOOL"; then
   14089   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14090 else
   14091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14092 for as_dir in $PATH
   14093 do
   14094   IFS=$as_save_IFS
   14095   test -z "$as_dir" && as_dir=.
   14096     for ac_exec_ext in '' $ac_executable_extensions; do
   14097   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14098     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14100     break 2
   14101   fi
   14102 done
   14103   done
   14104 IFS=$as_save_IFS
   14105 
   14106 fi
   14107 fi
   14108 OTOOL=$ac_cv_prog_OTOOL
   14109 if test -n "$OTOOL"; then
   14110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14111 $as_echo "$OTOOL" >&6; }
   14112 else
   14113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14114 $as_echo "no" >&6; }
   14115 fi
   14116 
   14117 
   14118 fi
   14119 if test -z "$ac_cv_prog_OTOOL"; then
   14120   ac_ct_OTOOL=$OTOOL
   14121   # Extract the first word of "otool", so it can be a program name with args.
   14122 set dummy otool; ac_word=$2
   14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14124 $as_echo_n "checking for $ac_word... " >&6; }
   14125 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   14126   $as_echo_n "(cached) " >&6
   14127 else
   14128   if test -n "$ac_ct_OTOOL"; then
   14129   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   14130 else
   14131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14132 for as_dir in $PATH
   14133 do
   14134   IFS=$as_save_IFS
   14135   test -z "$as_dir" && as_dir=.
   14136     for ac_exec_ext in '' $ac_executable_extensions; do
   14137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14138     ac_cv_prog_ac_ct_OTOOL="otool"
   14139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14140     break 2
   14141   fi
   14142 done
   14143   done
   14144 IFS=$as_save_IFS
   14145 
   14146 fi
   14147 fi
   14148 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   14149 if test -n "$ac_ct_OTOOL"; then
   14150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   14151 $as_echo "$ac_ct_OTOOL" >&6; }
   14152 else
   14153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14154 $as_echo "no" >&6; }
   14155 fi
   14156 
   14157   if test "x$ac_ct_OTOOL" = x; then
   14158     OTOOL=":"
   14159   else
   14160     case $cross_compiling:$ac_tool_warned in
   14161 yes:)
   14162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14164 ac_tool_warned=yes ;;
   14165 esac
   14166     OTOOL=$ac_ct_OTOOL
   14167   fi
   14168 else
   14169   OTOOL="$ac_cv_prog_OTOOL"
   14170 fi
   14171 
   14172     if test -n "$ac_tool_prefix"; then
   14173   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   14174 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14176 $as_echo_n "checking for $ac_word... " >&6; }
   14177 if ${ac_cv_prog_OTOOL64+:} false; then :
   14178   $as_echo_n "(cached) " >&6
   14179 else
   14180   if test -n "$OTOOL64"; then
   14181   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   14182 else
   14183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14184 for as_dir in $PATH
   14185 do
   14186   IFS=$as_save_IFS
   14187   test -z "$as_dir" && as_dir=.
   14188     for ac_exec_ext in '' $ac_executable_extensions; do
   14189   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14190     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   14191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14192     break 2
   14193   fi
   14194 done
   14195   done
   14196 IFS=$as_save_IFS
   14197 
   14198 fi
   14199 fi
   14200 OTOOL64=$ac_cv_prog_OTOOL64
   14201 if test -n "$OTOOL64"; then
   14202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   14203 $as_echo "$OTOOL64" >&6; }
   14204 else
   14205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14206 $as_echo "no" >&6; }
   14207 fi
   14208 
   14209 
   14210 fi
   14211 if test -z "$ac_cv_prog_OTOOL64"; then
   14212   ac_ct_OTOOL64=$OTOOL64
   14213   # Extract the first word of "otool64", so it can be a program name with args.
   14214 set dummy otool64; ac_word=$2
   14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14216 $as_echo_n "checking for $ac_word... " >&6; }
   14217 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   14218   $as_echo_n "(cached) " >&6
   14219 else
   14220   if test -n "$ac_ct_OTOOL64"; then
   14221   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   14222 else
   14223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14224 for as_dir in $PATH
   14225 do
   14226   IFS=$as_save_IFS
   14227   test -z "$as_dir" && as_dir=.
   14228     for ac_exec_ext in '' $ac_executable_extensions; do
   14229   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14230     ac_cv_prog_ac_ct_OTOOL64="otool64"
   14231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14232     break 2
   14233   fi
   14234 done
   14235   done
   14236 IFS=$as_save_IFS
   14237 
   14238 fi
   14239 fi
   14240 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   14241 if test -n "$ac_ct_OTOOL64"; then
   14242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   14243 $as_echo "$ac_ct_OTOOL64" >&6; }
   14244 else
   14245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14246 $as_echo "no" >&6; }
   14247 fi
   14248 
   14249   if test "x$ac_ct_OTOOL64" = x; then
   14250     OTOOL64=":"
   14251   else
   14252     case $cross_compiling:$ac_tool_warned in
   14253 yes:)
   14254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14256 ac_tool_warned=yes ;;
   14257 esac
   14258     OTOOL64=$ac_ct_OTOOL64
   14259   fi
   14260 else
   14261   OTOOL64="$ac_cv_prog_OTOOL64"
   14262 fi
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14291 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14292 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14293   $as_echo_n "(cached) " >&6
   14294 else
   14295   lt_cv_apple_cc_single_mod=no
   14296       if test -z "$LT_MULTI_MODULE"; then
   14297 	# By default we will add the -single_module flag. You can override
   14298 	# by either setting the environment variable LT_MULTI_MODULE
   14299 	# non-empty at configure time, or by adding -multi_module to the
   14300 	# link flags.
   14301 	rm -rf libconftest.dylib*
   14302 	echo "int foo(void){return 1;}" > conftest.c
   14303 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14304 -dynamiclib -Wl,-single_module conftest.c" >&5
   14305 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14306 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14307         _lt_result=$?
   14308 	# If there is a non-empty error log, and "single_module"
   14309 	# appears in it, assume the flag caused a linker warning
   14310         if test -s conftest.err && $GREP single_module conftest.err; then
   14311 	  cat conftest.err >&5
   14312 	# Otherwise, if the output was created with a 0 exit code from
   14313 	# the compiler, it worked.
   14314 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14315 	  lt_cv_apple_cc_single_mod=yes
   14316 	else
   14317 	  cat conftest.err >&5
   14318 	fi
   14319 	rm -rf libconftest.dylib*
   14320 	rm -f conftest.*
   14321       fi
   14322 fi
   14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14324 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14325 
   14326     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14327 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14328 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14329   $as_echo_n "(cached) " >&6
   14330 else
   14331   lt_cv_ld_exported_symbols_list=no
   14332       save_LDFLAGS=$LDFLAGS
   14333       echo "_main" > conftest.sym
   14334       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14336 /* end confdefs.h.  */
   14337 
   14338 int
   14339 main ()
   14340 {
   14341 
   14342   ;
   14343   return 0;
   14344 }
   14345 _ACEOF
   14346 if ac_fn_c_try_link "$LINENO"; then :
   14347   lt_cv_ld_exported_symbols_list=yes
   14348 else
   14349   lt_cv_ld_exported_symbols_list=no
   14350 fi
   14351 rm -f core conftest.err conftest.$ac_objext \
   14352     conftest$ac_exeext conftest.$ac_ext
   14353 	LDFLAGS=$save_LDFLAGS
   14354 
   14355 fi
   14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14357 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14358 
   14359     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14360 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14361 if ${lt_cv_ld_force_load+:} false; then :
   14362   $as_echo_n "(cached) " >&6
   14363 else
   14364   lt_cv_ld_force_load=no
   14365       cat > conftest.c << _LT_EOF
   14366 int forced_loaded() { return 2;}
   14367 _LT_EOF
   14368       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14369       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14370       echo "$AR cru libconftest.a conftest.o" >&5
   14371       $AR cru libconftest.a conftest.o 2>&5
   14372       echo "$RANLIB libconftest.a" >&5
   14373       $RANLIB libconftest.a 2>&5
   14374       cat > conftest.c << _LT_EOF
   14375 int main() { return 0;}
   14376 _LT_EOF
   14377       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14378       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14379       _lt_result=$?
   14380       if test -s conftest.err && $GREP force_load conftest.err; then
   14381 	cat conftest.err >&5
   14382       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14383 	lt_cv_ld_force_load=yes
   14384       else
   14385 	cat conftest.err >&5
   14386       fi
   14387         rm -f conftest.err libconftest.a conftest conftest.c
   14388         rm -rf conftest.dSYM
   14389 
   14390 fi
   14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14392 $as_echo "$lt_cv_ld_force_load" >&6; }
   14393     case $host_os in
   14394     rhapsody* | darwin1.[012])
   14395       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14396     darwin1.*)
   14397       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14398     darwin*) # darwin 5.x on
   14399       # if running on 10.5 or later, the deployment target defaults
   14400       # to the OS version, if on x86, and 10.4, the deployment
   14401       # target defaults to 10.4. Don't you love it?
   14402       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14403 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14404 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14405 	10.[012][,.]*)
   14406 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14407 	10.*)
   14408 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14409       esac
   14410     ;;
   14411   esac
   14412     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14413       _lt_dar_single_mod='$single_module'
   14414     fi
   14415     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14416       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14417     else
   14418       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14419     fi
   14420     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14421       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14422     else
   14423       _lt_dsymutil=
   14424     fi
   14425     ;;
   14426   esac
   14427 
   14428 # func_munge_path_list VARIABLE PATH
   14429 # -----------------------------------
   14430 # VARIABLE is name of variable containing _space_ separated list of
   14431 # directories to be munged by the contents of PATH, which is string
   14432 # having a format:
   14433 # "DIR[:DIR]:"
   14434 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14435 # ":DIR[:DIR]"
   14436 #       string "DIR[ DIR]" will be appended to VARIABLE
   14437 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14438 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14439 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14440 # "DIR[:DIR]"
   14441 #       VARIABLE will be replaced by "DIR[ DIR]"
   14442 func_munge_path_list ()
   14443 {
   14444     case x$2 in
   14445     x)
   14446         ;;
   14447     *:)
   14448         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14449         ;;
   14450     x:*)
   14451         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14452         ;;
   14453     *::*)
   14454         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14455         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14456         ;;
   14457     *)
   14458         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14459         ;;
   14460     esac
   14461 }
   14462 
   14463 for ac_header in dlfcn.h
   14464 do :
   14465   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14466 "
   14467 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14468   cat >>confdefs.h <<_ACEOF
   14469 #define HAVE_DLFCN_H 1
   14470 _ACEOF
   14471 
   14472 fi
   14473 
   14474 done
   14475 
   14476 
   14477 
   14478 
   14479 
   14480 # Set options
   14481 
   14482 
   14483 
   14484         enable_dlopen=no
   14485 
   14486 
   14487   enable_win32_dll=no
   14488 
   14489 
   14490             # Check whether --enable-shared was given.
   14491 if test "${enable_shared+set}" = set; then :
   14492   enableval=$enable_shared; p=${PACKAGE-default}
   14493     case $enableval in
   14494     yes) enable_shared=yes ;;
   14495     no) enable_shared=no ;;
   14496     *)
   14497       enable_shared=no
   14498       # Look at the argument we got.  We use all the common list separators.
   14499       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14500       for pkg in $enableval; do
   14501 	IFS=$lt_save_ifs
   14502 	if test "X$pkg" = "X$p"; then
   14503 	  enable_shared=yes
   14504 	fi
   14505       done
   14506       IFS=$lt_save_ifs
   14507       ;;
   14508     esac
   14509 else
   14510   enable_shared=yes
   14511 fi
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 # Check whether --with-pic was given.
   14524 if test "${with_pic+set}" = set; then :
   14525   withval=$with_pic; lt_p=${PACKAGE-default}
   14526     case $withval in
   14527     yes|no) pic_mode=$withval ;;
   14528     *)
   14529       pic_mode=default
   14530       # Look at the argument we got.  We use all the common list separators.
   14531       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14532       for lt_pkg in $withval; do
   14533 	IFS=$lt_save_ifs
   14534 	if test "X$lt_pkg" = "X$lt_p"; then
   14535 	  pic_mode=yes
   14536 	fi
   14537       done
   14538       IFS=$lt_save_ifs
   14539       ;;
   14540     esac
   14541 else
   14542   pic_mode=default
   14543 fi
   14544 
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 
   14552   # Check whether --enable-fast-install was given.
   14553 if test "${enable_fast_install+set}" = set; then :
   14554   enableval=$enable_fast_install; p=${PACKAGE-default}
   14555     case $enableval in
   14556     yes) enable_fast_install=yes ;;
   14557     no) enable_fast_install=no ;;
   14558     *)
   14559       enable_fast_install=no
   14560       # Look at the argument we got.  We use all the common list separators.
   14561       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14562       for pkg in $enableval; do
   14563 	IFS=$lt_save_ifs
   14564 	if test "X$pkg" = "X$p"; then
   14565 	  enable_fast_install=yes
   14566 	fi
   14567       done
   14568       IFS=$lt_save_ifs
   14569       ;;
   14570     esac
   14571 else
   14572   enable_fast_install=yes
   14573 fi
   14574 
   14575 
   14576 
   14577 
   14578 
   14579 
   14580 
   14581 
   14582   shared_archive_member_spec=
   14583 case $host,$enable_shared in
   14584 power*-*-aix[5-9]*,yes)
   14585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14586 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14587 
   14588 # Check whether --with-aix-soname was given.
   14589 if test "${with_aix_soname+set}" = set; then :
   14590   withval=$with_aix_soname; case $withval in
   14591     aix|svr4|both)
   14592       ;;
   14593     *)
   14594       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14595       ;;
   14596     esac
   14597     lt_cv_with_aix_soname=$with_aix_soname
   14598 else
   14599   if ${lt_cv_with_aix_soname+:} false; then :
   14600   $as_echo_n "(cached) " >&6
   14601 else
   14602   lt_cv_with_aix_soname=aix
   14603 fi
   14604 
   14605     with_aix_soname=$lt_cv_with_aix_soname
   14606 fi
   14607 
   14608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14609 $as_echo "$with_aix_soname" >&6; }
   14610   if test aix != "$with_aix_soname"; then
   14611     # For the AIX way of multilib, we name the shared archive member
   14612     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14613     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14614     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14615     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14616     if test 64 = "${OBJECT_MODE-32}"; then
   14617       shared_archive_member_spec=shr_64
   14618     else
   14619       shared_archive_member_spec=shr
   14620     fi
   14621   fi
   14622   ;;
   14623 *)
   14624   with_aix_soname=aix
   14625   ;;
   14626 esac
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 # This can be used to rebuild libtool when needed
   14638 LIBTOOL_DEPS=$ltmain
   14639 
   14640 # Always use our own libtool.
   14641 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14642 
   14643 
   14644 
   14645 
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 
   14654 
   14655 
   14656 
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 test -z "$LN_S" && LN_S="ln -s"
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 
   14685 
   14686 
   14687 if test -n "${ZSH_VERSION+set}"; then
   14688    setopt NO_GLOB_SUBST
   14689 fi
   14690 
   14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14692 $as_echo_n "checking for objdir... " >&6; }
   14693 if ${lt_cv_objdir+:} false; then :
   14694   $as_echo_n "(cached) " >&6
   14695 else
   14696   rm -f .libs 2>/dev/null
   14697 mkdir .libs 2>/dev/null
   14698 if test -d .libs; then
   14699   lt_cv_objdir=.libs
   14700 else
   14701   # MS-DOS does not allow filenames that begin with a dot.
   14702   lt_cv_objdir=_libs
   14703 fi
   14704 rmdir .libs 2>/dev/null
   14705 fi
   14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14707 $as_echo "$lt_cv_objdir" >&6; }
   14708 objdir=$lt_cv_objdir
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 cat >>confdefs.h <<_ACEOF
   14715 #define LT_OBJDIR "$lt_cv_objdir/"
   14716 _ACEOF
   14717 
   14718 
   14719 
   14720 
   14721 case $host_os in
   14722 aix3*)
   14723   # AIX sometimes has problems with the GCC collect2 program.  For some
   14724   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14725   # vanish in a puff of smoke.
   14726   if test set != "${COLLECT_NAMES+set}"; then
   14727     COLLECT_NAMES=
   14728     export COLLECT_NAMES
   14729   fi
   14730   ;;
   14731 esac
   14732 
   14733 # Global variables:
   14734 ofile=libtool
   14735 can_build_shared=yes
   14736 
   14737 # All known linkers require a '.a' archive for static linking (except MSVC,
   14738 # which needs '.lib').
   14739 libext=a
   14740 
   14741 with_gnu_ld=$lt_cv_prog_gnu_ld
   14742 
   14743 old_CC=$CC
   14744 old_CFLAGS=$CFLAGS
   14745 
   14746 # Set sane defaults for various variables
   14747 test -z "$CC" && CC=cc
   14748 test -z "$LTCC" && LTCC=$CC
   14749 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14750 test -z "$LD" && LD=ld
   14751 test -z "$ac_objext" && ac_objext=o
   14752 
   14753 func_cc_basename $compiler
   14754 cc_basename=$func_cc_basename_result
   14755 
   14756 
   14757 # Only perform the check for file, if the check method requires it
   14758 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14759 case $deplibs_check_method in
   14760 file_magic*)
   14761   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14762     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14763 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14764 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14765   $as_echo_n "(cached) " >&6
   14766 else
   14767   case $MAGIC_CMD in
   14768 [\\/*] |  ?:[\\/]*)
   14769   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14770   ;;
   14771 *)
   14772   lt_save_MAGIC_CMD=$MAGIC_CMD
   14773   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14774   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14775   for ac_dir in $ac_dummy; do
   14776     IFS=$lt_save_ifs
   14777     test -z "$ac_dir" && ac_dir=.
   14778     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14779       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14780       if test -n "$file_magic_test_file"; then
   14781 	case $deplibs_check_method in
   14782 	"file_magic "*)
   14783 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14784 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14785 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14786 	    $EGREP "$file_magic_regex" > /dev/null; then
   14787 	    :
   14788 	  else
   14789 	    cat <<_LT_EOF 1>&2
   14790 
   14791 *** Warning: the command libtool uses to detect shared libraries,
   14792 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14793 *** The result is that libtool may fail to recognize shared libraries
   14794 *** as such.  This will affect the creation of libtool libraries that
   14795 *** depend on shared libraries, but programs linked with such libtool
   14796 *** libraries will work regardless of this problem.  Nevertheless, you
   14797 *** may want to report the problem to your system manager and/or to
   14798 *** bug-libtool (at] gnu.org
   14799 
   14800 _LT_EOF
   14801 	  fi ;;
   14802 	esac
   14803       fi
   14804       break
   14805     fi
   14806   done
   14807   IFS=$lt_save_ifs
   14808   MAGIC_CMD=$lt_save_MAGIC_CMD
   14809   ;;
   14810 esac
   14811 fi
   14812 
   14813 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14814 if test -n "$MAGIC_CMD"; then
   14815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14816 $as_echo "$MAGIC_CMD" >&6; }
   14817 else
   14818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14819 $as_echo "no" >&6; }
   14820 fi
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14827   if test -n "$ac_tool_prefix"; then
   14828     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14829 $as_echo_n "checking for file... " >&6; }
   14830 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14831   $as_echo_n "(cached) " >&6
   14832 else
   14833   case $MAGIC_CMD in
   14834 [\\/*] |  ?:[\\/]*)
   14835   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14836   ;;
   14837 *)
   14838   lt_save_MAGIC_CMD=$MAGIC_CMD
   14839   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14840   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14841   for ac_dir in $ac_dummy; do
   14842     IFS=$lt_save_ifs
   14843     test -z "$ac_dir" && ac_dir=.
   14844     if test -f "$ac_dir/file"; then
   14845       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14846       if test -n "$file_magic_test_file"; then
   14847 	case $deplibs_check_method in
   14848 	"file_magic "*)
   14849 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14850 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14851 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14852 	    $EGREP "$file_magic_regex" > /dev/null; then
   14853 	    :
   14854 	  else
   14855 	    cat <<_LT_EOF 1>&2
   14856 
   14857 *** Warning: the command libtool uses to detect shared libraries,
   14858 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14859 *** The result is that libtool may fail to recognize shared libraries
   14860 *** as such.  This will affect the creation of libtool libraries that
   14861 *** depend on shared libraries, but programs linked with such libtool
   14862 *** libraries will work regardless of this problem.  Nevertheless, you
   14863 *** may want to report the problem to your system manager and/or to
   14864 *** bug-libtool (at] gnu.org
   14865 
   14866 _LT_EOF
   14867 	  fi ;;
   14868 	esac
   14869       fi
   14870       break
   14871     fi
   14872   done
   14873   IFS=$lt_save_ifs
   14874   MAGIC_CMD=$lt_save_MAGIC_CMD
   14875   ;;
   14876 esac
   14877 fi
   14878 
   14879 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14880 if test -n "$MAGIC_CMD"; then
   14881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14882 $as_echo "$MAGIC_CMD" >&6; }
   14883 else
   14884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14885 $as_echo "no" >&6; }
   14886 fi
   14887 
   14888 
   14889   else
   14890     MAGIC_CMD=:
   14891   fi
   14892 fi
   14893 
   14894   fi
   14895   ;;
   14896 esac
   14897 
   14898 # Use C for the default configuration in the libtool script
   14899 
   14900 lt_save_CC=$CC
   14901 ac_ext=c
   14902 ac_cpp='$CPP $CPPFLAGS'
   14903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14906 
   14907 
   14908 # Source file extension for C test sources.
   14909 ac_ext=c
   14910 
   14911 # Object file extension for compiled C test sources.
   14912 objext=o
   14913 objext=$objext
   14914 
   14915 # Code to be used in simple compile tests
   14916 lt_simple_compile_test_code="int some_variable = 0;"
   14917 
   14918 # Code to be used in simple link tests
   14919 lt_simple_link_test_code='int main(){return(0);}'
   14920 
   14921 
   14922 
   14923 
   14924 
   14925 
   14926 
   14927 # If no C compiler was specified, use CC.
   14928 LTCC=${LTCC-"$CC"}
   14929 
   14930 # If no C compiler flags were specified, use CFLAGS.
   14931 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14932 
   14933 # Allow CC to be a program name with arguments.
   14934 compiler=$CC
   14935 
   14936 # Save the default compiler, since it gets overwritten when the other
   14937 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14938 compiler_DEFAULT=$CC
   14939 
   14940 # save warnings/boilerplate of simple test code
   14941 ac_outfile=conftest.$ac_objext
   14942 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14943 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14944 _lt_compiler_boilerplate=`cat conftest.err`
   14945 $RM conftest*
   14946 
   14947 ac_outfile=conftest.$ac_objext
   14948 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14949 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14950 _lt_linker_boilerplate=`cat conftest.err`
   14951 $RM -r conftest*
   14952 
   14953 
   14954 if test -n "$compiler"; then
   14955 
   14956 lt_prog_compiler_no_builtin_flag=
   14957 
   14958 if test yes = "$GCC"; then
   14959   case $cc_basename in
   14960   nvcc*)
   14961     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14962   *)
   14963     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14964   esac
   14965 
   14966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14967 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14968 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14969   $as_echo_n "(cached) " >&6
   14970 else
   14971   lt_cv_prog_compiler_rtti_exceptions=no
   14972    ac_outfile=conftest.$ac_objext
   14973    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14974    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14975    # Insert the option either (1) after the last *FLAGS variable, or
   14976    # (2) before a word containing "conftest.", or (3) at the end.
   14977    # Note that $ac_compile itself does not contain backslashes and begins
   14978    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14979    # The option is referenced via a variable to avoid confusing sed.
   14980    lt_compile=`echo "$ac_compile" | $SED \
   14981    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14982    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14983    -e 's:$: $lt_compiler_flag:'`
   14984    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14985    (eval "$lt_compile" 2>conftest.err)
   14986    ac_status=$?
   14987    cat conftest.err >&5
   14988    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14989    if (exit $ac_status) && test -s "$ac_outfile"; then
   14990      # The compiler can only warn and ignore the option if not recognized
   14991      # So say no if there are warnings other than the usual output.
   14992      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14993      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14994      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14995        lt_cv_prog_compiler_rtti_exceptions=yes
   14996      fi
   14997    fi
   14998    $RM conftest*
   14999 
   15000 fi
   15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15002 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15003 
   15004 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15005     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15006 else
   15007     :
   15008 fi
   15009 
   15010 fi
   15011 
   15012 
   15013 
   15014 
   15015 
   15016 
   15017   lt_prog_compiler_wl=
   15018 lt_prog_compiler_pic=
   15019 lt_prog_compiler_static=
   15020 
   15021 
   15022   if test yes = "$GCC"; then
   15023     lt_prog_compiler_wl='-Wl,'
   15024     lt_prog_compiler_static='-static'
   15025 
   15026     case $host_os in
   15027       aix*)
   15028       # All AIX code is PIC.
   15029       if test ia64 = "$host_cpu"; then
   15030 	# AIX 5 now supports IA64 processor
   15031 	lt_prog_compiler_static='-Bstatic'
   15032       fi
   15033       lt_prog_compiler_pic='-fPIC'
   15034       ;;
   15035 
   15036     amigaos*)
   15037       case $host_cpu in
   15038       powerpc)
   15039             # see comment about AmigaOS4 .so support
   15040             lt_prog_compiler_pic='-fPIC'
   15041         ;;
   15042       m68k)
   15043             # FIXME: we need at least 68020 code to build shared libraries, but
   15044             # adding the '-m68020' flag to GCC prevents building anything better,
   15045             # like '-m68040'.
   15046             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15047         ;;
   15048       esac
   15049       ;;
   15050 
   15051     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15052       # PIC is the default for these OSes.
   15053       ;;
   15054 
   15055     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15056       # This hack is so that the source file can tell whether it is being
   15057       # built for inclusion in a dll (and should export symbols for example).
   15058       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15059       # (--disable-auto-import) libraries
   15060       lt_prog_compiler_pic='-DDLL_EXPORT'
   15061       case $host_os in
   15062       os2*)
   15063 	lt_prog_compiler_static='$wl-static'
   15064 	;;
   15065       esac
   15066       ;;
   15067 
   15068     darwin* | rhapsody*)
   15069       # PIC is the default on this platform
   15070       # Common symbols not allowed in MH_DYLIB files
   15071       lt_prog_compiler_pic='-fno-common'
   15072       ;;
   15073 
   15074     haiku*)
   15075       # PIC is the default for Haiku.
   15076       # The "-static" flag exists, but is broken.
   15077       lt_prog_compiler_static=
   15078       ;;
   15079 
   15080     hpux*)
   15081       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15082       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15083       # sets the default TLS model and affects inlining.
   15084       case $host_cpu in
   15085       hppa*64*)
   15086 	# +Z the default
   15087 	;;
   15088       *)
   15089 	lt_prog_compiler_pic='-fPIC'
   15090 	;;
   15091       esac
   15092       ;;
   15093 
   15094     interix[3-9]*)
   15095       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15096       # Instead, we relocate shared libraries at runtime.
   15097       ;;
   15098 
   15099     msdosdjgpp*)
   15100       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15101       # on systems that don't support them.
   15102       lt_prog_compiler_can_build_shared=no
   15103       enable_shared=no
   15104       ;;
   15105 
   15106     *nto* | *qnx*)
   15107       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15108       # it will coredump.
   15109       lt_prog_compiler_pic='-fPIC -shared'
   15110       ;;
   15111 
   15112     sysv4*MP*)
   15113       if test -d /usr/nec; then
   15114 	lt_prog_compiler_pic=-Kconform_pic
   15115       fi
   15116       ;;
   15117 
   15118     *)
   15119       lt_prog_compiler_pic='-fPIC'
   15120       ;;
   15121     esac
   15122 
   15123     case $cc_basename in
   15124     nvcc*) # Cuda Compiler Driver 2.2
   15125       lt_prog_compiler_wl='-Xlinker '
   15126       if test -n "$lt_prog_compiler_pic"; then
   15127         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   15128       fi
   15129       ;;
   15130     esac
   15131   else
   15132     # PORTME Check for flag to pass linker flags through the system compiler.
   15133     case $host_os in
   15134     aix*)
   15135       lt_prog_compiler_wl='-Wl,'
   15136       if test ia64 = "$host_cpu"; then
   15137 	# AIX 5 now supports IA64 processor
   15138 	lt_prog_compiler_static='-Bstatic'
   15139       else
   15140 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   15141       fi
   15142       ;;
   15143 
   15144     darwin* | rhapsody*)
   15145       # PIC is the default on this platform
   15146       # Common symbols not allowed in MH_DYLIB files
   15147       lt_prog_compiler_pic='-fno-common'
   15148       case $cc_basename in
   15149       nagfor*)
   15150         # NAG Fortran compiler
   15151         lt_prog_compiler_wl='-Wl,-Wl,,'
   15152         lt_prog_compiler_pic='-PIC'
   15153         lt_prog_compiler_static='-Bstatic'
   15154         ;;
   15155       esac
   15156       ;;
   15157 
   15158     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15159       # This hack is so that the source file can tell whether it is being
   15160       # built for inclusion in a dll (and should export symbols for example).
   15161       lt_prog_compiler_pic='-DDLL_EXPORT'
   15162       case $host_os in
   15163       os2*)
   15164 	lt_prog_compiler_static='$wl-static'
   15165 	;;
   15166       esac
   15167       ;;
   15168 
   15169     hpux9* | hpux10* | hpux11*)
   15170       lt_prog_compiler_wl='-Wl,'
   15171       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15172       # not for PA HP-UX.
   15173       case $host_cpu in
   15174       hppa*64*|ia64*)
   15175 	# +Z the default
   15176 	;;
   15177       *)
   15178 	lt_prog_compiler_pic='+Z'
   15179 	;;
   15180       esac
   15181       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15182       lt_prog_compiler_static='$wl-a ${wl}archive'
   15183       ;;
   15184 
   15185     irix5* | irix6* | nonstopux*)
   15186       lt_prog_compiler_wl='-Wl,'
   15187       # PIC (with -KPIC) is the default.
   15188       lt_prog_compiler_static='-non_shared'
   15189       ;;
   15190 
   15191     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15192       case $cc_basename in
   15193       # old Intel for x86_64, which still supported -KPIC.
   15194       ecc*)
   15195 	lt_prog_compiler_wl='-Wl,'
   15196 	lt_prog_compiler_pic='-KPIC'
   15197 	lt_prog_compiler_static='-static'
   15198         ;;
   15199       # icc used to be incompatible with GCC.
   15200       # ICC 10 doesn't accept -KPIC any more.
   15201       icc* | ifort*)
   15202 	lt_prog_compiler_wl='-Wl,'
   15203 	lt_prog_compiler_pic='-fPIC'
   15204 	lt_prog_compiler_static='-static'
   15205         ;;
   15206       # Lahey Fortran 8.1.
   15207       lf95*)
   15208 	lt_prog_compiler_wl='-Wl,'
   15209 	lt_prog_compiler_pic='--shared'
   15210 	lt_prog_compiler_static='--static'
   15211 	;;
   15212       nagfor*)
   15213 	# NAG Fortran compiler
   15214 	lt_prog_compiler_wl='-Wl,-Wl,,'
   15215 	lt_prog_compiler_pic='-PIC'
   15216 	lt_prog_compiler_static='-Bstatic'
   15217 	;;
   15218       tcc*)
   15219 	# Fabrice Bellard et al's Tiny C Compiler
   15220 	lt_prog_compiler_wl='-Wl,'
   15221 	lt_prog_compiler_pic='-fPIC'
   15222 	lt_prog_compiler_static='-static'
   15223 	;;
   15224       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   15225         # Portland Group compilers (*not* the Pentium gcc compiler,
   15226 	# which looks to be a dead project)
   15227 	lt_prog_compiler_wl='-Wl,'
   15228 	lt_prog_compiler_pic='-fpic'
   15229 	lt_prog_compiler_static='-Bstatic'
   15230         ;;
   15231       ccc*)
   15232         lt_prog_compiler_wl='-Wl,'
   15233         # All Alpha code is PIC.
   15234         lt_prog_compiler_static='-non_shared'
   15235         ;;
   15236       xl* | bgxl* | bgf* | mpixl*)
   15237 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   15238 	lt_prog_compiler_wl='-Wl,'
   15239 	lt_prog_compiler_pic='-qpic'
   15240 	lt_prog_compiler_static='-qstaticlink'
   15241 	;;
   15242       *)
   15243 	case `$CC -V 2>&1 | sed 5q` in
   15244 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   15245 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   15246 	  lt_prog_compiler_pic='-KPIC'
   15247 	  lt_prog_compiler_static='-Bstatic'
   15248 	  lt_prog_compiler_wl=''
   15249 	  ;;
   15250 	*Sun\ F* | *Sun*Fortran*)
   15251 	  lt_prog_compiler_pic='-KPIC'
   15252 	  lt_prog_compiler_static='-Bstatic'
   15253 	  lt_prog_compiler_wl='-Qoption ld '
   15254 	  ;;
   15255 	*Sun\ C*)
   15256 	  # Sun C 5.9
   15257 	  lt_prog_compiler_pic='-KPIC'
   15258 	  lt_prog_compiler_static='-Bstatic'
   15259 	  lt_prog_compiler_wl='-Wl,'
   15260 	  ;;
   15261         *Intel*\ [CF]*Compiler*)
   15262 	  lt_prog_compiler_wl='-Wl,'
   15263 	  lt_prog_compiler_pic='-fPIC'
   15264 	  lt_prog_compiler_static='-static'
   15265 	  ;;
   15266 	*Portland\ Group*)
   15267 	  lt_prog_compiler_wl='-Wl,'
   15268 	  lt_prog_compiler_pic='-fpic'
   15269 	  lt_prog_compiler_static='-Bstatic'
   15270 	  ;;
   15271 	esac
   15272 	;;
   15273       esac
   15274       ;;
   15275 
   15276     newsos6)
   15277       lt_prog_compiler_pic='-KPIC'
   15278       lt_prog_compiler_static='-Bstatic'
   15279       ;;
   15280 
   15281     *nto* | *qnx*)
   15282       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15283       # it will coredump.
   15284       lt_prog_compiler_pic='-fPIC -shared'
   15285       ;;
   15286 
   15287     osf3* | osf4* | osf5*)
   15288       lt_prog_compiler_wl='-Wl,'
   15289       # All OSF/1 code is PIC.
   15290       lt_prog_compiler_static='-non_shared'
   15291       ;;
   15292 
   15293     rdos*)
   15294       lt_prog_compiler_static='-non_shared'
   15295       ;;
   15296 
   15297     solaris*)
   15298       lt_prog_compiler_pic='-KPIC'
   15299       lt_prog_compiler_static='-Bstatic'
   15300       case $cc_basename in
   15301       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15302 	lt_prog_compiler_wl='-Qoption ld ';;
   15303       *)
   15304 	lt_prog_compiler_wl='-Wl,';;
   15305       esac
   15306       ;;
   15307 
   15308     sunos4*)
   15309       lt_prog_compiler_wl='-Qoption ld '
   15310       lt_prog_compiler_pic='-PIC'
   15311       lt_prog_compiler_static='-Bstatic'
   15312       ;;
   15313 
   15314     sysv4 | sysv4.2uw2* | sysv4.3*)
   15315       lt_prog_compiler_wl='-Wl,'
   15316       lt_prog_compiler_pic='-KPIC'
   15317       lt_prog_compiler_static='-Bstatic'
   15318       ;;
   15319 
   15320     sysv4*MP*)
   15321       if test -d /usr/nec; then
   15322 	lt_prog_compiler_pic='-Kconform_pic'
   15323 	lt_prog_compiler_static='-Bstatic'
   15324       fi
   15325       ;;
   15326 
   15327     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15328       lt_prog_compiler_wl='-Wl,'
   15329       lt_prog_compiler_pic='-KPIC'
   15330       lt_prog_compiler_static='-Bstatic'
   15331       ;;
   15332 
   15333     unicos*)
   15334       lt_prog_compiler_wl='-Wl,'
   15335       lt_prog_compiler_can_build_shared=no
   15336       ;;
   15337 
   15338     uts4*)
   15339       lt_prog_compiler_pic='-pic'
   15340       lt_prog_compiler_static='-Bstatic'
   15341       ;;
   15342 
   15343     *)
   15344       lt_prog_compiler_can_build_shared=no
   15345       ;;
   15346     esac
   15347   fi
   15348 
   15349 case $host_os in
   15350   # For platforms that do not support PIC, -DPIC is meaningless:
   15351   *djgpp*)
   15352     lt_prog_compiler_pic=
   15353     ;;
   15354   *)
   15355     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15356     ;;
   15357 esac
   15358 
   15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15360 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15361 if ${lt_cv_prog_compiler_pic+:} false; then :
   15362   $as_echo_n "(cached) " >&6
   15363 else
   15364   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15365 fi
   15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15367 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15368 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15369 
   15370 #
   15371 # Check to make sure the PIC flag actually works.
   15372 #
   15373 if test -n "$lt_prog_compiler_pic"; then
   15374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15375 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15376 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15377   $as_echo_n "(cached) " >&6
   15378 else
   15379   lt_cv_prog_compiler_pic_works=no
   15380    ac_outfile=conftest.$ac_objext
   15381    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15382    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15383    # Insert the option either (1) after the last *FLAGS variable, or
   15384    # (2) before a word containing "conftest.", or (3) at the end.
   15385    # Note that $ac_compile itself does not contain backslashes and begins
   15386    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15387    # The option is referenced via a variable to avoid confusing sed.
   15388    lt_compile=`echo "$ac_compile" | $SED \
   15389    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15390    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15391    -e 's:$: $lt_compiler_flag:'`
   15392    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15393    (eval "$lt_compile" 2>conftest.err)
   15394    ac_status=$?
   15395    cat conftest.err >&5
   15396    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15397    if (exit $ac_status) && test -s "$ac_outfile"; then
   15398      # The compiler can only warn and ignore the option if not recognized
   15399      # So say no if there are warnings other than the usual output.
   15400      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15401      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15402      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15403        lt_cv_prog_compiler_pic_works=yes
   15404      fi
   15405    fi
   15406    $RM conftest*
   15407 
   15408 fi
   15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15410 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15411 
   15412 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15413     case $lt_prog_compiler_pic in
   15414      "" | " "*) ;;
   15415      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15416      esac
   15417 else
   15418     lt_prog_compiler_pic=
   15419      lt_prog_compiler_can_build_shared=no
   15420 fi
   15421 
   15422 fi
   15423 
   15424 
   15425 
   15426 
   15427 
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 #
   15435 # Check to make sure the static flag actually works.
   15436 #
   15437 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15439 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15440 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15441   $as_echo_n "(cached) " >&6
   15442 else
   15443   lt_cv_prog_compiler_static_works=no
   15444    save_LDFLAGS=$LDFLAGS
   15445    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15446    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15447    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15448      # The linker can only warn and ignore the option if not recognized
   15449      # So say no if there are warnings
   15450      if test -s conftest.err; then
   15451        # Append any errors to the config.log.
   15452        cat conftest.err 1>&5
   15453        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15454        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15455        if diff conftest.exp conftest.er2 >/dev/null; then
   15456          lt_cv_prog_compiler_static_works=yes
   15457        fi
   15458      else
   15459        lt_cv_prog_compiler_static_works=yes
   15460      fi
   15461    fi
   15462    $RM -r conftest*
   15463    LDFLAGS=$save_LDFLAGS
   15464 
   15465 fi
   15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15467 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15468 
   15469 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15470     :
   15471 else
   15472     lt_prog_compiler_static=
   15473 fi
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15482 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15483 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15484   $as_echo_n "(cached) " >&6
   15485 else
   15486   lt_cv_prog_compiler_c_o=no
   15487    $RM -r conftest 2>/dev/null
   15488    mkdir conftest
   15489    cd conftest
   15490    mkdir out
   15491    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15492 
   15493    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15494    # Insert the option either (1) after the last *FLAGS variable, or
   15495    # (2) before a word containing "conftest.", or (3) at the end.
   15496    # Note that $ac_compile itself does not contain backslashes and begins
   15497    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15498    lt_compile=`echo "$ac_compile" | $SED \
   15499    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15500    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15501    -e 's:$: $lt_compiler_flag:'`
   15502    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15503    (eval "$lt_compile" 2>out/conftest.err)
   15504    ac_status=$?
   15505    cat out/conftest.err >&5
   15506    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15507    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15508    then
   15509      # The compiler can only warn and ignore the option if not recognized
   15510      # So say no if there are warnings
   15511      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15512      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15513      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15514        lt_cv_prog_compiler_c_o=yes
   15515      fi
   15516    fi
   15517    chmod u+w . 2>&5
   15518    $RM conftest*
   15519    # SGI C++ compiler will create directory out/ii_files/ for
   15520    # template instantiation
   15521    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15522    $RM out/* && rmdir out
   15523    cd ..
   15524    $RM -r conftest
   15525    $RM conftest*
   15526 
   15527 fi
   15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15529 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 
   15536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15537 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15538 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15539   $as_echo_n "(cached) " >&6
   15540 else
   15541   lt_cv_prog_compiler_c_o=no
   15542    $RM -r conftest 2>/dev/null
   15543    mkdir conftest
   15544    cd conftest
   15545    mkdir out
   15546    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15547 
   15548    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15549    # Insert the option either (1) after the last *FLAGS variable, or
   15550    # (2) before a word containing "conftest.", or (3) at the end.
   15551    # Note that $ac_compile itself does not contain backslashes and begins
   15552    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15553    lt_compile=`echo "$ac_compile" | $SED \
   15554    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15555    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15556    -e 's:$: $lt_compiler_flag:'`
   15557    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15558    (eval "$lt_compile" 2>out/conftest.err)
   15559    ac_status=$?
   15560    cat out/conftest.err >&5
   15561    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15562    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15563    then
   15564      # The compiler can only warn and ignore the option if not recognized
   15565      # So say no if there are warnings
   15566      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15567      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15568      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15569        lt_cv_prog_compiler_c_o=yes
   15570      fi
   15571    fi
   15572    chmod u+w . 2>&5
   15573    $RM conftest*
   15574    # SGI C++ compiler will create directory out/ii_files/ for
   15575    # template instantiation
   15576    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15577    $RM out/* && rmdir out
   15578    cd ..
   15579    $RM -r conftest
   15580    $RM conftest*
   15581 
   15582 fi
   15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15584 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15585 
   15586 
   15587 
   15588 
   15589 hard_links=nottested
   15590 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15591   # do not overwrite the value of need_locks provided by the user
   15592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15593 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15594   hard_links=yes
   15595   $RM conftest*
   15596   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15597   touch conftest.a
   15598   ln conftest.a conftest.b 2>&5 || hard_links=no
   15599   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15601 $as_echo "$hard_links" >&6; }
   15602   if test no = "$hard_links"; then
   15603     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15604 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15605     need_locks=warn
   15606   fi
   15607 else
   15608   need_locks=no
   15609 fi
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15617 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15618 
   15619   runpath_var=
   15620   allow_undefined_flag=
   15621   always_export_symbols=no
   15622   archive_cmds=
   15623   archive_expsym_cmds=
   15624   compiler_needs_object=no
   15625   enable_shared_with_static_runtimes=no
   15626   export_dynamic_flag_spec=
   15627   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15628   hardcode_automatic=no
   15629   hardcode_direct=no
   15630   hardcode_direct_absolute=no
   15631   hardcode_libdir_flag_spec=
   15632   hardcode_libdir_separator=
   15633   hardcode_minus_L=no
   15634   hardcode_shlibpath_var=unsupported
   15635   inherit_rpath=no
   15636   link_all_deplibs=unknown
   15637   module_cmds=
   15638   module_expsym_cmds=
   15639   old_archive_from_new_cmds=
   15640   old_archive_from_expsyms_cmds=
   15641   thread_safe_flag_spec=
   15642   whole_archive_flag_spec=
   15643   # include_expsyms should be a list of space-separated symbols to be *always*
   15644   # included in the symbol list
   15645   include_expsyms=
   15646   # exclude_expsyms can be an extended regexp of symbols to exclude
   15647   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15648   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15649   # as well as any symbol that contains 'd'.
   15650   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15651   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15652   # platforms (ab)use it in PIC code, but their linkers get confused if
   15653   # the symbol is explicitly referenced.  Since portable code cannot
   15654   # rely on this symbol name, it's probably fine to never include it in
   15655   # preloaded symbol tables.
   15656   # Exclude shared library initialization/finalization symbols.
   15657   extract_expsyms_cmds=
   15658 
   15659   case $host_os in
   15660   cygwin* | mingw* | pw32* | cegcc*)
   15661     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15662     # When not using gcc, we currently assume that we are using
   15663     # Microsoft Visual C++.
   15664     if test yes != "$GCC"; then
   15665       with_gnu_ld=no
   15666     fi
   15667     ;;
   15668   interix*)
   15669     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15670     with_gnu_ld=yes
   15671     ;;
   15672   openbsd* | bitrig*)
   15673     with_gnu_ld=no
   15674     ;;
   15675   linux* | k*bsd*-gnu | gnu*)
   15676     link_all_deplibs=no
   15677     ;;
   15678   esac
   15679 
   15680   ld_shlibs=yes
   15681 
   15682   # On some targets, GNU ld is compatible enough with the native linker
   15683   # that we're better off using the native interface for both.
   15684   lt_use_gnu_ld_interface=no
   15685   if test yes = "$with_gnu_ld"; then
   15686     case $host_os in
   15687       aix*)
   15688 	# The AIX port of GNU ld has always aspired to compatibility
   15689 	# with the native linker.  However, as the warning in the GNU ld
   15690 	# block says, versions before 2.19.5* couldn't really create working
   15691 	# shared libraries, regardless of the interface used.
   15692 	case `$LD -v 2>&1` in
   15693 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15694 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15695 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15696 	  *)
   15697 	    lt_use_gnu_ld_interface=yes
   15698 	    ;;
   15699 	esac
   15700 	;;
   15701       *)
   15702 	lt_use_gnu_ld_interface=yes
   15703 	;;
   15704     esac
   15705   fi
   15706 
   15707   if test yes = "$lt_use_gnu_ld_interface"; then
   15708     # If archive_cmds runs LD, not CC, wlarc should be empty
   15709     wlarc='$wl'
   15710 
   15711     # Set some defaults for GNU ld with shared library support. These
   15712     # are reset later if shared libraries are not supported. Putting them
   15713     # here allows them to be overridden if necessary.
   15714     runpath_var=LD_RUN_PATH
   15715     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15716     export_dynamic_flag_spec='$wl--export-dynamic'
   15717     # ancient GNU ld didn't support --whole-archive et. al.
   15718     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15719       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15720     else
   15721       whole_archive_flag_spec=
   15722     fi
   15723     supports_anon_versioning=no
   15724     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15725       *GNU\ gold*) supports_anon_versioning=yes ;;
   15726       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15727       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15728       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15729       *\ 2.11.*) ;; # other 2.11 versions
   15730       *) supports_anon_versioning=yes ;;
   15731     esac
   15732 
   15733     # See if GNU ld supports shared libraries.
   15734     case $host_os in
   15735     aix[3-9]*)
   15736       # On AIX/PPC, the GNU linker is very broken
   15737       if test ia64 != "$host_cpu"; then
   15738 	ld_shlibs=no
   15739 	cat <<_LT_EOF 1>&2
   15740 
   15741 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15742 *** to be unable to reliably create shared libraries on AIX.
   15743 *** Therefore, libtool is disabling shared libraries support.  If you
   15744 *** really care for shared libraries, you may want to install binutils
   15745 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15746 *** You will then need to restart the configuration process.
   15747 
   15748 _LT_EOF
   15749       fi
   15750       ;;
   15751 
   15752     amigaos*)
   15753       case $host_cpu in
   15754       powerpc)
   15755             # see comment about AmigaOS4 .so support
   15756             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15757             archive_expsym_cmds=''
   15758         ;;
   15759       m68k)
   15760             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)'
   15761             hardcode_libdir_flag_spec='-L$libdir'
   15762             hardcode_minus_L=yes
   15763         ;;
   15764       esac
   15765       ;;
   15766 
   15767     beos*)
   15768       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15769 	allow_undefined_flag=unsupported
   15770 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15771 	# support --undefined.  This deserves some investigation.  FIXME
   15772 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15773       else
   15774 	ld_shlibs=no
   15775       fi
   15776       ;;
   15777 
   15778     cygwin* | mingw* | pw32* | cegcc*)
   15779       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15780       # as there is no search path for DLLs.
   15781       hardcode_libdir_flag_spec='-L$libdir'
   15782       export_dynamic_flag_spec='$wl--export-all-symbols'
   15783       allow_undefined_flag=unsupported
   15784       always_export_symbols=no
   15785       enable_shared_with_static_runtimes=yes
   15786       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'
   15787       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15788 
   15789       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15790         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15791 	# If the export-symbols file already is a .def file, use it as
   15792 	# is; otherwise, prepend EXPORTS...
   15793 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15794           cp $export_symbols $output_objdir/$soname.def;
   15795         else
   15796           echo EXPORTS > $output_objdir/$soname.def;
   15797           cat $export_symbols >> $output_objdir/$soname.def;
   15798         fi~
   15799         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15800       else
   15801 	ld_shlibs=no
   15802       fi
   15803       ;;
   15804 
   15805     haiku*)
   15806       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15807       link_all_deplibs=yes
   15808       ;;
   15809 
   15810     os2*)
   15811       hardcode_libdir_flag_spec='-L$libdir'
   15812       hardcode_minus_L=yes
   15813       allow_undefined_flag=unsupported
   15814       shrext_cmds=.dll
   15815       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15816 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15817 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15818 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15819 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15820 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15821 	emximp -o $lib $output_objdir/$libname.def'
   15822       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15823 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15824 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15825 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15826 	prefix_cmds="$SED"~
   15827 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15828 	  prefix_cmds="$prefix_cmds -e 1d";
   15829 	fi~
   15830 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15831 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15832 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15833 	emximp -o $lib $output_objdir/$libname.def'
   15834       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15835       enable_shared_with_static_runtimes=yes
   15836       ;;
   15837 
   15838     interix[3-9]*)
   15839       hardcode_direct=no
   15840       hardcode_shlibpath_var=no
   15841       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15842       export_dynamic_flag_spec='$wl-E'
   15843       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15844       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15845       # default) and relocated if they conflict, which is a slow very memory
   15846       # consuming and fragmenting process.  To avoid this, we pick a random,
   15847       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15848       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15849       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15850       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'
   15851       ;;
   15852 
   15853     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15854       tmp_diet=no
   15855       if test linux-dietlibc = "$host_os"; then
   15856 	case $cc_basename in
   15857 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15858 	esac
   15859       fi
   15860       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15861 	 && test no = "$tmp_diet"
   15862       then
   15863 	tmp_addflag=' $pic_flag'
   15864 	tmp_sharedflag='-shared'
   15865 	case $cc_basename,$host_cpu in
   15866         pgcc*)				# Portland Group C compiler
   15867 	  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'
   15868 	  tmp_addflag=' $pic_flag'
   15869 	  ;;
   15870 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15871 					# Portland Group f77 and f90 compilers
   15872 	  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'
   15873 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15874 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15875 	  tmp_addflag=' -i_dynamic' ;;
   15876 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15877 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15878 	ifc* | ifort*)			# Intel Fortran compiler
   15879 	  tmp_addflag=' -nofor_main' ;;
   15880 	lf95*)				# Lahey Fortran 8.1
   15881 	  whole_archive_flag_spec=
   15882 	  tmp_sharedflag='--shared' ;;
   15883         nagfor*)                        # NAGFOR 5.3
   15884           tmp_sharedflag='-Wl,-shared' ;;
   15885 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15886 	  tmp_sharedflag='-qmkshrobj'
   15887 	  tmp_addflag= ;;
   15888 	nvcc*)	# Cuda Compiler Driver 2.2
   15889 	  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'
   15890 	  compiler_needs_object=yes
   15891 	  ;;
   15892 	esac
   15893 	case `$CC -V 2>&1 | sed 5q` in
   15894 	*Sun\ C*)			# Sun C 5.9
   15895 	  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'
   15896 	  compiler_needs_object=yes
   15897 	  tmp_sharedflag='-G' ;;
   15898 	*Sun\ F*)			# Sun Fortran 8.3
   15899 	  tmp_sharedflag='-G' ;;
   15900 	esac
   15901 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15902 
   15903         if test yes = "$supports_anon_versioning"; then
   15904           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15905             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15906             echo "local: *; };" >> $output_objdir/$libname.ver~
   15907             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15908         fi
   15909 
   15910 	case $cc_basename in
   15911 	tcc*)
   15912 	  export_dynamic_flag_spec='-rdynamic'
   15913 	  ;;
   15914 	xlf* | bgf* | bgxlf* | mpixlf*)
   15915 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15916 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15917 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15918 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15919 	  if test yes = "$supports_anon_versioning"; then
   15920 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15921               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15922               echo "local: *; };" >> $output_objdir/$libname.ver~
   15923               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15924 	  fi
   15925 	  ;;
   15926 	esac
   15927       else
   15928         ld_shlibs=no
   15929       fi
   15930       ;;
   15931 
   15932     netbsd* | netbsdelf*-gnu)
   15933       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15934 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15935 	wlarc=
   15936       else
   15937 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15938 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15939       fi
   15940       ;;
   15941 
   15942     solaris*)
   15943       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15944 	ld_shlibs=no
   15945 	cat <<_LT_EOF 1>&2
   15946 
   15947 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15948 *** create shared libraries on Solaris systems.  Therefore, libtool
   15949 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15950 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15951 *** your PATH or compiler configuration so that the native linker is
   15952 *** used, and then restart.
   15953 
   15954 _LT_EOF
   15955       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15956 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15957 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15958       else
   15959 	ld_shlibs=no
   15960       fi
   15961       ;;
   15962 
   15963     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15964       case `$LD -v 2>&1` in
   15965         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15966 	ld_shlibs=no
   15967 	cat <<_LT_EOF 1>&2
   15968 
   15969 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15970 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15971 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15972 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15973 *** your PATH or compiler configuration so that the native linker is
   15974 *** used, and then restart.
   15975 
   15976 _LT_EOF
   15977 	;;
   15978 	*)
   15979 	  # For security reasons, it is highly recommended that you always
   15980 	  # use absolute paths for naming shared libraries, and exclude the
   15981 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15982 	  # requires that you compile everything twice, which is a pain.
   15983 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15984 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15985 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15986 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15987 	  else
   15988 	    ld_shlibs=no
   15989 	  fi
   15990 	;;
   15991       esac
   15992       ;;
   15993 
   15994     sunos4*)
   15995       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15996       wlarc=
   15997       hardcode_direct=yes
   15998       hardcode_shlibpath_var=no
   15999       ;;
   16000 
   16001     *)
   16002       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16003 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16004 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16005       else
   16006 	ld_shlibs=no
   16007       fi
   16008       ;;
   16009     esac
   16010 
   16011     if test no = "$ld_shlibs"; then
   16012       runpath_var=
   16013       hardcode_libdir_flag_spec=
   16014       export_dynamic_flag_spec=
   16015       whole_archive_flag_spec=
   16016     fi
   16017   else
   16018     # PORTME fill in a description of your system's linker (not GNU ld)
   16019     case $host_os in
   16020     aix3*)
   16021       allow_undefined_flag=unsupported
   16022       always_export_symbols=yes
   16023       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'
   16024       # Note: this linker hardcodes the directories in LIBPATH if there
   16025       # are no directories specified by -L.
   16026       hardcode_minus_L=yes
   16027       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16028 	# Neither direct hardcoding nor static linking is supported with a
   16029 	# broken collect2.
   16030 	hardcode_direct=unsupported
   16031       fi
   16032       ;;
   16033 
   16034     aix[4-9]*)
   16035       if test ia64 = "$host_cpu"; then
   16036 	# On IA64, the linker does run time linking by default, so we don't
   16037 	# have to do anything special.
   16038 	aix_use_runtimelinking=no
   16039 	exp_sym_flag='-Bexport'
   16040 	no_entry_flag=
   16041       else
   16042 	# If we're using GNU nm, then we don't want the "-C" option.
   16043 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16044 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   16045 	# weak defined symbols like other global defined symbols, whereas
   16046 	# GNU nm marks them as "W".
   16047 	# While the 'weak' keyword is ignored in the Export File, we need
   16048 	# it in the Import File for the 'aix-soname' feature, so we have
   16049 	# to replace the "-B" option with "-P" for AIX nm.
   16050 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16051 	  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'
   16052 	else
   16053 	  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'
   16054 	fi
   16055 	aix_use_runtimelinking=no
   16056 
   16057 	# Test if we are trying to use run time linking or normal
   16058 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16059 	# have runtime linking enabled, and use it for executables.
   16060 	# For shared libraries, we enable/disable runtime linking
   16061 	# depending on the kind of the shared library created -
   16062 	# when "with_aix_soname,aix_use_runtimelinking" is:
   16063 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16064 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   16065 	#            lib.a           static archive
   16066 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16067 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   16068 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16069 	#            lib.a(lib.so.V) shared, rtl:no
   16070 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16071 	#            lib.a           static archive
   16072 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16073 	  for ld_flag in $LDFLAGS; do
   16074 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   16075 	    aix_use_runtimelinking=yes
   16076 	    break
   16077 	  fi
   16078 	  done
   16079 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16080 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16081 	    # so we don't have lib.a shared libs to link our executables.
   16082 	    # We have to force runtime linking in this case.
   16083 	    aix_use_runtimelinking=yes
   16084 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   16085 	  fi
   16086 	  ;;
   16087 	esac
   16088 
   16089 	exp_sym_flag='-bexport'
   16090 	no_entry_flag='-bnoentry'
   16091       fi
   16092 
   16093       # When large executables or shared objects are built, AIX ld can
   16094       # have problems creating the table of contents.  If linking a library
   16095       # or program results in "error TOC overflow" add -mminimal-toc to
   16096       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16097       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16098 
   16099       archive_cmds=''
   16100       hardcode_direct=yes
   16101       hardcode_direct_absolute=yes
   16102       hardcode_libdir_separator=':'
   16103       link_all_deplibs=yes
   16104       file_list_spec='$wl-f,'
   16105       case $with_aix_soname,$aix_use_runtimelinking in
   16106       aix,*) ;; # traditional, no import file
   16107       svr4,* | *,yes) # use import file
   16108 	# The Import File defines what to hardcode.
   16109 	hardcode_direct=no
   16110 	hardcode_direct_absolute=no
   16111 	;;
   16112       esac
   16113 
   16114       if test yes = "$GCC"; then
   16115 	case $host_os in aix4.[012]|aix4.[012].*)
   16116 	# We only want to do this on AIX 4.2 and lower, the check
   16117 	# below for broken collect2 doesn't work under 4.3+
   16118 	  collect2name=`$CC -print-prog-name=collect2`
   16119 	  if test -f "$collect2name" &&
   16120 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16121 	  then
   16122 	  # We have reworked collect2
   16123 	  :
   16124 	  else
   16125 	  # We have old collect2
   16126 	  hardcode_direct=unsupported
   16127 	  # It fails to find uninstalled libraries when the uninstalled
   16128 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16129 	  # to unsupported forces relinking
   16130 	  hardcode_minus_L=yes
   16131 	  hardcode_libdir_flag_spec='-L$libdir'
   16132 	  hardcode_libdir_separator=
   16133 	  fi
   16134 	  ;;
   16135 	esac
   16136 	shared_flag='-shared'
   16137 	if test yes = "$aix_use_runtimelinking"; then
   16138 	  shared_flag="$shared_flag "'$wl-G'
   16139 	fi
   16140 	# Need to ensure runtime linking is disabled for the traditional
   16141 	# shared library, or the linker may eventually find shared libraries
   16142 	# /with/ Import File - we do not want to mix them.
   16143 	shared_flag_aix='-shared'
   16144 	shared_flag_svr4='-shared $wl-G'
   16145       else
   16146 	# not using gcc
   16147 	if test ia64 = "$host_cpu"; then
   16148 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16149 	# chokes on -Wl,-G. The following line is correct:
   16150 	  shared_flag='-G'
   16151 	else
   16152 	  if test yes = "$aix_use_runtimelinking"; then
   16153 	    shared_flag='$wl-G'
   16154 	  else
   16155 	    shared_flag='$wl-bM:SRE'
   16156 	  fi
   16157 	  shared_flag_aix='$wl-bM:SRE'
   16158 	  shared_flag_svr4='$wl-G'
   16159 	fi
   16160       fi
   16161 
   16162       export_dynamic_flag_spec='$wl-bexpall'
   16163       # It seems that -bexpall does not export symbols beginning with
   16164       # underscore (_), so it is better to generate a list of symbols to export.
   16165       always_export_symbols=yes
   16166       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16167 	# Warning - without using the other runtime loading flags (-brtl),
   16168 	# -berok will link without error, but may produce a broken library.
   16169 	allow_undefined_flag='-berok'
   16170         # Determine the default libpath from the value encoded in an
   16171         # empty executable.
   16172         if test set = "${lt_cv_aix_libpath+set}"; then
   16173   aix_libpath=$lt_cv_aix_libpath
   16174 else
   16175   if ${lt_cv_aix_libpath_+:} false; then :
   16176   $as_echo_n "(cached) " >&6
   16177 else
   16178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16179 /* end confdefs.h.  */
   16180 
   16181 int
   16182 main ()
   16183 {
   16184 
   16185   ;
   16186   return 0;
   16187 }
   16188 _ACEOF
   16189 if ac_fn_c_try_link "$LINENO"; then :
   16190 
   16191   lt_aix_libpath_sed='
   16192       /Import File Strings/,/^$/ {
   16193 	  /^0/ {
   16194 	      s/^0  *\([^ ]*\) *$/\1/
   16195 	      p
   16196 	  }
   16197       }'
   16198   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16199   # Check for a 64-bit object if we didn't find anything.
   16200   if test -z "$lt_cv_aix_libpath_"; then
   16201     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16202   fi
   16203 fi
   16204 rm -f core conftest.err conftest.$ac_objext \
   16205     conftest$ac_exeext conftest.$ac_ext
   16206   if test -z "$lt_cv_aix_libpath_"; then
   16207     lt_cv_aix_libpath_=/usr/lib:/lib
   16208   fi
   16209 
   16210 fi
   16211 
   16212   aix_libpath=$lt_cv_aix_libpath_
   16213 fi
   16214 
   16215         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16216         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
   16217       else
   16218 	if test ia64 = "$host_cpu"; then
   16219 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   16220 	  allow_undefined_flag="-z nodefs"
   16221 	  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"
   16222 	else
   16223 	 # Determine the default libpath from the value encoded in an
   16224 	 # empty executable.
   16225 	 if test set = "${lt_cv_aix_libpath+set}"; then
   16226   aix_libpath=$lt_cv_aix_libpath
   16227 else
   16228   if ${lt_cv_aix_libpath_+:} false; then :
   16229   $as_echo_n "(cached) " >&6
   16230 else
   16231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16232 /* end confdefs.h.  */
   16233 
   16234 int
   16235 main ()
   16236 {
   16237 
   16238   ;
   16239   return 0;
   16240 }
   16241 _ACEOF
   16242 if ac_fn_c_try_link "$LINENO"; then :
   16243 
   16244   lt_aix_libpath_sed='
   16245       /Import File Strings/,/^$/ {
   16246 	  /^0/ {
   16247 	      s/^0  *\([^ ]*\) *$/\1/
   16248 	      p
   16249 	  }
   16250       }'
   16251   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16252   # Check for a 64-bit object if we didn't find anything.
   16253   if test -z "$lt_cv_aix_libpath_"; then
   16254     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16255   fi
   16256 fi
   16257 rm -f core conftest.err conftest.$ac_objext \
   16258     conftest$ac_exeext conftest.$ac_ext
   16259   if test -z "$lt_cv_aix_libpath_"; then
   16260     lt_cv_aix_libpath_=/usr/lib:/lib
   16261   fi
   16262 
   16263 fi
   16264 
   16265   aix_libpath=$lt_cv_aix_libpath_
   16266 fi
   16267 
   16268 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16269 	  # Warning - without using the other run time loading flags,
   16270 	  # -berok will link without error, but may produce a broken library.
   16271 	  no_undefined_flag=' $wl-bernotok'
   16272 	  allow_undefined_flag=' $wl-berok'
   16273 	  if test yes = "$with_gnu_ld"; then
   16274 	    # We only use this code for GNU lds that support --whole-archive.
   16275 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16276 	  else
   16277 	    # Exported symbols can be pulled into shared objects from archives
   16278 	    whole_archive_flag_spec='$convenience'
   16279 	  fi
   16280 	  archive_cmds_need_lc=yes
   16281 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16282 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16283 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16284 	  if test svr4 != "$with_aix_soname"; then
   16285 	    # This is similar to how AIX traditionally builds its shared libraries.
   16286 	    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'
   16287 	  fi
   16288 	  if test aix != "$with_aix_soname"; then
   16289 	    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'
   16290 	  else
   16291 	    # used by -dlpreopen to get the symbols
   16292 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16293 	  fi
   16294 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16295 	fi
   16296       fi
   16297       ;;
   16298 
   16299     amigaos*)
   16300       case $host_cpu in
   16301       powerpc)
   16302             # see comment about AmigaOS4 .so support
   16303             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16304             archive_expsym_cmds=''
   16305         ;;
   16306       m68k)
   16307             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)'
   16308             hardcode_libdir_flag_spec='-L$libdir'
   16309             hardcode_minus_L=yes
   16310         ;;
   16311       esac
   16312       ;;
   16313 
   16314     bsdi[45]*)
   16315       export_dynamic_flag_spec=-rdynamic
   16316       ;;
   16317 
   16318     cygwin* | mingw* | pw32* | cegcc*)
   16319       # When not using gcc, we currently assume that we are using
   16320       # Microsoft Visual C++.
   16321       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16322       # no search path for DLLs.
   16323       case $cc_basename in
   16324       cl*)
   16325 	# Native MSVC
   16326 	hardcode_libdir_flag_spec=' '
   16327 	allow_undefined_flag=unsupported
   16328 	always_export_symbols=yes
   16329 	file_list_spec='@'
   16330 	# Tell ltmain to make .lib files, not .a files.
   16331 	libext=lib
   16332 	# Tell ltmain to make .dll files, not .so files.
   16333 	shrext_cmds=.dll
   16334 	# FIXME: Setting linknames here is a bad hack.
   16335 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16336 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16337             cp "$export_symbols" "$output_objdir/$soname.def";
   16338             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16339           else
   16340             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16341           fi~
   16342           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16343           linknames='
   16344 	# The linker will not automatically build a static lib if we build a DLL.
   16345 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16346 	enable_shared_with_static_runtimes=yes
   16347 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16348 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16349 	# Don't use ranlib
   16350 	old_postinstall_cmds='chmod 644 $oldlib'
   16351 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16352           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16353           case $lt_outputfile in
   16354             *.exe|*.EXE) ;;
   16355             *)
   16356               lt_outputfile=$lt_outputfile.exe
   16357               lt_tool_outputfile=$lt_tool_outputfile.exe
   16358               ;;
   16359           esac~
   16360           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16361             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16362             $RM "$lt_outputfile.manifest";
   16363           fi'
   16364 	;;
   16365       *)
   16366 	# Assume MSVC wrapper
   16367 	hardcode_libdir_flag_spec=' '
   16368 	allow_undefined_flag=unsupported
   16369 	# Tell ltmain to make .lib files, not .a files.
   16370 	libext=lib
   16371 	# Tell ltmain to make .dll files, not .so files.
   16372 	shrext_cmds=.dll
   16373 	# FIXME: Setting linknames here is a bad hack.
   16374 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16375 	# The linker will automatically build a .lib file if we build a DLL.
   16376 	old_archive_from_new_cmds='true'
   16377 	# FIXME: Should let the user specify the lib program.
   16378 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16379 	enable_shared_with_static_runtimes=yes
   16380 	;;
   16381       esac
   16382       ;;
   16383 
   16384     darwin* | rhapsody*)
   16385 
   16386 
   16387   archive_cmds_need_lc=no
   16388   hardcode_direct=no
   16389   hardcode_automatic=yes
   16390   hardcode_shlibpath_var=unsupported
   16391   if test yes = "$lt_cv_ld_force_load"; then
   16392     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\"`'
   16393 
   16394   else
   16395     whole_archive_flag_spec=''
   16396   fi
   16397   link_all_deplibs=yes
   16398   allow_undefined_flag=$_lt_dar_allow_undefined
   16399   case $cc_basename in
   16400      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16401      *) _lt_dar_can_shared=$GCC ;;
   16402   esac
   16403   if test yes = "$_lt_dar_can_shared"; then
   16404     output_verbose_link_cmd=func_echo_all
   16405     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16406     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16407     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"
   16408     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"
   16409 
   16410   else
   16411   ld_shlibs=no
   16412   fi
   16413 
   16414       ;;
   16415 
   16416     dgux*)
   16417       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16418       hardcode_libdir_flag_spec='-L$libdir'
   16419       hardcode_shlibpath_var=no
   16420       ;;
   16421 
   16422     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16423     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16424     # does not break anything, and helps significantly (at the cost of a little
   16425     # extra space).
   16426     freebsd2.2*)
   16427       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16428       hardcode_libdir_flag_spec='-R$libdir'
   16429       hardcode_direct=yes
   16430       hardcode_shlibpath_var=no
   16431       ;;
   16432 
   16433     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16434     freebsd2.*)
   16435       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16436       hardcode_direct=yes
   16437       hardcode_minus_L=yes
   16438       hardcode_shlibpath_var=no
   16439       ;;
   16440 
   16441     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16442     freebsd* | dragonfly*)
   16443       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16444       hardcode_libdir_flag_spec='-R$libdir'
   16445       hardcode_direct=yes
   16446       hardcode_shlibpath_var=no
   16447       ;;
   16448 
   16449     hpux9*)
   16450       if test yes = "$GCC"; then
   16451 	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'
   16452       else
   16453 	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'
   16454       fi
   16455       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16456       hardcode_libdir_separator=:
   16457       hardcode_direct=yes
   16458 
   16459       # hardcode_minus_L: Not really in the search PATH,
   16460       # but as the default location of the library.
   16461       hardcode_minus_L=yes
   16462       export_dynamic_flag_spec='$wl-E'
   16463       ;;
   16464 
   16465     hpux10*)
   16466       if test yes,no = "$GCC,$with_gnu_ld"; then
   16467 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16468       else
   16469 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16470       fi
   16471       if test no = "$with_gnu_ld"; then
   16472 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16473 	hardcode_libdir_separator=:
   16474 	hardcode_direct=yes
   16475 	hardcode_direct_absolute=yes
   16476 	export_dynamic_flag_spec='$wl-E'
   16477 	# hardcode_minus_L: Not really in the search PATH,
   16478 	# but as the default location of the library.
   16479 	hardcode_minus_L=yes
   16480       fi
   16481       ;;
   16482 
   16483     hpux11*)
   16484       if test yes,no = "$GCC,$with_gnu_ld"; then
   16485 	case $host_cpu in
   16486 	hppa*64*)
   16487 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16488 	  ;;
   16489 	ia64*)
   16490 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16491 	  ;;
   16492 	*)
   16493 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16494 	  ;;
   16495 	esac
   16496       else
   16497 	case $host_cpu in
   16498 	hppa*64*)
   16499 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16500 	  ;;
   16501 	ia64*)
   16502 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16503 	  ;;
   16504 	*)
   16505 
   16506 	  # Older versions of the 11.00 compiler do not understand -b yet
   16507 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16508 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16509 $as_echo_n "checking if $CC understands -b... " >&6; }
   16510 if ${lt_cv_prog_compiler__b+:} false; then :
   16511   $as_echo_n "(cached) " >&6
   16512 else
   16513   lt_cv_prog_compiler__b=no
   16514    save_LDFLAGS=$LDFLAGS
   16515    LDFLAGS="$LDFLAGS -b"
   16516    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16517    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16518      # The linker can only warn and ignore the option if not recognized
   16519      # So say no if there are warnings
   16520      if test -s conftest.err; then
   16521        # Append any errors to the config.log.
   16522        cat conftest.err 1>&5
   16523        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16524        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16525        if diff conftest.exp conftest.er2 >/dev/null; then
   16526          lt_cv_prog_compiler__b=yes
   16527        fi
   16528      else
   16529        lt_cv_prog_compiler__b=yes
   16530      fi
   16531    fi
   16532    $RM -r conftest*
   16533    LDFLAGS=$save_LDFLAGS
   16534 
   16535 fi
   16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16537 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16538 
   16539 if test yes = "$lt_cv_prog_compiler__b"; then
   16540     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16541 else
   16542     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16543 fi
   16544 
   16545 	  ;;
   16546 	esac
   16547       fi
   16548       if test no = "$with_gnu_ld"; then
   16549 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16550 	hardcode_libdir_separator=:
   16551 
   16552 	case $host_cpu in
   16553 	hppa*64*|ia64*)
   16554 	  hardcode_direct=no
   16555 	  hardcode_shlibpath_var=no
   16556 	  ;;
   16557 	*)
   16558 	  hardcode_direct=yes
   16559 	  hardcode_direct_absolute=yes
   16560 	  export_dynamic_flag_spec='$wl-E'
   16561 
   16562 	  # hardcode_minus_L: Not really in the search PATH,
   16563 	  # but as the default location of the library.
   16564 	  hardcode_minus_L=yes
   16565 	  ;;
   16566 	esac
   16567       fi
   16568       ;;
   16569 
   16570     irix5* | irix6* | nonstopux*)
   16571       if test yes = "$GCC"; then
   16572 	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'
   16573 	# Try to use the -exported_symbol ld option, if it does not
   16574 	# work, assume that -exports_file does not work either and
   16575 	# implicitly export all symbols.
   16576 	# This should be the same for all languages, so no per-tag cache variable.
   16577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16578 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16579 if ${lt_cv_irix_exported_symbol+:} false; then :
   16580   $as_echo_n "(cached) " >&6
   16581 else
   16582   save_LDFLAGS=$LDFLAGS
   16583 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16584 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16585 /* end confdefs.h.  */
   16586 int foo (void) { return 0; }
   16587 _ACEOF
   16588 if ac_fn_c_try_link "$LINENO"; then :
   16589   lt_cv_irix_exported_symbol=yes
   16590 else
   16591   lt_cv_irix_exported_symbol=no
   16592 fi
   16593 rm -f core conftest.err conftest.$ac_objext \
   16594     conftest$ac_exeext conftest.$ac_ext
   16595            LDFLAGS=$save_LDFLAGS
   16596 fi
   16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16598 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16599 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16600           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'
   16601 	fi
   16602 	link_all_deplibs=no
   16603       else
   16604 	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'
   16605 	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'
   16606       fi
   16607       archive_cmds_need_lc='no'
   16608       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16609       hardcode_libdir_separator=:
   16610       inherit_rpath=yes
   16611       link_all_deplibs=yes
   16612       ;;
   16613 
   16614     linux*)
   16615       case $cc_basename in
   16616       tcc*)
   16617 	# Fabrice Bellard et al's Tiny C Compiler
   16618 	ld_shlibs=yes
   16619 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16620 	;;
   16621       esac
   16622       ;;
   16623 
   16624     netbsd* | netbsdelf*-gnu)
   16625       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16626 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16627       else
   16628 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16629       fi
   16630       hardcode_libdir_flag_spec='-R$libdir'
   16631       hardcode_direct=yes
   16632       hardcode_shlibpath_var=no
   16633       ;;
   16634 
   16635     newsos6)
   16636       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16637       hardcode_direct=yes
   16638       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16639       hardcode_libdir_separator=:
   16640       hardcode_shlibpath_var=no
   16641       ;;
   16642 
   16643     *nto* | *qnx*)
   16644       ;;
   16645 
   16646     openbsd* | bitrig*)
   16647       if test -f /usr/libexec/ld.so; then
   16648 	hardcode_direct=yes
   16649 	hardcode_shlibpath_var=no
   16650 	hardcode_direct_absolute=yes
   16651 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16652 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16653 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16654 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16655 	  export_dynamic_flag_spec='$wl-E'
   16656 	else
   16657 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16658 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16659 	fi
   16660       else
   16661 	ld_shlibs=no
   16662       fi
   16663       ;;
   16664 
   16665     os2*)
   16666       hardcode_libdir_flag_spec='-L$libdir'
   16667       hardcode_minus_L=yes
   16668       allow_undefined_flag=unsupported
   16669       shrext_cmds=.dll
   16670       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16671 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16672 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16673 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16674 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16675 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16676 	emximp -o $lib $output_objdir/$libname.def'
   16677       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16678 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16679 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16680 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16681 	prefix_cmds="$SED"~
   16682 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16683 	  prefix_cmds="$prefix_cmds -e 1d";
   16684 	fi~
   16685 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16686 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16687 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16688 	emximp -o $lib $output_objdir/$libname.def'
   16689       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16690       enable_shared_with_static_runtimes=yes
   16691       ;;
   16692 
   16693     osf3*)
   16694       if test yes = "$GCC"; then
   16695 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16696 	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'
   16697       else
   16698 	allow_undefined_flag=' -expect_unresolved \*'
   16699 	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'
   16700       fi
   16701       archive_cmds_need_lc='no'
   16702       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16703       hardcode_libdir_separator=:
   16704       ;;
   16705 
   16706     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16707       if test yes = "$GCC"; then
   16708 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16709 	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'
   16710 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16711       else
   16712 	allow_undefined_flag=' -expect_unresolved \*'
   16713 	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'
   16714 	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~
   16715           $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'
   16716 
   16717 	# Both c and cxx compiler support -rpath directly
   16718 	hardcode_libdir_flag_spec='-rpath $libdir'
   16719       fi
   16720       archive_cmds_need_lc='no'
   16721       hardcode_libdir_separator=:
   16722       ;;
   16723 
   16724     solaris*)
   16725       no_undefined_flag=' -z defs'
   16726       if test yes = "$GCC"; then
   16727 	wlarc='$wl'
   16728 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16729 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16730           $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'
   16731       else
   16732 	case `$CC -V 2>&1` in
   16733 	*"Compilers 5.0"*)
   16734 	  wlarc=''
   16735 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16736 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16737             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16738 	  ;;
   16739 	*)
   16740 	  wlarc='$wl'
   16741 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16742 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16743             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16744 	  ;;
   16745 	esac
   16746       fi
   16747       hardcode_libdir_flag_spec='-R$libdir'
   16748       hardcode_shlibpath_var=no
   16749       case $host_os in
   16750       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16751       *)
   16752 	# The compiler driver will combine and reorder linker options,
   16753 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16754 	# but is careful enough not to reorder.
   16755 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16756 	if test yes = "$GCC"; then
   16757 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16758 	else
   16759 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16760 	fi
   16761 	;;
   16762       esac
   16763       link_all_deplibs=yes
   16764       ;;
   16765 
   16766     sunos4*)
   16767       if test sequent = "$host_vendor"; then
   16768 	# Use $CC to link under sequent, because it throws in some extra .o
   16769 	# files that make .init and .fini sections work.
   16770 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16771       else
   16772 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16773       fi
   16774       hardcode_libdir_flag_spec='-L$libdir'
   16775       hardcode_direct=yes
   16776       hardcode_minus_L=yes
   16777       hardcode_shlibpath_var=no
   16778       ;;
   16779 
   16780     sysv4)
   16781       case $host_vendor in
   16782 	sni)
   16783 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16784 	  hardcode_direct=yes # is this really true???
   16785 	;;
   16786 	siemens)
   16787 	  ## LD is ld it makes a PLAMLIB
   16788 	  ## CC just makes a GrossModule.
   16789 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16790 	  reload_cmds='$CC -r -o $output$reload_objs'
   16791 	  hardcode_direct=no
   16792         ;;
   16793 	motorola)
   16794 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16795 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16796 	;;
   16797       esac
   16798       runpath_var='LD_RUN_PATH'
   16799       hardcode_shlibpath_var=no
   16800       ;;
   16801 
   16802     sysv4.3*)
   16803       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16804       hardcode_shlibpath_var=no
   16805       export_dynamic_flag_spec='-Bexport'
   16806       ;;
   16807 
   16808     sysv4*MP*)
   16809       if test -d /usr/nec; then
   16810 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16811 	hardcode_shlibpath_var=no
   16812 	runpath_var=LD_RUN_PATH
   16813 	hardcode_runpath_var=yes
   16814 	ld_shlibs=yes
   16815       fi
   16816       ;;
   16817 
   16818     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16819       no_undefined_flag='$wl-z,text'
   16820       archive_cmds_need_lc=no
   16821       hardcode_shlibpath_var=no
   16822       runpath_var='LD_RUN_PATH'
   16823 
   16824       if test yes = "$GCC"; then
   16825 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16826 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16827       else
   16828 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16829 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16830       fi
   16831       ;;
   16832 
   16833     sysv5* | sco3.2v5* | sco5v6*)
   16834       # Note: We CANNOT use -z defs as we might desire, because we do not
   16835       # link with -lc, and that would cause any symbols used from libc to
   16836       # always be unresolved, which means just about no library would
   16837       # ever link correctly.  If we're not using GNU ld we use -z text
   16838       # though, which does catch some bad symbols but isn't as heavy-handed
   16839       # as -z defs.
   16840       no_undefined_flag='$wl-z,text'
   16841       allow_undefined_flag='$wl-z,nodefs'
   16842       archive_cmds_need_lc=no
   16843       hardcode_shlibpath_var=no
   16844       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16845       hardcode_libdir_separator=':'
   16846       link_all_deplibs=yes
   16847       export_dynamic_flag_spec='$wl-Bexport'
   16848       runpath_var='LD_RUN_PATH'
   16849 
   16850       if test yes = "$GCC"; then
   16851 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16852 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16853       else
   16854 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16855 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16856       fi
   16857       ;;
   16858 
   16859     uts4*)
   16860       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16861       hardcode_libdir_flag_spec='-L$libdir'
   16862       hardcode_shlibpath_var=no
   16863       ;;
   16864 
   16865     *)
   16866       ld_shlibs=no
   16867       ;;
   16868     esac
   16869 
   16870     if test sni = "$host_vendor"; then
   16871       case $host in
   16872       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16873 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16874 	;;
   16875       esac
   16876     fi
   16877   fi
   16878 
   16879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16880 $as_echo "$ld_shlibs" >&6; }
   16881 test no = "$ld_shlibs" && can_build_shared=no
   16882 
   16883 with_gnu_ld=$with_gnu_ld
   16884 
   16885 
   16886 
   16887 
   16888 
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 #
   16900 # Do we need to explicitly link libc?
   16901 #
   16902 case "x$archive_cmds_need_lc" in
   16903 x|xyes)
   16904   # Assume -lc should be added
   16905   archive_cmds_need_lc=yes
   16906 
   16907   if test yes,yes = "$GCC,$enable_shared"; then
   16908     case $archive_cmds in
   16909     *'~'*)
   16910       # FIXME: we may have to deal with multi-command sequences.
   16911       ;;
   16912     '$CC '*)
   16913       # Test whether the compiler implicitly links with -lc since on some
   16914       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16915       # to ld, don't add -lc before -lgcc.
   16916       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16917 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16918 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16919   $as_echo_n "(cached) " >&6
   16920 else
   16921   $RM conftest*
   16922 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16923 
   16924 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16925   (eval $ac_compile) 2>&5
   16926   ac_status=$?
   16927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16928   test $ac_status = 0; } 2>conftest.err; then
   16929 	  soname=conftest
   16930 	  lib=conftest
   16931 	  libobjs=conftest.$ac_objext
   16932 	  deplibs=
   16933 	  wl=$lt_prog_compiler_wl
   16934 	  pic_flag=$lt_prog_compiler_pic
   16935 	  compiler_flags=-v
   16936 	  linker_flags=-v
   16937 	  verstring=
   16938 	  output_objdir=.
   16939 	  libname=conftest
   16940 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16941 	  allow_undefined_flag=
   16942 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16943   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16944   ac_status=$?
   16945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16946   test $ac_status = 0; }
   16947 	  then
   16948 	    lt_cv_archive_cmds_need_lc=no
   16949 	  else
   16950 	    lt_cv_archive_cmds_need_lc=yes
   16951 	  fi
   16952 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16953 	else
   16954 	  cat conftest.err 1>&5
   16955 	fi
   16956 	$RM conftest*
   16957 
   16958 fi
   16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16960 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16961       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16962       ;;
   16963     esac
   16964   fi
   16965   ;;
   16966 esac
   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 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 
   17117 
   17118 
   17119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   17120 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   17121 
   17122 if test yes = "$GCC"; then
   17123   case $host_os in
   17124     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   17125     *) lt_awk_arg='/^libraries:/' ;;
   17126   esac
   17127   case $host_os in
   17128     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   17129     *) lt_sed_strip_eq='s|=/|/|g' ;;
   17130   esac
   17131   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   17132   case $lt_search_path_spec in
   17133   *\;*)
   17134     # if the path contains ";" then we assume it to be the separator
   17135     # otherwise default to the standard path separator (i.e. ":") - it is
   17136     # assumed that no part of a normal pathname contains ";" but that should
   17137     # okay in the real world where ";" in dirpaths is itself problematic.
   17138     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   17139     ;;
   17140   *)
   17141     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   17142     ;;
   17143   esac
   17144   # Ok, now we have the path, separated by spaces, we can step through it
   17145   # and add multilib dir if necessary...
   17146   lt_tmp_lt_search_path_spec=
   17147   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   17148   # ...but if some path component already ends with the multilib dir we assume
   17149   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   17150   case "$lt_multi_os_dir; $lt_search_path_spec " in
   17151   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   17152     lt_multi_os_dir=
   17153     ;;
   17154   esac
   17155   for lt_sys_path in $lt_search_path_spec; do
   17156     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   17157       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   17158     elif test -n "$lt_multi_os_dir"; then
   17159       test -d "$lt_sys_path" && \
   17160 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   17161     fi
   17162   done
   17163   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   17164 BEGIN {RS = " "; FS = "/|\n";} {
   17165   lt_foo = "";
   17166   lt_count = 0;
   17167   for (lt_i = NF; lt_i > 0; lt_i--) {
   17168     if ($lt_i != "" && $lt_i != ".") {
   17169       if ($lt_i == "..") {
   17170         lt_count++;
   17171       } else {
   17172         if (lt_count == 0) {
   17173           lt_foo = "/" $lt_i lt_foo;
   17174         } else {
   17175           lt_count--;
   17176         }
   17177       }
   17178     }
   17179   }
   17180   if (lt_foo != "") { lt_freq[lt_foo]++; }
   17181   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   17182 }'`
   17183   # AWK program above erroneously prepends '/' to C:/dos/paths
   17184   # for these hosts.
   17185   case $host_os in
   17186     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   17187       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   17188   esac
   17189   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   17190 else
   17191   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17192 fi
   17193 library_names_spec=
   17194 libname_spec='lib$name'
   17195 soname_spec=
   17196 shrext_cmds=.so
   17197 postinstall_cmds=
   17198 postuninstall_cmds=
   17199 finish_cmds=
   17200 finish_eval=
   17201 shlibpath_var=
   17202 shlibpath_overrides_runpath=unknown
   17203 version_type=none
   17204 dynamic_linker="$host_os ld.so"
   17205 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17206 need_lib_prefix=unknown
   17207 hardcode_into_libs=no
   17208 
   17209 # when you set need_version to no, make sure it does not cause -set_version
   17210 # flags to be left without arguments
   17211 need_version=unknown
   17212 
   17213 
   17214 
   17215 case $host_os in
   17216 aix3*)
   17217   version_type=linux # correct to gnu/linux during the next big refactor
   17218   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   17219   shlibpath_var=LIBPATH
   17220 
   17221   # AIX 3 has no versioning support, so we append a major version to the name.
   17222   soname_spec='$libname$release$shared_ext$major'
   17223   ;;
   17224 
   17225 aix[4-9]*)
   17226   version_type=linux # correct to gnu/linux during the next big refactor
   17227   need_lib_prefix=no
   17228   need_version=no
   17229   hardcode_into_libs=yes
   17230   if test ia64 = "$host_cpu"; then
   17231     # AIX 5 supports IA64
   17232     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   17233     shlibpath_var=LD_LIBRARY_PATH
   17234   else
   17235     # With GCC up to 2.95.x, collect2 would create an import file
   17236     # for dependence libraries.  The import file would start with
   17237     # the line '#! .'.  This would cause the generated library to
   17238     # depend on '.', always an invalid library.  This was fixed in
   17239     # development snapshots of GCC prior to 3.0.
   17240     case $host_os in
   17241       aix4 | aix4.[01] | aix4.[01].*)
   17242       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17243 	   echo ' yes '
   17244 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   17245 	:
   17246       else
   17247 	can_build_shared=no
   17248       fi
   17249       ;;
   17250     esac
   17251     # Using Import Files as archive members, it is possible to support
   17252     # filename-based versioning of shared library archives on AIX. While
   17253     # this would work for both with and without runtime linking, it will
   17254     # prevent static linking of such archives. So we do filename-based
   17255     # shared library versioning with .so extension only, which is used
   17256     # when both runtime linking and shared linking is enabled.
   17257     # Unfortunately, runtime linking may impact performance, so we do
   17258     # not want this to be the default eventually. Also, we use the
   17259     # versioned .so libs for executables only if there is the -brtl
   17260     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   17261     # To allow for filename-based versioning support, we need to create
   17262     # libNAME.so.V as an archive file, containing:
   17263     # *) an Import File, referring to the versioned filename of the
   17264     #    archive as well as the shared archive member, telling the
   17265     #    bitwidth (32 or 64) of that shared object, and providing the
   17266     #    list of exported symbols of that shared object, eventually
   17267     #    decorated with the 'weak' keyword
   17268     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17269     #    it being seen by the linker.
   17270     # At run time we better use the real file rather than another symlink,
   17271     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17272 
   17273     case $with_aix_soname,$aix_use_runtimelinking in
   17274     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17275     # soname into executable. Probably we can add versioning support to
   17276     # collect2, so additional links can be useful in future.
   17277     aix,yes) # traditional libtool
   17278       dynamic_linker='AIX unversionable lib.so'
   17279       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17280       # instead of lib<name>.a to let people know that these are not
   17281       # typical AIX shared libraries.
   17282       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17283       ;;
   17284     aix,no) # traditional AIX only
   17285       dynamic_linker='AIX lib.a(lib.so.V)'
   17286       # We preserve .a as extension for shared libraries through AIX4.2
   17287       # and later when we are not doing run time linking.
   17288       library_names_spec='$libname$release.a $libname.a'
   17289       soname_spec='$libname$release$shared_ext$major'
   17290       ;;
   17291     svr4,*) # full svr4 only
   17292       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17293       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17294       # We do not specify a path in Import Files, so LIBPATH fires.
   17295       shlibpath_overrides_runpath=yes
   17296       ;;
   17297     *,yes) # both, prefer svr4
   17298       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17299       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17300       # unpreferred sharedlib libNAME.a needs extra handling
   17301       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"'
   17302       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"'
   17303       # We do not specify a path in Import Files, so LIBPATH fires.
   17304       shlibpath_overrides_runpath=yes
   17305       ;;
   17306     *,no) # both, prefer aix
   17307       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17308       library_names_spec='$libname$release.a $libname.a'
   17309       soname_spec='$libname$release$shared_ext$major'
   17310       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17311       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)'
   17312       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"'
   17313       ;;
   17314     esac
   17315     shlibpath_var=LIBPATH
   17316   fi
   17317   ;;
   17318 
   17319 amigaos*)
   17320   case $host_cpu in
   17321   powerpc)
   17322     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17323     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17324     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17325     ;;
   17326   m68k)
   17327     library_names_spec='$libname.ixlibrary $libname.a'
   17328     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17329     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'
   17330     ;;
   17331   esac
   17332   ;;
   17333 
   17334 beos*)
   17335   library_names_spec='$libname$shared_ext'
   17336   dynamic_linker="$host_os ld.so"
   17337   shlibpath_var=LIBRARY_PATH
   17338   ;;
   17339 
   17340 bsdi[45]*)
   17341   version_type=linux # correct to gnu/linux during the next big refactor
   17342   need_version=no
   17343   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17344   soname_spec='$libname$release$shared_ext$major'
   17345   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17346   shlibpath_var=LD_LIBRARY_PATH
   17347   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17348   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17349   # the default ld.so.conf also contains /usr/contrib/lib and
   17350   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17351   # libtool to hard-code these into programs
   17352   ;;
   17353 
   17354 cygwin* | mingw* | pw32* | cegcc*)
   17355   version_type=windows
   17356   shrext_cmds=.dll
   17357   need_version=no
   17358   need_lib_prefix=no
   17359 
   17360   case $GCC,$cc_basename in
   17361   yes,*)
   17362     # gcc
   17363     library_names_spec='$libname.dll.a'
   17364     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17365     postinstall_cmds='base_file=`basename \$file`~
   17366       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17367       dldir=$destdir/`dirname \$dlpath`~
   17368       test -d \$dldir || mkdir -p \$dldir~
   17369       $install_prog $dir/$dlname \$dldir/$dlname~
   17370       chmod a+x \$dldir/$dlname~
   17371       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17372         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17373       fi'
   17374     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17375       dlpath=$dir/\$dldll~
   17376        $RM \$dlpath'
   17377     shlibpath_overrides_runpath=yes
   17378 
   17379     case $host_os in
   17380     cygwin*)
   17381       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17382       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17383 
   17384       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17385       ;;
   17386     mingw* | cegcc*)
   17387       # MinGW DLLs use traditional 'lib' prefix
   17388       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17389       ;;
   17390     pw32*)
   17391       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17392       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17393       ;;
   17394     esac
   17395     dynamic_linker='Win32 ld.exe'
   17396     ;;
   17397 
   17398   *,cl*)
   17399     # Native MSVC
   17400     libname_spec='$name'
   17401     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17402     library_names_spec='$libname.dll.lib'
   17403 
   17404     case $build_os in
   17405     mingw*)
   17406       sys_lib_search_path_spec=
   17407       lt_save_ifs=$IFS
   17408       IFS=';'
   17409       for lt_path in $LIB
   17410       do
   17411         IFS=$lt_save_ifs
   17412         # Let DOS variable expansion print the short 8.3 style file name.
   17413         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17414         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17415       done
   17416       IFS=$lt_save_ifs
   17417       # Convert to MSYS style.
   17418       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17419       ;;
   17420     cygwin*)
   17421       # Convert to unix form, then to dos form, then back to unix form
   17422       # but this time dos style (no spaces!) so that the unix form looks
   17423       # like /cygdrive/c/PROGRA~1:/cygdr...
   17424       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17425       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17426       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17427       ;;
   17428     *)
   17429       sys_lib_search_path_spec=$LIB
   17430       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17431         # It is most probably a Windows format PATH.
   17432         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17433       else
   17434         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17435       fi
   17436       # FIXME: find the short name or the path components, as spaces are
   17437       # common. (e.g. "Program Files" -> "PROGRA~1")
   17438       ;;
   17439     esac
   17440 
   17441     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17442     postinstall_cmds='base_file=`basename \$file`~
   17443       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17444       dldir=$destdir/`dirname \$dlpath`~
   17445       test -d \$dldir || mkdir -p \$dldir~
   17446       $install_prog $dir/$dlname \$dldir/$dlname'
   17447     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17448       dlpath=$dir/\$dldll~
   17449        $RM \$dlpath'
   17450     shlibpath_overrides_runpath=yes
   17451     dynamic_linker='Win32 link.exe'
   17452     ;;
   17453 
   17454   *)
   17455     # Assume MSVC wrapper
   17456     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17457     dynamic_linker='Win32 ld.exe'
   17458     ;;
   17459   esac
   17460   # FIXME: first we should search . and the directory the executable is in
   17461   shlibpath_var=PATH
   17462   ;;
   17463 
   17464 darwin* | rhapsody*)
   17465   dynamic_linker="$host_os dyld"
   17466   version_type=darwin
   17467   need_lib_prefix=no
   17468   need_version=no
   17469   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17470   soname_spec='$libname$release$major$shared_ext'
   17471   shlibpath_overrides_runpath=yes
   17472   shlibpath_var=DYLD_LIBRARY_PATH
   17473   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17474 
   17475   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17476   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17477   ;;
   17478 
   17479 dgux*)
   17480   version_type=linux # correct to gnu/linux during the next big refactor
   17481   need_lib_prefix=no
   17482   need_version=no
   17483   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17484   soname_spec='$libname$release$shared_ext$major'
   17485   shlibpath_var=LD_LIBRARY_PATH
   17486   ;;
   17487 
   17488 freebsd* | dragonfly*)
   17489   # DragonFly does not have aout.  When/if they implement a new
   17490   # versioning mechanism, adjust this.
   17491   if test -x /usr/bin/objformat; then
   17492     objformat=`/usr/bin/objformat`
   17493   else
   17494     case $host_os in
   17495     freebsd[23].*) objformat=aout ;;
   17496     *) objformat=elf ;;
   17497     esac
   17498   fi
   17499   version_type=freebsd-$objformat
   17500   case $version_type in
   17501     freebsd-elf*)
   17502       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17503       soname_spec='$libname$release$shared_ext$major'
   17504       need_version=no
   17505       need_lib_prefix=no
   17506       ;;
   17507     freebsd-*)
   17508       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17509       need_version=yes
   17510       ;;
   17511   esac
   17512   shlibpath_var=LD_LIBRARY_PATH
   17513   case $host_os in
   17514   freebsd2.*)
   17515     shlibpath_overrides_runpath=yes
   17516     ;;
   17517   freebsd3.[01]* | freebsdelf3.[01]*)
   17518     shlibpath_overrides_runpath=yes
   17519     hardcode_into_libs=yes
   17520     ;;
   17521   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17522   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17523     shlibpath_overrides_runpath=no
   17524     hardcode_into_libs=yes
   17525     ;;
   17526   *) # from 4.6 on, and DragonFly
   17527     shlibpath_overrides_runpath=yes
   17528     hardcode_into_libs=yes
   17529     ;;
   17530   esac
   17531   ;;
   17532 
   17533 haiku*)
   17534   version_type=linux # correct to gnu/linux during the next big refactor
   17535   need_lib_prefix=no
   17536   need_version=no
   17537   dynamic_linker="$host_os runtime_loader"
   17538   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17539   soname_spec='$libname$release$shared_ext$major'
   17540   shlibpath_var=LIBRARY_PATH
   17541   shlibpath_overrides_runpath=no
   17542   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17543   hardcode_into_libs=yes
   17544   ;;
   17545 
   17546 hpux9* | hpux10* | hpux11*)
   17547   # Give a soname corresponding to the major version so that dld.sl refuses to
   17548   # link against other versions.
   17549   version_type=sunos
   17550   need_lib_prefix=no
   17551   need_version=no
   17552   case $host_cpu in
   17553   ia64*)
   17554     shrext_cmds='.so'
   17555     hardcode_into_libs=yes
   17556     dynamic_linker="$host_os dld.so"
   17557     shlibpath_var=LD_LIBRARY_PATH
   17558     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17559     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17560     soname_spec='$libname$release$shared_ext$major'
   17561     if test 32 = "$HPUX_IA64_MODE"; then
   17562       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17563       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17564     else
   17565       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17566       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17567     fi
   17568     ;;
   17569   hppa*64*)
   17570     shrext_cmds='.sl'
   17571     hardcode_into_libs=yes
   17572     dynamic_linker="$host_os dld.sl"
   17573     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17574     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17575     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17576     soname_spec='$libname$release$shared_ext$major'
   17577     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17578     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17579     ;;
   17580   *)
   17581     shrext_cmds='.sl'
   17582     dynamic_linker="$host_os dld.sl"
   17583     shlibpath_var=SHLIB_PATH
   17584     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17585     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17586     soname_spec='$libname$release$shared_ext$major'
   17587     ;;
   17588   esac
   17589   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17590   postinstall_cmds='chmod 555 $lib'
   17591   # or fails outright, so override atomically:
   17592   install_override_mode=555
   17593   ;;
   17594 
   17595 interix[3-9]*)
   17596   version_type=linux # correct to gnu/linux during the next big refactor
   17597   need_lib_prefix=no
   17598   need_version=no
   17599   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17600   soname_spec='$libname$release$shared_ext$major'
   17601   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17602   shlibpath_var=LD_LIBRARY_PATH
   17603   shlibpath_overrides_runpath=no
   17604   hardcode_into_libs=yes
   17605   ;;
   17606 
   17607 irix5* | irix6* | nonstopux*)
   17608   case $host_os in
   17609     nonstopux*) version_type=nonstopux ;;
   17610     *)
   17611 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17612 		version_type=linux # correct to gnu/linux during the next big refactor
   17613 	else
   17614 		version_type=irix
   17615 	fi ;;
   17616   esac
   17617   need_lib_prefix=no
   17618   need_version=no
   17619   soname_spec='$libname$release$shared_ext$major'
   17620   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17621   case $host_os in
   17622   irix5* | nonstopux*)
   17623     libsuff= shlibsuff=
   17624     ;;
   17625   *)
   17626     case $LD in # libtool.m4 will add one of these switches to LD
   17627     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17628       libsuff= shlibsuff= libmagic=32-bit;;
   17629     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17630       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17631     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17632       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17633     *) libsuff= shlibsuff= libmagic=never-match;;
   17634     esac
   17635     ;;
   17636   esac
   17637   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17638   shlibpath_overrides_runpath=no
   17639   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17640   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17641   hardcode_into_libs=yes
   17642   ;;
   17643 
   17644 # No shared lib support for Linux oldld, aout, or coff.
   17645 linux*oldld* | linux*aout* | linux*coff*)
   17646   dynamic_linker=no
   17647   ;;
   17648 
   17649 linux*android*)
   17650   version_type=none # Android doesn't support versioned libraries.
   17651   need_lib_prefix=no
   17652   need_version=no
   17653   library_names_spec='$libname$release$shared_ext'
   17654   soname_spec='$libname$release$shared_ext'
   17655   finish_cmds=
   17656   shlibpath_var=LD_LIBRARY_PATH
   17657   shlibpath_overrides_runpath=yes
   17658 
   17659   # This implies no fast_install, which is unacceptable.
   17660   # Some rework will be needed to allow for fast_install
   17661   # before this can be enabled.
   17662   hardcode_into_libs=yes
   17663 
   17664   dynamic_linker='Android linker'
   17665   # Don't embed -rpath directories since the linker doesn't support them.
   17666   hardcode_libdir_flag_spec='-L$libdir'
   17667   ;;
   17668 
   17669 # This must be glibc/ELF.
   17670 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17671   version_type=linux # correct to gnu/linux during the next big refactor
   17672   need_lib_prefix=no
   17673   need_version=no
   17674   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17675   soname_spec='$libname$release$shared_ext$major'
   17676   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17677   shlibpath_var=LD_LIBRARY_PATH
   17678   shlibpath_overrides_runpath=no
   17679 
   17680   # Some binutils ld are patched to set DT_RUNPATH
   17681   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17682   $as_echo_n "(cached) " >&6
   17683 else
   17684   lt_cv_shlibpath_overrides_runpath=no
   17685     save_LDFLAGS=$LDFLAGS
   17686     save_libdir=$libdir
   17687     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17688 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17689     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17690 /* end confdefs.h.  */
   17691 
   17692 int
   17693 main ()
   17694 {
   17695 
   17696   ;
   17697   return 0;
   17698 }
   17699 _ACEOF
   17700 if ac_fn_c_try_link "$LINENO"; then :
   17701   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17702   lt_cv_shlibpath_overrides_runpath=yes
   17703 fi
   17704 fi
   17705 rm -f core conftest.err conftest.$ac_objext \
   17706     conftest$ac_exeext conftest.$ac_ext
   17707     LDFLAGS=$save_LDFLAGS
   17708     libdir=$save_libdir
   17709 
   17710 fi
   17711 
   17712   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17713 
   17714   # This implies no fast_install, which is unacceptable.
   17715   # Some rework will be needed to allow for fast_install
   17716   # before this can be enabled.
   17717   hardcode_into_libs=yes
   17718 
   17719   # Ideally, we could use ldconfig to report *all* directores which are
   17720   # searched for libraries, however this is still not possible.  Aside from not
   17721   # being certain /sbin/ldconfig is available, command
   17722   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17723   # even though it is searched at run-time.  Try to do the best guess by
   17724   # appending ld.so.conf contents (and includes) to the search path.
   17725   if test -f /etc/ld.so.conf; then
   17726     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' ' '`
   17727     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17728   fi
   17729 
   17730   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17731   # powerpc, because MkLinux only supported shared libraries with the
   17732   # GNU dynamic linker.  Since this was broken with cross compilers,
   17733   # most powerpc-linux boxes support dynamic linking these days and
   17734   # people can always --disable-shared, the test was removed, and we
   17735   # assume the GNU/Linux dynamic linker is in use.
   17736   dynamic_linker='GNU/Linux ld.so'
   17737   ;;
   17738 
   17739 netbsdelf*-gnu)
   17740   version_type=linux
   17741   need_lib_prefix=no
   17742   need_version=no
   17743   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17744   soname_spec='${libname}${release}${shared_ext}$major'
   17745   shlibpath_var=LD_LIBRARY_PATH
   17746   shlibpath_overrides_runpath=no
   17747   hardcode_into_libs=yes
   17748   dynamic_linker='NetBSD ld.elf_so'
   17749   ;;
   17750 
   17751 netbsd*)
   17752   version_type=sunos
   17753   need_lib_prefix=no
   17754   need_version=no
   17755   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17756     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17757     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17758     dynamic_linker='NetBSD (a.out) ld.so'
   17759   else
   17760     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17761     soname_spec='$libname$release$shared_ext$major'
   17762     dynamic_linker='NetBSD ld.elf_so'
   17763   fi
   17764   shlibpath_var=LD_LIBRARY_PATH
   17765   shlibpath_overrides_runpath=yes
   17766   hardcode_into_libs=yes
   17767   ;;
   17768 
   17769 newsos6)
   17770   version_type=linux # correct to gnu/linux during the next big refactor
   17771   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17772   shlibpath_var=LD_LIBRARY_PATH
   17773   shlibpath_overrides_runpath=yes
   17774   ;;
   17775 
   17776 *nto* | *qnx*)
   17777   version_type=qnx
   17778   need_lib_prefix=no
   17779   need_version=no
   17780   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17781   soname_spec='$libname$release$shared_ext$major'
   17782   shlibpath_var=LD_LIBRARY_PATH
   17783   shlibpath_overrides_runpath=no
   17784   hardcode_into_libs=yes
   17785   dynamic_linker='ldqnx.so'
   17786   ;;
   17787 
   17788 openbsd* | bitrig*)
   17789   version_type=sunos
   17790   sys_lib_dlsearch_path_spec=/usr/lib
   17791   need_lib_prefix=no
   17792   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17793     need_version=no
   17794   else
   17795     need_version=yes
   17796   fi
   17797   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17798   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17799   shlibpath_var=LD_LIBRARY_PATH
   17800   shlibpath_overrides_runpath=yes
   17801   ;;
   17802 
   17803 os2*)
   17804   libname_spec='$name'
   17805   version_type=windows
   17806   shrext_cmds=.dll
   17807   need_version=no
   17808   need_lib_prefix=no
   17809   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17810   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17811     v=$($ECHO $release$versuffix | tr -d .-);
   17812     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17813     $ECHO $n$v`$shared_ext'
   17814   library_names_spec='${libname}_dll.$libext'
   17815   dynamic_linker='OS/2 ld.exe'
   17816   shlibpath_var=BEGINLIBPATH
   17817   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17818   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17819   postinstall_cmds='base_file=`basename \$file`~
   17820     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17821     dldir=$destdir/`dirname \$dlpath`~
   17822     test -d \$dldir || mkdir -p \$dldir~
   17823     $install_prog $dir/$dlname \$dldir/$dlname~
   17824     chmod a+x \$dldir/$dlname~
   17825     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17826       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17827     fi'
   17828   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17829     dlpath=$dir/\$dldll~
   17830     $RM \$dlpath'
   17831   ;;
   17832 
   17833 osf3* | osf4* | osf5*)
   17834   version_type=osf
   17835   need_lib_prefix=no
   17836   need_version=no
   17837   soname_spec='$libname$release$shared_ext$major'
   17838   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17839   shlibpath_var=LD_LIBRARY_PATH
   17840   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17841   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17842   ;;
   17843 
   17844 rdos*)
   17845   dynamic_linker=no
   17846   ;;
   17847 
   17848 solaris*)
   17849   version_type=linux # correct to gnu/linux during the next big refactor
   17850   need_lib_prefix=no
   17851   need_version=no
   17852   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17853   soname_spec='$libname$release$shared_ext$major'
   17854   shlibpath_var=LD_LIBRARY_PATH
   17855   shlibpath_overrides_runpath=yes
   17856   hardcode_into_libs=yes
   17857   # ldd complains unless libraries are executable
   17858   postinstall_cmds='chmod +x $lib'
   17859   ;;
   17860 
   17861 sunos4*)
   17862   version_type=sunos
   17863   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17864   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17865   shlibpath_var=LD_LIBRARY_PATH
   17866   shlibpath_overrides_runpath=yes
   17867   if test yes = "$with_gnu_ld"; then
   17868     need_lib_prefix=no
   17869   fi
   17870   need_version=yes
   17871   ;;
   17872 
   17873 sysv4 | sysv4.3*)
   17874   version_type=linux # correct to gnu/linux during the next big refactor
   17875   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17876   soname_spec='$libname$release$shared_ext$major'
   17877   shlibpath_var=LD_LIBRARY_PATH
   17878   case $host_vendor in
   17879     sni)
   17880       shlibpath_overrides_runpath=no
   17881       need_lib_prefix=no
   17882       runpath_var=LD_RUN_PATH
   17883       ;;
   17884     siemens)
   17885       need_lib_prefix=no
   17886       ;;
   17887     motorola)
   17888       need_lib_prefix=no
   17889       need_version=no
   17890       shlibpath_overrides_runpath=no
   17891       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17892       ;;
   17893   esac
   17894   ;;
   17895 
   17896 sysv4*MP*)
   17897   if test -d /usr/nec; then
   17898     version_type=linux # correct to gnu/linux during the next big refactor
   17899     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17900     soname_spec='$libname$shared_ext.$major'
   17901     shlibpath_var=LD_LIBRARY_PATH
   17902   fi
   17903   ;;
   17904 
   17905 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17906   version_type=sco
   17907   need_lib_prefix=no
   17908   need_version=no
   17909   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17910   soname_spec='$libname$release$shared_ext$major'
   17911   shlibpath_var=LD_LIBRARY_PATH
   17912   shlibpath_overrides_runpath=yes
   17913   hardcode_into_libs=yes
   17914   if test yes = "$with_gnu_ld"; then
   17915     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17916   else
   17917     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17918     case $host_os in
   17919       sco3.2v5*)
   17920         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17921 	;;
   17922     esac
   17923   fi
   17924   sys_lib_dlsearch_path_spec='/usr/lib'
   17925   ;;
   17926 
   17927 tpf*)
   17928   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17929   version_type=linux # correct to gnu/linux during the next big refactor
   17930   need_lib_prefix=no
   17931   need_version=no
   17932   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17933   shlibpath_var=LD_LIBRARY_PATH
   17934   shlibpath_overrides_runpath=no
   17935   hardcode_into_libs=yes
   17936   ;;
   17937 
   17938 uts4*)
   17939   version_type=linux # correct to gnu/linux during the next big refactor
   17940   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17941   soname_spec='$libname$release$shared_ext$major'
   17942   shlibpath_var=LD_LIBRARY_PATH
   17943   ;;
   17944 
   17945 *)
   17946   dynamic_linker=no
   17947   ;;
   17948 esac
   17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17950 $as_echo "$dynamic_linker" >&6; }
   17951 test no = "$dynamic_linker" && can_build_shared=no
   17952 
   17953 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17954 if test yes = "$GCC"; then
   17955   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17956 fi
   17957 
   17958 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17959   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17960 fi
   17961 
   17962 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17963   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17964 fi
   17965 
   17966 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17967 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17968 
   17969 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17970 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17971 
   17972 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17973 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   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 
   18028 
   18029 
   18030 
   18031 
   18032 
   18033 
   18034 
   18035 
   18036 
   18037 
   18038 
   18039 
   18040 
   18041 
   18042 
   18043 
   18044 
   18045 
   18046 
   18047 
   18048 
   18049 
   18050 
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 
   18071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   18072 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   18073 hardcode_action=
   18074 if test -n "$hardcode_libdir_flag_spec" ||
   18075    test -n "$runpath_var" ||
   18076    test yes = "$hardcode_automatic"; then
   18077 
   18078   # We can hardcode non-existent directories.
   18079   if test no != "$hardcode_direct" &&
   18080      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18081      # have to relink, otherwise we might link with an installed library
   18082      # when we should be linking with a yet-to-be-installed one
   18083      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   18084      test no != "$hardcode_minus_L"; then
   18085     # Linking always hardcodes the temporary library directory.
   18086     hardcode_action=relink
   18087   else
   18088     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18089     hardcode_action=immediate
   18090   fi
   18091 else
   18092   # We cannot hardcode anything, or else we can only hardcode existing
   18093   # directories.
   18094   hardcode_action=unsupported
   18095 fi
   18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   18097 $as_echo "$hardcode_action" >&6; }
   18098 
   18099 if test relink = "$hardcode_action" ||
   18100    test yes = "$inherit_rpath"; then
   18101   # Fast installation is not supported
   18102   enable_fast_install=no
   18103 elif test yes = "$shlibpath_overrides_runpath" ||
   18104      test no = "$enable_shared"; then
   18105   # Fast installation is not necessary
   18106   enable_fast_install=needless
   18107 fi
   18108 
   18109 
   18110 
   18111 
   18112 
   18113 
   18114   if test yes != "$enable_dlopen"; then
   18115   enable_dlopen=unknown
   18116   enable_dlopen_self=unknown
   18117   enable_dlopen_self_static=unknown
   18118 else
   18119   lt_cv_dlopen=no
   18120   lt_cv_dlopen_libs=
   18121 
   18122   case $host_os in
   18123   beos*)
   18124     lt_cv_dlopen=load_add_on
   18125     lt_cv_dlopen_libs=
   18126     lt_cv_dlopen_self=yes
   18127     ;;
   18128 
   18129   mingw* | pw32* | cegcc*)
   18130     lt_cv_dlopen=LoadLibrary
   18131     lt_cv_dlopen_libs=
   18132     ;;
   18133 
   18134   cygwin*)
   18135     lt_cv_dlopen=dlopen
   18136     lt_cv_dlopen_libs=
   18137     ;;
   18138 
   18139   darwin*)
   18140     # if libdl is installed we need to link against it
   18141     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18142 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   18143 if ${ac_cv_lib_dl_dlopen+:} false; then :
   18144   $as_echo_n "(cached) " >&6
   18145 else
   18146   ac_check_lib_save_LIBS=$LIBS
   18147 LIBS="-ldl  $LIBS"
   18148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18149 /* end confdefs.h.  */
   18150 
   18151 /* Override any GCC internal prototype to avoid an error.
   18152    Use char because int might match the return type of a GCC
   18153    builtin and then its argument prototype would still apply.  */
   18154 #ifdef __cplusplus
   18155 extern "C"
   18156 #endif
   18157 char dlopen ();
   18158 int
   18159 main ()
   18160 {
   18161 return dlopen ();
   18162   ;
   18163   return 0;
   18164 }
   18165 _ACEOF
   18166 if ac_fn_c_try_link "$LINENO"; then :
   18167   ac_cv_lib_dl_dlopen=yes
   18168 else
   18169   ac_cv_lib_dl_dlopen=no
   18170 fi
   18171 rm -f core conftest.err conftest.$ac_objext \
   18172     conftest$ac_exeext conftest.$ac_ext
   18173 LIBS=$ac_check_lib_save_LIBS
   18174 fi
   18175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18176 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18177 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18178   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18179 else
   18180 
   18181     lt_cv_dlopen=dyld
   18182     lt_cv_dlopen_libs=
   18183     lt_cv_dlopen_self=yes
   18184 
   18185 fi
   18186 
   18187     ;;
   18188 
   18189   tpf*)
   18190     # Don't try to run any link tests for TPF.  We know it's impossible
   18191     # because TPF is a cross-compiler, and we know how we open DSOs.
   18192     lt_cv_dlopen=dlopen
   18193     lt_cv_dlopen_libs=
   18194     lt_cv_dlopen_self=no
   18195     ;;
   18196 
   18197   *)
   18198     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   18199 if test "x$ac_cv_func_shl_load" = xyes; then :
   18200   lt_cv_dlopen=shl_load
   18201 else
   18202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   18203 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   18204 if ${ac_cv_lib_dld_shl_load+:} false; then :
   18205   $as_echo_n "(cached) " >&6
   18206 else
   18207   ac_check_lib_save_LIBS=$LIBS
   18208 LIBS="-ldld  $LIBS"
   18209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18210 /* end confdefs.h.  */
   18211 
   18212 /* Override any GCC internal prototype to avoid an error.
   18213    Use char because int might match the return type of a GCC
   18214    builtin and then its argument prototype would still apply.  */
   18215 #ifdef __cplusplus
   18216 extern "C"
   18217 #endif
   18218 char shl_load ();
   18219 int
   18220 main ()
   18221 {
   18222 return shl_load ();
   18223   ;
   18224   return 0;
   18225 }
   18226 _ACEOF
   18227 if ac_fn_c_try_link "$LINENO"; then :
   18228   ac_cv_lib_dld_shl_load=yes
   18229 else
   18230   ac_cv_lib_dld_shl_load=no
   18231 fi
   18232 rm -f core conftest.err conftest.$ac_objext \
   18233     conftest$ac_exeext conftest.$ac_ext
   18234 LIBS=$ac_check_lib_save_LIBS
   18235 fi
   18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   18237 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   18238 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   18239   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   18240 else
   18241   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   18242 if test "x$ac_cv_func_dlopen" = xyes; then :
   18243   lt_cv_dlopen=dlopen
   18244 else
   18245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18246 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   18247 if ${ac_cv_lib_dl_dlopen+:} false; then :
   18248   $as_echo_n "(cached) " >&6
   18249 else
   18250   ac_check_lib_save_LIBS=$LIBS
   18251 LIBS="-ldl  $LIBS"
   18252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18253 /* end confdefs.h.  */
   18254 
   18255 /* Override any GCC internal prototype to avoid an error.
   18256    Use char because int might match the return type of a GCC
   18257    builtin and then its argument prototype would still apply.  */
   18258 #ifdef __cplusplus
   18259 extern "C"
   18260 #endif
   18261 char dlopen ();
   18262 int
   18263 main ()
   18264 {
   18265 return dlopen ();
   18266   ;
   18267   return 0;
   18268 }
   18269 _ACEOF
   18270 if ac_fn_c_try_link "$LINENO"; then :
   18271   ac_cv_lib_dl_dlopen=yes
   18272 else
   18273   ac_cv_lib_dl_dlopen=no
   18274 fi
   18275 rm -f core conftest.err conftest.$ac_objext \
   18276     conftest$ac_exeext conftest.$ac_ext
   18277 LIBS=$ac_check_lib_save_LIBS
   18278 fi
   18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18280 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18281 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18282   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18283 else
   18284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18285 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18286 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18287   $as_echo_n "(cached) " >&6
   18288 else
   18289   ac_check_lib_save_LIBS=$LIBS
   18290 LIBS="-lsvld  $LIBS"
   18291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18292 /* end confdefs.h.  */
   18293 
   18294 /* Override any GCC internal prototype to avoid an error.
   18295    Use char because int might match the return type of a GCC
   18296    builtin and then its argument prototype would still apply.  */
   18297 #ifdef __cplusplus
   18298 extern "C"
   18299 #endif
   18300 char dlopen ();
   18301 int
   18302 main ()
   18303 {
   18304 return dlopen ();
   18305   ;
   18306   return 0;
   18307 }
   18308 _ACEOF
   18309 if ac_fn_c_try_link "$LINENO"; then :
   18310   ac_cv_lib_svld_dlopen=yes
   18311 else
   18312   ac_cv_lib_svld_dlopen=no
   18313 fi
   18314 rm -f core conftest.err conftest.$ac_objext \
   18315     conftest$ac_exeext conftest.$ac_ext
   18316 LIBS=$ac_check_lib_save_LIBS
   18317 fi
   18318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18319 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18320 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18321   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18322 else
   18323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18324 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18325 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18326   $as_echo_n "(cached) " >&6
   18327 else
   18328   ac_check_lib_save_LIBS=$LIBS
   18329 LIBS="-ldld  $LIBS"
   18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18331 /* end confdefs.h.  */
   18332 
   18333 /* Override any GCC internal prototype to avoid an error.
   18334    Use char because int might match the return type of a GCC
   18335    builtin and then its argument prototype would still apply.  */
   18336 #ifdef __cplusplus
   18337 extern "C"
   18338 #endif
   18339 char dld_link ();
   18340 int
   18341 main ()
   18342 {
   18343 return dld_link ();
   18344   ;
   18345   return 0;
   18346 }
   18347 _ACEOF
   18348 if ac_fn_c_try_link "$LINENO"; then :
   18349   ac_cv_lib_dld_dld_link=yes
   18350 else
   18351   ac_cv_lib_dld_dld_link=no
   18352 fi
   18353 rm -f core conftest.err conftest.$ac_objext \
   18354     conftest$ac_exeext conftest.$ac_ext
   18355 LIBS=$ac_check_lib_save_LIBS
   18356 fi
   18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18358 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18359 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18360   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18361 fi
   18362 
   18363 
   18364 fi
   18365 
   18366 
   18367 fi
   18368 
   18369 
   18370 fi
   18371 
   18372 
   18373 fi
   18374 
   18375 
   18376 fi
   18377 
   18378     ;;
   18379   esac
   18380 
   18381   if test no = "$lt_cv_dlopen"; then
   18382     enable_dlopen=no
   18383   else
   18384     enable_dlopen=yes
   18385   fi
   18386 
   18387   case $lt_cv_dlopen in
   18388   dlopen)
   18389     save_CPPFLAGS=$CPPFLAGS
   18390     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18391 
   18392     save_LDFLAGS=$LDFLAGS
   18393     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18394 
   18395     save_LIBS=$LIBS
   18396     LIBS="$lt_cv_dlopen_libs $LIBS"
   18397 
   18398     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18399 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18400 if ${lt_cv_dlopen_self+:} false; then :
   18401   $as_echo_n "(cached) " >&6
   18402 else
   18403   	  if test yes = "$cross_compiling"; then :
   18404   lt_cv_dlopen_self=cross
   18405 else
   18406   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18407   lt_status=$lt_dlunknown
   18408   cat > conftest.$ac_ext <<_LT_EOF
   18409 #line $LINENO "configure"
   18410 #include "confdefs.h"
   18411 
   18412 #if HAVE_DLFCN_H
   18413 #include <dlfcn.h>
   18414 #endif
   18415 
   18416 #include <stdio.h>
   18417 
   18418 #ifdef RTLD_GLOBAL
   18419 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18420 #else
   18421 #  ifdef DL_GLOBAL
   18422 #    define LT_DLGLOBAL		DL_GLOBAL
   18423 #  else
   18424 #    define LT_DLGLOBAL		0
   18425 #  endif
   18426 #endif
   18427 
   18428 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18429    find out it does not work in some platform. */
   18430 #ifndef LT_DLLAZY_OR_NOW
   18431 #  ifdef RTLD_LAZY
   18432 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18433 #  else
   18434 #    ifdef DL_LAZY
   18435 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18436 #    else
   18437 #      ifdef RTLD_NOW
   18438 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18439 #      else
   18440 #        ifdef DL_NOW
   18441 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18442 #        else
   18443 #          define LT_DLLAZY_OR_NOW	0
   18444 #        endif
   18445 #      endif
   18446 #    endif
   18447 #  endif
   18448 #endif
   18449 
   18450 /* When -fvisibility=hidden is used, assume the code has been annotated
   18451    correspondingly for the symbols needed.  */
   18452 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18453 int fnord () __attribute__((visibility("default")));
   18454 #endif
   18455 
   18456 int fnord () { return 42; }
   18457 int main ()
   18458 {
   18459   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18460   int status = $lt_dlunknown;
   18461 
   18462   if (self)
   18463     {
   18464       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18465       else
   18466         {
   18467 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18468           else puts (dlerror ());
   18469 	}
   18470       /* dlclose (self); */
   18471     }
   18472   else
   18473     puts (dlerror ());
   18474 
   18475   return status;
   18476 }
   18477 _LT_EOF
   18478   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18479   (eval $ac_link) 2>&5
   18480   ac_status=$?
   18481   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18482   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18483     (./conftest; exit; ) >&5 2>/dev/null
   18484     lt_status=$?
   18485     case x$lt_status in
   18486       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18487       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18488       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18489     esac
   18490   else :
   18491     # compilation failed
   18492     lt_cv_dlopen_self=no
   18493   fi
   18494 fi
   18495 rm -fr conftest*
   18496 
   18497 
   18498 fi
   18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18500 $as_echo "$lt_cv_dlopen_self" >&6; }
   18501 
   18502     if test yes = "$lt_cv_dlopen_self"; then
   18503       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18504       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18505 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18506 if ${lt_cv_dlopen_self_static+:} false; then :
   18507   $as_echo_n "(cached) " >&6
   18508 else
   18509   	  if test yes = "$cross_compiling"; then :
   18510   lt_cv_dlopen_self_static=cross
   18511 else
   18512   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18513   lt_status=$lt_dlunknown
   18514   cat > conftest.$ac_ext <<_LT_EOF
   18515 #line $LINENO "configure"
   18516 #include "confdefs.h"
   18517 
   18518 #if HAVE_DLFCN_H
   18519 #include <dlfcn.h>
   18520 #endif
   18521 
   18522 #include <stdio.h>
   18523 
   18524 #ifdef RTLD_GLOBAL
   18525 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18526 #else
   18527 #  ifdef DL_GLOBAL
   18528 #    define LT_DLGLOBAL		DL_GLOBAL
   18529 #  else
   18530 #    define LT_DLGLOBAL		0
   18531 #  endif
   18532 #endif
   18533 
   18534 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18535    find out it does not work in some platform. */
   18536 #ifndef LT_DLLAZY_OR_NOW
   18537 #  ifdef RTLD_LAZY
   18538 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18539 #  else
   18540 #    ifdef DL_LAZY
   18541 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18542 #    else
   18543 #      ifdef RTLD_NOW
   18544 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18545 #      else
   18546 #        ifdef DL_NOW
   18547 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18548 #        else
   18549 #          define LT_DLLAZY_OR_NOW	0
   18550 #        endif
   18551 #      endif
   18552 #    endif
   18553 #  endif
   18554 #endif
   18555 
   18556 /* When -fvisibility=hidden is used, assume the code has been annotated
   18557    correspondingly for the symbols needed.  */
   18558 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18559 int fnord () __attribute__((visibility("default")));
   18560 #endif
   18561 
   18562 int fnord () { return 42; }
   18563 int main ()
   18564 {
   18565   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18566   int status = $lt_dlunknown;
   18567 
   18568   if (self)
   18569     {
   18570       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18571       else
   18572         {
   18573 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18574           else puts (dlerror ());
   18575 	}
   18576       /* dlclose (self); */
   18577     }
   18578   else
   18579     puts (dlerror ());
   18580 
   18581   return status;
   18582 }
   18583 _LT_EOF
   18584   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18585   (eval $ac_link) 2>&5
   18586   ac_status=$?
   18587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18588   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18589     (./conftest; exit; ) >&5 2>/dev/null
   18590     lt_status=$?
   18591     case x$lt_status in
   18592       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18593       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18594       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18595     esac
   18596   else :
   18597     # compilation failed
   18598     lt_cv_dlopen_self_static=no
   18599   fi
   18600 fi
   18601 rm -fr conftest*
   18602 
   18603 
   18604 fi
   18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18606 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18607     fi
   18608 
   18609     CPPFLAGS=$save_CPPFLAGS
   18610     LDFLAGS=$save_LDFLAGS
   18611     LIBS=$save_LIBS
   18612     ;;
   18613   esac
   18614 
   18615   case $lt_cv_dlopen_self in
   18616   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18617   *) enable_dlopen_self=unknown ;;
   18618   esac
   18619 
   18620   case $lt_cv_dlopen_self_static in
   18621   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18622   *) enable_dlopen_self_static=unknown ;;
   18623   esac
   18624 fi
   18625 
   18626 
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 
   18638 
   18639 
   18640 
   18641 
   18642 striplib=
   18643 old_striplib=
   18644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18645 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18646 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18647   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18648   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18650 $as_echo "yes" >&6; }
   18651 else
   18652 # FIXME - insert some real tests, host_os isn't really good enough
   18653   case $host_os in
   18654   darwin*)
   18655     if test -n "$STRIP"; then
   18656       striplib="$STRIP -x"
   18657       old_striplib="$STRIP -S"
   18658       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18659 $as_echo "yes" >&6; }
   18660     else
   18661       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18662 $as_echo "no" >&6; }
   18663     fi
   18664     ;;
   18665   *)
   18666     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18667 $as_echo "no" >&6; }
   18668     ;;
   18669   esac
   18670 fi
   18671 
   18672 
   18673 
   18674 
   18675 
   18676 
   18677 
   18678 
   18679 
   18680 
   18681 
   18682 
   18683   # Report what library types will actually be built
   18684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18685 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18687 $as_echo "$can_build_shared" >&6; }
   18688 
   18689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18690 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18691   test no = "$can_build_shared" && enable_shared=no
   18692 
   18693   # On AIX, shared libraries and static libraries use the same namespace, and
   18694   # are all built from PIC.
   18695   case $host_os in
   18696   aix3*)
   18697     test yes = "$enable_shared" && enable_static=no
   18698     if test -n "$RANLIB"; then
   18699       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18700       postinstall_cmds='$RANLIB $lib'
   18701     fi
   18702     ;;
   18703 
   18704   aix[4-9]*)
   18705     if test ia64 != "$host_cpu"; then
   18706       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18707       yes,aix,yes) ;;			# shared object as lib.so file only
   18708       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18709       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18710       esac
   18711     fi
   18712     ;;
   18713   esac
   18714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18715 $as_echo "$enable_shared" >&6; }
   18716 
   18717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18718 $as_echo_n "checking whether to build static libraries... " >&6; }
   18719   # Make sure either enable_shared or enable_static is yes.
   18720   test yes = "$enable_shared" || enable_static=yes
   18721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18722 $as_echo "$enable_static" >&6; }
   18723 
   18724 
   18725 
   18726 
   18727 fi
   18728 ac_ext=c
   18729 ac_cpp='$CPP $CPPFLAGS'
   18730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18733 
   18734 CC=$lt_save_CC
   18735 
   18736 
   18737 
   18738 
   18739 
   18740 
   18741 
   18742 
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 
   18750         ac_config_commands="$ac_config_commands libtool"
   18751 
   18752 
   18753 
   18754 
   18755 # Only expand once:
   18756 
   18757 
   18758 
   18759 # Checks for programs.
   18760 
   18761 
   18762 if test "x$GCC" = "xyes"; then
   18763 	CPPFLAGS="$CPPFLAGS -Wall"
   18764 fi
   18765 
   18766 
   18767 
   18768 # Define a configure option for an alternate module directory
   18769 
   18770 # Check whether --with-xorg-module-dir was given.
   18771 if test "${with_xorg_module_dir+set}" = set; then :
   18772   withval=$with_xorg_module_dir; moduledir="$withval"
   18773 else
   18774   moduledir="$libdir/xorg/modules"
   18775 fi
   18776 
   18777 
   18778 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18779 
   18780 
   18781 	SAVE_CFLAGS="$CFLAGS"
   18782 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18783 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18784 /* end confdefs.h.  */
   18785 
   18786 #include "xorg-server.h"
   18787 #if !defined RANDR
   18788 #error RANDR not defined
   18789 #endif
   18790 
   18791 int
   18792 main ()
   18793 {
   18794 
   18795   ;
   18796   return 0;
   18797 }
   18798 _ACEOF
   18799 if ac_fn_c_try_compile "$LINENO"; then :
   18800   _EXT_CHECK=yes
   18801 else
   18802   _EXT_CHECK=no
   18803 fi
   18804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18805 	CFLAGS="$SAVE_CFLAGS"
   18806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18807 $as_echo_n "checking if RANDR is defined... " >&6; }
   18808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18809 $as_echo "$_EXT_CHECK" >&6; }
   18810 	if test "$_EXT_CHECK" != no; then
   18811 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18812 	fi
   18813 
   18814 
   18815 
   18816 	SAVE_CFLAGS="$CFLAGS"
   18817 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18818 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18819 /* end confdefs.h.  */
   18820 
   18821 #include "xorg-server.h"
   18822 #if !defined RENDER
   18823 #error RENDER not defined
   18824 #endif
   18825 
   18826 int
   18827 main ()
   18828 {
   18829 
   18830   ;
   18831   return 0;
   18832 }
   18833 _ACEOF
   18834 if ac_fn_c_try_compile "$LINENO"; then :
   18835   _EXT_CHECK=yes
   18836 else
   18837   _EXT_CHECK=no
   18838 fi
   18839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18840 	CFLAGS="$SAVE_CFLAGS"
   18841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18842 $as_echo_n "checking if RENDER is defined... " >&6; }
   18843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18844 $as_echo "$_EXT_CHECK" >&6; }
   18845 	if test "$_EXT_CHECK" != no; then
   18846 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18847 	fi
   18848 
   18849 
   18850 
   18851 	SAVE_CFLAGS="$CFLAGS"
   18852 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18853 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18854 /* end confdefs.h.  */
   18855 
   18856 #include "xorg-server.h"
   18857 #if !defined XV
   18858 #error XV not defined
   18859 #endif
   18860 
   18861 int
   18862 main ()
   18863 {
   18864 
   18865   ;
   18866   return 0;
   18867 }
   18868 _ACEOF
   18869 if ac_fn_c_try_compile "$LINENO"; then :
   18870   _EXT_CHECK=yes
   18871 else
   18872   _EXT_CHECK=no
   18873 fi
   18874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18875 	CFLAGS="$SAVE_CFLAGS"
   18876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18877 $as_echo_n "checking if XV is defined... " >&6; }
   18878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18879 $as_echo "$_EXT_CHECK" >&6; }
   18880 	if test "$_EXT_CHECK" != no; then
   18881 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18882 	fi
   18883 
   18884 
   18885 
   18886 	SAVE_CFLAGS="$CFLAGS"
   18887 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18888 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18889 /* end confdefs.h.  */
   18890 
   18891 #include "xorg-server.h"
   18892 #if !defined DPMSExtension
   18893 #error DPMSExtension not defined
   18894 #endif
   18895 
   18896 int
   18897 main ()
   18898 {
   18899 
   18900   ;
   18901   return 0;
   18902 }
   18903 _ACEOF
   18904 if ac_fn_c_try_compile "$LINENO"; then :
   18905   _EXT_CHECK=yes
   18906 else
   18907   _EXT_CHECK=no
   18908 fi
   18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18910 	CFLAGS="$SAVE_CFLAGS"
   18911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18912 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18914 $as_echo "$_EXT_CHECK" >&6; }
   18915 	if test "$_EXT_CHECK" != no; then
   18916 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18917 	fi
   18918 
   18919 
   18920 # Checks for libraries.
   18921 
   18922 pkg_failed=no
   18923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDRM" >&5
   18924 $as_echo_n "checking for LIBDRM... " >&6; }
   18925 
   18926 if test -n "$LIBDRM_CFLAGS"; then
   18927     pkg_cv_LIBDRM_CFLAGS="$LIBDRM_CFLAGS"
   18928  elif test -n "$PKG_CONFIG"; then
   18929     if test -n "$PKG_CONFIG" && \
   18930     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.58\""; } >&5
   18931   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.58") 2>&5
   18932   ac_status=$?
   18933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18934   test $ac_status = 0; }; then
   18935   pkg_cv_LIBDRM_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.4.58" 2>/dev/null`
   18936 		      test "x$?" != "x0" && pkg_failed=yes
   18937 else
   18938   pkg_failed=yes
   18939 fi
   18940  else
   18941     pkg_failed=untried
   18942 fi
   18943 if test -n "$LIBDRM_LIBS"; then
   18944     pkg_cv_LIBDRM_LIBS="$LIBDRM_LIBS"
   18945  elif test -n "$PKG_CONFIG"; then
   18946     if test -n "$PKG_CONFIG" && \
   18947     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.58\""; } >&5
   18948   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.58") 2>&5
   18949   ac_status=$?
   18950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18951   test $ac_status = 0; }; then
   18952   pkg_cv_LIBDRM_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.4.58" 2>/dev/null`
   18953 		      test "x$?" != "x0" && pkg_failed=yes
   18954 else
   18955   pkg_failed=yes
   18956 fi
   18957  else
   18958     pkg_failed=untried
   18959 fi
   18960 
   18961 
   18962 
   18963 if test $pkg_failed = yes; then
   18964    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18965 $as_echo "no" >&6; }
   18966 
   18967 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18968         _pkg_short_errors_supported=yes
   18969 else
   18970         _pkg_short_errors_supported=no
   18971 fi
   18972         if test $_pkg_short_errors_supported = yes; then
   18973 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.4.58" 2>&1`
   18974         else
   18975 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.4.58" 2>&1`
   18976         fi
   18977 	# Put the nasty error message in config.log where it belongs
   18978 	echo "$LIBDRM_PKG_ERRORS" >&5
   18979 
   18980 	as_fn_error $? "Package requirements (libdrm >= 2.4.58) were not met:
   18981 
   18982 $LIBDRM_PKG_ERRORS
   18983 
   18984 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18985 installed software in a non-standard prefix.
   18986 
   18987 Alternatively, you may set the environment variables LIBDRM_CFLAGS
   18988 and LIBDRM_LIBS to avoid the need to call pkg-config.
   18989 See the pkg-config man page for more details." "$LINENO" 5
   18990 elif test $pkg_failed = untried; then
   18991      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18992 $as_echo "no" >&6; }
   18993 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18995 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18996 is in your PATH or set the PKG_CONFIG environment variable to the full
   18997 path to pkg-config.
   18998 
   18999 Alternatively, you may set the environment variables LIBDRM_CFLAGS
   19000 and LIBDRM_LIBS to avoid the need to call pkg-config.
   19001 See the pkg-config man page for more details.
   19002 
   19003 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19004 See \`config.log' for more details" "$LINENO" 5; }
   19005 else
   19006 	LIBDRM_CFLAGS=$pkg_cv_LIBDRM_CFLAGS
   19007 	LIBDRM_LIBS=$pkg_cv_LIBDRM_LIBS
   19008         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19009 $as_echo "yes" >&6; }
   19010 
   19011 fi
   19012 
   19013 pkg_failed=no
   19014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDRM_AMDGPU" >&5
   19015 $as_echo_n "checking for LIBDRM_AMDGPU... " >&6; }
   19016 
   19017 if test -n "$LIBDRM_AMDGPU_CFLAGS"; then
   19018     pkg_cv_LIBDRM_AMDGPU_CFLAGS="$LIBDRM_AMDGPU_CFLAGS"
   19019  elif test -n "$PKG_CONFIG"; then
   19020     if test -n "$PKG_CONFIG" && \
   19021     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_amdgpu\""; } >&5
   19022   ($PKG_CONFIG --exists --print-errors "libdrm_amdgpu") 2>&5
   19023   ac_status=$?
   19024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19025   test $ac_status = 0; }; then
   19026   pkg_cv_LIBDRM_AMDGPU_CFLAGS=`$PKG_CONFIG --cflags "libdrm_amdgpu" 2>/dev/null`
   19027 		      test "x$?" != "x0" && pkg_failed=yes
   19028 else
   19029   pkg_failed=yes
   19030 fi
   19031  else
   19032     pkg_failed=untried
   19033 fi
   19034 if test -n "$LIBDRM_AMDGPU_LIBS"; then
   19035     pkg_cv_LIBDRM_AMDGPU_LIBS="$LIBDRM_AMDGPU_LIBS"
   19036  elif test -n "$PKG_CONFIG"; then
   19037     if test -n "$PKG_CONFIG" && \
   19038     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_amdgpu\""; } >&5
   19039   ($PKG_CONFIG --exists --print-errors "libdrm_amdgpu") 2>&5
   19040   ac_status=$?
   19041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19042   test $ac_status = 0; }; then
   19043   pkg_cv_LIBDRM_AMDGPU_LIBS=`$PKG_CONFIG --libs "libdrm_amdgpu" 2>/dev/null`
   19044 		      test "x$?" != "x0" && pkg_failed=yes
   19045 else
   19046   pkg_failed=yes
   19047 fi
   19048  else
   19049     pkg_failed=untried
   19050 fi
   19051 
   19052 
   19053 
   19054 if test $pkg_failed = yes; then
   19055    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19056 $as_echo "no" >&6; }
   19057 
   19058 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19059         _pkg_short_errors_supported=yes
   19060 else
   19061         _pkg_short_errors_supported=no
   19062 fi
   19063         if test $_pkg_short_errors_supported = yes; then
   19064 	        LIBDRM_AMDGPU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm_amdgpu" 2>&1`
   19065         else
   19066 	        LIBDRM_AMDGPU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm_amdgpu" 2>&1`
   19067         fi
   19068 	# Put the nasty error message in config.log where it belongs
   19069 	echo "$LIBDRM_AMDGPU_PKG_ERRORS" >&5
   19070 
   19071 	as_fn_error $? "Package requirements (libdrm_amdgpu) were not met:
   19072 
   19073 $LIBDRM_AMDGPU_PKG_ERRORS
   19074 
   19075 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19076 installed software in a non-standard prefix.
   19077 
   19078 Alternatively, you may set the environment variables LIBDRM_AMDGPU_CFLAGS
   19079 and LIBDRM_AMDGPU_LIBS to avoid the need to call pkg-config.
   19080 See the pkg-config man page for more details." "$LINENO" 5
   19081 elif test $pkg_failed = untried; then
   19082      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19083 $as_echo "no" >&6; }
   19084 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19086 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19087 is in your PATH or set the PKG_CONFIG environment variable to the full
   19088 path to pkg-config.
   19089 
   19090 Alternatively, you may set the environment variables LIBDRM_AMDGPU_CFLAGS
   19091 and LIBDRM_AMDGPU_LIBS to avoid the need to call pkg-config.
   19092 See the pkg-config man page for more details.
   19093 
   19094 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19095 See \`config.log' for more details" "$LINENO" 5; }
   19096 else
   19097 	LIBDRM_AMDGPU_CFLAGS=$pkg_cv_LIBDRM_AMDGPU_CFLAGS
   19098 	LIBDRM_AMDGPU_LIBS=$pkg_cv_LIBDRM_AMDGPU_LIBS
   19099         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19100 $as_echo "yes" >&6; }
   19101 
   19102 fi
   19103 
   19104 pkg_failed=no
   19105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GBM" >&5
   19106 $as_echo_n "checking for GBM... " >&6; }
   19107 
   19108 if test -n "$GBM_CFLAGS"; then
   19109     pkg_cv_GBM_CFLAGS="$GBM_CFLAGS"
   19110  elif test -n "$PKG_CONFIG"; then
   19111     if test -n "$PKG_CONFIG" && \
   19112     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gbm\""; } >&5
   19113   ($PKG_CONFIG --exists --print-errors "gbm") 2>&5
   19114   ac_status=$?
   19115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19116   test $ac_status = 0; }; then
   19117   pkg_cv_GBM_CFLAGS=`$PKG_CONFIG --cflags "gbm" 2>/dev/null`
   19118 		      test "x$?" != "x0" && pkg_failed=yes
   19119 else
   19120   pkg_failed=yes
   19121 fi
   19122  else
   19123     pkg_failed=untried
   19124 fi
   19125 if test -n "$GBM_LIBS"; then
   19126     pkg_cv_GBM_LIBS="$GBM_LIBS"
   19127  elif test -n "$PKG_CONFIG"; then
   19128     if test -n "$PKG_CONFIG" && \
   19129     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gbm\""; } >&5
   19130   ($PKG_CONFIG --exists --print-errors "gbm") 2>&5
   19131   ac_status=$?
   19132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19133   test $ac_status = 0; }; then
   19134   pkg_cv_GBM_LIBS=`$PKG_CONFIG --libs "gbm" 2>/dev/null`
   19135 		      test "x$?" != "x0" && pkg_failed=yes
   19136 else
   19137   pkg_failed=yes
   19138 fi
   19139  else
   19140     pkg_failed=untried
   19141 fi
   19142 
   19143 
   19144 
   19145 if test $pkg_failed = yes; then
   19146    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19147 $as_echo "no" >&6; }
   19148 
   19149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19150         _pkg_short_errors_supported=yes
   19151 else
   19152         _pkg_short_errors_supported=no
   19153 fi
   19154         if test $_pkg_short_errors_supported = yes; then
   19155 	        GBM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gbm" 2>&1`
   19156         else
   19157 	        GBM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gbm" 2>&1`
   19158         fi
   19159 	# Put the nasty error message in config.log where it belongs
   19160 	echo "$GBM_PKG_ERRORS" >&5
   19161 
   19162 	as_fn_error $? "Package requirements (gbm) were not met:
   19163 
   19164 $GBM_PKG_ERRORS
   19165 
   19166 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19167 installed software in a non-standard prefix.
   19168 
   19169 Alternatively, you may set the environment variables GBM_CFLAGS
   19170 and GBM_LIBS to avoid the need to call pkg-config.
   19171 See the pkg-config man page for more details." "$LINENO" 5
   19172 elif test $pkg_failed = untried; then
   19173      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19174 $as_echo "no" >&6; }
   19175 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19177 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19178 is in your PATH or set the PKG_CONFIG environment variable to the full
   19179 path to pkg-config.
   19180 
   19181 Alternatively, you may set the environment variables GBM_CFLAGS
   19182 and GBM_LIBS to avoid the need to call pkg-config.
   19183 See the pkg-config man page for more details.
   19184 
   19185 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19186 See \`config.log' for more details" "$LINENO" 5; }
   19187 else
   19188 	GBM_CFLAGS=$pkg_cv_GBM_CFLAGS
   19189 	GBM_LIBS=$pkg_cv_GBM_LIBS
   19190         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19191 $as_echo "yes" >&6; }
   19192 
   19193 fi
   19194 
   19195 # Obtain compiler/linker options for the driver dependencies
   19196 
   19197 pkg_failed=no
   19198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   19199 $as_echo_n "checking for XORG... " >&6; }
   19200 
   19201 if test -n "$XORG_CFLAGS"; then
   19202     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19203  elif test -n "$PKG_CONFIG"; then
   19204     if test -n "$PKG_CONFIG" && \
   19205     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.9 xproto fontsproto xf86driproto \$REQUIRED_MODULES\""; } >&5
   19206   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.9 xproto fontsproto xf86driproto $REQUIRED_MODULES") 2>&5
   19207   ac_status=$?
   19208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19209   test $ac_status = 0; }; then
   19210   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.9 xproto fontsproto xf86driproto $REQUIRED_MODULES" 2>/dev/null`
   19211 		      test "x$?" != "x0" && pkg_failed=yes
   19212 else
   19213   pkg_failed=yes
   19214 fi
   19215  else
   19216     pkg_failed=untried
   19217 fi
   19218 if test -n "$XORG_LIBS"; then
   19219     pkg_cv_XORG_LIBS="$XORG_LIBS"
   19220  elif test -n "$PKG_CONFIG"; then
   19221     if test -n "$PKG_CONFIG" && \
   19222     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.9 xproto fontsproto xf86driproto \$REQUIRED_MODULES\""; } >&5
   19223   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.9 xproto fontsproto xf86driproto $REQUIRED_MODULES") 2>&5
   19224   ac_status=$?
   19225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19226   test $ac_status = 0; }; then
   19227   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.9 xproto fontsproto xf86driproto $REQUIRED_MODULES" 2>/dev/null`
   19228 		      test "x$?" != "x0" && pkg_failed=yes
   19229 else
   19230   pkg_failed=yes
   19231 fi
   19232  else
   19233     pkg_failed=untried
   19234 fi
   19235 
   19236 
   19237 
   19238 if test $pkg_failed = yes; then
   19239    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19240 $as_echo "no" >&6; }
   19241 
   19242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19243         _pkg_short_errors_supported=yes
   19244 else
   19245         _pkg_short_errors_supported=no
   19246 fi
   19247         if test $_pkg_short_errors_supported = yes; then
   19248 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.9 xproto fontsproto xf86driproto $REQUIRED_MODULES" 2>&1`
   19249         else
   19250 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.9 xproto fontsproto xf86driproto $REQUIRED_MODULES" 2>&1`
   19251         fi
   19252 	# Put the nasty error message in config.log where it belongs
   19253 	echo "$XORG_PKG_ERRORS" >&5
   19254 
   19255 	as_fn_error $? "Package requirements (xorg-server >= 1.9 xproto fontsproto xf86driproto $REQUIRED_MODULES) were not met:
   19256 
   19257 $XORG_PKG_ERRORS
   19258 
   19259 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19260 installed software in a non-standard prefix.
   19261 
   19262 Alternatively, you may set the environment variables XORG_CFLAGS
   19263 and XORG_LIBS to avoid the need to call pkg-config.
   19264 See the pkg-config man page for more details." "$LINENO" 5
   19265 elif test $pkg_failed = untried; then
   19266      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19267 $as_echo "no" >&6; }
   19268 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19270 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19271 is in your PATH or set the PKG_CONFIG environment variable to the full
   19272 path to pkg-config.
   19273 
   19274 Alternatively, you may set the environment variables XORG_CFLAGS
   19275 and XORG_LIBS to avoid the need to call pkg-config.
   19276 See the pkg-config man page for more details.
   19277 
   19278 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19279 See \`config.log' for more details" "$LINENO" 5; }
   19280 else
   19281 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   19282 	XORG_LIBS=$pkg_cv_XORG_LIBS
   19283         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19284 $as_echo "yes" >&6; }
   19285 
   19286 fi
   19287 
   19288 pkg_failed=no
   19289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   19290 $as_echo_n "checking for XEXT... " >&6; }
   19291 
   19292 if test -n "$XEXT_CFLAGS"; then
   19293     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   19294  elif test -n "$PKG_CONFIG"; then
   19295     if test -n "$PKG_CONFIG" && \
   19296     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   19297   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   19298   ac_status=$?
   19299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19300   test $ac_status = 0; }; then
   19301   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   19302 		      test "x$?" != "x0" && pkg_failed=yes
   19303 else
   19304   pkg_failed=yes
   19305 fi
   19306  else
   19307     pkg_failed=untried
   19308 fi
   19309 if test -n "$XEXT_LIBS"; then
   19310     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   19311  elif test -n "$PKG_CONFIG"; then
   19312     if test -n "$PKG_CONFIG" && \
   19313     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   19314   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   19315   ac_status=$?
   19316   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19317   test $ac_status = 0; }; then
   19318   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   19319 		      test "x$?" != "x0" && pkg_failed=yes
   19320 else
   19321   pkg_failed=yes
   19322 fi
   19323  else
   19324     pkg_failed=untried
   19325 fi
   19326 
   19327 
   19328 
   19329 if test $pkg_failed = yes; then
   19330    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19331 $as_echo "no" >&6; }
   19332 
   19333 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19334         _pkg_short_errors_supported=yes
   19335 else
   19336         _pkg_short_errors_supported=no
   19337 fi
   19338         if test $_pkg_short_errors_supported = yes; then
   19339 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   19340         else
   19341 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   19342         fi
   19343 	# Put the nasty error message in config.log where it belongs
   19344 	echo "$XEXT_PKG_ERRORS" >&5
   19345 
   19346 	HAVE_XEXTPROTO_71="no"
   19347 elif test $pkg_failed = untried; then
   19348      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19349 $as_echo "no" >&6; }
   19350 	HAVE_XEXTPROTO_71="no"
   19351 else
   19352 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   19353 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   19354         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19355 $as_echo "yes" >&6; }
   19356 	HAVE_XEXTPROTO_71="yes";
   19357 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   19358 
   19359 fi
   19360  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   19361   HAVE_XEXTPROTO_71_TRUE=
   19362   HAVE_XEXTPROTO_71_FALSE='#'
   19363 else
   19364   HAVE_XEXTPROTO_71_TRUE='#'
   19365   HAVE_XEXTPROTO_71_FALSE=
   19366 fi
   19367 
   19368 
   19369 # Define a configure option for an alternate X Server configuration directory
   19370 # Section "OutputClass" is only supported as of xserver 1.16
   19371 if test -n "$PKG_CONFIG" && \
   19372     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.16\""; } >&5
   19373   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.16") 2>&5
   19374   ac_status=$?
   19375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19376   test $ac_status = 0; }; then
   19377   sysconfigdir=`$PKG_CONFIG --variable=sysconfigdir xorg-server`
   19378 else
   19379   sysconfigdir=""
   19380 fi
   19381 
   19382 # Check whether --with-xorg-conf-dir was given.
   19383 if test "${with_xorg_conf_dir+set}" = set; then :
   19384   withval=$with_xorg_conf_dir; configdir="$withval"
   19385 else
   19386   configdir="$sysconfigdir"
   19387 fi
   19388 
   19389 
   19390  if test "x$sysconfigdir" != "x"; then
   19391   HAS_XORG_CONF_DIR_TRUE=
   19392   HAS_XORG_CONF_DIR_FALSE='#'
   19393 else
   19394   HAS_XORG_CONF_DIR_TRUE='#'
   19395   HAS_XORG_CONF_DIR_FALSE=
   19396 fi
   19397 
   19398 
   19399 # Check whether --enable-udev was given.
   19400 if test "${enable_udev+set}" = set; then :
   19401   enableval=$enable_udev; enable_udev="$enableval"
   19402 else
   19403   enable_udev=auto
   19404 fi
   19405 
   19406 if test "x$enable_udev" != "xno"; then
   19407 
   19408 pkg_failed=no
   19409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDEV" >&5
   19410 $as_echo_n "checking for LIBUDEV... " >&6; }
   19411 
   19412 if test -n "$LIBUDEV_CFLAGS"; then
   19413     pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
   19414  elif test -n "$PKG_CONFIG"; then
   19415     if test -n "$PKG_CONFIG" && \
   19416     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   19417   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   19418   ac_status=$?
   19419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19420   test $ac_status = 0; }; then
   19421   pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
   19422 		      test "x$?" != "x0" && pkg_failed=yes
   19423 else
   19424   pkg_failed=yes
   19425 fi
   19426  else
   19427     pkg_failed=untried
   19428 fi
   19429 if test -n "$LIBUDEV_LIBS"; then
   19430     pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
   19431  elif test -n "$PKG_CONFIG"; then
   19432     if test -n "$PKG_CONFIG" && \
   19433     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   19434   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   19435   ac_status=$?
   19436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19437   test $ac_status = 0; }; then
   19438   pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
   19439 		      test "x$?" != "x0" && pkg_failed=yes
   19440 else
   19441   pkg_failed=yes
   19442 fi
   19443  else
   19444     pkg_failed=untried
   19445 fi
   19446 
   19447 
   19448 
   19449 if test $pkg_failed = yes; then
   19450    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19451 $as_echo "no" >&6; }
   19452 
   19453 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19454         _pkg_short_errors_supported=yes
   19455 else
   19456         _pkg_short_errors_supported=no
   19457 fi
   19458         if test $_pkg_short_errors_supported = yes; then
   19459 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1`
   19460         else
   19461 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1`
   19462         fi
   19463 	# Put the nasty error message in config.log where it belongs
   19464 	echo "$LIBUDEV_PKG_ERRORS" >&5
   19465 
   19466 	LIBUDEV=no
   19467 elif test $pkg_failed = untried; then
   19468      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19469 $as_echo "no" >&6; }
   19470 	LIBUDEV=no
   19471 else
   19472 	LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
   19473 	LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
   19474         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19475 $as_echo "yes" >&6; }
   19476 	LIBUDEV=yes
   19477 fi
   19478 	if test "x$LIBUDEV" = xyes; then
   19479 
   19480 $as_echo "#define HAVE_LIBUDEV 1" >>confdefs.h
   19481 
   19482 	elif test "x$enable_udev" != "xauto"; then
   19483 		as_fn_error $? "Building with udev requested but libudev not found" "$LINENO" 5
   19484 	fi
   19485 fi
   19486  if test x$LIBUDEV = xyes; then
   19487   LIBUDEV_TRUE=
   19488   LIBUDEV_FALSE='#'
   19489 else
   19490   LIBUDEV_TRUE='#'
   19491   LIBUDEV_FALSE=
   19492 fi
   19493 
   19494 
   19495 SAVE_CPPFLAGS="$CPPFLAGS"
   19496 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19497 
   19498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include GLAMOR support" >&5
   19499 $as_echo_n "checking whether to include GLAMOR support... " >&6; }
   19500 # Check whether --enable-glamor was given.
   19501 if test "${enable_glamor+set}" = set; then :
   19502   enableval=$enable_glamor; GLAMOR="$enableval"
   19503 else
   19504   GLAMOR=yes
   19505 fi
   19506 
   19507 
   19508 if test "x$GLAMOR" != "xno"; then
   19509 	for ac_header in glamor.h
   19510 do :
   19511   ac_fn_c_check_header_compile "$LINENO" "glamor.h" "ac_cv_header_glamor_h" "#include \"xorg-server.h\"
   19512 "
   19513 if test "x$ac_cv_header_glamor_h" = xyes; then :
   19514   cat >>confdefs.h <<_ACEOF
   19515 #define HAVE_GLAMOR_H 1
   19516 _ACEOF
   19517  GLAMOR_H="yes"
   19518 else
   19519   GLAMOR_H="no"
   19520 fi
   19521 
   19522 done
   19523 
   19524 
   19525 	if test "x$GLAMOR_H" = xyes; then
   19526 		ac_fn_c_check_decl "$LINENO" "GLAMOR_NO_DRI3" "ac_cv_have_decl_GLAMOR_NO_DRI3" "#include \"xorg-server.h\"
   19527 			       #include \"glamor.h\"
   19528 "
   19529 if test "x$ac_cv_have_decl_GLAMOR_NO_DRI3" = xyes; then :
   19530   GLAMOR_XSERVER="yes"
   19531 else
   19532   GLAMOR_XSERVER="no"
   19533 fi
   19534 
   19535 
   19536 		ac_fn_c_check_decl "$LINENO" "glamor_glyphs_init" "ac_cv_have_decl_glamor_glyphs_init" "#include \"xorg-server.h\"
   19537 			       #include \"glamor.h\"
   19538 "
   19539 if test "x$ac_cv_have_decl_glamor_glyphs_init" = xyes; then :
   19540 
   19541 $as_echo "#define HAVE_GLAMOR_GLYPHS_INIT 1" >>confdefs.h
   19542 
   19543 fi
   19544 
   19545 
   19546 		ac_fn_c_check_decl "$LINENO" "glamor_egl_destroy_textured_pixmap" "ac_cv_have_decl_glamor_egl_destroy_textured_pixmap" "#include \"xorg-server.h\"
   19547 			       #include \"glamor.h\"
   19548 "
   19549 if test "x$ac_cv_have_decl_glamor_egl_destroy_textured_pixmap" = xyes; then :
   19550 
   19551 $as_echo "#define HAVE_GLAMOR_EGL_DESTROY_TEXTURED_PIXMAP 1" >>confdefs.h
   19552 
   19553 fi
   19554 
   19555 	fi
   19556 
   19557 
   19558 pkg_failed=no
   19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGL" >&5
   19560 $as_echo_n "checking for LIBGL... " >&6; }
   19561 
   19562 if test -n "$LIBGL_CFLAGS"; then
   19563     pkg_cv_LIBGL_CFLAGS="$LIBGL_CFLAGS"
   19564  elif test -n "$PKG_CONFIG"; then
   19565     if test -n "$PKG_CONFIG" && \
   19566     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5
   19567   ($PKG_CONFIG --exists --print-errors "gl") 2>&5
   19568   ac_status=$?
   19569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19570   test $ac_status = 0; }; then
   19571   pkg_cv_LIBGL_CFLAGS=`$PKG_CONFIG --cflags "gl" 2>/dev/null`
   19572 		      test "x$?" != "x0" && pkg_failed=yes
   19573 else
   19574   pkg_failed=yes
   19575 fi
   19576  else
   19577     pkg_failed=untried
   19578 fi
   19579 if test -n "$LIBGL_LIBS"; then
   19580     pkg_cv_LIBGL_LIBS="$LIBGL_LIBS"
   19581  elif test -n "$PKG_CONFIG"; then
   19582     if test -n "$PKG_CONFIG" && \
   19583     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5
   19584   ($PKG_CONFIG --exists --print-errors "gl") 2>&5
   19585   ac_status=$?
   19586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19587   test $ac_status = 0; }; then
   19588   pkg_cv_LIBGL_LIBS=`$PKG_CONFIG --libs "gl" 2>/dev/null`
   19589 		      test "x$?" != "x0" && pkg_failed=yes
   19590 else
   19591   pkg_failed=yes
   19592 fi
   19593  else
   19594     pkg_failed=untried
   19595 fi
   19596 
   19597 
   19598 
   19599 if test $pkg_failed = yes; then
   19600    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19601 $as_echo "no" >&6; }
   19602 
   19603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19604         _pkg_short_errors_supported=yes
   19605 else
   19606         _pkg_short_errors_supported=no
   19607 fi
   19608         if test $_pkg_short_errors_supported = yes; then
   19609 	        LIBGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gl" 2>&1`
   19610         else
   19611 	        LIBGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gl" 2>&1`
   19612         fi
   19613 	# Put the nasty error message in config.log where it belongs
   19614 	echo "$LIBGL_PKG_ERRORS" >&5
   19615 
   19616 	as_fn_error $? "Package requirements (gl) were not met:
   19617 
   19618 $LIBGL_PKG_ERRORS
   19619 
   19620 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19621 installed software in a non-standard prefix.
   19622 
   19623 Alternatively, you may set the environment variables LIBGL_CFLAGS
   19624 and LIBGL_LIBS to avoid the need to call pkg-config.
   19625 See the pkg-config man page for more details." "$LINENO" 5
   19626 elif test $pkg_failed = untried; then
   19627      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19628 $as_echo "no" >&6; }
   19629 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19631 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19632 is in your PATH or set the PKG_CONFIG environment variable to the full
   19633 path to pkg-config.
   19634 
   19635 Alternatively, you may set the environment variables LIBGL_CFLAGS
   19636 and LIBGL_LIBS to avoid the need to call pkg-config.
   19637 See the pkg-config man page for more details.
   19638 
   19639 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19640 See \`config.log' for more details" "$LINENO" 5; }
   19641 else
   19642 	LIBGL_CFLAGS=$pkg_cv_LIBGL_CFLAGS
   19643 	LIBGL_LIBS=$pkg_cv_LIBGL_LIBS
   19644         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19645 $as_echo "yes" >&6; }
   19646 
   19647 fi
   19648 
   19649 	if test "x$GLAMOR_XSERVER" != xyes; then
   19650 
   19651 pkg_failed=no
   19652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLAMOR" >&5
   19653 $as_echo_n "checking for LIBGLAMOR... " >&6; }
   19654 
   19655 if test -n "$LIBGLAMOR_CFLAGS"; then
   19656     pkg_cv_LIBGLAMOR_CFLAGS="$LIBGLAMOR_CFLAGS"
   19657  elif test -n "$PKG_CONFIG"; then
   19658     if test -n "$PKG_CONFIG" && \
   19659     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glamor >= 0.6.0\""; } >&5
   19660   ($PKG_CONFIG --exists --print-errors "glamor >= 0.6.0") 2>&5
   19661   ac_status=$?
   19662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19663   test $ac_status = 0; }; then
   19664   pkg_cv_LIBGLAMOR_CFLAGS=`$PKG_CONFIG --cflags "glamor >= 0.6.0" 2>/dev/null`
   19665 		      test "x$?" != "x0" && pkg_failed=yes
   19666 else
   19667   pkg_failed=yes
   19668 fi
   19669  else
   19670     pkg_failed=untried
   19671 fi
   19672 if test -n "$LIBGLAMOR_LIBS"; then
   19673     pkg_cv_LIBGLAMOR_LIBS="$LIBGLAMOR_LIBS"
   19674  elif test -n "$PKG_CONFIG"; then
   19675     if test -n "$PKG_CONFIG" && \
   19676     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glamor >= 0.6.0\""; } >&5
   19677   ($PKG_CONFIG --exists --print-errors "glamor >= 0.6.0") 2>&5
   19678   ac_status=$?
   19679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19680   test $ac_status = 0; }; then
   19681   pkg_cv_LIBGLAMOR_LIBS=`$PKG_CONFIG --libs "glamor >= 0.6.0" 2>/dev/null`
   19682 		      test "x$?" != "x0" && pkg_failed=yes
   19683 else
   19684   pkg_failed=yes
   19685 fi
   19686  else
   19687     pkg_failed=untried
   19688 fi
   19689 
   19690 
   19691 
   19692 if test $pkg_failed = yes; then
   19693    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19694 $as_echo "no" >&6; }
   19695 
   19696 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19697         _pkg_short_errors_supported=yes
   19698 else
   19699         _pkg_short_errors_supported=no
   19700 fi
   19701         if test $_pkg_short_errors_supported = yes; then
   19702 	        LIBGLAMOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glamor >= 0.6.0" 2>&1`
   19703         else
   19704 	        LIBGLAMOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glamor >= 0.6.0" 2>&1`
   19705         fi
   19706 	# Put the nasty error message in config.log where it belongs
   19707 	echo "$LIBGLAMOR_PKG_ERRORS" >&5
   19708 
   19709 	as_fn_error $? "Package requirements (glamor >= 0.6.0) were not met:
   19710 
   19711 $LIBGLAMOR_PKG_ERRORS
   19712 
   19713 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19714 installed software in a non-standard prefix.
   19715 
   19716 Alternatively, you may set the environment variables LIBGLAMOR_CFLAGS
   19717 and LIBGLAMOR_LIBS to avoid the need to call pkg-config.
   19718 See the pkg-config man page for more details." "$LINENO" 5
   19719 elif test $pkg_failed = untried; then
   19720      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19721 $as_echo "no" >&6; }
   19722 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19724 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19725 is in your PATH or set the PKG_CONFIG environment variable to the full
   19726 path to pkg-config.
   19727 
   19728 Alternatively, you may set the environment variables LIBGLAMOR_CFLAGS
   19729 and LIBGLAMOR_LIBS to avoid the need to call pkg-config.
   19730 See the pkg-config man page for more details.
   19731 
   19732 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19733 See \`config.log' for more details" "$LINENO" 5; }
   19734 else
   19735 	LIBGLAMOR_CFLAGS=$pkg_cv_LIBGLAMOR_CFLAGS
   19736 	LIBGLAMOR_LIBS=$pkg_cv_LIBGLAMOR_LIBS
   19737         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19738 $as_echo "yes" >&6; }
   19739 
   19740 fi
   19741 
   19742 pkg_failed=no
   19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLAMOR_EGL" >&5
   19744 $as_echo_n "checking for LIBGLAMOR_EGL... " >&6; }
   19745 
   19746 if test -n "$LIBGLAMOR_EGL_CFLAGS"; then
   19747     pkg_cv_LIBGLAMOR_EGL_CFLAGS="$LIBGLAMOR_EGL_CFLAGS"
   19748  elif test -n "$PKG_CONFIG"; then
   19749     if test -n "$PKG_CONFIG" && \
   19750     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glamor-egl\""; } >&5
   19751   ($PKG_CONFIG --exists --print-errors "glamor-egl") 2>&5
   19752   ac_status=$?
   19753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19754   test $ac_status = 0; }; then
   19755   pkg_cv_LIBGLAMOR_EGL_CFLAGS=`$PKG_CONFIG --cflags "glamor-egl" 2>/dev/null`
   19756 		      test "x$?" != "x0" && pkg_failed=yes
   19757 else
   19758   pkg_failed=yes
   19759 fi
   19760  else
   19761     pkg_failed=untried
   19762 fi
   19763 if test -n "$LIBGLAMOR_EGL_LIBS"; then
   19764     pkg_cv_LIBGLAMOR_EGL_LIBS="$LIBGLAMOR_EGL_LIBS"
   19765  elif test -n "$PKG_CONFIG"; then
   19766     if test -n "$PKG_CONFIG" && \
   19767     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glamor-egl\""; } >&5
   19768   ($PKG_CONFIG --exists --print-errors "glamor-egl") 2>&5
   19769   ac_status=$?
   19770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19771   test $ac_status = 0; }; then
   19772   pkg_cv_LIBGLAMOR_EGL_LIBS=`$PKG_CONFIG --libs "glamor-egl" 2>/dev/null`
   19773 		      test "x$?" != "x0" && pkg_failed=yes
   19774 else
   19775   pkg_failed=yes
   19776 fi
   19777  else
   19778     pkg_failed=untried
   19779 fi
   19780 
   19781 
   19782 
   19783 if test $pkg_failed = yes; then
   19784    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19785 $as_echo "no" >&6; }
   19786 
   19787 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19788         _pkg_short_errors_supported=yes
   19789 else
   19790         _pkg_short_errors_supported=no
   19791 fi
   19792         if test $_pkg_short_errors_supported = yes; then
   19793 	        LIBGLAMOR_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glamor-egl" 2>&1`
   19794         else
   19795 	        LIBGLAMOR_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glamor-egl" 2>&1`
   19796         fi
   19797 	# Put the nasty error message in config.log where it belongs
   19798 	echo "$LIBGLAMOR_EGL_PKG_ERRORS" >&5
   19799 
   19800 	as_fn_error $? "Package requirements (glamor-egl) were not met:
   19801 
   19802 $LIBGLAMOR_EGL_PKG_ERRORS
   19803 
   19804 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19805 installed software in a non-standard prefix.
   19806 
   19807 Alternatively, you may set the environment variables LIBGLAMOR_EGL_CFLAGS
   19808 and LIBGLAMOR_EGL_LIBS to avoid the need to call pkg-config.
   19809 See the pkg-config man page for more details." "$LINENO" 5
   19810 elif test $pkg_failed = untried; then
   19811      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19812 $as_echo "no" >&6; }
   19813 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19815 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19816 is in your PATH or set the PKG_CONFIG environment variable to the full
   19817 path to pkg-config.
   19818 
   19819 Alternatively, you may set the environment variables LIBGLAMOR_EGL_CFLAGS
   19820 and LIBGLAMOR_EGL_LIBS to avoid the need to call pkg-config.
   19821 See the pkg-config man page for more details.
   19822 
   19823 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19824 See \`config.log' for more details" "$LINENO" 5; }
   19825 else
   19826 	LIBGLAMOR_EGL_CFLAGS=$pkg_cv_LIBGLAMOR_EGL_CFLAGS
   19827 	LIBGLAMOR_EGL_LIBS=$pkg_cv_LIBGLAMOR_EGL_LIBS
   19828         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19829 $as_echo "yes" >&6; }
   19830 
   19831 fi
   19832 	fi
   19833 
   19834 $as_echo "#define USE_GLAMOR 1" >>confdefs.h
   19835 
   19836 else
   19837 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLAMOR" >&5
   19838 $as_echo "$GLAMOR" >&6; }
   19839 fi
   19840  if test x$GLAMOR != xno; then
   19841   GLAMOR_TRUE=
   19842   GLAMOR_FALSE='#'
   19843 else
   19844   GLAMOR_TRUE='#'
   19845   GLAMOR_FALSE=
   19846 fi
   19847 
   19848 
   19849 ac_fn_c_check_decl "$LINENO" "fbGlyphs" "ac_cv_have_decl_fbGlyphs" "#include <X11/Xmd.h>
   19850 	       #include <X11/Xfuncproto.h>
   19851 	       #include <X11/extensions/renderproto.h>
   19852 	       #include <xorg-server.h>
   19853 	       #include <picture.h>
   19854 	       #include <glyphstr.h>
   19855 	       #include <fbpict.h>
   19856 "
   19857 if test "x$ac_cv_have_decl_fbGlyphs" = xyes; then :
   19858 
   19859 $as_echo "#define HAVE_FBGLYPHS 1" >>confdefs.h
   19860 
   19861 fi
   19862 
   19863 
   19864 ac_fn_c_check_decl "$LINENO" "xf86CursorResetCursor" "ac_cv_have_decl_xf86CursorResetCursor" "#include <xorg-server.h>
   19865 	       #include <xf86Cursor.h>
   19866 "
   19867 if test "x$ac_cv_have_decl_xf86CursorResetCursor" = xyes; then :
   19868 
   19869 $as_echo "#define HAVE_XF86_CURSOR_RESET_CURSOR 1" >>confdefs.h
   19870 
   19871 fi
   19872 
   19873 
   19874 ac_fn_c_check_decl "$LINENO" "xorg_list_init" "ac_cv_have_decl_xorg_list_init" "#include <X11/Xdefs.h>
   19875 	      #include \"xorg-server.h\"
   19876 	      #include \"list.h\"
   19877 "
   19878 if test "x$ac_cv_have_decl_xorg_list_init" = xyes; then :
   19879 
   19880 $as_echo "#define HAVE_XORG_LIST 1" >>confdefs.h
   19881 
   19882 fi
   19883 
   19884 
   19885 ac_fn_c_check_decl "$LINENO" "GBM_BO_USE_LINEAR" "ac_cv_have_decl_GBM_BO_USE_LINEAR" "#include <stdlib.h>
   19886 	       #include <gbm.h>
   19887 "
   19888 if test "x$ac_cv_have_decl_GBM_BO_USE_LINEAR" = xyes; then :
   19889 
   19890 $as_echo "#define HAVE_GBM_BO_USE_LINEAR 1" >>confdefs.h
   19891 
   19892 fi
   19893 
   19894 
   19895 for ac_header in misyncshm.h
   19896 do :
   19897   ac_fn_c_check_header_compile "$LINENO" "misyncshm.h" "ac_cv_header_misyncshm_h" "#include <X11/Xdefs.h>
   19898 	          #include <X11/Xfuncproto.h>
   19899 	          #include <xorg-server.h>
   19900 		  #include <screenint.h>
   19901 "
   19902 if test "x$ac_cv_header_misyncshm_h" = xyes; then :
   19903   cat >>confdefs.h <<_ACEOF
   19904 #define HAVE_MISYNCSHM_H 1
   19905 _ACEOF
   19906 
   19907 fi
   19908 
   19909 done
   19910 
   19911 
   19912 for ac_header in present.h
   19913 do :
   19914   ac_fn_c_check_header_compile "$LINENO" "present.h" "ac_cv_header_present_h" "#include <X11/Xmd.h>
   19915 		 #include <X11/Xproto.h>
   19916 		 #include <X11/X.h>
   19917 		 #include \"xorg-server.h\"
   19918 "
   19919 if test "x$ac_cv_header_present_h" = xyes; then :
   19920   cat >>confdefs.h <<_ACEOF
   19921 #define HAVE_PRESENT_H 1
   19922 _ACEOF
   19923 
   19924 fi
   19925 
   19926 done
   19927 
   19928 
   19929 for ac_header in dri3.h
   19930 do :
   19931   ac_fn_c_check_header_compile "$LINENO" "dri3.h" "ac_cv_header_dri3_h" "#include <X11/Xmd.h>
   19932 		 #include <xorg-server.h>
   19933 "
   19934 if test "x$ac_cv_header_dri3_h" = xyes; then :
   19935   cat >>confdefs.h <<_ACEOF
   19936 #define HAVE_DRI3_H 1
   19937 _ACEOF
   19938 
   19939 fi
   19940 
   19941 done
   19942 
   19943 
   19944 CPPFLAGS="$SAVE_CPPFLAGS"
   19945 
   19946 # Checks for headers/macros for byte swapping
   19947 # Known variants:
   19948 #	<byteswap.h> bswap_16, bswap_32, bswap_64  (glibc)
   19949 #	<sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
   19950 #	<sys/endian.h> bswap16, bswap32, bswap64 (other BSD's)
   19951 #	and a fallback to local macros if none of the above are found
   19952 
   19953 # if <byteswap.h> is found, assume it's the correct version
   19954 for ac_header in byteswap.h
   19955 do :
   19956   ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
   19957 if test "x$ac_cv_header_byteswap_h" = xyes; then :
   19958   cat >>confdefs.h <<_ACEOF
   19959 #define HAVE_BYTESWAP_H 1
   19960 _ACEOF
   19961 
   19962 fi
   19963 
   19964 done
   19965 
   19966 
   19967 # if <sys/endian.h> is found, have to check which version
   19968 ac_fn_c_check_header_mongrel "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
   19969 if test "x$ac_cv_header_sys_endian_h" = xyes; then :
   19970   HAVE_SYS_ENDIAN_H="yes"
   19971 else
   19972   HAVE_SYS_ENDIAN_H="no"
   19973 fi
   19974 
   19975 
   19976 
   19977 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
   19978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
   19979 $as_echo_n "checking for __swap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   19980 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19981 /* end confdefs.h.  */
   19982 
   19983 #include <sys/types.h>
   19984 #include <sys/endian.h>
   19985 
   19986 int
   19987 main ()
   19988 {
   19989 
   19990 int a = 1, b;
   19991 b = __swap16(a);
   19992 
   19993   ;
   19994   return 0;
   19995 }
   19996 
   19997 _ACEOF
   19998 if ac_fn_c_try_link "$LINENO"; then :
   19999   SYS_ENDIAN__SWAP='yes'
   20000 else
   20001   SYS_ENDIAN__SWAP='no'
   20002 fi
   20003 rm -f core conftest.err conftest.$ac_objext \
   20004     conftest$ac_exeext conftest.$ac_ext
   20005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN__SWAP" >&5
   20006 $as_echo "$SYS_ENDIAN__SWAP" >&6; }
   20007 
   20008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
   20009 $as_echo_n "checking for bswap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   20010 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20011 /* end confdefs.h.  */
   20012 
   20013 #include <sys/types.h>
   20014 #include <sys/endian.h>
   20015 
   20016 int
   20017 main ()
   20018 {
   20019 
   20020 int a = 1, b;
   20021 b = bswap16(a);
   20022 
   20023   ;
   20024   return 0;
   20025 }
   20026 
   20027 _ACEOF
   20028 if ac_fn_c_try_link "$LINENO"; then :
   20029   SYS_ENDIAN_BSWAP='yes'
   20030 else
   20031   SYS_ENDIAN_BSWAP='no'
   20032 fi
   20033 rm -f core conftest.err conftest.$ac_objext \
   20034     conftest$ac_exeext conftest.$ac_ext
   20035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN_BSWAP" >&5
   20036 $as_echo "$SYS_ENDIAN_BSWAP" >&6; }
   20037 
   20038     	if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
   20039 		USE_SYS_ENDIAN_H=yes
   20040 		BSWAP=bswap
   20041 	else
   20042 	    	if test "$SYS_ENDIAN__SWAP" = "yes" ; then
   20043 			USE_SYS_ENDIAN_H=yes
   20044 			BSWAP=__swap
   20045 		else
   20046 			USE_SYS_ENDIAN_H=no
   20047 		fi
   20048 	fi
   20049 
   20050 	if test "$USE_SYS_ENDIAN_H" = "yes" ; then
   20051 
   20052 $as_echo "#define USE_SYS_ENDIAN_H 1" >>confdefs.h
   20053 
   20054 
   20055 cat >>confdefs.h <<_ACEOF
   20056 #define bswap_16 ${BSWAP}16
   20057 _ACEOF
   20058 
   20059 
   20060 cat >>confdefs.h <<_ACEOF
   20061 #define bswap_32 ${BSWAP}32
   20062 _ACEOF
   20063 
   20064 
   20065 cat >>confdefs.h <<_ACEOF
   20066 #define bswap_64 ${BSWAP}64
   20067 _ACEOF
   20068 
   20069 	fi
   20070 fi
   20071 
   20072 
   20073 
   20074 DRIVER_NAME=amdgpu
   20075 
   20076 
   20077 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile conf/Makefile"
   20078 
   20079 cat >confcache <<\_ACEOF
   20080 # This file is a shell script that caches the results of configure
   20081 # tests run on this system so they can be shared between configure
   20082 # scripts and configure runs, see configure's option --config-cache.
   20083 # It is not useful on other systems.  If it contains results you don't
   20084 # want to keep, you may remove or edit it.
   20085 #
   20086 # config.status only pays attention to the cache file if you give it
   20087 # the --recheck option to rerun configure.
   20088 #
   20089 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20090 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20091 # following values.
   20092 
   20093 _ACEOF
   20094 
   20095 # The following way of writing the cache mishandles newlines in values,
   20096 # but we know of no workaround that is simple, portable, and efficient.
   20097 # So, we kill variables containing newlines.
   20098 # Ultrix sh set writes to stderr and can't be redirected directly,
   20099 # and sets the high bit in the cache file unless we assign to the vars.
   20100 (
   20101   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20102     eval ac_val=\$$ac_var
   20103     case $ac_val in #(
   20104     *${as_nl}*)
   20105       case $ac_var in #(
   20106       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20107 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20108       esac
   20109       case $ac_var in #(
   20110       _ | IFS | as_nl) ;; #(
   20111       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20112       *) { eval $ac_var=; unset $ac_var;} ;;
   20113       esac ;;
   20114     esac
   20115   done
   20116 
   20117   (set) 2>&1 |
   20118     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20119     *${as_nl}ac_space=\ *)
   20120       # `set' does not quote correctly, so add quotes: double-quote
   20121       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20122       sed -n \
   20123 	"s/'/'\\\\''/g;
   20124 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20125       ;; #(
   20126     *)
   20127       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20128       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20129       ;;
   20130     esac |
   20131     sort
   20132 ) |
   20133   sed '
   20134      /^ac_cv_env_/b end
   20135      t clear
   20136      :clear
   20137      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20138      t end
   20139      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20140      :end' >>confcache
   20141 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20142   if test -w "$cache_file"; then
   20143     if test "x$cache_file" != "x/dev/null"; then
   20144       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20145 $as_echo "$as_me: updating cache $cache_file" >&6;}
   20146       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20147 	cat confcache >"$cache_file"
   20148       else
   20149         case $cache_file in #(
   20150         */* | ?:*)
   20151 	  mv -f confcache "$cache_file"$$ &&
   20152 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20153         *)
   20154 	  mv -f confcache "$cache_file" ;;
   20155 	esac
   20156       fi
   20157     fi
   20158   else
   20159     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20160 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20161   fi
   20162 fi
   20163 rm -f confcache
   20164 
   20165 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20166 # Let make expand exec_prefix.
   20167 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20168 
   20169 DEFS=-DHAVE_CONFIG_H
   20170 
   20171 ac_libobjs=
   20172 ac_ltlibobjs=
   20173 U=
   20174 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20175   # 1. Remove the extension, and $U if already installed.
   20176   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20177   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   20178   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20179   #    will be set to the directory where LIBOBJS objects are built.
   20180   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20181   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20182 done
   20183 LIBOBJS=$ac_libobjs
   20184 
   20185 LTLIBOBJS=$ac_ltlibobjs
   20186 
   20187 
   20188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20189 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   20190    if test -n "$am_sleep_pid"; then
   20191      # Hide warnings about reused PIDs.
   20192      wait $am_sleep_pid 2>/dev/null
   20193    fi
   20194    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20195 $as_echo "done" >&6; }
   20196  if test -n "$EXEEXT"; then
   20197   am__EXEEXT_TRUE=
   20198   am__EXEEXT_FALSE='#'
   20199 else
   20200   am__EXEEXT_TRUE='#'
   20201   am__EXEEXT_FALSE=
   20202 fi
   20203 
   20204 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20205   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20207 fi
   20208 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20209   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20211 fi
   20212 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   20213   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   20214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20215 fi
   20216 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   20217   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   20218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20219 fi
   20220 if test -z "${HAS_XORG_CONF_DIR_TRUE}" && test -z "${HAS_XORG_CONF_DIR_FALSE}"; then
   20221   as_fn_error $? "conditional \"HAS_XORG_CONF_DIR\" was never defined.
   20222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20223 fi
   20224 if test -z "${LIBUDEV_TRUE}" && test -z "${LIBUDEV_FALSE}"; then
   20225   as_fn_error $? "conditional \"LIBUDEV\" was never defined.
   20226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20227 fi
   20228 if test -z "${GLAMOR_TRUE}" && test -z "${GLAMOR_FALSE}"; then
   20229   as_fn_error $? "conditional \"GLAMOR\" was never defined.
   20230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20231 fi
   20232 
   20233 : "${CONFIG_STATUS=./config.status}"
   20234 ac_write_fail=0
   20235 ac_clean_files_save=$ac_clean_files
   20236 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20238 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20239 as_write_fail=0
   20240 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20241 #! $SHELL
   20242 # Generated by $as_me.
   20243 # Run this file to recreate the current configuration.
   20244 # Compiler output produced by configure, useful for debugging
   20245 # configure, is in config.log if it exists.
   20246 
   20247 debug=false
   20248 ac_cs_recheck=false
   20249 ac_cs_silent=false
   20250 
   20251 SHELL=\${CONFIG_SHELL-$SHELL}
   20252 export SHELL
   20253 _ASEOF
   20254 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20255 ## -------------------- ##
   20256 ## M4sh Initialization. ##
   20257 ## -------------------- ##
   20258 
   20259 # Be more Bourne compatible
   20260 DUALCASE=1; export DUALCASE # for MKS sh
   20261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20262   emulate sh
   20263   NULLCMD=:
   20264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20265   # is contrary to our usage.  Disable this feature.
   20266   alias -g '${1+"$@"}'='"$@"'
   20267   setopt NO_GLOB_SUBST
   20268 else
   20269   case `(set -o) 2>/dev/null` in #(
   20270   *posix*) :
   20271     set -o posix ;; #(
   20272   *) :
   20273      ;;
   20274 esac
   20275 fi
   20276 
   20277 
   20278 as_nl='
   20279 '
   20280 export as_nl
   20281 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   20282 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   20283 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   20284 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   20285 # Prefer a ksh shell builtin over an external printf program on Solaris,
   20286 # but without wasting forks for bash or zsh.
   20287 if test -z "$BASH_VERSION$ZSH_VERSION" \
   20288     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   20289   as_echo='print -r --'
   20290   as_echo_n='print -rn --'
   20291 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   20292   as_echo='printf %s\n'
   20293   as_echo_n='printf %s'
   20294 else
   20295   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   20296     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   20297     as_echo_n='/usr/ucb/echo -n'
   20298   else
   20299     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   20300     as_echo_n_body='eval
   20301       arg=$1;
   20302       case $arg in #(
   20303       *"$as_nl"*)
   20304 	expr "X$arg" : "X\\(.*\\)$as_nl";
   20305 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   20306       esac;
   20307       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   20308     '
   20309     export as_echo_n_body
   20310     as_echo_n='sh -c $as_echo_n_body as_echo'
   20311   fi
   20312   export as_echo_body
   20313   as_echo='sh -c $as_echo_body as_echo'
   20314 fi
   20315 
   20316 # The user is always right.
   20317 if test "${PATH_SEPARATOR+set}" != set; then
   20318   PATH_SEPARATOR=:
   20319   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20320     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20321       PATH_SEPARATOR=';'
   20322   }
   20323 fi
   20324 
   20325 
   20326 # IFS
   20327 # We need space, tab and new line, in precisely that order.  Quoting is
   20328 # there to prevent editors from complaining about space-tab.
   20329 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20330 # splitting by setting IFS to empty value.)
   20331 IFS=" ""	$as_nl"
   20332 
   20333 # Find who we are.  Look in the path if we contain no directory separator.
   20334 as_myself=
   20335 case $0 in #((
   20336   *[\\/]* ) as_myself=$0 ;;
   20337   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20338 for as_dir in $PATH
   20339 do
   20340   IFS=$as_save_IFS
   20341   test -z "$as_dir" && as_dir=.
   20342     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20343   done
   20344 IFS=$as_save_IFS
   20345 
   20346      ;;
   20347 esac
   20348 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20349 # in which case we are not to be found in the path.
   20350 if test "x$as_myself" = x; then
   20351   as_myself=$0
   20352 fi
   20353 if test ! -f "$as_myself"; then
   20354   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20355   exit 1
   20356 fi
   20357 
   20358 # Unset variables that we do not need and which cause bugs (e.g. in
   20359 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   20360 # suppresses any "Segmentation fault" message there.  '((' could
   20361 # trigger a bug in pdksh 5.2.14.
   20362 for as_var in BASH_ENV ENV MAIL MAILPATH
   20363 do eval test x\${$as_var+set} = xset \
   20364   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20365 done
   20366 PS1='$ '
   20367 PS2='> '
   20368 PS4='+ '
   20369 
   20370 # NLS nuisances.
   20371 LC_ALL=C
   20372 export LC_ALL
   20373 LANGUAGE=C
   20374 export LANGUAGE
   20375 
   20376 # CDPATH.
   20377 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20378 
   20379 
   20380 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20381 # ----------------------------------------
   20382 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20383 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20384 # script with STATUS, using 1 if that was 0.
   20385 as_fn_error ()
   20386 {
   20387   as_status=$1; test $as_status -eq 0 && as_status=1
   20388   if test "$4"; then
   20389     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20390     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20391   fi
   20392   $as_echo "$as_me: error: $2" >&2
   20393   as_fn_exit $as_status
   20394 } # as_fn_error
   20395 
   20396 
   20397 # as_fn_set_status STATUS
   20398 # -----------------------
   20399 # Set $? to STATUS, without forking.
   20400 as_fn_set_status ()
   20401 {
   20402   return $1
   20403 } # as_fn_set_status
   20404 
   20405 # as_fn_exit STATUS
   20406 # -----------------
   20407 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20408 as_fn_exit ()
   20409 {
   20410   set +e
   20411   as_fn_set_status $1
   20412   exit $1
   20413 } # as_fn_exit
   20414 
   20415 # as_fn_unset VAR
   20416 # ---------------
   20417 # Portably unset VAR.
   20418 as_fn_unset ()
   20419 {
   20420   { eval $1=; unset $1;}
   20421 }
   20422 as_unset=as_fn_unset
   20423 # as_fn_append VAR VALUE
   20424 # ----------------------
   20425 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20426 # advantage of any shell optimizations that allow amortized linear growth over
   20427 # repeated appends, instead of the typical quadratic growth present in naive
   20428 # implementations.
   20429 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   20430   eval 'as_fn_append ()
   20431   {
   20432     eval $1+=\$2
   20433   }'
   20434 else
   20435   as_fn_append ()
   20436   {
   20437     eval $1=\$$1\$2
   20438   }
   20439 fi # as_fn_append
   20440 
   20441 # as_fn_arith ARG...
   20442 # ------------------
   20443 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20444 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20445 # must be portable across $(()) and expr.
   20446 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   20447   eval 'as_fn_arith ()
   20448   {
   20449     as_val=$(( $* ))
   20450   }'
   20451 else
   20452   as_fn_arith ()
   20453   {
   20454     as_val=`expr "$@" || test $? -eq 1`
   20455   }
   20456 fi # as_fn_arith
   20457 
   20458 
   20459 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20460    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20461   as_expr=expr
   20462 else
   20463   as_expr=false
   20464 fi
   20465 
   20466 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20467   as_basename=basename
   20468 else
   20469   as_basename=false
   20470 fi
   20471 
   20472 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20473   as_dirname=dirname
   20474 else
   20475   as_dirname=false
   20476 fi
   20477 
   20478 as_me=`$as_basename -- "$0" ||
   20479 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20480 	 X"$0" : 'X\(//\)$' \| \
   20481 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20482 $as_echo X/"$0" |
   20483     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20484 	    s//\1/
   20485 	    q
   20486 	  }
   20487 	  /^X\/\(\/\/\)$/{
   20488 	    s//\1/
   20489 	    q
   20490 	  }
   20491 	  /^X\/\(\/\).*/{
   20492 	    s//\1/
   20493 	    q
   20494 	  }
   20495 	  s/.*/./; q'`
   20496 
   20497 # Avoid depending upon Character Ranges.
   20498 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20499 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20500 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20501 as_cr_digits='0123456789'
   20502 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20503 
   20504 ECHO_C= ECHO_N= ECHO_T=
   20505 case `echo -n x` in #(((((
   20506 -n*)
   20507   case `echo 'xy\c'` in
   20508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20509   xy)  ECHO_C='\c';;
   20510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20511        ECHO_T='	';;
   20512   esac;;
   20513 *)
   20514   ECHO_N='-n';;
   20515 esac
   20516 
   20517 rm -f conf$$ conf$$.exe conf$$.file
   20518 if test -d conf$$.dir; then
   20519   rm -f conf$$.dir/conf$$.file
   20520 else
   20521   rm -f conf$$.dir
   20522   mkdir conf$$.dir 2>/dev/null
   20523 fi
   20524 if (echo >conf$$.file) 2>/dev/null; then
   20525   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20526     as_ln_s='ln -s'
   20527     # ... but there are two gotchas:
   20528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20530     # In both cases, we have to default to `cp -pR'.
   20531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20532       as_ln_s='cp -pR'
   20533   elif ln conf$$.file conf$$ 2>/dev/null; then
   20534     as_ln_s=ln
   20535   else
   20536     as_ln_s='cp -pR'
   20537   fi
   20538 else
   20539   as_ln_s='cp -pR'
   20540 fi
   20541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20542 rmdir conf$$.dir 2>/dev/null
   20543 
   20544 
   20545 # as_fn_mkdir_p
   20546 # -------------
   20547 # Create "$as_dir" as a directory, including parents if necessary.
   20548 as_fn_mkdir_p ()
   20549 {
   20550 
   20551   case $as_dir in #(
   20552   -*) as_dir=./$as_dir;;
   20553   esac
   20554   test -d "$as_dir" || eval $as_mkdir_p || {
   20555     as_dirs=
   20556     while :; do
   20557       case $as_dir in #(
   20558       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20559       *) as_qdir=$as_dir;;
   20560       esac
   20561       as_dirs="'$as_qdir' $as_dirs"
   20562       as_dir=`$as_dirname -- "$as_dir" ||
   20563 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20564 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20565 	 X"$as_dir" : 'X\(//\)$' \| \
   20566 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20567 $as_echo X"$as_dir" |
   20568     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20569 	    s//\1/
   20570 	    q
   20571 	  }
   20572 	  /^X\(\/\/\)[^/].*/{
   20573 	    s//\1/
   20574 	    q
   20575 	  }
   20576 	  /^X\(\/\/\)$/{
   20577 	    s//\1/
   20578 	    q
   20579 	  }
   20580 	  /^X\(\/\).*/{
   20581 	    s//\1/
   20582 	    q
   20583 	  }
   20584 	  s/.*/./; q'`
   20585       test -d "$as_dir" && break
   20586     done
   20587     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20588   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20589 
   20590 
   20591 } # as_fn_mkdir_p
   20592 if mkdir -p . 2>/dev/null; then
   20593   as_mkdir_p='mkdir -p "$as_dir"'
   20594 else
   20595   test -d ./-p && rmdir ./-p
   20596   as_mkdir_p=false
   20597 fi
   20598 
   20599 
   20600 # as_fn_executable_p FILE
   20601 # -----------------------
   20602 # Test if FILE is an executable regular file.
   20603 as_fn_executable_p ()
   20604 {
   20605   test -f "$1" && test -x "$1"
   20606 } # as_fn_executable_p
   20607 as_test_x='test -x'
   20608 as_executable_p=as_fn_executable_p
   20609 
   20610 # Sed expression to map a string onto a valid CPP name.
   20611 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20612 
   20613 # Sed expression to map a string onto a valid variable name.
   20614 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20615 
   20616 
   20617 exec 6>&1
   20618 ## ----------------------------------- ##
   20619 ## Main body of $CONFIG_STATUS script. ##
   20620 ## ----------------------------------- ##
   20621 _ASEOF
   20622 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20623 
   20624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20625 # Save the log message, to keep $0 and so on meaningful, and to
   20626 # report actual input values of CONFIG_FILES etc. instead of their
   20627 # values after options handling.
   20628 ac_log="
   20629 This file was extended by xf86-video-amdgpu $as_me 1.1.0, which was
   20630 generated by GNU Autoconf 2.69.  Invocation command line was
   20631 
   20632   CONFIG_FILES    = $CONFIG_FILES
   20633   CONFIG_HEADERS  = $CONFIG_HEADERS
   20634   CONFIG_LINKS    = $CONFIG_LINKS
   20635   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20636   $ $0 $@
   20637 
   20638 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20639 "
   20640 
   20641 _ACEOF
   20642 
   20643 case $ac_config_files in *"
   20644 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20645 esac
   20646 
   20647 case $ac_config_headers in *"
   20648 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20649 esac
   20650 
   20651 
   20652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20653 # Files that config.status was made for.
   20654 config_files="$ac_config_files"
   20655 config_headers="$ac_config_headers"
   20656 config_commands="$ac_config_commands"
   20657 
   20658 _ACEOF
   20659 
   20660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20661 ac_cs_usage="\
   20662 \`$as_me' instantiates files and other configuration actions
   20663 from templates according to the current configuration.  Unless the files
   20664 and actions are specified as TAGs, all are instantiated by default.
   20665 
   20666 Usage: $0 [OPTION]... [TAG]...
   20667 
   20668   -h, --help       print this help, then exit
   20669   -V, --version    print version number and configuration settings, then exit
   20670       --config     print configuration, then exit
   20671   -q, --quiet, --silent
   20672                    do not print progress messages
   20673   -d, --debug      don't remove temporary files
   20674       --recheck    update $as_me by reconfiguring in the same conditions
   20675       --file=FILE[:TEMPLATE]
   20676                    instantiate the configuration file FILE
   20677       --header=FILE[:TEMPLATE]
   20678                    instantiate the configuration header FILE
   20679 
   20680 Configuration files:
   20681 $config_files
   20682 
   20683 Configuration headers:
   20684 $config_headers
   20685 
   20686 Configuration commands:
   20687 $config_commands
   20688 
   20689 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   20690 
   20691 _ACEOF
   20692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20693 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   20694 ac_cs_version="\\
   20695 xf86-video-amdgpu config.status 1.1.0
   20696 configured by $0, generated by GNU Autoconf 2.69,
   20697   with options \\"\$ac_cs_config\\"
   20698 
   20699 Copyright (C) 2012 Free Software Foundation, Inc.
   20700 This config.status script is free software; the Free Software Foundation
   20701 gives unlimited permission to copy, distribute and modify it."
   20702 
   20703 ac_pwd='$ac_pwd'
   20704 srcdir='$srcdir'
   20705 INSTALL='$INSTALL'
   20706 MKDIR_P='$MKDIR_P'
   20707 AWK='$AWK'
   20708 test -n "\$AWK" || AWK=awk
   20709 _ACEOF
   20710 
   20711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20712 # The default lists apply if the user does not specify any file.
   20713 ac_need_defaults=:
   20714 while test $# != 0
   20715 do
   20716   case $1 in
   20717   --*=?*)
   20718     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20719     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20720     ac_shift=:
   20721     ;;
   20722   --*=)
   20723     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20724     ac_optarg=
   20725     ac_shift=:
   20726     ;;
   20727   *)
   20728     ac_option=$1
   20729     ac_optarg=$2
   20730     ac_shift=shift
   20731     ;;
   20732   esac
   20733 
   20734   case $ac_option in
   20735   # Handling of the options.
   20736   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20737     ac_cs_recheck=: ;;
   20738   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20739     $as_echo "$ac_cs_version"; exit ;;
   20740   --config | --confi | --conf | --con | --co | --c )
   20741     $as_echo "$ac_cs_config"; exit ;;
   20742   --debug | --debu | --deb | --de | --d | -d )
   20743     debug=: ;;
   20744   --file | --fil | --fi | --f )
   20745     $ac_shift
   20746     case $ac_optarg in
   20747     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20748     '') as_fn_error $? "missing file argument" ;;
   20749     esac
   20750     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20751     ac_need_defaults=false;;
   20752   --header | --heade | --head | --hea )
   20753     $ac_shift
   20754     case $ac_optarg in
   20755     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20756     esac
   20757     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20758     ac_need_defaults=false;;
   20759   --he | --h)
   20760     # Conflict between --help and --header
   20761     as_fn_error $? "ambiguous option: \`$1'
   20762 Try \`$0 --help' for more information.";;
   20763   --help | --hel | -h )
   20764     $as_echo "$ac_cs_usage"; exit ;;
   20765   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20766   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20767     ac_cs_silent=: ;;
   20768 
   20769   # This is an error.
   20770   -*) as_fn_error $? "unrecognized option: \`$1'
   20771 Try \`$0 --help' for more information." ;;
   20772 
   20773   *) as_fn_append ac_config_targets " $1"
   20774      ac_need_defaults=false ;;
   20775 
   20776   esac
   20777   shift
   20778 done
   20779 
   20780 ac_configure_extra_args=
   20781 
   20782 if $ac_cs_silent; then
   20783   exec 6>/dev/null
   20784   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20785 fi
   20786 
   20787 _ACEOF
   20788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20789 if \$ac_cs_recheck; then
   20790   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20791   shift
   20792   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20793   CONFIG_SHELL='$SHELL'
   20794   export CONFIG_SHELL
   20795   exec "\$@"
   20796 fi
   20797 
   20798 _ACEOF
   20799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20800 exec 5>>config.log
   20801 {
   20802   echo
   20803   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20804 ## Running $as_me. ##
   20805 _ASBOX
   20806   $as_echo "$ac_log"
   20807 } >&5
   20808 
   20809 _ACEOF
   20810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20811 #
   20812 # INIT-COMMANDS
   20813 #
   20814 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20815 
   20816 
   20817 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20818 # if CDPATH is set.
   20819 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20820 
   20821 sed_quote_subst='$sed_quote_subst'
   20822 double_quote_subst='$double_quote_subst'
   20823 delay_variable_subst='$delay_variable_subst'
   20824 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20825 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20826 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20827 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20828 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20829 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20830 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20831 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20832 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20833 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20834 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20835 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20836 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20837 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20838 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20839 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20840 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20841 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20842 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20843 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20844 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20845 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20846 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20847 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20848 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20849 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20850 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20851 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20852 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20853 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20854 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20855 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20856 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20857 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20858 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20859 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20860 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20861 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20862 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20863 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20864 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20865 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20866 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20867 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20868 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20869 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20870 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20871 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20872 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20873 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20874 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20875 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20876 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20877 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20878 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20879 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20880 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20881 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20882 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"`'
   20883 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20884 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20885 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20886 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20887 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20888 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20889 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20890 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20891 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20892 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20893 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20894 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20895 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20896 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20897 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20898 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20899 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20900 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20901 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20902 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20903 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20904 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20905 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20906 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20907 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20908 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20909 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20910 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20911 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20912 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20913 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20914 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20915 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20916 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20917 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20918 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20919 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20920 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20921 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20922 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20923 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20924 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20925 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20926 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20927 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20928 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20929 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20930 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20931 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20932 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20933 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20934 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20935 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20936 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20937 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20938 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20939 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20940 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20941 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20942 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20943 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20944 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20945 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20946 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20947 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20948 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20949 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20950 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20951 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20952 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20953 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20954 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20955 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20956 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20957 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20958 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20959 
   20960 LTCC='$LTCC'
   20961 LTCFLAGS='$LTCFLAGS'
   20962 compiler='$compiler_DEFAULT'
   20963 
   20964 # A function that is used when there is no print builtin or printf.
   20965 func_fallback_echo ()
   20966 {
   20967   eval 'cat <<_LTECHO_EOF
   20968 \$1
   20969 _LTECHO_EOF'
   20970 }
   20971 
   20972 # Quote evaled strings.
   20973 for var in SHELL \
   20974 ECHO \
   20975 PATH_SEPARATOR \
   20976 SED \
   20977 GREP \
   20978 EGREP \
   20979 FGREP \
   20980 LD \
   20981 NM \
   20982 LN_S \
   20983 lt_SP2NL \
   20984 lt_NL2SP \
   20985 reload_flag \
   20986 OBJDUMP \
   20987 deplibs_check_method \
   20988 file_magic_cmd \
   20989 file_magic_glob \
   20990 want_nocaseglob \
   20991 DLLTOOL \
   20992 sharedlib_from_linklib_cmd \
   20993 AR \
   20994 AR_FLAGS \
   20995 archiver_list_spec \
   20996 STRIP \
   20997 RANLIB \
   20998 CC \
   20999 CFLAGS \
   21000 compiler \
   21001 lt_cv_sys_global_symbol_pipe \
   21002 lt_cv_sys_global_symbol_to_cdecl \
   21003 lt_cv_sys_global_symbol_to_import \
   21004 lt_cv_sys_global_symbol_to_c_name_address \
   21005 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21006 lt_cv_nm_interface \
   21007 nm_file_list_spec \
   21008 lt_cv_truncate_bin \
   21009 lt_prog_compiler_no_builtin_flag \
   21010 lt_prog_compiler_pic \
   21011 lt_prog_compiler_wl \
   21012 lt_prog_compiler_static \
   21013 lt_cv_prog_compiler_c_o \
   21014 need_locks \
   21015 MANIFEST_TOOL \
   21016 DSYMUTIL \
   21017 NMEDIT \
   21018 LIPO \
   21019 OTOOL \
   21020 OTOOL64 \
   21021 shrext_cmds \
   21022 export_dynamic_flag_spec \
   21023 whole_archive_flag_spec \
   21024 compiler_needs_object \
   21025 with_gnu_ld \
   21026 allow_undefined_flag \
   21027 no_undefined_flag \
   21028 hardcode_libdir_flag_spec \
   21029 hardcode_libdir_separator \
   21030 exclude_expsyms \
   21031 include_expsyms \
   21032 file_list_spec \
   21033 variables_saved_for_relink \
   21034 libname_spec \
   21035 library_names_spec \
   21036 soname_spec \
   21037 install_override_mode \
   21038 finish_eval \
   21039 old_striplib \
   21040 striplib; do
   21041     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21042     *[\\\\\\\`\\"\\\$]*)
   21043       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21044       ;;
   21045     *)
   21046       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21047       ;;
   21048     esac
   21049 done
   21050 
   21051 # Double-quote double-evaled strings.
   21052 for var in reload_cmds \
   21053 old_postinstall_cmds \
   21054 old_postuninstall_cmds \
   21055 old_archive_cmds \
   21056 extract_expsyms_cmds \
   21057 old_archive_from_new_cmds \
   21058 old_archive_from_expsyms_cmds \
   21059 archive_cmds \
   21060 archive_expsym_cmds \
   21061 module_cmds \
   21062 module_expsym_cmds \
   21063 export_symbols_cmds \
   21064 prelink_cmds \
   21065 postlink_cmds \
   21066 postinstall_cmds \
   21067 postuninstall_cmds \
   21068 finish_cmds \
   21069 sys_lib_search_path_spec \
   21070 configure_time_dlsearch_path \
   21071 configure_time_lt_sys_library_path; do
   21072     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21073     *[\\\\\\\`\\"\\\$]*)
   21074       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21075       ;;
   21076     *)
   21077       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21078       ;;
   21079     esac
   21080 done
   21081 
   21082 ac_aux_dir='$ac_aux_dir'
   21083 
   21084 # See if we are running on zsh, and set the options that allow our
   21085 # commands through without removal of \ escapes INIT.
   21086 if test -n "\${ZSH_VERSION+set}"; then
   21087    setopt NO_GLOB_SUBST
   21088 fi
   21089 
   21090 
   21091     PACKAGE='$PACKAGE'
   21092     VERSION='$VERSION'
   21093     RM='$RM'
   21094     ofile='$ofile'
   21095 
   21096 
   21097 
   21098 
   21099 _ACEOF
   21100 
   21101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21102 
   21103 # Handling of arguments.
   21104 for ac_config_target in $ac_config_targets
   21105 do
   21106   case $ac_config_target in
   21107     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21108     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21109     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21110     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21111     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21112     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21113     "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
   21114 
   21115   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21116   esac
   21117 done
   21118 
   21119 
   21120 # If the user did not use the arguments to specify the items to instantiate,
   21121 # then the envvar interface is used.  Set only those that are not.
   21122 # We use the long form for the default assignment because of an extremely
   21123 # bizarre bug on SunOS 4.1.3.
   21124 if $ac_need_defaults; then
   21125   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21126   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21127   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21128 fi
   21129 
   21130 # Have a temporary directory for convenience.  Make it in the build tree
   21131 # simply because there is no reason against having it here, and in addition,
   21132 # creating and moving files from /tmp can sometimes cause problems.
   21133 # Hook for its removal unless debugging.
   21134 # Note that there is a small window in which the directory will not be cleaned:
   21135 # after its creation but before its name has been assigned to `$tmp'.
   21136 $debug ||
   21137 {
   21138   tmp= ac_tmp=
   21139   trap 'exit_status=$?
   21140   : "${ac_tmp:=$tmp}"
   21141   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21142 ' 0
   21143   trap 'as_fn_exit 1' 1 2 13 15
   21144 }
   21145 # Create a (secure) tmp directory for tmp files.
   21146 
   21147 {
   21148   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21149   test -d "$tmp"
   21150 }  ||
   21151 {
   21152   tmp=./conf$$-$RANDOM
   21153   (umask 077 && mkdir "$tmp")
   21154 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21155 ac_tmp=$tmp
   21156 
   21157 # Set up the scripts for CONFIG_FILES section.
   21158 # No need to generate them if there are no CONFIG_FILES.
   21159 # This happens for instance with `./config.status config.h'.
   21160 if test -n "$CONFIG_FILES"; then
   21161 
   21162 
   21163 ac_cr=`echo X | tr X '\015'`
   21164 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21165 # But we know of no other shell where ac_cr would be empty at this
   21166 # point, so we can use a bashism as a fallback.
   21167 if test "x$ac_cr" = x; then
   21168   eval ac_cr=\$\'\\r\'
   21169 fi
   21170 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21171 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21172   ac_cs_awk_cr='\\r'
   21173 else
   21174   ac_cs_awk_cr=$ac_cr
   21175 fi
   21176 
   21177 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21178 _ACEOF
   21179 
   21180 
   21181 {
   21182   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21183   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21184   echo "_ACEOF"
   21185 } >conf$$subs.sh ||
   21186   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21187 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21188 ac_delim='%!_!# '
   21189 for ac_last_try in false false false false false :; do
   21190   . ./conf$$subs.sh ||
   21191     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21192 
   21193   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21194   if test $ac_delim_n = $ac_delim_num; then
   21195     break
   21196   elif $ac_last_try; then
   21197     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21198   else
   21199     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21200   fi
   21201 done
   21202 rm -f conf$$subs.sh
   21203 
   21204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21205 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21206 _ACEOF
   21207 sed -n '
   21208 h
   21209 s/^/S["/; s/!.*/"]=/
   21210 p
   21211 g
   21212 s/^[^!]*!//
   21213 :repl
   21214 t repl
   21215 s/'"$ac_delim"'$//
   21216 t delim
   21217 :nl
   21218 h
   21219 s/\(.\{148\}\)..*/\1/
   21220 t more1
   21221 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21222 p
   21223 n
   21224 b repl
   21225 :more1
   21226 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21227 p
   21228 g
   21229 s/.\{148\}//
   21230 t nl
   21231 :delim
   21232 h
   21233 s/\(.\{148\}\)..*/\1/
   21234 t more2
   21235 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21236 p
   21237 b
   21238 :more2
   21239 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21240 p
   21241 g
   21242 s/.\{148\}//
   21243 t delim
   21244 ' <conf$$subs.awk | sed '
   21245 /^[^""]/{
   21246   N
   21247   s/\n//
   21248 }
   21249 ' >>$CONFIG_STATUS || ac_write_fail=1
   21250 rm -f conf$$subs.awk
   21251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21252 _ACAWK
   21253 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21254   for (key in S) S_is_set[key] = 1
   21255   FS = ""
   21256 
   21257 }
   21258 {
   21259   line = $ 0
   21260   nfields = split(line, field, "@")
   21261   substed = 0
   21262   len = length(field[1])
   21263   for (i = 2; i < nfields; i++) {
   21264     key = field[i]
   21265     keylen = length(key)
   21266     if (S_is_set[key]) {
   21267       value = S[key]
   21268       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21269       len += length(value) + length(field[++i])
   21270       substed = 1
   21271     } else
   21272       len += 1 + keylen
   21273   }
   21274 
   21275   print line
   21276 }
   21277 
   21278 _ACAWK
   21279 _ACEOF
   21280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21281 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21282   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21283 else
   21284   cat
   21285 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21286   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21287 _ACEOF
   21288 
   21289 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21290 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21291 # trailing colons and then remove the whole line if VPATH becomes empty
   21292 # (actually we leave an empty line to preserve line numbers).
   21293 if test "x$srcdir" = x.; then
   21294   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21295 h
   21296 s///
   21297 s/^/:/
   21298 s/[	 ]*$/:/
   21299 s/:\$(srcdir):/:/g
   21300 s/:\${srcdir}:/:/g
   21301 s/:@srcdir@:/:/g
   21302 s/^:*//
   21303 s/:*$//
   21304 x
   21305 s/\(=[	 ]*\).*/\1/
   21306 G
   21307 s/\n//
   21308 s/^[^=]*=[	 ]*$//
   21309 }'
   21310 fi
   21311 
   21312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21313 fi # test -n "$CONFIG_FILES"
   21314 
   21315 # Set up the scripts for CONFIG_HEADERS section.
   21316 # No need to generate them if there are no CONFIG_HEADERS.
   21317 # This happens for instance with `./config.status Makefile'.
   21318 if test -n "$CONFIG_HEADERS"; then
   21319 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21320 BEGIN {
   21321 _ACEOF
   21322 
   21323 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21324 # here-document in config.status, that substitutes the proper values into
   21325 # config.h.in to produce config.h.
   21326 
   21327 # Create a delimiter string that does not exist in confdefs.h, to ease
   21328 # handling of long lines.
   21329 ac_delim='%!_!# '
   21330 for ac_last_try in false false :; do
   21331   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21332   if test -z "$ac_tt"; then
   21333     break
   21334   elif $ac_last_try; then
   21335     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21336   else
   21337     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21338   fi
   21339 done
   21340 
   21341 # For the awk script, D is an array of macro values keyed by name,
   21342 # likewise P contains macro parameters if any.  Preserve backslash
   21343 # newline sequences.
   21344 
   21345 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21346 sed -n '
   21347 s/.\{148\}/&'"$ac_delim"'/g
   21348 t rset
   21349 :rset
   21350 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21351 t def
   21352 d
   21353 :def
   21354 s/\\$//
   21355 t bsnl
   21356 s/["\\]/\\&/g
   21357 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21358 D["\1"]=" \3"/p
   21359 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21360 d
   21361 :bsnl
   21362 s/["\\]/\\&/g
   21363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21364 D["\1"]=" \3\\\\\\n"\\/p
   21365 t cont
   21366 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21367 t cont
   21368 d
   21369 :cont
   21370 n
   21371 s/.\{148\}/&'"$ac_delim"'/g
   21372 t clear
   21373 :clear
   21374 s/\\$//
   21375 t bsnlc
   21376 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21377 d
   21378 :bsnlc
   21379 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21380 b cont
   21381 ' <confdefs.h | sed '
   21382 s/'"$ac_delim"'/"\\\
   21383 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21384 
   21385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21386   for (key in D) D_is_set[key] = 1
   21387   FS = ""
   21388 }
   21389 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21390   line = \$ 0
   21391   split(line, arg, " ")
   21392   if (arg[1] == "#") {
   21393     defundef = arg[2]
   21394     mac1 = arg[3]
   21395   } else {
   21396     defundef = substr(arg[1], 2)
   21397     mac1 = arg[2]
   21398   }
   21399   split(mac1, mac2, "(") #)
   21400   macro = mac2[1]
   21401   prefix = substr(line, 1, index(line, defundef) - 1)
   21402   if (D_is_set[macro]) {
   21403     # Preserve the white space surrounding the "#".
   21404     print prefix "define", macro P[macro] D[macro]
   21405     next
   21406   } else {
   21407     # Replace #undef with comments.  This is necessary, for example,
   21408     # in the case of _POSIX_SOURCE, which is predefined and required
   21409     # on some systems where configure will not decide to define it.
   21410     if (defundef == "undef") {
   21411       print "/*", prefix defundef, macro, "*/"
   21412       next
   21413     }
   21414   }
   21415 }
   21416 { print }
   21417 _ACAWK
   21418 _ACEOF
   21419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21420   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21421 fi # test -n "$CONFIG_HEADERS"
   21422 
   21423 
   21424 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21425 shift
   21426 for ac_tag
   21427 do
   21428   case $ac_tag in
   21429   :[FHLC]) ac_mode=$ac_tag; continue;;
   21430   esac
   21431   case $ac_mode$ac_tag in
   21432   :[FHL]*:*);;
   21433   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21434   :[FH]-) ac_tag=-:-;;
   21435   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21436   esac
   21437   ac_save_IFS=$IFS
   21438   IFS=:
   21439   set x $ac_tag
   21440   IFS=$ac_save_IFS
   21441   shift
   21442   ac_file=$1
   21443   shift
   21444 
   21445   case $ac_mode in
   21446   :L) ac_source=$1;;
   21447   :[FH])
   21448     ac_file_inputs=
   21449     for ac_f
   21450     do
   21451       case $ac_f in
   21452       -) ac_f="$ac_tmp/stdin";;
   21453       *) # Look for the file first in the build tree, then in the source tree
   21454 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21455 	 # because $ac_f cannot contain `:'.
   21456 	 test -f "$ac_f" ||
   21457 	   case $ac_f in
   21458 	   [\\/$]*) false;;
   21459 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21460 	   esac ||
   21461 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21462       esac
   21463       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21464       as_fn_append ac_file_inputs " '$ac_f'"
   21465     done
   21466 
   21467     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21468     # use $as_me), people would be surprised to read:
   21469     #    /* config.h.  Generated by config.status.  */
   21470     configure_input='Generated from '`
   21471 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21472 	`' by configure.'
   21473     if test x"$ac_file" != x-; then
   21474       configure_input="$ac_file.  $configure_input"
   21475       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21476 $as_echo "$as_me: creating $ac_file" >&6;}
   21477     fi
   21478     # Neutralize special characters interpreted by sed in replacement strings.
   21479     case $configure_input in #(
   21480     *\&* | *\|* | *\\* )
   21481        ac_sed_conf_input=`$as_echo "$configure_input" |
   21482        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21483     *) ac_sed_conf_input=$configure_input;;
   21484     esac
   21485 
   21486     case $ac_tag in
   21487     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21488       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21489     esac
   21490     ;;
   21491   esac
   21492 
   21493   ac_dir=`$as_dirname -- "$ac_file" ||
   21494 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21495 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21496 	 X"$ac_file" : 'X\(//\)$' \| \
   21497 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21498 $as_echo X"$ac_file" |
   21499     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21500 	    s//\1/
   21501 	    q
   21502 	  }
   21503 	  /^X\(\/\/\)[^/].*/{
   21504 	    s//\1/
   21505 	    q
   21506 	  }
   21507 	  /^X\(\/\/\)$/{
   21508 	    s//\1/
   21509 	    q
   21510 	  }
   21511 	  /^X\(\/\).*/{
   21512 	    s//\1/
   21513 	    q
   21514 	  }
   21515 	  s/.*/./; q'`
   21516   as_dir="$ac_dir"; as_fn_mkdir_p
   21517   ac_builddir=.
   21518 
   21519 case "$ac_dir" in
   21520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21521 *)
   21522   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   21523   # A ".." for each directory in $ac_dir_suffix.
   21524   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21525   case $ac_top_builddir_sub in
   21526   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21527   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21528   esac ;;
   21529 esac
   21530 ac_abs_top_builddir=$ac_pwd
   21531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21532 # for backward compatibility:
   21533 ac_top_builddir=$ac_top_build_prefix
   21534 
   21535 case $srcdir in
   21536   .)  # We are building in place.
   21537     ac_srcdir=.
   21538     ac_top_srcdir=$ac_top_builddir_sub
   21539     ac_abs_top_srcdir=$ac_pwd ;;
   21540   [\\/]* | ?:[\\/]* )  # Absolute name.
   21541     ac_srcdir=$srcdir$ac_dir_suffix;
   21542     ac_top_srcdir=$srcdir
   21543     ac_abs_top_srcdir=$srcdir ;;
   21544   *) # Relative name.
   21545     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21546     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21547     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21548 esac
   21549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21550 
   21551 
   21552   case $ac_mode in
   21553   :F)
   21554   #
   21555   # CONFIG_FILE
   21556   #
   21557 
   21558   case $INSTALL in
   21559   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21560   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21561   esac
   21562   ac_MKDIR_P=$MKDIR_P
   21563   case $MKDIR_P in
   21564   [\\/$]* | ?:[\\/]* ) ;;
   21565   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21566   esac
   21567 _ACEOF
   21568 
   21569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21570 # If the template does not know about datarootdir, expand it.
   21571 # FIXME: This hack should be removed a few years after 2.60.
   21572 ac_datarootdir_hack=; ac_datarootdir_seen=
   21573 ac_sed_dataroot='
   21574 /datarootdir/ {
   21575   p
   21576   q
   21577 }
   21578 /@datadir@/p
   21579 /@docdir@/p
   21580 /@infodir@/p
   21581 /@localedir@/p
   21582 /@mandir@/p'
   21583 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21584 *datarootdir*) ac_datarootdir_seen=yes;;
   21585 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21586   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21587 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21588 _ACEOF
   21589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21590   ac_datarootdir_hack='
   21591   s&@datadir@&$datadir&g
   21592   s&@docdir@&$docdir&g
   21593   s&@infodir@&$infodir&g
   21594   s&@localedir@&$localedir&g
   21595   s&@mandir@&$mandir&g
   21596   s&\\\${datarootdir}&$datarootdir&g' ;;
   21597 esac
   21598 _ACEOF
   21599 
   21600 # Neutralize VPATH when `$srcdir' = `.'.
   21601 # Shell code in configure.ac might set extrasub.
   21602 # FIXME: do we really want to maintain this feature?
   21603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21604 ac_sed_extra="$ac_vpsub
   21605 $extrasub
   21606 _ACEOF
   21607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21608 :t
   21609 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21610 s|@configure_input@|$ac_sed_conf_input|;t t
   21611 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21612 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21613 s&@srcdir@&$ac_srcdir&;t t
   21614 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21615 s&@top_srcdir@&$ac_top_srcdir&;t t
   21616 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21617 s&@builddir@&$ac_builddir&;t t
   21618 s&@abs_builddir@&$ac_abs_builddir&;t t
   21619 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21620 s&@INSTALL@&$ac_INSTALL&;t t
   21621 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21622 $ac_datarootdir_hack
   21623 "
   21624 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21625   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21626 
   21627 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21628   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21629   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21630       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21631   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21632 which seems to be undefined.  Please make sure it is defined" >&5
   21633 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21634 which seems to be undefined.  Please make sure it is defined" >&2;}
   21635 
   21636   rm -f "$ac_tmp/stdin"
   21637   case $ac_file in
   21638   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21639   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21640   esac \
   21641   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21642  ;;
   21643   :H)
   21644   #
   21645   # CONFIG_HEADER
   21646   #
   21647   if test x"$ac_file" != x-; then
   21648     {
   21649       $as_echo "/* $configure_input  */" \
   21650       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21651     } >"$ac_tmp/config.h" \
   21652       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21653     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21654       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21655 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   21656     else
   21657       rm -f "$ac_file"
   21658       mv "$ac_tmp/config.h" "$ac_file" \
   21659 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21660     fi
   21661   else
   21662     $as_echo "/* $configure_input  */" \
   21663       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21664       || as_fn_error $? "could not create -" "$LINENO" 5
   21665   fi
   21666 # Compute "$ac_file"'s index in $config_headers.
   21667 _am_arg="$ac_file"
   21668 _am_stamp_count=1
   21669 for _am_header in $config_headers :; do
   21670   case $_am_header in
   21671     $_am_arg | $_am_arg:* )
   21672       break ;;
   21673     * )
   21674       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21675   esac
   21676 done
   21677 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21678 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21679 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21680 	 X"$_am_arg" : 'X\(//\)$' \| \
   21681 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21682 $as_echo X"$_am_arg" |
   21683     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21684 	    s//\1/
   21685 	    q
   21686 	  }
   21687 	  /^X\(\/\/\)[^/].*/{
   21688 	    s//\1/
   21689 	    q
   21690 	  }
   21691 	  /^X\(\/\/\)$/{
   21692 	    s//\1/
   21693 	    q
   21694 	  }
   21695 	  /^X\(\/\).*/{
   21696 	    s//\1/
   21697 	    q
   21698 	  }
   21699 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21700  ;;
   21701 
   21702   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21703 $as_echo "$as_me: executing $ac_file commands" >&6;}
   21704  ;;
   21705   esac
   21706 
   21707 
   21708   case $ac_file$ac_mode in
   21709     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21710   # Older Autoconf quotes --file arguments for eval, but not when files
   21711   # are listed without --file.  Let's play safe and only enable the eval
   21712   # if we detect the quoting.
   21713   case $CONFIG_FILES in
   21714   *\'*) eval set x "$CONFIG_FILES" ;;
   21715   *)   set x $CONFIG_FILES ;;
   21716   esac
   21717   shift
   21718   for mf
   21719   do
   21720     # Strip MF so we end up with the name of the file.
   21721     mf=`echo "$mf" | sed -e 's/:.*$//'`
   21722     # Check whether this is an Automake generated Makefile or not.
   21723     # We used to match only the files named 'Makefile.in', but
   21724     # some people rename them; so instead we look at the file content.
   21725     # Grep'ing the first line is not enough: some people post-process
   21726     # each Makefile.in and add a new line on top of each file to say so.
   21727     # Grep'ing the whole file is not good either: AIX grep has a line
   21728     # limit of 2048, but all sed's we know have understand at least 4000.
   21729     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   21730       dirpart=`$as_dirname -- "$mf" ||
   21731 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21732 	 X"$mf" : 'X\(//\)[^/]' \| \
   21733 	 X"$mf" : 'X\(//\)$' \| \
   21734 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21735 $as_echo X"$mf" |
   21736     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21737 	    s//\1/
   21738 	    q
   21739 	  }
   21740 	  /^X\(\/\/\)[^/].*/{
   21741 	    s//\1/
   21742 	    q
   21743 	  }
   21744 	  /^X\(\/\/\)$/{
   21745 	    s//\1/
   21746 	    q
   21747 	  }
   21748 	  /^X\(\/\).*/{
   21749 	    s//\1/
   21750 	    q
   21751 	  }
   21752 	  s/.*/./; q'`
   21753     else
   21754       continue
   21755     fi
   21756     # Extract the definition of DEPDIR, am__include, and am__quote
   21757     # from the Makefile without running 'make'.
   21758     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21759     test -z "$DEPDIR" && continue
   21760     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21761     test -z "$am__include" && continue
   21762     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21763     # Find all dependency output files, they are included files with
   21764     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21765     # simplest approach to changing $(DEPDIR) to its actual value in the
   21766     # expansion.
   21767     for file in `sed -n "
   21768       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21769 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   21770       # Make sure the directory exists.
   21771       test -f "$dirpart/$file" && continue
   21772       fdir=`$as_dirname -- "$file" ||
   21773 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21774 	 X"$file" : 'X\(//\)[^/]' \| \
   21775 	 X"$file" : 'X\(//\)$' \| \
   21776 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21777 $as_echo X"$file" |
   21778     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21779 	    s//\1/
   21780 	    q
   21781 	  }
   21782 	  /^X\(\/\/\)[^/].*/{
   21783 	    s//\1/
   21784 	    q
   21785 	  }
   21786 	  /^X\(\/\/\)$/{
   21787 	    s//\1/
   21788 	    q
   21789 	  }
   21790 	  /^X\(\/\).*/{
   21791 	    s//\1/
   21792 	    q
   21793 	  }
   21794 	  s/.*/./; q'`
   21795       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   21796       # echo "creating $dirpart/$file"
   21797       echo '# dummy' > "$dirpart/$file"
   21798     done
   21799   done
   21800 }
   21801  ;;
   21802     "libtool":C)
   21803 
   21804     # See if we are running on zsh, and set the options that allow our
   21805     # commands through without removal of \ escapes.
   21806     if test -n "${ZSH_VERSION+set}"; then
   21807       setopt NO_GLOB_SUBST
   21808     fi
   21809 
   21810     cfgfile=${ofile}T
   21811     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21812     $RM "$cfgfile"
   21813 
   21814     cat <<_LT_EOF >> "$cfgfile"
   21815 #! $SHELL
   21816 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21817 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21818 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21819 
   21820 # Provide generalized library-building support services.
   21821 # Written by Gordon Matzigkeit, 1996
   21822 
   21823 # Copyright (C) 2014 Free Software Foundation, Inc.
   21824 # This is free software; see the source for copying conditions.  There is NO
   21825 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21826 
   21827 # GNU Libtool is free software; you can redistribute it and/or modify
   21828 # it under the terms of the GNU General Public License as published by
   21829 # the Free Software Foundation; either version 2 of of the License, or
   21830 # (at your option) any later version.
   21831 #
   21832 # As a special exception to the GNU General Public License, if you
   21833 # distribute this file as part of a program or library that is built
   21834 # using GNU Libtool, you may include this file under the  same
   21835 # distribution terms that you use for the rest of that program.
   21836 #
   21837 # GNU Libtool is distributed in the hope that it will be useful, but
   21838 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21839 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21840 # GNU General Public License for more details.
   21841 #
   21842 # You should have received a copy of the GNU General Public License
   21843 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21844 
   21845 
   21846 # The names of the tagged configurations supported by this script.
   21847 available_tags=''
   21848 
   21849 # Configured defaults for sys_lib_dlsearch_path munging.
   21850 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21851 
   21852 # ### BEGIN LIBTOOL CONFIG
   21853 
   21854 # Whether or not to build static libraries.
   21855 build_old_libs=$enable_static
   21856 
   21857 # Which release of libtool.m4 was used?
   21858 macro_version=$macro_version
   21859 macro_revision=$macro_revision
   21860 
   21861 # Whether or not to build shared libraries.
   21862 build_libtool_libs=$enable_shared
   21863 
   21864 # What type of objects to build.
   21865 pic_mode=$pic_mode
   21866 
   21867 # Whether or not to optimize for fast installation.
   21868 fast_install=$enable_fast_install
   21869 
   21870 # Shared archive member basename,for filename based shared library versioning on AIX.
   21871 shared_archive_member_spec=$shared_archive_member_spec
   21872 
   21873 # Shell to use when invoking shell scripts.
   21874 SHELL=$lt_SHELL
   21875 
   21876 # An echo program that protects backslashes.
   21877 ECHO=$lt_ECHO
   21878 
   21879 # The PATH separator for the build system.
   21880 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21881 
   21882 # The host system.
   21883 host_alias=$host_alias
   21884 host=$host
   21885 host_os=$host_os
   21886 
   21887 # The build system.
   21888 build_alias=$build_alias
   21889 build=$build
   21890 build_os=$build_os
   21891 
   21892 # A sed program that does not truncate output.
   21893 SED=$lt_SED
   21894 
   21895 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21896 Xsed="\$SED -e 1s/^X//"
   21897 
   21898 # A grep program that handles long lines.
   21899 GREP=$lt_GREP
   21900 
   21901 # An ERE matcher.
   21902 EGREP=$lt_EGREP
   21903 
   21904 # A literal string matcher.
   21905 FGREP=$lt_FGREP
   21906 
   21907 # A BSD- or MS-compatible name lister.
   21908 NM=$lt_NM
   21909 
   21910 # Whether we need soft or hard links.
   21911 LN_S=$lt_LN_S
   21912 
   21913 # What is the maximum length of a command?
   21914 max_cmd_len=$max_cmd_len
   21915 
   21916 # Object file suffix (normally "o").
   21917 objext=$ac_objext
   21918 
   21919 # Executable file suffix (normally "").
   21920 exeext=$exeext
   21921 
   21922 # whether the shell understands "unset".
   21923 lt_unset=$lt_unset
   21924 
   21925 # turn spaces into newlines.
   21926 SP2NL=$lt_lt_SP2NL
   21927 
   21928 # turn newlines into spaces.
   21929 NL2SP=$lt_lt_NL2SP
   21930 
   21931 # convert \$build file names to \$host format.
   21932 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21933 
   21934 # convert \$build files to toolchain format.
   21935 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21936 
   21937 # An object symbol dumper.
   21938 OBJDUMP=$lt_OBJDUMP
   21939 
   21940 # Method to check whether dependent libraries are shared objects.
   21941 deplibs_check_method=$lt_deplibs_check_method
   21942 
   21943 # Command to use when deplibs_check_method = "file_magic".
   21944 file_magic_cmd=$lt_file_magic_cmd
   21945 
   21946 # How to find potential files when deplibs_check_method = "file_magic".
   21947 file_magic_glob=$lt_file_magic_glob
   21948 
   21949 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21950 want_nocaseglob=$lt_want_nocaseglob
   21951 
   21952 # DLL creation program.
   21953 DLLTOOL=$lt_DLLTOOL
   21954 
   21955 # Command to associate shared and link libraries.
   21956 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21957 
   21958 # The archiver.
   21959 AR=$lt_AR
   21960 
   21961 # Flags to create an archive.
   21962 AR_FLAGS=$lt_AR_FLAGS
   21963 
   21964 # How to feed a file listing to the archiver.
   21965 archiver_list_spec=$lt_archiver_list_spec
   21966 
   21967 # A symbol stripping program.
   21968 STRIP=$lt_STRIP
   21969 
   21970 # Commands used to install an old-style archive.
   21971 RANLIB=$lt_RANLIB
   21972 old_postinstall_cmds=$lt_old_postinstall_cmds
   21973 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21974 
   21975 # Whether to use a lock for old archive extraction.
   21976 lock_old_archive_extraction=$lock_old_archive_extraction
   21977 
   21978 # A C compiler.
   21979 LTCC=$lt_CC
   21980 
   21981 # LTCC compiler flags.
   21982 LTCFLAGS=$lt_CFLAGS
   21983 
   21984 # Take the output of nm and produce a listing of raw symbols and C names.
   21985 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21986 
   21987 # Transform the output of nm in a proper C declaration.
   21988 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21989 
   21990 # Transform the output of nm into a list of symbols to manually relocate.
   21991 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21992 
   21993 # Transform the output of nm in a C name address pair.
   21994 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21995 
   21996 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21997 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21998 
   21999 # The name lister interface.
   22000 nm_interface=$lt_lt_cv_nm_interface
   22001 
   22002 # Specify filename containing input files for \$NM.
   22003 nm_file_list_spec=$lt_nm_file_list_spec
   22004 
   22005 # The root where to search for dependent libraries,and where our libraries should be installed.
   22006 lt_sysroot=$lt_sysroot
   22007 
   22008 # Command to truncate a binary pipe.
   22009 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22010 
   22011 # The name of the directory that contains temporary libtool files.
   22012 objdir=$objdir
   22013 
   22014 # Used to examine libraries when file_magic_cmd begins with "file".
   22015 MAGIC_CMD=$MAGIC_CMD
   22016 
   22017 # Must we lock files when doing compilation?
   22018 need_locks=$lt_need_locks
   22019 
   22020 # Manifest tool.
   22021 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22022 
   22023 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22024 DSYMUTIL=$lt_DSYMUTIL
   22025 
   22026 # Tool to change global to local symbols on Mac OS X.
   22027 NMEDIT=$lt_NMEDIT
   22028 
   22029 # Tool to manipulate fat objects and archives on Mac OS X.
   22030 LIPO=$lt_LIPO
   22031 
   22032 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22033 OTOOL=$lt_OTOOL
   22034 
   22035 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22036 OTOOL64=$lt_OTOOL64
   22037 
   22038 # Old archive suffix (normally "a").
   22039 libext=$libext
   22040 
   22041 # Shared library suffix (normally ".so").
   22042 shrext_cmds=$lt_shrext_cmds
   22043 
   22044 # The commands to extract the exported symbol list from a shared archive.
   22045 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22046 
   22047 # Variables whose values should be saved in libtool wrapper scripts and
   22048 # restored at link time.
   22049 variables_saved_for_relink=$lt_variables_saved_for_relink
   22050 
   22051 # Do we need the "lib" prefix for modules?
   22052 need_lib_prefix=$need_lib_prefix
   22053 
   22054 # Do we need a version for libraries?
   22055 need_version=$need_version
   22056 
   22057 # Library versioning type.
   22058 version_type=$version_type
   22059 
   22060 # Shared library runtime path variable.
   22061 runpath_var=$runpath_var
   22062 
   22063 # Shared library path variable.
   22064 shlibpath_var=$shlibpath_var
   22065 
   22066 # Is shlibpath searched before the hard-coded library search path?
   22067 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22068 
   22069 # Format of library name prefix.
   22070 libname_spec=$lt_libname_spec
   22071 
   22072 # List of archive names.  First name is the real one, the rest are links.
   22073 # The last name is the one that the linker finds with -lNAME
   22074 library_names_spec=$lt_library_names_spec
   22075 
   22076 # The coded name of the library, if different from the real name.
   22077 soname_spec=$lt_soname_spec
   22078 
   22079 # Permission mode override for installation of shared libraries.
   22080 install_override_mode=$lt_install_override_mode
   22081 
   22082 # Command to use after installation of a shared archive.
   22083 postinstall_cmds=$lt_postinstall_cmds
   22084 
   22085 # Command to use after uninstallation of a shared archive.
   22086 postuninstall_cmds=$lt_postuninstall_cmds
   22087 
   22088 # Commands used to finish a libtool library installation in a directory.
   22089 finish_cmds=$lt_finish_cmds
   22090 
   22091 # As "finish_cmds", except a single script fragment to be evaled but
   22092 # not shown.
   22093 finish_eval=$lt_finish_eval
   22094 
   22095 # Whether we should hardcode library paths into libraries.
   22096 hardcode_into_libs=$hardcode_into_libs
   22097 
   22098 # Compile-time system search path for libraries.
   22099 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22100 
   22101 # Detected run-time system search path for libraries.
   22102 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22103 
   22104 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22105 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22106 
   22107 # Whether dlopen is supported.
   22108 dlopen_support=$enable_dlopen
   22109 
   22110 # Whether dlopen of programs is supported.
   22111 dlopen_self=$enable_dlopen_self
   22112 
   22113 # Whether dlopen of statically linked programs is supported.
   22114 dlopen_self_static=$enable_dlopen_self_static
   22115 
   22116 # Commands to strip libraries.
   22117 old_striplib=$lt_old_striplib
   22118 striplib=$lt_striplib
   22119 
   22120 
   22121 # The linker used to build libraries.
   22122 LD=$lt_LD
   22123 
   22124 # How to create reloadable object files.
   22125 reload_flag=$lt_reload_flag
   22126 reload_cmds=$lt_reload_cmds
   22127 
   22128 # Commands used to build an old-style archive.
   22129 old_archive_cmds=$lt_old_archive_cmds
   22130 
   22131 # A language specific compiler.
   22132 CC=$lt_compiler
   22133 
   22134 # Is the compiler the GNU compiler?
   22135 with_gcc=$GCC
   22136 
   22137 # Compiler flag to turn off builtin functions.
   22138 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22139 
   22140 # Additional compiler flags for building library objects.
   22141 pic_flag=$lt_lt_prog_compiler_pic
   22142 
   22143 # How to pass a linker flag through the compiler.
   22144 wl=$lt_lt_prog_compiler_wl
   22145 
   22146 # Compiler flag to prevent dynamic linking.
   22147 link_static_flag=$lt_lt_prog_compiler_static
   22148 
   22149 # Does compiler simultaneously support -c and -o options?
   22150 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22151 
   22152 # Whether or not to add -lc for building shared libraries.
   22153 build_libtool_need_lc=$archive_cmds_need_lc
   22154 
   22155 # Whether or not to disallow shared libs when runtime libs are static.
   22156 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22157 
   22158 # Compiler flag to allow reflexive dlopens.
   22159 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22160 
   22161 # Compiler flag to generate shared objects directly from archives.
   22162 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22163 
   22164 # Whether the compiler copes with passing no objects directly.
   22165 compiler_needs_object=$lt_compiler_needs_object
   22166 
   22167 # Create an old-style archive from a shared archive.
   22168 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22169 
   22170 # Create a temporary old-style archive to link instead of a shared archive.
   22171 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22172 
   22173 # Commands used to build a shared archive.
   22174 archive_cmds=$lt_archive_cmds
   22175 archive_expsym_cmds=$lt_archive_expsym_cmds
   22176 
   22177 # Commands used to build a loadable module if different from building
   22178 # a shared archive.
   22179 module_cmds=$lt_module_cmds
   22180 module_expsym_cmds=$lt_module_expsym_cmds
   22181 
   22182 # Whether we are building with GNU ld or not.
   22183 with_gnu_ld=$lt_with_gnu_ld
   22184 
   22185 # Flag that allows shared libraries with undefined symbols to be built.
   22186 allow_undefined_flag=$lt_allow_undefined_flag
   22187 
   22188 # Flag that enforces no undefined symbols.
   22189 no_undefined_flag=$lt_no_undefined_flag
   22190 
   22191 # Flag to hardcode \$libdir into a binary during linking.
   22192 # This must work even if \$libdir does not exist
   22193 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22194 
   22195 # Whether we need a single "-rpath" flag with a separated argument.
   22196 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22197 
   22198 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22199 # DIR into the resulting binary.
   22200 hardcode_direct=$hardcode_direct
   22201 
   22202 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22203 # DIR into the resulting binary and the resulting library dependency is
   22204 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22205 # library is relocated.
   22206 hardcode_direct_absolute=$hardcode_direct_absolute
   22207 
   22208 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22209 # into the resulting binary.
   22210 hardcode_minus_L=$hardcode_minus_L
   22211 
   22212 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22213 # into the resulting binary.
   22214 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22215 
   22216 # Set to "yes" if building a shared library automatically hardcodes DIR
   22217 # into the library and all subsequent libraries and executables linked
   22218 # against it.
   22219 hardcode_automatic=$hardcode_automatic
   22220 
   22221 # Set to yes if linker adds runtime paths of dependent libraries
   22222 # to runtime path list.
   22223 inherit_rpath=$inherit_rpath
   22224 
   22225 # Whether libtool must link a program against all its dependency libraries.
   22226 link_all_deplibs=$link_all_deplibs
   22227 
   22228 # Set to "yes" if exported symbols are required.
   22229 always_export_symbols=$always_export_symbols
   22230 
   22231 # The commands to list exported symbols.
   22232 export_symbols_cmds=$lt_export_symbols_cmds
   22233 
   22234 # Symbols that should not be listed in the preloaded symbols.
   22235 exclude_expsyms=$lt_exclude_expsyms
   22236 
   22237 # Symbols that must always be exported.
   22238 include_expsyms=$lt_include_expsyms
   22239 
   22240 # Commands necessary for linking programs (against libraries) with templates.
   22241 prelink_cmds=$lt_prelink_cmds
   22242 
   22243 # Commands necessary for finishing linking programs.
   22244 postlink_cmds=$lt_postlink_cmds
   22245 
   22246 # Specify filename containing input files.
   22247 file_list_spec=$lt_file_list_spec
   22248 
   22249 # How to hardcode a shared library path into an executable.
   22250 hardcode_action=$hardcode_action
   22251 
   22252 # ### END LIBTOOL CONFIG
   22253 
   22254 _LT_EOF
   22255 
   22256     cat <<'_LT_EOF' >> "$cfgfile"
   22257 
   22258 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22259 
   22260 # func_munge_path_list VARIABLE PATH
   22261 # -----------------------------------
   22262 # VARIABLE is name of variable containing _space_ separated list of
   22263 # directories to be munged by the contents of PATH, which is string
   22264 # having a format:
   22265 # "DIR[:DIR]:"
   22266 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22267 # ":DIR[:DIR]"
   22268 #       string "DIR[ DIR]" will be appended to VARIABLE
   22269 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22270 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22271 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22272 # "DIR[:DIR]"
   22273 #       VARIABLE will be replaced by "DIR[ DIR]"
   22274 func_munge_path_list ()
   22275 {
   22276     case x$2 in
   22277     x)
   22278         ;;
   22279     *:)
   22280         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22281         ;;
   22282     x:*)
   22283         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22284         ;;
   22285     *::*)
   22286         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22287         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22288         ;;
   22289     *)
   22290         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22291         ;;
   22292     esac
   22293 }
   22294 
   22295 
   22296 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22297 func_cc_basename ()
   22298 {
   22299     for cc_temp in $*""; do
   22300       case $cc_temp in
   22301         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22302         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22303         \-*) ;;
   22304         *) break;;
   22305       esac
   22306     done
   22307     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22308 }
   22309 
   22310 
   22311 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22312 
   22313 _LT_EOF
   22314 
   22315   case $host_os in
   22316   aix3*)
   22317     cat <<\_LT_EOF >> "$cfgfile"
   22318 # AIX sometimes has problems with the GCC collect2 program.  For some
   22319 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22320 # vanish in a puff of smoke.
   22321 if test set != "${COLLECT_NAMES+set}"; then
   22322   COLLECT_NAMES=
   22323   export COLLECT_NAMES
   22324 fi
   22325 _LT_EOF
   22326     ;;
   22327   esac
   22328 
   22329 
   22330 ltmain=$ac_aux_dir/ltmain.sh
   22331 
   22332 
   22333   # We use sed instead of cat because bash on DJGPP gets confused if
   22334   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22335   # text mode, it properly converts lines to CR/LF.  This bash problem
   22336   # is reportedly fixed, but why not run on old versions too?
   22337   sed '$q' "$ltmain" >> "$cfgfile" \
   22338      || (rm -f "$cfgfile"; exit 1)
   22339 
   22340    mv -f "$cfgfile" "$ofile" ||
   22341     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22342   chmod +x "$ofile"
   22343 
   22344  ;;
   22345 
   22346   esac
   22347 done # for ac_tag
   22348 
   22349 
   22350 as_fn_exit 0
   22351 _ACEOF
   22352 ac_clean_files=$ac_clean_files_save
   22353 
   22354 test $ac_write_fail = 0 ||
   22355   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22356 
   22357 
   22358 # configure is writing to config.log, and then calls config.status.
   22359 # config.status does its own redirection, appending to config.log.
   22360 # Unfortunately, on DOS this fails, as config.log is still kept open
   22361 # by configure, so config.status won't be able to write to it; its
   22362 # output is simply discarded.  So we exec the FD to /dev/null,
   22363 # effectively closing config.log, so it can be properly (re)opened and
   22364 # appended to by config.status.  When coming back to configure, we
   22365 # need to make the FD available again.
   22366 if test "$no_create" != yes; then
   22367   ac_cs_success=:
   22368   ac_config_status_args=
   22369   test "$silent" = yes &&
   22370     ac_config_status_args="$ac_config_status_args --quiet"
   22371   exec 5>/dev/null
   22372   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22373   exec 5>>config.log
   22374   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22375   # would make configure fail if this is the last instruction.
   22376   $ac_cs_success || as_fn_exit 1
   22377 fi
   22378 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22379   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22380 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22381 fi
   22382 
   22383 
   22384 echo ""
   22385 echo "        prefix:              $prefix"
   22386 echo "        exec_prefix:         $exec_prefix"
   22387 echo "        libdir:              $libdir"
   22388 echo "        includedir:          $includedir"
   22389 
   22390 echo ""
   22391 echo "        CFLAGS:              $CFLAGS"
   22392 echo "        CXXFLAGS:            $CXXFLAGS"
   22393 echo "        Macros:              $DEFINES"
   22394 
   22395 echo ""
   22396 echo "        Run '${MAKE-make}' to build xf86-video-amdgpu"
   22397 echo ""
   22398