Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-sis 0.10.9.
      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-sis'
    593 PACKAGE_TARNAME='xf86-video-sis'
    594 PACKAGE_VERSION='0.10.9'
    595 PACKAGE_STRING='xf86-video-sis 0.10.9'
    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 XSERVER_LIBPCIACCESS_FALSE
    643 XSERVER_LIBPCIACCESS_TRUE
    644 PCIACCESS_LIBS
    645 PCIACCESS_CFLAGS
    646 XAA_FALSE
    647 XAA_TRUE
    648 DRI_LIBS
    649 DRI_CFLAGS
    650 DRI_FALSE
    651 DRI_TRUE
    652 HAVE_XEXTPROTO_71_FALSE
    653 HAVE_XEXTPROTO_71_TRUE
    654 XEXT_LIBS
    655 XEXT_CFLAGS
    656 XORG_LIBS
    657 XORG_CFLAGS
    658 LT_SYS_LIBRARY_PATH
    659 OTOOL64
    660 OTOOL
    661 LIPO
    662 NMEDIT
    663 DSYMUTIL
    664 MANIFEST_TOOL
    665 RANLIB
    666 ac_ct_AR
    667 AR
    668 DLLTOOL
    669 OBJDUMP
    670 LN_S
    671 NM
    672 ac_ct_DUMPBIN
    673 DUMPBIN
    674 LD
    675 FGREP
    676 LIBTOOL
    677 MAN_SUBSTS
    678 XORG_MAN_PAGE
    679 ADMIN_MAN_DIR
    680 DRIVER_MAN_DIR
    681 MISC_MAN_DIR
    682 FILE_MAN_DIR
    683 LIB_MAN_DIR
    684 APP_MAN_DIR
    685 ADMIN_MAN_SUFFIX
    686 DRIVER_MAN_SUFFIX
    687 MISC_MAN_SUFFIX
    688 FILE_MAN_SUFFIX
    689 LIB_MAN_SUFFIX
    690 APP_MAN_SUFFIX
    691 SED
    692 host_os
    693 host_vendor
    694 host_cpu
    695 host
    696 build_os
    697 build_vendor
    698 build_cpu
    699 build
    700 INSTALL_CMD
    701 PKG_CONFIG_LIBDIR
    702 PKG_CONFIG_PATH
    703 PKG_CONFIG
    704 CHANGELOG_CMD
    705 STRICT_CFLAGS
    706 CWARNFLAGS
    707 BASE_CFLAGS
    708 EGREP
    709 GREP
    710 CPP
    711 am__fastdepCC_FALSE
    712 am__fastdepCC_TRUE
    713 CCDEPMODE
    714 am__nodep
    715 AMDEPBACKSLASH
    716 AMDEP_FALSE
    717 AMDEP_TRUE
    718 am__quote
    719 am__include
    720 DEPDIR
    721 OBJEXT
    722 EXEEXT
    723 ac_ct_CC
    724 CPPFLAGS
    725 LDFLAGS
    726 CFLAGS
    727 CC
    728 MAINT
    729 MAINTAINER_MODE_FALSE
    730 MAINTAINER_MODE_TRUE
    731 AM_BACKSLASH
    732 AM_DEFAULT_VERBOSITY
    733 AM_DEFAULT_V
    734 AM_V
    735 am__untar
    736 am__tar
    737 AMTAR
    738 am__leading_dot
    739 SET_MAKE
    740 AWK
    741 mkdir_p
    742 MKDIR_P
    743 INSTALL_STRIP_PROGRAM
    744 STRIP
    745 install_sh
    746 MAKEINFO
    747 AUTOHEADER
    748 AUTOMAKE
    749 AUTOCONF
    750 ACLOCAL
    751 VERSION
    752 PACKAGE
    753 CYGPATH_W
    754 am__isrc
    755 INSTALL_DATA
    756 INSTALL_SCRIPT
    757 INSTALL_PROGRAM
    758 target_alias
    759 host_alias
    760 build_alias
    761 LIBS
    762 ECHO_T
    763 ECHO_N
    764 ECHO_C
    765 DEFS
    766 mandir
    767 localedir
    768 libdir
    769 psdir
    770 pdfdir
    771 dvidir
    772 htmldir
    773 infodir
    774 docdir
    775 oldincludedir
    776 includedir
    777 localstatedir
    778 sharedstatedir
    779 sysconfdir
    780 datadir
    781 datarootdir
    782 libexecdir
    783 sbindir
    784 bindir
    785 program_transform_name
    786 prefix
    787 exec_prefix
    788 PACKAGE_URL
    789 PACKAGE_BUGREPORT
    790 PACKAGE_STRING
    791 PACKAGE_VERSION
    792 PACKAGE_TARNAME
    793 PACKAGE_NAME
    794 PATH_SEPARATOR
    795 SHELL'
    796 ac_subst_files=''
    797 ac_user_opts='
    798 enable_option_checking
    799 enable_silent_rules
    800 enable_maintainer_mode
    801 enable_dependency_tracking
    802 enable_selective_werror
    803 enable_strict_compilation
    804 enable_static
    805 enable_shared
    806 with_pic
    807 enable_fast_install
    808 with_aix_soname
    809 with_gnu_ld
    810 with_sysroot
    811 enable_libtool_lock
    812 with_xorg_module_dir
    813 enable_dri
    814 enable_xaa
    815 '
    816       ac_precious_vars='build_alias
    817 host_alias
    818 target_alias
    819 CC
    820 CFLAGS
    821 LDFLAGS
    822 LIBS
    823 CPPFLAGS
    824 CPP
    825 PKG_CONFIG
    826 PKG_CONFIG_PATH
    827 PKG_CONFIG_LIBDIR
    828 LT_SYS_LIBRARY_PATH
    829 XORG_CFLAGS
    830 XORG_LIBS
    831 XEXT_CFLAGS
    832 XEXT_LIBS
    833 DRI_CFLAGS
    834 DRI_LIBS
    835 PCIACCESS_CFLAGS
    836 PCIACCESS_LIBS'
    837 
    838 
    839 # Initialize some variables set by options.
    840 ac_init_help=
    841 ac_init_version=false
    842 ac_unrecognized_opts=
    843 ac_unrecognized_sep=
    844 # The variables have the same names as the options, with
    845 # dashes changed to underlines.
    846 cache_file=/dev/null
    847 exec_prefix=NONE
    848 no_create=
    849 no_recursion=
    850 prefix=NONE
    851 program_prefix=NONE
    852 program_suffix=NONE
    853 program_transform_name=s,x,x,
    854 silent=
    855 site=
    856 srcdir=
    857 verbose=
    858 x_includes=NONE
    859 x_libraries=NONE
    860 
    861 # Installation directory options.
    862 # These are left unexpanded so users can "make install exec_prefix=/foo"
    863 # and all the variables that are supposed to be based on exec_prefix
    864 # by default will actually change.
    865 # Use braces instead of parens because sh, perl, etc. also accept them.
    866 # (The list follows the same order as the GNU Coding Standards.)
    867 bindir='${exec_prefix}/bin'
    868 sbindir='${exec_prefix}/sbin'
    869 libexecdir='${exec_prefix}/libexec'
    870 datarootdir='${prefix}/share'
    871 datadir='${datarootdir}'
    872 sysconfdir='${prefix}/etc'
    873 sharedstatedir='${prefix}/com'
    874 localstatedir='${prefix}/var'
    875 includedir='${prefix}/include'
    876 oldincludedir='/usr/include'
    877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    878 infodir='${datarootdir}/info'
    879 htmldir='${docdir}'
    880 dvidir='${docdir}'
    881 pdfdir='${docdir}'
    882 psdir='${docdir}'
    883 libdir='${exec_prefix}/lib'
    884 localedir='${datarootdir}/locale'
    885 mandir='${datarootdir}/man'
    886 
    887 ac_prev=
    888 ac_dashdash=
    889 for ac_option
    890 do
    891   # If the previous option needs an argument, assign it.
    892   if test -n "$ac_prev"; then
    893     eval $ac_prev=\$ac_option
    894     ac_prev=
    895     continue
    896   fi
    897 
    898   case $ac_option in
    899   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    900   *=)   ac_optarg= ;;
    901   *)    ac_optarg=yes ;;
    902   esac
    903 
    904   # Accept the important Cygnus configure options, so we can diagnose typos.
    905 
    906   case $ac_dashdash$ac_option in
    907   --)
    908     ac_dashdash=yes ;;
    909 
    910   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    911     ac_prev=bindir ;;
    912   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    913     bindir=$ac_optarg ;;
    914 
    915   -build | --build | --buil | --bui | --bu)
    916     ac_prev=build_alias ;;
    917   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    918     build_alias=$ac_optarg ;;
    919 
    920   -cache-file | --cache-file | --cache-fil | --cache-fi \
    921   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    922     ac_prev=cache_file ;;
    923   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    924   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    925     cache_file=$ac_optarg ;;
    926 
    927   --config-cache | -C)
    928     cache_file=config.cache ;;
    929 
    930   -datadir | --datadir | --datadi | --datad)
    931     ac_prev=datadir ;;
    932   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    933     datadir=$ac_optarg ;;
    934 
    935   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    936   | --dataroo | --dataro | --datar)
    937     ac_prev=datarootdir ;;
    938   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    939   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    940     datarootdir=$ac_optarg ;;
    941 
    942   -disable-* | --disable-*)
    943     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    944     # Reject names that are not valid shell variable names.
    945     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    946       as_fn_error $? "invalid feature name: $ac_useropt"
    947     ac_useropt_orig=$ac_useropt
    948     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    949     case $ac_user_opts in
    950       *"
    951 "enable_$ac_useropt"
    952 "*) ;;
    953       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    954 	 ac_unrecognized_sep=', ';;
    955     esac
    956     eval enable_$ac_useropt=no ;;
    957 
    958   -docdir | --docdir | --docdi | --doc | --do)
    959     ac_prev=docdir ;;
    960   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    961     docdir=$ac_optarg ;;
    962 
    963   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    964     ac_prev=dvidir ;;
    965   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    966     dvidir=$ac_optarg ;;
    967 
    968   -enable-* | --enable-*)
    969     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    970     # Reject names that are not valid shell variable names.
    971     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    972       as_fn_error $? "invalid feature name: $ac_useropt"
    973     ac_useropt_orig=$ac_useropt
    974     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    975     case $ac_user_opts in
    976       *"
    977 "enable_$ac_useropt"
    978 "*) ;;
    979       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    980 	 ac_unrecognized_sep=', ';;
    981     esac
    982     eval enable_$ac_useropt=\$ac_optarg ;;
    983 
    984   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    985   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    986   | --exec | --exe | --ex)
    987     ac_prev=exec_prefix ;;
    988   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    989   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    990   | --exec=* | --exe=* | --ex=*)
    991     exec_prefix=$ac_optarg ;;
    992 
    993   -gas | --gas | --ga | --g)
    994     # Obsolete; use --with-gas.
    995     with_gas=yes ;;
    996 
    997   -help | --help | --hel | --he | -h)
    998     ac_init_help=long ;;
    999   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1000     ac_init_help=recursive ;;
   1001   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1002     ac_init_help=short ;;
   1003 
   1004   -host | --host | --hos | --ho)
   1005     ac_prev=host_alias ;;
   1006   -host=* | --host=* | --hos=* | --ho=*)
   1007     host_alias=$ac_optarg ;;
   1008 
   1009   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1010     ac_prev=htmldir ;;
   1011   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1012   | --ht=*)
   1013     htmldir=$ac_optarg ;;
   1014 
   1015   -includedir | --includedir | --includedi | --included | --include \
   1016   | --includ | --inclu | --incl | --inc)
   1017     ac_prev=includedir ;;
   1018   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1019   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1020     includedir=$ac_optarg ;;
   1021 
   1022   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1023     ac_prev=infodir ;;
   1024   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1025     infodir=$ac_optarg ;;
   1026 
   1027   -libdir | --libdir | --libdi | --libd)
   1028     ac_prev=libdir ;;
   1029   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1030     libdir=$ac_optarg ;;
   1031 
   1032   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1033   | --libexe | --libex | --libe)
   1034     ac_prev=libexecdir ;;
   1035   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1036   | --libexe=* | --libex=* | --libe=*)
   1037     libexecdir=$ac_optarg ;;
   1038 
   1039   -localedir | --localedir | --localedi | --localed | --locale)
   1040     ac_prev=localedir ;;
   1041   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1042     localedir=$ac_optarg ;;
   1043 
   1044   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1045   | --localstate | --localstat | --localsta | --localst | --locals)
   1046     ac_prev=localstatedir ;;
   1047   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1048   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1049     localstatedir=$ac_optarg ;;
   1050 
   1051   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1052     ac_prev=mandir ;;
   1053   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1054     mandir=$ac_optarg ;;
   1055 
   1056   -nfp | --nfp | --nf)
   1057     # Obsolete; use --without-fp.
   1058     with_fp=no ;;
   1059 
   1060   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1061   | --no-cr | --no-c | -n)
   1062     no_create=yes ;;
   1063 
   1064   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1065   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1066     no_recursion=yes ;;
   1067 
   1068   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1069   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1070   | --oldin | --oldi | --old | --ol | --o)
   1071     ac_prev=oldincludedir ;;
   1072   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1073   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1074   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1075     oldincludedir=$ac_optarg ;;
   1076 
   1077   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1078     ac_prev=prefix ;;
   1079   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1080     prefix=$ac_optarg ;;
   1081 
   1082   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1083   | --program-pre | --program-pr | --program-p)
   1084     ac_prev=program_prefix ;;
   1085   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1086   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1087     program_prefix=$ac_optarg ;;
   1088 
   1089   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1090   | --program-suf | --program-su | --program-s)
   1091     ac_prev=program_suffix ;;
   1092   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1093   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1094     program_suffix=$ac_optarg ;;
   1095 
   1096   -program-transform-name | --program-transform-name \
   1097   | --program-transform-nam | --program-transform-na \
   1098   | --program-transform-n | --program-transform- \
   1099   | --program-transform | --program-transfor \
   1100   | --program-transfo | --program-transf \
   1101   | --program-trans | --program-tran \
   1102   | --progr-tra | --program-tr | --program-t)
   1103     ac_prev=program_transform_name ;;
   1104   -program-transform-name=* | --program-transform-name=* \
   1105   | --program-transform-nam=* | --program-transform-na=* \
   1106   | --program-transform-n=* | --program-transform-=* \
   1107   | --program-transform=* | --program-transfor=* \
   1108   | --program-transfo=* | --program-transf=* \
   1109   | --program-trans=* | --program-tran=* \
   1110   | --progr-tra=* | --program-tr=* | --program-t=*)
   1111     program_transform_name=$ac_optarg ;;
   1112 
   1113   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1114     ac_prev=pdfdir ;;
   1115   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1116     pdfdir=$ac_optarg ;;
   1117 
   1118   -psdir | --psdir | --psdi | --psd | --ps)
   1119     ac_prev=psdir ;;
   1120   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1121     psdir=$ac_optarg ;;
   1122 
   1123   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1124   | -silent | --silent | --silen | --sile | --sil)
   1125     silent=yes ;;
   1126 
   1127   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1128     ac_prev=sbindir ;;
   1129   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1130   | --sbi=* | --sb=*)
   1131     sbindir=$ac_optarg ;;
   1132 
   1133   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1134   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1135   | --sharedst | --shareds | --shared | --share | --shar \
   1136   | --sha | --sh)
   1137     ac_prev=sharedstatedir ;;
   1138   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1139   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1140   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1141   | --sha=* | --sh=*)
   1142     sharedstatedir=$ac_optarg ;;
   1143 
   1144   -site | --site | --sit)
   1145     ac_prev=site ;;
   1146   -site=* | --site=* | --sit=*)
   1147     site=$ac_optarg ;;
   1148 
   1149   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1150     ac_prev=srcdir ;;
   1151   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1152     srcdir=$ac_optarg ;;
   1153 
   1154   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1155   | --syscon | --sysco | --sysc | --sys | --sy)
   1156     ac_prev=sysconfdir ;;
   1157   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1158   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1159     sysconfdir=$ac_optarg ;;
   1160 
   1161   -target | --target | --targe | --targ | --tar | --ta | --t)
   1162     ac_prev=target_alias ;;
   1163   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1164     target_alias=$ac_optarg ;;
   1165 
   1166   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1167     verbose=yes ;;
   1168 
   1169   -version | --version | --versio | --versi | --vers | -V)
   1170     ac_init_version=: ;;
   1171 
   1172   -with-* | --with-*)
   1173     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1174     # Reject names that are not valid shell variable names.
   1175     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1176       as_fn_error $? "invalid package name: $ac_useropt"
   1177     ac_useropt_orig=$ac_useropt
   1178     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1179     case $ac_user_opts in
   1180       *"
   1181 "with_$ac_useropt"
   1182 "*) ;;
   1183       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1184 	 ac_unrecognized_sep=', ';;
   1185     esac
   1186     eval with_$ac_useropt=\$ac_optarg ;;
   1187 
   1188   -without-* | --without-*)
   1189     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1190     # Reject names that are not valid shell variable names.
   1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1192       as_fn_error $? "invalid package name: $ac_useropt"
   1193     ac_useropt_orig=$ac_useropt
   1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1195     case $ac_user_opts in
   1196       *"
   1197 "with_$ac_useropt"
   1198 "*) ;;
   1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1200 	 ac_unrecognized_sep=', ';;
   1201     esac
   1202     eval with_$ac_useropt=no ;;
   1203 
   1204   --x)
   1205     # Obsolete; use --with-x.
   1206     with_x=yes ;;
   1207 
   1208   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1209   | --x-incl | --x-inc | --x-in | --x-i)
   1210     ac_prev=x_includes ;;
   1211   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1212   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1213     x_includes=$ac_optarg ;;
   1214 
   1215   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1216   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1217     ac_prev=x_libraries ;;
   1218   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1219   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1220     x_libraries=$ac_optarg ;;
   1221 
   1222   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1223 Try \`$0 --help' for more information"
   1224     ;;
   1225 
   1226   *=*)
   1227     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1228     # Reject names that are not valid shell variable names.
   1229     case $ac_envvar in #(
   1230       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1231       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1232     esac
   1233     eval $ac_envvar=\$ac_optarg
   1234     export $ac_envvar ;;
   1235 
   1236   *)
   1237     # FIXME: should be removed in autoconf 3.0.
   1238     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1239     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1240       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1241     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1242     ;;
   1243 
   1244   esac
   1245 done
   1246 
   1247 if test -n "$ac_prev"; then
   1248   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1249   as_fn_error $? "missing argument to $ac_option"
   1250 fi
   1251 
   1252 if test -n "$ac_unrecognized_opts"; then
   1253   case $enable_option_checking in
   1254     no) ;;
   1255     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1256     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1257   esac
   1258 fi
   1259 
   1260 # Check all directory arguments for consistency.
   1261 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1262 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1263 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1264 		libdir localedir mandir
   1265 do
   1266   eval ac_val=\$$ac_var
   1267   # Remove trailing slashes.
   1268   case $ac_val in
   1269     */ )
   1270       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1271       eval $ac_var=\$ac_val;;
   1272   esac
   1273   # Be sure to have absolute directory names.
   1274   case $ac_val in
   1275     [\\/$]* | ?:[\\/]* )  continue;;
   1276     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1277   esac
   1278   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1279 done
   1280 
   1281 # There might be people who depend on the old broken behavior: `$host'
   1282 # used to hold the argument of --host etc.
   1283 # FIXME: To remove some day.
   1284 build=$build_alias
   1285 host=$host_alias
   1286 target=$target_alias
   1287 
   1288 # FIXME: To remove some day.
   1289 if test "x$host_alias" != x; then
   1290   if test "x$build_alias" = x; then
   1291     cross_compiling=maybe
   1292   elif test "x$build_alias" != "x$host_alias"; then
   1293     cross_compiling=yes
   1294   fi
   1295 fi
   1296 
   1297 ac_tool_prefix=
   1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1299 
   1300 test "$silent" = yes && exec 6>/dev/null
   1301 
   1302 
   1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1304 ac_ls_di=`ls -di .` &&
   1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1306   as_fn_error $? "working directory cannot be determined"
   1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1308   as_fn_error $? "pwd does not report name of working directory"
   1309 
   1310 
   1311 # Find the source files, if location was not specified.
   1312 if test -z "$srcdir"; then
   1313   ac_srcdir_defaulted=yes
   1314   # Try the directory containing this script, then the parent directory.
   1315   ac_confdir=`$as_dirname -- "$as_myself" ||
   1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1317 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1318 	 X"$as_myself" : 'X\(//\)$' \| \
   1319 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1320 $as_echo X"$as_myself" |
   1321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1322 	    s//\1/
   1323 	    q
   1324 	  }
   1325 	  /^X\(\/\/\)[^/].*/{
   1326 	    s//\1/
   1327 	    q
   1328 	  }
   1329 	  /^X\(\/\/\)$/{
   1330 	    s//\1/
   1331 	    q
   1332 	  }
   1333 	  /^X\(\/\).*/{
   1334 	    s//\1/
   1335 	    q
   1336 	  }
   1337 	  s/.*/./; q'`
   1338   srcdir=$ac_confdir
   1339   if test ! -r "$srcdir/$ac_unique_file"; then
   1340     srcdir=..
   1341   fi
   1342 else
   1343   ac_srcdir_defaulted=no
   1344 fi
   1345 if test ! -r "$srcdir/$ac_unique_file"; then
   1346   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1347   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1348 fi
   1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1350 ac_abs_confdir=`(
   1351 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1352 	pwd)`
   1353 # When building in place, set srcdir=.
   1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1355   srcdir=.
   1356 fi
   1357 # Remove unnecessary trailing slashes from srcdir.
   1358 # Double slashes in file names in object file debugging info
   1359 # mess up M-x gdb in Emacs.
   1360 case $srcdir in
   1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1362 esac
   1363 for ac_var in $ac_precious_vars; do
   1364   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1365   eval ac_env_${ac_var}_value=\$${ac_var}
   1366   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1367   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1368 done
   1369 
   1370 #
   1371 # Report the --help message.
   1372 #
   1373 if test "$ac_init_help" = "long"; then
   1374   # Omit some internal or obsolete options to make the list less imposing.
   1375   # This message is too long to be a string in the A/UX 3.1 sh.
   1376   cat <<_ACEOF
   1377 \`configure' configures xf86-video-sis 0.10.9 to adapt to many kinds of systems.
   1378 
   1379 Usage: $0 [OPTION]... [VAR=VALUE]...
   1380 
   1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1382 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1383 
   1384 Defaults for the options are specified in brackets.
   1385 
   1386 Configuration:
   1387   -h, --help              display this help and exit
   1388       --help=short        display options specific to this package
   1389       --help=recursive    display the short help of all the included packages
   1390   -V, --version           display version information and exit
   1391   -q, --quiet, --silent   do not print \`checking ...' messages
   1392       --cache-file=FILE   cache test results in FILE [disabled]
   1393   -C, --config-cache      alias for \`--cache-file=config.cache'
   1394   -n, --no-create         do not create output files
   1395       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1396 
   1397 Installation directories:
   1398   --prefix=PREFIX         install architecture-independent files in PREFIX
   1399                           [$ac_default_prefix]
   1400   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1401                           [PREFIX]
   1402 
   1403 By default, \`make install' will install all the files in
   1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1406 for instance \`--prefix=\$HOME'.
   1407 
   1408 For better control, use the options below.
   1409 
   1410 Fine tuning of the installation directories:
   1411   --bindir=DIR            user executables [EPREFIX/bin]
   1412   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1413   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1414   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1415   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1416   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1417   --libdir=DIR            object code libraries [EPREFIX/lib]
   1418   --includedir=DIR        C header files [PREFIX/include]
   1419   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1420   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1421   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1422   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1423   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1424   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1425   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-sis]
   1426   --htmldir=DIR           html documentation [DOCDIR]
   1427   --dvidir=DIR            dvi documentation [DOCDIR]
   1428   --pdfdir=DIR            pdf documentation [DOCDIR]
   1429   --psdir=DIR             ps documentation [DOCDIR]
   1430 _ACEOF
   1431 
   1432   cat <<\_ACEOF
   1433 
   1434 Program names:
   1435   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1436   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1437   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1438 
   1439 System types:
   1440   --build=BUILD     configure for building on BUILD [guessed]
   1441   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1442 _ACEOF
   1443 fi
   1444 
   1445 if test -n "$ac_init_help"; then
   1446   case $ac_init_help in
   1447      short | recursive ) echo "Configuration of xf86-video-sis 0.10.9:";;
   1448    esac
   1449   cat <<\_ACEOF
   1450 
   1451 Optional Features:
   1452   --disable-option-checking  ignore unrecognized --enable/--with options
   1453   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1454   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1455   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1456   --disable-silent-rules  verbose build output (undo: "make V=0")
   1457   --enable-maintainer-mode
   1458                           enable make rules and dependencies not useful (and
   1459                           sometimes confusing) to the casual installer
   1460   --enable-dependency-tracking
   1461                           do not reject slow dependency extractors
   1462   --disable-dependency-tracking
   1463                           speeds up one-time build
   1464   --disable-selective-werror
   1465                           Turn off selective compiler errors. (default:
   1466                           enabled)
   1467   --enable-strict-compilation
   1468                           Enable all warnings from compiler and make them
   1469                           errors (default: disabled)
   1470   --enable-static[=PKGS]  build static libraries [default=no]
   1471   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1472   --enable-fast-install[=PKGS]
   1473                           optimize for fast installation [default=yes]
   1474   --disable-libtool-lock  avoid locking (might break parallel builds)
   1475   --disable-dri           Disable DRI support [[default=auto]]
   1476   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1477                           [default=auto]
   1478 
   1479 Optional Packages:
   1480   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1481   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1482   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1483                           both]
   1484   --with-aix-soname=aix|svr4|both
   1485                           shared library versioning (aka "SONAME") variant to
   1486                           provide on AIX, [default=aix].
   1487   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1488   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1489                           compiler's sysroot if not specified).
   1490   --with-xorg-module-dir=DIR
   1491                           Default xorg module directory
   1492                           [[default=$libdir/xorg/modules]]
   1493 
   1494 Some influential environment variables:
   1495   CC          C compiler command
   1496   CFLAGS      C compiler flags
   1497   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1498               nonstandard directory <lib dir>
   1499   LIBS        libraries to pass to the linker, e.g. -l<library>
   1500   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1501               you have headers in a nonstandard directory <include dir>
   1502   CPP         C preprocessor
   1503   PKG_CONFIG  path to pkg-config utility
   1504   PKG_CONFIG_PATH
   1505               directories to add to pkg-config's search path
   1506   PKG_CONFIG_LIBDIR
   1507               path overriding pkg-config's built-in search path
   1508   LT_SYS_LIBRARY_PATH
   1509               User-defined run-time library search path.
   1510   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1511   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1512   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1513   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1514   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1515   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1516   PCIACCESS_CFLAGS
   1517               C compiler flags for PCIACCESS, overriding pkg-config
   1518   PCIACCESS_LIBS
   1519               linker flags for PCIACCESS, overriding pkg-config
   1520 
   1521 Use these variables to override the choices made by `configure' or to help
   1522 it to find libraries and programs with nonstandard names/locations.
   1523 
   1524 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1525 _ACEOF
   1526 ac_status=$?
   1527 fi
   1528 
   1529 if test "$ac_init_help" = "recursive"; then
   1530   # If there are subdirs, report their specific --help.
   1531   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1532     test -d "$ac_dir" ||
   1533       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1534       continue
   1535     ac_builddir=.
   1536 
   1537 case "$ac_dir" in
   1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1539 *)
   1540   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1541   # A ".." for each directory in $ac_dir_suffix.
   1542   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1543   case $ac_top_builddir_sub in
   1544   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1545   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1546   esac ;;
   1547 esac
   1548 ac_abs_top_builddir=$ac_pwd
   1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1550 # for backward compatibility:
   1551 ac_top_builddir=$ac_top_build_prefix
   1552 
   1553 case $srcdir in
   1554   .)  # We are building in place.
   1555     ac_srcdir=.
   1556     ac_top_srcdir=$ac_top_builddir_sub
   1557     ac_abs_top_srcdir=$ac_pwd ;;
   1558   [\\/]* | ?:[\\/]* )  # Absolute name.
   1559     ac_srcdir=$srcdir$ac_dir_suffix;
   1560     ac_top_srcdir=$srcdir
   1561     ac_abs_top_srcdir=$srcdir ;;
   1562   *) # Relative name.
   1563     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1564     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1565     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1566 esac
   1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1568 
   1569     cd "$ac_dir" || { ac_status=$?; continue; }
   1570     # Check for guested configure.
   1571     if test -f "$ac_srcdir/configure.gnu"; then
   1572       echo &&
   1573       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1574     elif test -f "$ac_srcdir/configure"; then
   1575       echo &&
   1576       $SHELL "$ac_srcdir/configure" --help=recursive
   1577     else
   1578       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1579     fi || ac_status=$?
   1580     cd "$ac_pwd" || { ac_status=$?; break; }
   1581   done
   1582 fi
   1583 
   1584 test -n "$ac_init_help" && exit $ac_status
   1585 if $ac_init_version; then
   1586   cat <<\_ACEOF
   1587 xf86-video-sis configure 0.10.9
   1588 generated by GNU Autoconf 2.69
   1589 
   1590 Copyright (C) 2012 Free Software Foundation, Inc.
   1591 This configure script is free software; the Free Software Foundation
   1592 gives unlimited permission to copy, distribute and modify it.
   1593 _ACEOF
   1594   exit
   1595 fi
   1596 
   1597 ## ------------------------ ##
   1598 ## Autoconf initialization. ##
   1599 ## ------------------------ ##
   1600 
   1601 # ac_fn_c_try_compile LINENO
   1602 # --------------------------
   1603 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1604 ac_fn_c_try_compile ()
   1605 {
   1606   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1607   rm -f conftest.$ac_objext
   1608   if { { ac_try="$ac_compile"
   1609 case "(($ac_try" in
   1610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1611   *) ac_try_echo=$ac_try;;
   1612 esac
   1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1614 $as_echo "$ac_try_echo"; } >&5
   1615   (eval "$ac_compile") 2>conftest.err
   1616   ac_status=$?
   1617   if test -s conftest.err; then
   1618     grep -v '^ *+' conftest.err >conftest.er1
   1619     cat conftest.er1 >&5
   1620     mv -f conftest.er1 conftest.err
   1621   fi
   1622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1623   test $ac_status = 0; } && {
   1624 	 test -z "$ac_c_werror_flag" ||
   1625 	 test ! -s conftest.err
   1626        } && test -s conftest.$ac_objext; then :
   1627   ac_retval=0
   1628 else
   1629   $as_echo "$as_me: failed program was:" >&5
   1630 sed 's/^/| /' conftest.$ac_ext >&5
   1631 
   1632 	ac_retval=1
   1633 fi
   1634   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1635   as_fn_set_status $ac_retval
   1636 
   1637 } # ac_fn_c_try_compile
   1638 
   1639 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1640 # ---------------------------------------------
   1641 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1642 # accordingly.
   1643 ac_fn_c_check_decl ()
   1644 {
   1645   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1646   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1647   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1649 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1650 if eval \${$3+:} false; then :
   1651   $as_echo_n "(cached) " >&6
   1652 else
   1653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1654 /* end confdefs.h.  */
   1655 $4
   1656 int
   1657 main ()
   1658 {
   1659 #ifndef $as_decl_name
   1660 #ifdef __cplusplus
   1661   (void) $as_decl_use;
   1662 #else
   1663   (void) $as_decl_name;
   1664 #endif
   1665 #endif
   1666 
   1667   ;
   1668   return 0;
   1669 }
   1670 _ACEOF
   1671 if ac_fn_c_try_compile "$LINENO"; then :
   1672   eval "$3=yes"
   1673 else
   1674   eval "$3=no"
   1675 fi
   1676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1677 fi
   1678 eval ac_res=\$$3
   1679 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1680 $as_echo "$ac_res" >&6; }
   1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1682 
   1683 } # ac_fn_c_check_decl
   1684 
   1685 # ac_fn_c_try_cpp LINENO
   1686 # ----------------------
   1687 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1688 ac_fn_c_try_cpp ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1692 case "(($ac_try" in
   1693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1694   *) ac_try_echo=$ac_try;;
   1695 esac
   1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1697 $as_echo "$ac_try_echo"; } >&5
   1698   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1699   ac_status=$?
   1700   if test -s conftest.err; then
   1701     grep -v '^ *+' conftest.err >conftest.er1
   1702     cat conftest.er1 >&5
   1703     mv -f conftest.er1 conftest.err
   1704   fi
   1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1706   test $ac_status = 0; } > conftest.i && {
   1707 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1708 	 test ! -s conftest.err
   1709        }; then :
   1710   ac_retval=0
   1711 else
   1712   $as_echo "$as_me: failed program was:" >&5
   1713 sed 's/^/| /' conftest.$ac_ext >&5
   1714 
   1715     ac_retval=1
   1716 fi
   1717   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1718   as_fn_set_status $ac_retval
   1719 
   1720 } # ac_fn_c_try_cpp
   1721 
   1722 # ac_fn_c_try_run LINENO
   1723 # ----------------------
   1724 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1725 # that executables *can* be run.
   1726 ac_fn_c_try_run ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   if { { ac_try="$ac_link"
   1730 case "(($ac_try" in
   1731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1732   *) ac_try_echo=$ac_try;;
   1733 esac
   1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1735 $as_echo "$ac_try_echo"; } >&5
   1736   (eval "$ac_link") 2>&5
   1737   ac_status=$?
   1738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1739   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1740   { { case "(($ac_try" in
   1741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1742   *) ac_try_echo=$ac_try;;
   1743 esac
   1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1745 $as_echo "$ac_try_echo"; } >&5
   1746   (eval "$ac_try") 2>&5
   1747   ac_status=$?
   1748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1749   test $ac_status = 0; }; }; then :
   1750   ac_retval=0
   1751 else
   1752   $as_echo "$as_me: program exited with status $ac_status" >&5
   1753        $as_echo "$as_me: failed program was:" >&5
   1754 sed 's/^/| /' conftest.$ac_ext >&5
   1755 
   1756        ac_retval=$ac_status
   1757 fi
   1758   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1759   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1760   as_fn_set_status $ac_retval
   1761 
   1762 } # ac_fn_c_try_run
   1763 
   1764 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1765 # -------------------------------------------------------
   1766 # Tests whether HEADER exists and can be compiled using the include files in
   1767 # INCLUDES, setting the cache variable VAR accordingly.
   1768 ac_fn_c_check_header_compile ()
   1769 {
   1770   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1772 $as_echo_n "checking for $2... " >&6; }
   1773 if eval \${$3+:} false; then :
   1774   $as_echo_n "(cached) " >&6
   1775 else
   1776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1777 /* end confdefs.h.  */
   1778 $4
   1779 #include <$2>
   1780 _ACEOF
   1781 if ac_fn_c_try_compile "$LINENO"; then :
   1782   eval "$3=yes"
   1783 else
   1784   eval "$3=no"
   1785 fi
   1786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1787 fi
   1788 eval ac_res=\$$3
   1789 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1790 $as_echo "$ac_res" >&6; }
   1791   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1792 
   1793 } # ac_fn_c_check_header_compile
   1794 
   1795 # ac_fn_c_try_link LINENO
   1796 # -----------------------
   1797 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1798 ac_fn_c_try_link ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   rm -f conftest.$ac_objext conftest$ac_exeext
   1802   if { { ac_try="$ac_link"
   1803 case "(($ac_try" in
   1804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1805   *) ac_try_echo=$ac_try;;
   1806 esac
   1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1808 $as_echo "$ac_try_echo"; } >&5
   1809   (eval "$ac_link") 2>conftest.err
   1810   ac_status=$?
   1811   if test -s conftest.err; then
   1812     grep -v '^ *+' conftest.err >conftest.er1
   1813     cat conftest.er1 >&5
   1814     mv -f conftest.er1 conftest.err
   1815   fi
   1816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1817   test $ac_status = 0; } && {
   1818 	 test -z "$ac_c_werror_flag" ||
   1819 	 test ! -s conftest.err
   1820        } && test -s conftest$ac_exeext && {
   1821 	 test "$cross_compiling" = yes ||
   1822 	 test -x conftest$ac_exeext
   1823        }; then :
   1824   ac_retval=0
   1825 else
   1826   $as_echo "$as_me: failed program was:" >&5
   1827 sed 's/^/| /' conftest.$ac_ext >&5
   1828 
   1829 	ac_retval=1
   1830 fi
   1831   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1832   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1833   # interfere with the next link command; also delete a directory that is
   1834   # left behind by Apple's compiler.  We do this before executing the actions.
   1835   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1836   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1837   as_fn_set_status $ac_retval
   1838 
   1839 } # ac_fn_c_try_link
   1840 
   1841 # ac_fn_c_check_func LINENO FUNC VAR
   1842 # ----------------------------------
   1843 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1844 ac_fn_c_check_func ()
   1845 {
   1846   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1848 $as_echo_n "checking for $2... " >&6; }
   1849 if eval \${$3+:} false; then :
   1850   $as_echo_n "(cached) " >&6
   1851 else
   1852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1853 /* end confdefs.h.  */
   1854 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1856 #define $2 innocuous_$2
   1857 
   1858 /* System header to define __stub macros and hopefully few prototypes,
   1859     which can conflict with char $2 (); below.
   1860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1861     <limits.h> exists even on freestanding compilers.  */
   1862 
   1863 #ifdef __STDC__
   1864 # include <limits.h>
   1865 #else
   1866 # include <assert.h>
   1867 #endif
   1868 
   1869 #undef $2
   1870 
   1871 /* Override any GCC internal prototype to avoid an error.
   1872    Use char because int might match the return type of a GCC
   1873    builtin and then its argument prototype would still apply.  */
   1874 #ifdef __cplusplus
   1875 extern "C"
   1876 #endif
   1877 char $2 ();
   1878 /* The GNU C library defines this for functions which it implements
   1879     to always fail with ENOSYS.  Some functions are actually named
   1880     something starting with __ and the normal name is an alias.  */
   1881 #if defined __stub_$2 || defined __stub___$2
   1882 choke me
   1883 #endif
   1884 
   1885 int
   1886 main ()
   1887 {
   1888 return $2 ();
   1889   ;
   1890   return 0;
   1891 }
   1892 _ACEOF
   1893 if ac_fn_c_try_link "$LINENO"; then :
   1894   eval "$3=yes"
   1895 else
   1896   eval "$3=no"
   1897 fi
   1898 rm -f core conftest.err conftest.$ac_objext \
   1899     conftest$ac_exeext conftest.$ac_ext
   1900 fi
   1901 eval ac_res=\$$3
   1902 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1903 $as_echo "$ac_res" >&6; }
   1904   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1905 
   1906 } # ac_fn_c_check_func
   1907 
   1908 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1909 # -------------------------------------------------------
   1910 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1911 # the include files in INCLUDES and setting the cache variable VAR
   1912 # accordingly.
   1913 ac_fn_c_check_header_mongrel ()
   1914 {
   1915   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1916   if eval \${$3+:} false; then :
   1917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1918 $as_echo_n "checking for $2... " >&6; }
   1919 if eval \${$3+:} false; then :
   1920   $as_echo_n "(cached) " >&6
   1921 fi
   1922 eval ac_res=\$$3
   1923 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1924 $as_echo "$ac_res" >&6; }
   1925 else
   1926   # Is the header compilable?
   1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1928 $as_echo_n "checking $2 usability... " >&6; }
   1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1930 /* end confdefs.h.  */
   1931 $4
   1932 #include <$2>
   1933 _ACEOF
   1934 if ac_fn_c_try_compile "$LINENO"; then :
   1935   ac_header_compiler=yes
   1936 else
   1937   ac_header_compiler=no
   1938 fi
   1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1941 $as_echo "$ac_header_compiler" >&6; }
   1942 
   1943 # Is the header present?
   1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1945 $as_echo_n "checking $2 presence... " >&6; }
   1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1947 /* end confdefs.h.  */
   1948 #include <$2>
   1949 _ACEOF
   1950 if ac_fn_c_try_cpp "$LINENO"; then :
   1951   ac_header_preproc=yes
   1952 else
   1953   ac_header_preproc=no
   1954 fi
   1955 rm -f conftest.err conftest.i conftest.$ac_ext
   1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1957 $as_echo "$ac_header_preproc" >&6; }
   1958 
   1959 # So?  What about this header?
   1960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1961   yes:no: )
   1962     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1963 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1964     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1965 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1966     ;;
   1967   no:yes:* )
   1968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1969 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1971 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1972     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1973 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1974     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1975 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1976     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1977 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1978 ( $as_echo "## ---------------------------------------------------------------------- ##
   1979 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1980 ## ---------------------------------------------------------------------- ##"
   1981      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1982     ;;
   1983 esac
   1984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1985 $as_echo_n "checking for $2... " >&6; }
   1986 if eval \${$3+:} false; then :
   1987   $as_echo_n "(cached) " >&6
   1988 else
   1989   eval "$3=\$ac_header_compiler"
   1990 fi
   1991 eval ac_res=\$$3
   1992 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1993 $as_echo "$ac_res" >&6; }
   1994 fi
   1995   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1996 
   1997 } # ac_fn_c_check_header_mongrel
   1998 cat >config.log <<_ACEOF
   1999 This file contains any messages produced by compilers while
   2000 running configure, to aid debugging if configure makes a mistake.
   2001 
   2002 It was created by xf86-video-sis $as_me 0.10.9, which was
   2003 generated by GNU Autoconf 2.69.  Invocation command line was
   2004 
   2005   $ $0 $@
   2006 
   2007 _ACEOF
   2008 exec 5>>config.log
   2009 {
   2010 cat <<_ASUNAME
   2011 ## --------- ##
   2012 ## Platform. ##
   2013 ## --------- ##
   2014 
   2015 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2016 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2017 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2018 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2019 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2020 
   2021 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2022 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2023 
   2024 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2025 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2026 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2027 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2028 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2029 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2030 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2031 
   2032 _ASUNAME
   2033 
   2034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2035 for as_dir in $PATH
   2036 do
   2037   IFS=$as_save_IFS
   2038   test -z "$as_dir" && as_dir=.
   2039     $as_echo "PATH: $as_dir"
   2040   done
   2041 IFS=$as_save_IFS
   2042 
   2043 } >&5
   2044 
   2045 cat >&5 <<_ACEOF
   2046 
   2047 
   2048 ## ----------- ##
   2049 ## Core tests. ##
   2050 ## ----------- ##
   2051 
   2052 _ACEOF
   2053 
   2054 
   2055 # Keep a trace of the command line.
   2056 # Strip out --no-create and --no-recursion so they do not pile up.
   2057 # Strip out --silent because we don't want to record it for future runs.
   2058 # Also quote any args containing shell meta-characters.
   2059 # Make two passes to allow for proper duplicate-argument suppression.
   2060 ac_configure_args=
   2061 ac_configure_args0=
   2062 ac_configure_args1=
   2063 ac_must_keep_next=false
   2064 for ac_pass in 1 2
   2065 do
   2066   for ac_arg
   2067   do
   2068     case $ac_arg in
   2069     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2070     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2071     | -silent | --silent | --silen | --sile | --sil)
   2072       continue ;;
   2073     *\'*)
   2074       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2075     esac
   2076     case $ac_pass in
   2077     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2078     2)
   2079       as_fn_append ac_configure_args1 " '$ac_arg'"
   2080       if test $ac_must_keep_next = true; then
   2081 	ac_must_keep_next=false # Got value, back to normal.
   2082       else
   2083 	case $ac_arg in
   2084 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2085 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2086 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2087 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2088 	    case "$ac_configure_args0 " in
   2089 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2090 	    esac
   2091 	    ;;
   2092 	  -* ) ac_must_keep_next=true ;;
   2093 	esac
   2094       fi
   2095       as_fn_append ac_configure_args " '$ac_arg'"
   2096       ;;
   2097     esac
   2098   done
   2099 done
   2100 { ac_configure_args0=; unset ac_configure_args0;}
   2101 { ac_configure_args1=; unset ac_configure_args1;}
   2102 
   2103 # When interrupted or exit'd, cleanup temporary files, and complete
   2104 # config.log.  We remove comments because anyway the quotes in there
   2105 # would cause problems or look ugly.
   2106 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2107 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2108 trap 'exit_status=$?
   2109   # Save into config.log some information that might help in debugging.
   2110   {
   2111     echo
   2112 
   2113     $as_echo "## ---------------- ##
   2114 ## Cache variables. ##
   2115 ## ---------------- ##"
   2116     echo
   2117     # The following way of writing the cache mishandles newlines in values,
   2118 (
   2119   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2120     eval ac_val=\$$ac_var
   2121     case $ac_val in #(
   2122     *${as_nl}*)
   2123       case $ac_var in #(
   2124       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2125 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2126       esac
   2127       case $ac_var in #(
   2128       _ | IFS | as_nl) ;; #(
   2129       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2130       *) { eval $ac_var=; unset $ac_var;} ;;
   2131       esac ;;
   2132     esac
   2133   done
   2134   (set) 2>&1 |
   2135     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2136     *${as_nl}ac_space=\ *)
   2137       sed -n \
   2138 	"s/'\''/'\''\\\\'\'''\''/g;
   2139 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2140       ;; #(
   2141     *)
   2142       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2143       ;;
   2144     esac |
   2145     sort
   2146 )
   2147     echo
   2148 
   2149     $as_echo "## ----------------- ##
   2150 ## Output variables. ##
   2151 ## ----------------- ##"
   2152     echo
   2153     for ac_var in $ac_subst_vars
   2154     do
   2155       eval ac_val=\$$ac_var
   2156       case $ac_val in
   2157       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2158       esac
   2159       $as_echo "$ac_var='\''$ac_val'\''"
   2160     done | sort
   2161     echo
   2162 
   2163     if test -n "$ac_subst_files"; then
   2164       $as_echo "## ------------------- ##
   2165 ## File substitutions. ##
   2166 ## ------------------- ##"
   2167       echo
   2168       for ac_var in $ac_subst_files
   2169       do
   2170 	eval ac_val=\$$ac_var
   2171 	case $ac_val in
   2172 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2173 	esac
   2174 	$as_echo "$ac_var='\''$ac_val'\''"
   2175       done | sort
   2176       echo
   2177     fi
   2178 
   2179     if test -s confdefs.h; then
   2180       $as_echo "## ----------- ##
   2181 ## confdefs.h. ##
   2182 ## ----------- ##"
   2183       echo
   2184       cat confdefs.h
   2185       echo
   2186     fi
   2187     test "$ac_signal" != 0 &&
   2188       $as_echo "$as_me: caught signal $ac_signal"
   2189     $as_echo "$as_me: exit $exit_status"
   2190   } >&5
   2191   rm -f core *.core core.conftest.* &&
   2192     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2193     exit $exit_status
   2194 ' 0
   2195 for ac_signal in 1 2 13 15; do
   2196   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2197 done
   2198 ac_signal=0
   2199 
   2200 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2201 rm -f -r conftest* confdefs.h
   2202 
   2203 $as_echo "/* confdefs.h */" > confdefs.h
   2204 
   2205 # Predefined preprocessor variables.
   2206 
   2207 cat >>confdefs.h <<_ACEOF
   2208 #define PACKAGE_NAME "$PACKAGE_NAME"
   2209 _ACEOF
   2210 
   2211 cat >>confdefs.h <<_ACEOF
   2212 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2213 _ACEOF
   2214 
   2215 cat >>confdefs.h <<_ACEOF
   2216 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2217 _ACEOF
   2218 
   2219 cat >>confdefs.h <<_ACEOF
   2220 #define PACKAGE_STRING "$PACKAGE_STRING"
   2221 _ACEOF
   2222 
   2223 cat >>confdefs.h <<_ACEOF
   2224 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2225 _ACEOF
   2226 
   2227 cat >>confdefs.h <<_ACEOF
   2228 #define PACKAGE_URL "$PACKAGE_URL"
   2229 _ACEOF
   2230 
   2231 
   2232 # Let the site file select an alternate cache file if it wants to.
   2233 # Prefer an explicitly selected file to automatically selected ones.
   2234 ac_site_file1=NONE
   2235 ac_site_file2=NONE
   2236 if test -n "$CONFIG_SITE"; then
   2237   # We do not want a PATH search for config.site.
   2238   case $CONFIG_SITE in #((
   2239     -*)  ac_site_file1=./$CONFIG_SITE;;
   2240     */*) ac_site_file1=$CONFIG_SITE;;
   2241     *)   ac_site_file1=./$CONFIG_SITE;;
   2242   esac
   2243 elif test "x$prefix" != xNONE; then
   2244   ac_site_file1=$prefix/share/config.site
   2245   ac_site_file2=$prefix/etc/config.site
   2246 else
   2247   ac_site_file1=$ac_default_prefix/share/config.site
   2248   ac_site_file2=$ac_default_prefix/etc/config.site
   2249 fi
   2250 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2251 do
   2252   test "x$ac_site_file" = xNONE && continue
   2253   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2254     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2255 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2256     sed 's/^/| /' "$ac_site_file" >&5
   2257     . "$ac_site_file" \
   2258       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2260 as_fn_error $? "failed to load site script $ac_site_file
   2261 See \`config.log' for more details" "$LINENO" 5; }
   2262   fi
   2263 done
   2264 
   2265 if test -r "$cache_file"; then
   2266   # Some versions of bash will fail to source /dev/null (special files
   2267   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2268   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2269     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2270 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2271     case $cache_file in
   2272       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2273       *)                      . "./$cache_file";;
   2274     esac
   2275   fi
   2276 else
   2277   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2278 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2279   >$cache_file
   2280 fi
   2281 
   2282 # Check that the precious variables saved in the cache have kept the same
   2283 # value.
   2284 ac_cache_corrupted=false
   2285 for ac_var in $ac_precious_vars; do
   2286   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2287   eval ac_new_set=\$ac_env_${ac_var}_set
   2288   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2289   eval ac_new_val=\$ac_env_${ac_var}_value
   2290   case $ac_old_set,$ac_new_set in
   2291     set,)
   2292       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2293 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2294       ac_cache_corrupted=: ;;
   2295     ,set)
   2296       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2297 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2298       ac_cache_corrupted=: ;;
   2299     ,);;
   2300     *)
   2301       if test "x$ac_old_val" != "x$ac_new_val"; then
   2302 	# differences in whitespace do not lead to failure.
   2303 	ac_old_val_w=`echo x $ac_old_val`
   2304 	ac_new_val_w=`echo x $ac_new_val`
   2305 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2306 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2307 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2308 	  ac_cache_corrupted=:
   2309 	else
   2310 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2311 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2312 	  eval $ac_var=\$ac_old_val
   2313 	fi
   2314 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2315 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2316 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2317 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2318       fi;;
   2319   esac
   2320   # Pass precious variables to config.status.
   2321   if test "$ac_new_set" = set; then
   2322     case $ac_new_val in
   2323     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2324     *) ac_arg=$ac_var=$ac_new_val ;;
   2325     esac
   2326     case " $ac_configure_args " in
   2327       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2328       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2329     esac
   2330   fi
   2331 done
   2332 if $ac_cache_corrupted; then
   2333   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2335   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2336 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2337   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2338 fi
   2339 ## -------------------- ##
   2340 ## Main body of script. ##
   2341 ## -------------------- ##
   2342 
   2343 ac_ext=c
   2344 ac_cpp='$CPP $CPPFLAGS'
   2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2348 
   2349 
   2350 
   2351 ac_config_headers="$ac_config_headers config.h"
   2352 
   2353 ac_aux_dir=
   2354 for ac_dir in . "$srcdir"/.; do
   2355   if test -f "$ac_dir/install-sh"; then
   2356     ac_aux_dir=$ac_dir
   2357     ac_install_sh="$ac_aux_dir/install-sh -c"
   2358     break
   2359   elif test -f "$ac_dir/install.sh"; then
   2360     ac_aux_dir=$ac_dir
   2361     ac_install_sh="$ac_aux_dir/install.sh -c"
   2362     break
   2363   elif test -f "$ac_dir/shtool"; then
   2364     ac_aux_dir=$ac_dir
   2365     ac_install_sh="$ac_aux_dir/shtool install -c"
   2366     break
   2367   fi
   2368 done
   2369 if test -z "$ac_aux_dir"; then
   2370   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2371 fi
   2372 
   2373 # These three variables are undocumented and unsupported,
   2374 # and are intended to be withdrawn in a future Autoconf release.
   2375 # They can cause serious problems if a builder's source tree is in a directory
   2376 # whose full name contains unusual characters.
   2377 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2378 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2379 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2380 
   2381 
   2382 
   2383 # Initialize Automake
   2384 am__api_version='1.15'
   2385 
   2386 # Find a good install program.  We prefer a C program (faster),
   2387 # so one script is as good as another.  But avoid the broken or
   2388 # incompatible versions:
   2389 # SysV /etc/install, /usr/sbin/install
   2390 # SunOS /usr/etc/install
   2391 # IRIX /sbin/install
   2392 # AIX /bin/install
   2393 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2397 # OS/2's system install, which has a completely different semantic
   2398 # ./install, which can be erroneously created by make from ./install.sh.
   2399 # Reject install programs that cannot install multiple files.
   2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2401 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2402 if test -z "$INSTALL"; then
   2403 if ${ac_cv_path_install+:} false; then :
   2404   $as_echo_n "(cached) " >&6
   2405 else
   2406   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2407 for as_dir in $PATH
   2408 do
   2409   IFS=$as_save_IFS
   2410   test -z "$as_dir" && as_dir=.
   2411     # Account for people who put trailing slashes in PATH elements.
   2412 case $as_dir/ in #((
   2413   ./ | .// | /[cC]/* | \
   2414   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2415   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2416   /usr/ucb/* ) ;;
   2417   *)
   2418     # OSF1 and SCO ODT 3.0 have their own names for install.
   2419     # Don't use installbsd from OSF since it installs stuff as root
   2420     # by default.
   2421     for ac_prog in ginstall scoinst install; do
   2422       for ac_exec_ext in '' $ac_executable_extensions; do
   2423 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2424 	  if test $ac_prog = install &&
   2425 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2426 	    # AIX install.  It has an incompatible calling convention.
   2427 	    :
   2428 	  elif test $ac_prog = install &&
   2429 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2430 	    # program-specific install script used by HP pwplus--don't use.
   2431 	    :
   2432 	  else
   2433 	    rm -rf conftest.one conftest.two conftest.dir
   2434 	    echo one > conftest.one
   2435 	    echo two > conftest.two
   2436 	    mkdir conftest.dir
   2437 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2438 	      test -s conftest.one && test -s conftest.two &&
   2439 	      test -s conftest.dir/conftest.one &&
   2440 	      test -s conftest.dir/conftest.two
   2441 	    then
   2442 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2443 	      break 3
   2444 	    fi
   2445 	  fi
   2446 	fi
   2447       done
   2448     done
   2449     ;;
   2450 esac
   2451 
   2452   done
   2453 IFS=$as_save_IFS
   2454 
   2455 rm -rf conftest.one conftest.two conftest.dir
   2456 
   2457 fi
   2458   if test "${ac_cv_path_install+set}" = set; then
   2459     INSTALL=$ac_cv_path_install
   2460   else
   2461     # As a last resort, use the slow shell script.  Don't cache a
   2462     # value for INSTALL within a source directory, because that will
   2463     # break other packages using the cache if that directory is
   2464     # removed, or if the value is a relative name.
   2465     INSTALL=$ac_install_sh
   2466   fi
   2467 fi
   2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2469 $as_echo "$INSTALL" >&6; }
   2470 
   2471 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2472 # It thinks the first close brace ends the variable substitution.
   2473 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2474 
   2475 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2476 
   2477 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2478 
   2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2480 $as_echo_n "checking whether build environment is sane... " >&6; }
   2481 # Reject unsafe characters in $srcdir or the absolute working directory
   2482 # name.  Accept space and tab only in the latter.
   2483 am_lf='
   2484 '
   2485 case `pwd` in
   2486   *[\\\"\#\$\&\'\`$am_lf]*)
   2487     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2488 esac
   2489 case $srcdir in
   2490   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2491     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2492 esac
   2493 
   2494 # Do 'set' in a subshell so we don't clobber the current shell's
   2495 # arguments.  Must try -L first in case configure is actually a
   2496 # symlink; some systems play weird games with the mod time of symlinks
   2497 # (eg FreeBSD returns the mod time of the symlink's containing
   2498 # directory).
   2499 if (
   2500    am_has_slept=no
   2501    for am_try in 1 2; do
   2502      echo "timestamp, slept: $am_has_slept" > conftest.file
   2503      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2504      if test "$*" = "X"; then
   2505 	# -L didn't work.
   2506 	set X `ls -t "$srcdir/configure" conftest.file`
   2507      fi
   2508      if test "$*" != "X $srcdir/configure conftest.file" \
   2509 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2510 
   2511 	# If neither matched, then we have a broken ls.  This can happen
   2512 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2513 	# broken ls alias from the environment.  This has actually
   2514 	# happened.  Such a system could not be considered "sane".
   2515 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2516   alias in your environment" "$LINENO" 5
   2517      fi
   2518      if test "$2" = conftest.file || test $am_try -eq 2; then
   2519        break
   2520      fi
   2521      # Just in case.
   2522      sleep 1
   2523      am_has_slept=yes
   2524    done
   2525    test "$2" = conftest.file
   2526    )
   2527 then
   2528    # Ok.
   2529    :
   2530 else
   2531    as_fn_error $? "newly created file is older than distributed files!
   2532 Check your system clock" "$LINENO" 5
   2533 fi
   2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2535 $as_echo "yes" >&6; }
   2536 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2537 # generated files are strictly newer.
   2538 am_sleep_pid=
   2539 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2540   ( sleep 1 ) &
   2541   am_sleep_pid=$!
   2542 fi
   2543 
   2544 rm -f conftest.file
   2545 
   2546 test "$program_prefix" != NONE &&
   2547   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2548 # Use a double $ so make ignores it.
   2549 test "$program_suffix" != NONE &&
   2550   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2551 # Double any \ or $.
   2552 # By default was `s,x,x', remove it if useless.
   2553 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2554 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2555 
   2556 # Expand $ac_aux_dir to an absolute path.
   2557 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2558 
   2559 if test x"${MISSING+set}" != xset; then
   2560   case $am_aux_dir in
   2561   *\ * | *\	*)
   2562     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2563   *)
   2564     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2565   esac
   2566 fi
   2567 # Use eval to expand $SHELL
   2568 if eval "$MISSING --is-lightweight"; then
   2569   am_missing_run="$MISSING "
   2570 else
   2571   am_missing_run=
   2572   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2573 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2574 fi
   2575 
   2576 if test x"${install_sh+set}" != xset; then
   2577   case $am_aux_dir in
   2578   *\ * | *\	*)
   2579     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2580   *)
   2581     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2582   esac
   2583 fi
   2584 
   2585 # Installed binaries are usually stripped using 'strip' when the user
   2586 # run "make install-strip".  However 'strip' might not be the right
   2587 # tool to use in cross-compilation environments, therefore Automake
   2588 # will honor the 'STRIP' environment variable to overrule this program.
   2589 if test "$cross_compiling" != no; then
   2590   if test -n "$ac_tool_prefix"; then
   2591   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2592 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2594 $as_echo_n "checking for $ac_word... " >&6; }
   2595 if ${ac_cv_prog_STRIP+:} false; then :
   2596   $as_echo_n "(cached) " >&6
   2597 else
   2598   if test -n "$STRIP"; then
   2599   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2600 else
   2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2602 for as_dir in $PATH
   2603 do
   2604   IFS=$as_save_IFS
   2605   test -z "$as_dir" && as_dir=.
   2606     for ac_exec_ext in '' $ac_executable_extensions; do
   2607   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2608     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2610     break 2
   2611   fi
   2612 done
   2613   done
   2614 IFS=$as_save_IFS
   2615 
   2616 fi
   2617 fi
   2618 STRIP=$ac_cv_prog_STRIP
   2619 if test -n "$STRIP"; then
   2620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2621 $as_echo "$STRIP" >&6; }
   2622 else
   2623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2624 $as_echo "no" >&6; }
   2625 fi
   2626 
   2627 
   2628 fi
   2629 if test -z "$ac_cv_prog_STRIP"; then
   2630   ac_ct_STRIP=$STRIP
   2631   # Extract the first word of "strip", so it can be a program name with args.
   2632 set dummy strip; ac_word=$2
   2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2634 $as_echo_n "checking for $ac_word... " >&6; }
   2635 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2636   $as_echo_n "(cached) " >&6
   2637 else
   2638   if test -n "$ac_ct_STRIP"; then
   2639   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2640 else
   2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2642 for as_dir in $PATH
   2643 do
   2644   IFS=$as_save_IFS
   2645   test -z "$as_dir" && as_dir=.
   2646     for ac_exec_ext in '' $ac_executable_extensions; do
   2647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2648     ac_cv_prog_ac_ct_STRIP="strip"
   2649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2650     break 2
   2651   fi
   2652 done
   2653   done
   2654 IFS=$as_save_IFS
   2655 
   2656 fi
   2657 fi
   2658 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2659 if test -n "$ac_ct_STRIP"; then
   2660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2661 $as_echo "$ac_ct_STRIP" >&6; }
   2662 else
   2663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2664 $as_echo "no" >&6; }
   2665 fi
   2666 
   2667   if test "x$ac_ct_STRIP" = x; then
   2668     STRIP=":"
   2669   else
   2670     case $cross_compiling:$ac_tool_warned in
   2671 yes:)
   2672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2674 ac_tool_warned=yes ;;
   2675 esac
   2676     STRIP=$ac_ct_STRIP
   2677   fi
   2678 else
   2679   STRIP="$ac_cv_prog_STRIP"
   2680 fi
   2681 
   2682 fi
   2683 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2684 
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2686 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2687 if test -z "$MKDIR_P"; then
   2688   if ${ac_cv_path_mkdir+:} false; then :
   2689   $as_echo_n "(cached) " >&6
   2690 else
   2691   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2692 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2693 do
   2694   IFS=$as_save_IFS
   2695   test -z "$as_dir" && as_dir=.
   2696     for ac_prog in mkdir gmkdir; do
   2697 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2698 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2699 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2700 	     'mkdir (GNU coreutils) '* | \
   2701 	     'mkdir (coreutils) '* | \
   2702 	     'mkdir (fileutils) '4.1*)
   2703 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2704 	       break 3;;
   2705 	   esac
   2706 	 done
   2707        done
   2708   done
   2709 IFS=$as_save_IFS
   2710 
   2711 fi
   2712 
   2713   test -d ./--version && rmdir ./--version
   2714   if test "${ac_cv_path_mkdir+set}" = set; then
   2715     MKDIR_P="$ac_cv_path_mkdir -p"
   2716   else
   2717     # As a last resort, use the slow shell script.  Don't cache a
   2718     # value for MKDIR_P within a source directory, because that will
   2719     # break other packages using the cache if that directory is
   2720     # removed, or if the value is a relative name.
   2721     MKDIR_P="$ac_install_sh -d"
   2722   fi
   2723 fi
   2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2725 $as_echo "$MKDIR_P" >&6; }
   2726 
   2727 for ac_prog in gawk mawk nawk awk
   2728 do
   2729   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2730 set dummy $ac_prog; ac_word=$2
   2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2732 $as_echo_n "checking for $ac_word... " >&6; }
   2733 if ${ac_cv_prog_AWK+:} false; then :
   2734   $as_echo_n "(cached) " >&6
   2735 else
   2736   if test -n "$AWK"; then
   2737   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2738 else
   2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2740 for as_dir in $PATH
   2741 do
   2742   IFS=$as_save_IFS
   2743   test -z "$as_dir" && as_dir=.
   2744     for ac_exec_ext in '' $ac_executable_extensions; do
   2745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2746     ac_cv_prog_AWK="$ac_prog"
   2747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2748     break 2
   2749   fi
   2750 done
   2751   done
   2752 IFS=$as_save_IFS
   2753 
   2754 fi
   2755 fi
   2756 AWK=$ac_cv_prog_AWK
   2757 if test -n "$AWK"; then
   2758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2759 $as_echo "$AWK" >&6; }
   2760 else
   2761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2762 $as_echo "no" >&6; }
   2763 fi
   2764 
   2765 
   2766   test -n "$AWK" && break
   2767 done
   2768 
   2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2770 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2771 set x ${MAKE-make}
   2772 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2773 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2774   $as_echo_n "(cached) " >&6
   2775 else
   2776   cat >conftest.make <<\_ACEOF
   2777 SHELL = /bin/sh
   2778 all:
   2779 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2780 _ACEOF
   2781 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2782 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2783   *@@@%%%=?*=@@@%%%*)
   2784     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2785   *)
   2786     eval ac_cv_prog_make_${ac_make}_set=no;;
   2787 esac
   2788 rm -f conftest.make
   2789 fi
   2790 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2792 $as_echo "yes" >&6; }
   2793   SET_MAKE=
   2794 else
   2795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2796 $as_echo "no" >&6; }
   2797   SET_MAKE="MAKE=${MAKE-make}"
   2798 fi
   2799 
   2800 rm -rf .tst 2>/dev/null
   2801 mkdir .tst 2>/dev/null
   2802 if test -d .tst; then
   2803   am__leading_dot=.
   2804 else
   2805   am__leading_dot=_
   2806 fi
   2807 rmdir .tst 2>/dev/null
   2808 
   2809 # Check whether --enable-silent-rules was given.
   2810 if test "${enable_silent_rules+set}" = set; then :
   2811   enableval=$enable_silent_rules;
   2812 fi
   2813 
   2814 case $enable_silent_rules in # (((
   2815   yes) AM_DEFAULT_VERBOSITY=0;;
   2816    no) AM_DEFAULT_VERBOSITY=1;;
   2817     *) AM_DEFAULT_VERBOSITY=1;;
   2818 esac
   2819 am_make=${MAKE-make}
   2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2821 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2822 if ${am_cv_make_support_nested_variables+:} false; then :
   2823   $as_echo_n "(cached) " >&6
   2824 else
   2825   if $as_echo 'TRUE=$(BAR$(V))
   2826 BAR0=false
   2827 BAR1=true
   2828 V=1
   2829 am__doit:
   2830 	@$(TRUE)
   2831 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2832   am_cv_make_support_nested_variables=yes
   2833 else
   2834   am_cv_make_support_nested_variables=no
   2835 fi
   2836 fi
   2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2838 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2839 if test $am_cv_make_support_nested_variables = yes; then
   2840     AM_V='$(V)'
   2841   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2842 else
   2843   AM_V=$AM_DEFAULT_VERBOSITY
   2844   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2845 fi
   2846 AM_BACKSLASH='\'
   2847 
   2848 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2849   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2850   # is not polluted with repeated "-I."
   2851   am__isrc=' -I$(srcdir)'
   2852   # test to see if srcdir already configured
   2853   if test -f $srcdir/config.status; then
   2854     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2855   fi
   2856 fi
   2857 
   2858 # test whether we have cygpath
   2859 if test -z "$CYGPATH_W"; then
   2860   if (cygpath --version) >/dev/null 2>/dev/null; then
   2861     CYGPATH_W='cygpath -w'
   2862   else
   2863     CYGPATH_W=echo
   2864   fi
   2865 fi
   2866 
   2867 
   2868 # Define the identity of the package.
   2869  PACKAGE='xf86-video-sis'
   2870  VERSION='0.10.9'
   2871 
   2872 
   2873 cat >>confdefs.h <<_ACEOF
   2874 #define PACKAGE "$PACKAGE"
   2875 _ACEOF
   2876 
   2877 
   2878 cat >>confdefs.h <<_ACEOF
   2879 #define VERSION "$VERSION"
   2880 _ACEOF
   2881 
   2882 # Some tools Automake needs.
   2883 
   2884 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2885 
   2886 
   2887 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2888 
   2889 
   2890 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2891 
   2892 
   2893 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2894 
   2895 
   2896 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2897 
   2898 # For better backward compatibility.  To be removed once Automake 1.9.x
   2899 # dies out for good.  For more background, see:
   2900 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2901 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2902 mkdir_p='$(MKDIR_P)'
   2903 
   2904 # We need awk for the "check" target (and possibly the TAP driver).  The
   2905 # system "awk" is bad on some platforms.
   2906 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2907 # in the wild :-(  We should find a proper way to deprecate it ...
   2908 AMTAR='$${TAR-tar}'
   2909 
   2910 
   2911 # We'll loop over all known methods to create a tar archive until one works.
   2912 _am_tools='gnutar  pax cpio none'
   2913 
   2914 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2915 
   2916 
   2917 
   2918 
   2919 
   2920 
   2921 # POSIX will say in a future version that running "rm -f" with no argument
   2922 # is OK; and we want to be able to make that assumption in our Makefile
   2923 # recipes.  So use an aggressive probe to check that the usage we want is
   2924 # actually supported "in the wild" to an acceptable degree.
   2925 # See automake bug#10828.
   2926 # To make any issue more visible, cause the running configure to be aborted
   2927 # by default if the 'rm' program in use doesn't match our expectations; the
   2928 # user can still override this though.
   2929 if rm -f && rm -fr && rm -rf; then : OK; else
   2930   cat >&2 <<'END'
   2931 Oops!
   2932 
   2933 Your 'rm' program seems unable to run without file operands specified
   2934 on the command line, even when the '-f' option is present.  This is contrary
   2935 to the behaviour of most rm programs out there, and not conforming with
   2936 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2937 
   2938 Please tell bug-automake@gnu.org about your system, including the value
   2939 of your $PATH and any error possibly output before this message.  This
   2940 can help us improve future automake versions.
   2941 
   2942 END
   2943   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2944     echo 'Configuration will proceed anyway, since you have set the' >&2
   2945     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2946     echo >&2
   2947   else
   2948     cat >&2 <<'END'
   2949 Aborting the configuration process, to ensure you take notice of the issue.
   2950 
   2951 You can download and install GNU coreutils to get an 'rm' implementation
   2952 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2953 
   2954 If you want to complete the configuration process using your problematic
   2955 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2956 to "yes", and re-run configure.
   2957 
   2958 END
   2959     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2960   fi
   2961 fi
   2962 
   2963 
   2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2965 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2966     # Check whether --enable-maintainer-mode was given.
   2967 if test "${enable_maintainer_mode+set}" = set; then :
   2968   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2969 else
   2970   USE_MAINTAINER_MODE=no
   2971 fi
   2972 
   2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2974 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2975    if test $USE_MAINTAINER_MODE = yes; then
   2976   MAINTAINER_MODE_TRUE=
   2977   MAINTAINER_MODE_FALSE='#'
   2978 else
   2979   MAINTAINER_MODE_TRUE='#'
   2980   MAINTAINER_MODE_FALSE=
   2981 fi
   2982 
   2983   MAINT=$MAINTAINER_MODE_TRUE
   2984 
   2985 
   2986 
   2987 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2988 
   2989 
   2990 
   2991 
   2992 
   2993 
   2994 
   2995 
   2996 
   2997 
   2998 
   2999 DEPDIR="${am__leading_dot}deps"
   3000 
   3001 ac_config_commands="$ac_config_commands depfiles"
   3002 
   3003 
   3004 am_make=${MAKE-make}
   3005 cat > confinc << 'END'
   3006 am__doit:
   3007 	@echo this is the am__doit target
   3008 .PHONY: am__doit
   3009 END
   3010 # If we don't find an include directive, just comment out the code.
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3012 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3013 am__include="#"
   3014 am__quote=
   3015 _am_result=none
   3016 # First try GNU make style include.
   3017 echo "include confinc" > confmf
   3018 # Ignore all kinds of additional output from 'make'.
   3019 case `$am_make -s -f confmf 2> /dev/null` in #(
   3020 *the\ am__doit\ target*)
   3021   am__include=include
   3022   am__quote=
   3023   _am_result=GNU
   3024   ;;
   3025 esac
   3026 # Now try BSD make style include.
   3027 if test "$am__include" = "#"; then
   3028    echo '.include "confinc"' > confmf
   3029    case `$am_make -s -f confmf 2> /dev/null` in #(
   3030    *the\ am__doit\ target*)
   3031      am__include=.include
   3032      am__quote="\""
   3033      _am_result=BSD
   3034      ;;
   3035    esac
   3036 fi
   3037 
   3038 
   3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3040 $as_echo "$_am_result" >&6; }
   3041 rm -f confinc confmf
   3042 
   3043 # Check whether --enable-dependency-tracking was given.
   3044 if test "${enable_dependency_tracking+set}" = set; then :
   3045   enableval=$enable_dependency_tracking;
   3046 fi
   3047 
   3048 if test "x$enable_dependency_tracking" != xno; then
   3049   am_depcomp="$ac_aux_dir/depcomp"
   3050   AMDEPBACKSLASH='\'
   3051   am__nodep='_no'
   3052 fi
   3053  if test "x$enable_dependency_tracking" != xno; then
   3054   AMDEP_TRUE=
   3055   AMDEP_FALSE='#'
   3056 else
   3057   AMDEP_TRUE='#'
   3058   AMDEP_FALSE=
   3059 fi
   3060 
   3061 
   3062 ac_ext=c
   3063 ac_cpp='$CPP $CPPFLAGS'
   3064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3067 if test -n "$ac_tool_prefix"; then
   3068   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3069 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3071 $as_echo_n "checking for $ac_word... " >&6; }
   3072 if ${ac_cv_prog_CC+:} false; then :
   3073   $as_echo_n "(cached) " >&6
   3074 else
   3075   if test -n "$CC"; then
   3076   ac_cv_prog_CC="$CC" # Let the user override the test.
   3077 else
   3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3079 for as_dir in $PATH
   3080 do
   3081   IFS=$as_save_IFS
   3082   test -z "$as_dir" && as_dir=.
   3083     for ac_exec_ext in '' $ac_executable_extensions; do
   3084   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3085     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3087     break 2
   3088   fi
   3089 done
   3090   done
   3091 IFS=$as_save_IFS
   3092 
   3093 fi
   3094 fi
   3095 CC=$ac_cv_prog_CC
   3096 if test -n "$CC"; then
   3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3098 $as_echo "$CC" >&6; }
   3099 else
   3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3101 $as_echo "no" >&6; }
   3102 fi
   3103 
   3104 
   3105 fi
   3106 if test -z "$ac_cv_prog_CC"; then
   3107   ac_ct_CC=$CC
   3108   # Extract the first word of "gcc", so it can be a program name with args.
   3109 set dummy gcc; ac_word=$2
   3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3111 $as_echo_n "checking for $ac_word... " >&6; }
   3112 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3113   $as_echo_n "(cached) " >&6
   3114 else
   3115   if test -n "$ac_ct_CC"; then
   3116   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3117 else
   3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3119 for as_dir in $PATH
   3120 do
   3121   IFS=$as_save_IFS
   3122   test -z "$as_dir" && as_dir=.
   3123     for ac_exec_ext in '' $ac_executable_extensions; do
   3124   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3125     ac_cv_prog_ac_ct_CC="gcc"
   3126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3127     break 2
   3128   fi
   3129 done
   3130   done
   3131 IFS=$as_save_IFS
   3132 
   3133 fi
   3134 fi
   3135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3136 if test -n "$ac_ct_CC"; then
   3137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3138 $as_echo "$ac_ct_CC" >&6; }
   3139 else
   3140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3141 $as_echo "no" >&6; }
   3142 fi
   3143 
   3144   if test "x$ac_ct_CC" = x; then
   3145     CC=""
   3146   else
   3147     case $cross_compiling:$ac_tool_warned in
   3148 yes:)
   3149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3151 ac_tool_warned=yes ;;
   3152 esac
   3153     CC=$ac_ct_CC
   3154   fi
   3155 else
   3156   CC="$ac_cv_prog_CC"
   3157 fi
   3158 
   3159 if test -z "$CC"; then
   3160           if test -n "$ac_tool_prefix"; then
   3161     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3162 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3164 $as_echo_n "checking for $ac_word... " >&6; }
   3165 if ${ac_cv_prog_CC+:} false; then :
   3166   $as_echo_n "(cached) " >&6
   3167 else
   3168   if test -n "$CC"; then
   3169   ac_cv_prog_CC="$CC" # Let the user override the test.
   3170 else
   3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3172 for as_dir in $PATH
   3173 do
   3174   IFS=$as_save_IFS
   3175   test -z "$as_dir" && as_dir=.
   3176     for ac_exec_ext in '' $ac_executable_extensions; do
   3177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3178     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3180     break 2
   3181   fi
   3182 done
   3183   done
   3184 IFS=$as_save_IFS
   3185 
   3186 fi
   3187 fi
   3188 CC=$ac_cv_prog_CC
   3189 if test -n "$CC"; then
   3190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3191 $as_echo "$CC" >&6; }
   3192 else
   3193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3194 $as_echo "no" >&6; }
   3195 fi
   3196 
   3197 
   3198   fi
   3199 fi
   3200 if test -z "$CC"; then
   3201   # Extract the first word of "cc", so it can be a program name with args.
   3202 set dummy cc; ac_word=$2
   3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3204 $as_echo_n "checking for $ac_word... " >&6; }
   3205 if ${ac_cv_prog_CC+:} false; then :
   3206   $as_echo_n "(cached) " >&6
   3207 else
   3208   if test -n "$CC"; then
   3209   ac_cv_prog_CC="$CC" # Let the user override the test.
   3210 else
   3211   ac_prog_rejected=no
   3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3213 for as_dir in $PATH
   3214 do
   3215   IFS=$as_save_IFS
   3216   test -z "$as_dir" && as_dir=.
   3217     for ac_exec_ext in '' $ac_executable_extensions; do
   3218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3219     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3220        ac_prog_rejected=yes
   3221        continue
   3222      fi
   3223     ac_cv_prog_CC="cc"
   3224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3225     break 2
   3226   fi
   3227 done
   3228   done
   3229 IFS=$as_save_IFS
   3230 
   3231 if test $ac_prog_rejected = yes; then
   3232   # We found a bogon in the path, so make sure we never use it.
   3233   set dummy $ac_cv_prog_CC
   3234   shift
   3235   if test $# != 0; then
   3236     # We chose a different compiler from the bogus one.
   3237     # However, it has the same basename, so the bogon will be chosen
   3238     # first if we set CC to just the basename; use the full file name.
   3239     shift
   3240     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3241   fi
   3242 fi
   3243 fi
   3244 fi
   3245 CC=$ac_cv_prog_CC
   3246 if test -n "$CC"; then
   3247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3248 $as_echo "$CC" >&6; }
   3249 else
   3250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3251 $as_echo "no" >&6; }
   3252 fi
   3253 
   3254 
   3255 fi
   3256 if test -z "$CC"; then
   3257   if test -n "$ac_tool_prefix"; then
   3258   for ac_prog in cl.exe
   3259   do
   3260     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3263 $as_echo_n "checking for $ac_word... " >&6; }
   3264 if ${ac_cv_prog_CC+:} false; then :
   3265   $as_echo_n "(cached) " >&6
   3266 else
   3267   if test -n "$CC"; then
   3268   ac_cv_prog_CC="$CC" # Let the user override the test.
   3269 else
   3270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3271 for as_dir in $PATH
   3272 do
   3273   IFS=$as_save_IFS
   3274   test -z "$as_dir" && as_dir=.
   3275     for ac_exec_ext in '' $ac_executable_extensions; do
   3276   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3277     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3279     break 2
   3280   fi
   3281 done
   3282   done
   3283 IFS=$as_save_IFS
   3284 
   3285 fi
   3286 fi
   3287 CC=$ac_cv_prog_CC
   3288 if test -n "$CC"; then
   3289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3290 $as_echo "$CC" >&6; }
   3291 else
   3292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3293 $as_echo "no" >&6; }
   3294 fi
   3295 
   3296 
   3297     test -n "$CC" && break
   3298   done
   3299 fi
   3300 if test -z "$CC"; then
   3301   ac_ct_CC=$CC
   3302   for ac_prog in cl.exe
   3303 do
   3304   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3305 set dummy $ac_prog; ac_word=$2
   3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3307 $as_echo_n "checking for $ac_word... " >&6; }
   3308 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3309   $as_echo_n "(cached) " >&6
   3310 else
   3311   if test -n "$ac_ct_CC"; then
   3312   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3313 else
   3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3315 for as_dir in $PATH
   3316 do
   3317   IFS=$as_save_IFS
   3318   test -z "$as_dir" && as_dir=.
   3319     for ac_exec_ext in '' $ac_executable_extensions; do
   3320   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3321     ac_cv_prog_ac_ct_CC="$ac_prog"
   3322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3323     break 2
   3324   fi
   3325 done
   3326   done
   3327 IFS=$as_save_IFS
   3328 
   3329 fi
   3330 fi
   3331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3332 if test -n "$ac_ct_CC"; then
   3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3334 $as_echo "$ac_ct_CC" >&6; }
   3335 else
   3336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3337 $as_echo "no" >&6; }
   3338 fi
   3339 
   3340 
   3341   test -n "$ac_ct_CC" && break
   3342 done
   3343 
   3344   if test "x$ac_ct_CC" = x; then
   3345     CC=""
   3346   else
   3347     case $cross_compiling:$ac_tool_warned in
   3348 yes:)
   3349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3351 ac_tool_warned=yes ;;
   3352 esac
   3353     CC=$ac_ct_CC
   3354   fi
   3355 fi
   3356 
   3357 fi
   3358 
   3359 
   3360 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3362 as_fn_error $? "no acceptable C compiler found in \$PATH
   3363 See \`config.log' for more details" "$LINENO" 5; }
   3364 
   3365 # Provide some information about the compiler.
   3366 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3367 set X $ac_compile
   3368 ac_compiler=$2
   3369 for ac_option in --version -v -V -qversion; do
   3370   { { ac_try="$ac_compiler $ac_option >&5"
   3371 case "(($ac_try" in
   3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3373   *) ac_try_echo=$ac_try;;
   3374 esac
   3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3376 $as_echo "$ac_try_echo"; } >&5
   3377   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3378   ac_status=$?
   3379   if test -s conftest.err; then
   3380     sed '10a\
   3381 ... rest of stderr output deleted ...
   3382          10q' conftest.err >conftest.er1
   3383     cat conftest.er1 >&5
   3384   fi
   3385   rm -f conftest.er1 conftest.err
   3386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3387   test $ac_status = 0; }
   3388 done
   3389 
   3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3391 /* end confdefs.h.  */
   3392 
   3393 int
   3394 main ()
   3395 {
   3396 
   3397   ;
   3398   return 0;
   3399 }
   3400 _ACEOF
   3401 ac_clean_files_save=$ac_clean_files
   3402 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3403 # Try to create an executable without -o first, disregard a.out.
   3404 # It will help us diagnose broken compilers, and finding out an intuition
   3405 # of exeext.
   3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3407 $as_echo_n "checking whether the C compiler works... " >&6; }
   3408 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3409 
   3410 # The possible output files:
   3411 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3412 
   3413 ac_rmfiles=
   3414 for ac_file in $ac_files
   3415 do
   3416   case $ac_file in
   3417     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3418     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3419   esac
   3420 done
   3421 rm -f $ac_rmfiles
   3422 
   3423 if { { ac_try="$ac_link_default"
   3424 case "(($ac_try" in
   3425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3426   *) ac_try_echo=$ac_try;;
   3427 esac
   3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3429 $as_echo "$ac_try_echo"; } >&5
   3430   (eval "$ac_link_default") 2>&5
   3431   ac_status=$?
   3432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3433   test $ac_status = 0; }; then :
   3434   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3435 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3436 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3437 # so that the user can short-circuit this test for compilers unknown to
   3438 # Autoconf.
   3439 for ac_file in $ac_files ''
   3440 do
   3441   test -f "$ac_file" || continue
   3442   case $ac_file in
   3443     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3444 	;;
   3445     [ab].out )
   3446 	# We found the default executable, but exeext='' is most
   3447 	# certainly right.
   3448 	break;;
   3449     *.* )
   3450 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3451 	then :; else
   3452 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3453 	fi
   3454 	# We set ac_cv_exeext here because the later test for it is not
   3455 	# safe: cross compilers may not add the suffix if given an `-o'
   3456 	# argument, so we may need to know it at that point already.
   3457 	# Even if this section looks crufty: it has the advantage of
   3458 	# actually working.
   3459 	break;;
   3460     * )
   3461 	break;;
   3462   esac
   3463 done
   3464 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3465 
   3466 else
   3467   ac_file=''
   3468 fi
   3469 if test -z "$ac_file"; then :
   3470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3471 $as_echo "no" >&6; }
   3472 $as_echo "$as_me: failed program was:" >&5
   3473 sed 's/^/| /' conftest.$ac_ext >&5
   3474 
   3475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3477 as_fn_error 77 "C compiler cannot create executables
   3478 See \`config.log' for more details" "$LINENO" 5; }
   3479 else
   3480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3481 $as_echo "yes" >&6; }
   3482 fi
   3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3484 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3486 $as_echo "$ac_file" >&6; }
   3487 ac_exeext=$ac_cv_exeext
   3488 
   3489 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3490 ac_clean_files=$ac_clean_files_save
   3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3492 $as_echo_n "checking for suffix of executables... " >&6; }
   3493 if { { ac_try="$ac_link"
   3494 case "(($ac_try" in
   3495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3496   *) ac_try_echo=$ac_try;;
   3497 esac
   3498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3499 $as_echo "$ac_try_echo"; } >&5
   3500   (eval "$ac_link") 2>&5
   3501   ac_status=$?
   3502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3503   test $ac_status = 0; }; then :
   3504   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3505 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3506 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3507 # `rm'.
   3508 for ac_file in conftest.exe conftest conftest.*; do
   3509   test -f "$ac_file" || continue
   3510   case $ac_file in
   3511     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3512     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3513 	  break;;
   3514     * ) break;;
   3515   esac
   3516 done
   3517 else
   3518   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3520 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3521 See \`config.log' for more details" "$LINENO" 5; }
   3522 fi
   3523 rm -f conftest conftest$ac_cv_exeext
   3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3525 $as_echo "$ac_cv_exeext" >&6; }
   3526 
   3527 rm -f conftest.$ac_ext
   3528 EXEEXT=$ac_cv_exeext
   3529 ac_exeext=$EXEEXT
   3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3531 /* end confdefs.h.  */
   3532 #include <stdio.h>
   3533 int
   3534 main ()
   3535 {
   3536 FILE *f = fopen ("conftest.out", "w");
   3537  return ferror (f) || fclose (f) != 0;
   3538 
   3539   ;
   3540   return 0;
   3541 }
   3542 _ACEOF
   3543 ac_clean_files="$ac_clean_files conftest.out"
   3544 # Check that the compiler produces executables we can run.  If not, either
   3545 # the compiler is broken, or we cross compile.
   3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3547 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3548 if test "$cross_compiling" != yes; then
   3549   { { ac_try="$ac_link"
   3550 case "(($ac_try" in
   3551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3552   *) ac_try_echo=$ac_try;;
   3553 esac
   3554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3555 $as_echo "$ac_try_echo"; } >&5
   3556   (eval "$ac_link") 2>&5
   3557   ac_status=$?
   3558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3559   test $ac_status = 0; }
   3560   if { ac_try='./conftest$ac_cv_exeext'
   3561   { { case "(($ac_try" in
   3562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3563   *) ac_try_echo=$ac_try;;
   3564 esac
   3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3566 $as_echo "$ac_try_echo"; } >&5
   3567   (eval "$ac_try") 2>&5
   3568   ac_status=$?
   3569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3570   test $ac_status = 0; }; }; then
   3571     cross_compiling=no
   3572   else
   3573     if test "$cross_compiling" = maybe; then
   3574 	cross_compiling=yes
   3575     else
   3576 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3578 as_fn_error $? "cannot run C compiled programs.
   3579 If you meant to cross compile, use \`--host'.
   3580 See \`config.log' for more details" "$LINENO" 5; }
   3581     fi
   3582   fi
   3583 fi
   3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3585 $as_echo "$cross_compiling" >&6; }
   3586 
   3587 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3588 ac_clean_files=$ac_clean_files_save
   3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3590 $as_echo_n "checking for suffix of object files... " >&6; }
   3591 if ${ac_cv_objext+:} false; then :
   3592   $as_echo_n "(cached) " >&6
   3593 else
   3594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3595 /* end confdefs.h.  */
   3596 
   3597 int
   3598 main ()
   3599 {
   3600 
   3601   ;
   3602   return 0;
   3603 }
   3604 _ACEOF
   3605 rm -f conftest.o conftest.obj
   3606 if { { ac_try="$ac_compile"
   3607 case "(($ac_try" in
   3608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3609   *) ac_try_echo=$ac_try;;
   3610 esac
   3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3612 $as_echo "$ac_try_echo"; } >&5
   3613   (eval "$ac_compile") 2>&5
   3614   ac_status=$?
   3615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3616   test $ac_status = 0; }; then :
   3617   for ac_file in conftest.o conftest.obj conftest.*; do
   3618   test -f "$ac_file" || continue;
   3619   case $ac_file in
   3620     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3621     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3622        break;;
   3623   esac
   3624 done
   3625 else
   3626   $as_echo "$as_me: failed program was:" >&5
   3627 sed 's/^/| /' conftest.$ac_ext >&5
   3628 
   3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3631 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3632 See \`config.log' for more details" "$LINENO" 5; }
   3633 fi
   3634 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3635 fi
   3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3637 $as_echo "$ac_cv_objext" >&6; }
   3638 OBJEXT=$ac_cv_objext
   3639 ac_objext=$OBJEXT
   3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3641 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3642 if ${ac_cv_c_compiler_gnu+:} false; then :
   3643   $as_echo_n "(cached) " >&6
   3644 else
   3645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3646 /* end confdefs.h.  */
   3647 
   3648 int
   3649 main ()
   3650 {
   3651 #ifndef __GNUC__
   3652        choke me
   3653 #endif
   3654 
   3655   ;
   3656   return 0;
   3657 }
   3658 _ACEOF
   3659 if ac_fn_c_try_compile "$LINENO"; then :
   3660   ac_compiler_gnu=yes
   3661 else
   3662   ac_compiler_gnu=no
   3663 fi
   3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3665 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3666 
   3667 fi
   3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3669 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3670 if test $ac_compiler_gnu = yes; then
   3671   GCC=yes
   3672 else
   3673   GCC=
   3674 fi
   3675 ac_test_CFLAGS=${CFLAGS+set}
   3676 ac_save_CFLAGS=$CFLAGS
   3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3678 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3679 if ${ac_cv_prog_cc_g+:} false; then :
   3680   $as_echo_n "(cached) " >&6
   3681 else
   3682   ac_save_c_werror_flag=$ac_c_werror_flag
   3683    ac_c_werror_flag=yes
   3684    ac_cv_prog_cc_g=no
   3685    CFLAGS="-g"
   3686    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3687 /* end confdefs.h.  */
   3688 
   3689 int
   3690 main ()
   3691 {
   3692 
   3693   ;
   3694   return 0;
   3695 }
   3696 _ACEOF
   3697 if ac_fn_c_try_compile "$LINENO"; then :
   3698   ac_cv_prog_cc_g=yes
   3699 else
   3700   CFLAGS=""
   3701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3702 /* end confdefs.h.  */
   3703 
   3704 int
   3705 main ()
   3706 {
   3707 
   3708   ;
   3709   return 0;
   3710 }
   3711 _ACEOF
   3712 if ac_fn_c_try_compile "$LINENO"; then :
   3713 
   3714 else
   3715   ac_c_werror_flag=$ac_save_c_werror_flag
   3716 	 CFLAGS="-g"
   3717 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3718 /* end confdefs.h.  */
   3719 
   3720 int
   3721 main ()
   3722 {
   3723 
   3724   ;
   3725   return 0;
   3726 }
   3727 _ACEOF
   3728 if ac_fn_c_try_compile "$LINENO"; then :
   3729   ac_cv_prog_cc_g=yes
   3730 fi
   3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3732 fi
   3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3734 fi
   3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3736    ac_c_werror_flag=$ac_save_c_werror_flag
   3737 fi
   3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3739 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3740 if test "$ac_test_CFLAGS" = set; then
   3741   CFLAGS=$ac_save_CFLAGS
   3742 elif test $ac_cv_prog_cc_g = yes; then
   3743   if test "$GCC" = yes; then
   3744     CFLAGS="-g -O2"
   3745   else
   3746     CFLAGS="-g"
   3747   fi
   3748 else
   3749   if test "$GCC" = yes; then
   3750     CFLAGS="-O2"
   3751   else
   3752     CFLAGS=
   3753   fi
   3754 fi
   3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3756 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3757 if ${ac_cv_prog_cc_c89+:} false; then :
   3758   $as_echo_n "(cached) " >&6
   3759 else
   3760   ac_cv_prog_cc_c89=no
   3761 ac_save_CC=$CC
   3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3763 /* end confdefs.h.  */
   3764 #include <stdarg.h>
   3765 #include <stdio.h>
   3766 struct stat;
   3767 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3768 struct buf { int x; };
   3769 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3770 static char *e (p, i)
   3771      char **p;
   3772      int i;
   3773 {
   3774   return p[i];
   3775 }
   3776 static char *f (char * (*g) (char **, int), char **p, ...)
   3777 {
   3778   char *s;
   3779   va_list v;
   3780   va_start (v,p);
   3781   s = g (p, va_arg (v,int));
   3782   va_end (v);
   3783   return s;
   3784 }
   3785 
   3786 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3787    function prototypes and stuff, but not '\xHH' hex character constants.
   3788    These don't provoke an error unfortunately, instead are silently treated
   3789    as 'x'.  The following induces an error, until -std is added to get
   3790    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3791    array size at least.  It's necessary to write '\x00'==0 to get something
   3792    that's true only with -std.  */
   3793 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3794 
   3795 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3796    inside strings and character constants.  */
   3797 #define FOO(x) 'x'
   3798 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3799 
   3800 int test (int i, double x);
   3801 struct s1 {int (*f) (int a);};
   3802 struct s2 {int (*f) (double a);};
   3803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3804 int argc;
   3805 char **argv;
   3806 int
   3807 main ()
   3808 {
   3809 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3810   ;
   3811   return 0;
   3812 }
   3813 _ACEOF
   3814 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3815 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3816 do
   3817   CC="$ac_save_CC $ac_arg"
   3818   if ac_fn_c_try_compile "$LINENO"; then :
   3819   ac_cv_prog_cc_c89=$ac_arg
   3820 fi
   3821 rm -f core conftest.err conftest.$ac_objext
   3822   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3823 done
   3824 rm -f conftest.$ac_ext
   3825 CC=$ac_save_CC
   3826 
   3827 fi
   3828 # AC_CACHE_VAL
   3829 case "x$ac_cv_prog_cc_c89" in
   3830   x)
   3831     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3832 $as_echo "none needed" >&6; } ;;
   3833   xno)
   3834     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3835 $as_echo "unsupported" >&6; } ;;
   3836   *)
   3837     CC="$CC $ac_cv_prog_cc_c89"
   3838     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3839 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3840 esac
   3841 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3842 
   3843 fi
   3844 
   3845 ac_ext=c
   3846 ac_cpp='$CPP $CPPFLAGS'
   3847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3850 
   3851 ac_ext=c
   3852 ac_cpp='$CPP $CPPFLAGS'
   3853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3857 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3858 if ${am_cv_prog_cc_c_o+:} false; then :
   3859   $as_echo_n "(cached) " >&6
   3860 else
   3861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3862 /* end confdefs.h.  */
   3863 
   3864 int
   3865 main ()
   3866 {
   3867 
   3868   ;
   3869   return 0;
   3870 }
   3871 _ACEOF
   3872   # Make sure it works both with $CC and with simple cc.
   3873   # Following AC_PROG_CC_C_O, we do the test twice because some
   3874   # compilers refuse to overwrite an existing .o file with -o,
   3875   # though they will create one.
   3876   am_cv_prog_cc_c_o=yes
   3877   for am_i in 1 2; do
   3878     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3879    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3880    ac_status=$?
   3881    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3882    (exit $ac_status); } \
   3883          && test -f conftest2.$ac_objext; then
   3884       : OK
   3885     else
   3886       am_cv_prog_cc_c_o=no
   3887       break
   3888     fi
   3889   done
   3890   rm -f core conftest*
   3891   unset am_i
   3892 fi
   3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3894 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3895 if test "$am_cv_prog_cc_c_o" != yes; then
   3896    # Losing compiler, so override with the script.
   3897    # FIXME: It is wrong to rewrite CC.
   3898    # But if we don't then we get into trouble of one sort or another.
   3899    # A longer-term fix would be to have automake use am__CC in this case,
   3900    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3901    CC="$am_aux_dir/compile $CC"
   3902 fi
   3903 ac_ext=c
   3904 ac_cpp='$CPP $CPPFLAGS'
   3905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3908 
   3909 
   3910 depcc="$CC"   am_compiler_list=
   3911 
   3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3913 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3914 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3915   $as_echo_n "(cached) " >&6
   3916 else
   3917   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3918   # We make a subdir and do the tests there.  Otherwise we can end up
   3919   # making bogus files that we don't know about and never remove.  For
   3920   # instance it was reported that on HP-UX the gcc test will end up
   3921   # making a dummy file named 'D' -- because '-MD' means "put the output
   3922   # in D".
   3923   rm -rf conftest.dir
   3924   mkdir conftest.dir
   3925   # Copy depcomp to subdir because otherwise we won't find it if we're
   3926   # using a relative directory.
   3927   cp "$am_depcomp" conftest.dir
   3928   cd conftest.dir
   3929   # We will build objects and dependencies in a subdirectory because
   3930   # it helps to detect inapplicable dependency modes.  For instance
   3931   # both Tru64's cc and ICC support -MD to output dependencies as a
   3932   # side effect of compilation, but ICC will put the dependencies in
   3933   # the current directory while Tru64 will put them in the object
   3934   # directory.
   3935   mkdir sub
   3936 
   3937   am_cv_CC_dependencies_compiler_type=none
   3938   if test "$am_compiler_list" = ""; then
   3939      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3940   fi
   3941   am__universal=false
   3942   case " $depcc " in #(
   3943      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3944      esac
   3945 
   3946   for depmode in $am_compiler_list; do
   3947     # Setup a source with many dependencies, because some compilers
   3948     # like to wrap large dependency lists on column 80 (with \), and
   3949     # we should not choose a depcomp mode which is confused by this.
   3950     #
   3951     # We need to recreate these files for each test, as the compiler may
   3952     # overwrite some of them when testing with obscure command lines.
   3953     # This happens at least with the AIX C compiler.
   3954     : > sub/conftest.c
   3955     for i in 1 2 3 4 5 6; do
   3956       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3957       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3958       # Solaris 10 /bin/sh.
   3959       echo '/* dummy */' > sub/conftst$i.h
   3960     done
   3961     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3962 
   3963     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3964     # mode.  It turns out that the SunPro C++ compiler does not properly
   3965     # handle '-M -o', and we need to detect this.  Also, some Intel
   3966     # versions had trouble with output in subdirs.
   3967     am__obj=sub/conftest.${OBJEXT-o}
   3968     am__minus_obj="-o $am__obj"
   3969     case $depmode in
   3970     gcc)
   3971       # This depmode causes a compiler race in universal mode.
   3972       test "$am__universal" = false || continue
   3973       ;;
   3974     nosideeffect)
   3975       # After this tag, mechanisms are not by side-effect, so they'll
   3976       # only be used when explicitly requested.
   3977       if test "x$enable_dependency_tracking" = xyes; then
   3978 	continue
   3979       else
   3980 	break
   3981       fi
   3982       ;;
   3983     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3984       # This compiler won't grok '-c -o', but also, the minuso test has
   3985       # not run yet.  These depmodes are late enough in the game, and
   3986       # so weak that their functioning should not be impacted.
   3987       am__obj=conftest.${OBJEXT-o}
   3988       am__minus_obj=
   3989       ;;
   3990     none) break ;;
   3991     esac
   3992     if depmode=$depmode \
   3993        source=sub/conftest.c object=$am__obj \
   3994        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3995        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3996          >/dev/null 2>conftest.err &&
   3997        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3998        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3999        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4000        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4001       # icc doesn't choke on unknown options, it will just issue warnings
   4002       # or remarks (even with -Werror).  So we grep stderr for any message
   4003       # that says an option was ignored or not supported.
   4004       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4005       #   icc: Command line warning: ignoring option '-M'; no argument required
   4006       # The diagnosis changed in icc 8.0:
   4007       #   icc: Command line remark: option '-MP' not supported
   4008       if (grep 'ignoring option' conftest.err ||
   4009           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4010         am_cv_CC_dependencies_compiler_type=$depmode
   4011         break
   4012       fi
   4013     fi
   4014   done
   4015 
   4016   cd ..
   4017   rm -rf conftest.dir
   4018 else
   4019   am_cv_CC_dependencies_compiler_type=none
   4020 fi
   4021 
   4022 fi
   4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4024 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4025 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4026 
   4027  if
   4028   test "x$enable_dependency_tracking" != xno \
   4029   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4030   am__fastdepCC_TRUE=
   4031   am__fastdepCC_FALSE='#'
   4032 else
   4033   am__fastdepCC_TRUE='#'
   4034   am__fastdepCC_FALSE=
   4035 fi
   4036 
   4037 
   4038    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4039 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4040 if ${ac_cv_prog_cc_c99+:} false; then :
   4041   $as_echo_n "(cached) " >&6
   4042 else
   4043   ac_cv_prog_cc_c99=no
   4044 ac_save_CC=$CC
   4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4046 /* end confdefs.h.  */
   4047 #include <stdarg.h>
   4048 #include <stdbool.h>
   4049 #include <stdlib.h>
   4050 #include <wchar.h>
   4051 #include <stdio.h>
   4052 
   4053 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4054 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4055 #define showlist(...) puts (#__VA_ARGS__)
   4056 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4057 static void
   4058 test_varargs_macros (void)
   4059 {
   4060   int x = 1234;
   4061   int y = 5678;
   4062   debug ("Flag");
   4063   debug ("X = %d\n", x);
   4064   showlist (The first, second, and third items.);
   4065   report (x>y, "x is %d but y is %d", x, y);
   4066 }
   4067 
   4068 // Check long long types.
   4069 #define BIG64 18446744073709551615ull
   4070 #define BIG32 4294967295ul
   4071 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4072 #if !BIG_OK
   4073   your preprocessor is broken;
   4074 #endif
   4075 #if BIG_OK
   4076 #else
   4077   your preprocessor is broken;
   4078 #endif
   4079 static long long int bignum = -9223372036854775807LL;
   4080 static unsigned long long int ubignum = BIG64;
   4081 
   4082 struct incomplete_array
   4083 {
   4084   int datasize;
   4085   double data[];
   4086 };
   4087 
   4088 struct named_init {
   4089   int number;
   4090   const wchar_t *name;
   4091   double average;
   4092 };
   4093 
   4094 typedef const char *ccp;
   4095 
   4096 static inline int
   4097 test_restrict (ccp restrict text)
   4098 {
   4099   // See if C++-style comments work.
   4100   // Iterate through items via the restricted pointer.
   4101   // Also check for declarations in for loops.
   4102   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4103     continue;
   4104   return 0;
   4105 }
   4106 
   4107 // Check varargs and va_copy.
   4108 static void
   4109 test_varargs (const char *format, ...)
   4110 {
   4111   va_list args;
   4112   va_start (args, format);
   4113   va_list args_copy;
   4114   va_copy (args_copy, args);
   4115 
   4116   const char *str;
   4117   int number;
   4118   float fnumber;
   4119 
   4120   while (*format)
   4121     {
   4122       switch (*format++)
   4123 	{
   4124 	case 's': // string
   4125 	  str = va_arg (args_copy, const char *);
   4126 	  break;
   4127 	case 'd': // int
   4128 	  number = va_arg (args_copy, int);
   4129 	  break;
   4130 	case 'f': // float
   4131 	  fnumber = va_arg (args_copy, double);
   4132 	  break;
   4133 	default:
   4134 	  break;
   4135 	}
   4136     }
   4137   va_end (args_copy);
   4138   va_end (args);
   4139 }
   4140 
   4141 int
   4142 main ()
   4143 {
   4144 
   4145   // Check bool.
   4146   _Bool success = false;
   4147 
   4148   // Check restrict.
   4149   if (test_restrict ("String literal") == 0)
   4150     success = true;
   4151   char *restrict newvar = "Another string";
   4152 
   4153   // Check varargs.
   4154   test_varargs ("s, d' f .", "string", 65, 34.234);
   4155   test_varargs_macros ();
   4156 
   4157   // Check flexible array members.
   4158   struct incomplete_array *ia =
   4159     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4160   ia->datasize = 10;
   4161   for (int i = 0; i < ia->datasize; ++i)
   4162     ia->data[i] = i * 1.234;
   4163 
   4164   // Check named initializers.
   4165   struct named_init ni = {
   4166     .number = 34,
   4167     .name = L"Test wide string",
   4168     .average = 543.34343,
   4169   };
   4170 
   4171   ni.number = 58;
   4172 
   4173   int dynamic_array[ni.number];
   4174   dynamic_array[ni.number - 1] = 543;
   4175 
   4176   // work around unused variable warnings
   4177   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4178 	  || dynamic_array[ni.number - 1] != 543);
   4179 
   4180   ;
   4181   return 0;
   4182 }
   4183 _ACEOF
   4184 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4185 do
   4186   CC="$ac_save_CC $ac_arg"
   4187   if ac_fn_c_try_compile "$LINENO"; then :
   4188   ac_cv_prog_cc_c99=$ac_arg
   4189 fi
   4190 rm -f core conftest.err conftest.$ac_objext
   4191   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4192 done
   4193 rm -f conftest.$ac_ext
   4194 CC=$ac_save_CC
   4195 
   4196 fi
   4197 # AC_CACHE_VAL
   4198 case "x$ac_cv_prog_cc_c99" in
   4199   x)
   4200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4201 $as_echo "none needed" >&6; } ;;
   4202   xno)
   4203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4204 $as_echo "unsupported" >&6; } ;;
   4205   *)
   4206     CC="$CC $ac_cv_prog_cc_c99"
   4207     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4208 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4209 esac
   4210 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4211 
   4212 fi
   4213 
   4214 
   4215 
   4216 ac_ext=c
   4217 ac_cpp='$CPP $CPPFLAGS'
   4218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4222 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4223 # On Suns, sometimes $CPP names a directory.
   4224 if test -n "$CPP" && test -d "$CPP"; then
   4225   CPP=
   4226 fi
   4227 if test -z "$CPP"; then
   4228   if ${ac_cv_prog_CPP+:} false; then :
   4229   $as_echo_n "(cached) " >&6
   4230 else
   4231       # Double quotes because CPP needs to be expanded
   4232     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4233     do
   4234       ac_preproc_ok=false
   4235 for ac_c_preproc_warn_flag in '' yes
   4236 do
   4237   # Use a header file that comes with gcc, so configuring glibc
   4238   # with a fresh cross-compiler works.
   4239   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4240   # <limits.h> exists even on freestanding compilers.
   4241   # On the NeXT, cc -E runs the code through the compiler's parser,
   4242   # not just through cpp. "Syntax error" is here to catch this case.
   4243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4244 /* end confdefs.h.  */
   4245 #ifdef __STDC__
   4246 # include <limits.h>
   4247 #else
   4248 # include <assert.h>
   4249 #endif
   4250 		     Syntax error
   4251 _ACEOF
   4252 if ac_fn_c_try_cpp "$LINENO"; then :
   4253 
   4254 else
   4255   # Broken: fails on valid input.
   4256 continue
   4257 fi
   4258 rm -f conftest.err conftest.i conftest.$ac_ext
   4259 
   4260   # OK, works on sane cases.  Now check whether nonexistent headers
   4261   # can be detected and how.
   4262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4263 /* end confdefs.h.  */
   4264 #include <ac_nonexistent.h>
   4265 _ACEOF
   4266 if ac_fn_c_try_cpp "$LINENO"; then :
   4267   # Broken: success on invalid input.
   4268 continue
   4269 else
   4270   # Passes both tests.
   4271 ac_preproc_ok=:
   4272 break
   4273 fi
   4274 rm -f conftest.err conftest.i conftest.$ac_ext
   4275 
   4276 done
   4277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4278 rm -f conftest.i conftest.err conftest.$ac_ext
   4279 if $ac_preproc_ok; then :
   4280   break
   4281 fi
   4282 
   4283     done
   4284     ac_cv_prog_CPP=$CPP
   4285 
   4286 fi
   4287   CPP=$ac_cv_prog_CPP
   4288 else
   4289   ac_cv_prog_CPP=$CPP
   4290 fi
   4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4292 $as_echo "$CPP" >&6; }
   4293 ac_preproc_ok=false
   4294 for ac_c_preproc_warn_flag in '' yes
   4295 do
   4296   # Use a header file that comes with gcc, so configuring glibc
   4297   # with a fresh cross-compiler works.
   4298   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4299   # <limits.h> exists even on freestanding compilers.
   4300   # On the NeXT, cc -E runs the code through the compiler's parser,
   4301   # not just through cpp. "Syntax error" is here to catch this case.
   4302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4303 /* end confdefs.h.  */
   4304 #ifdef __STDC__
   4305 # include <limits.h>
   4306 #else
   4307 # include <assert.h>
   4308 #endif
   4309 		     Syntax error
   4310 _ACEOF
   4311 if ac_fn_c_try_cpp "$LINENO"; then :
   4312 
   4313 else
   4314   # Broken: fails on valid input.
   4315 continue
   4316 fi
   4317 rm -f conftest.err conftest.i conftest.$ac_ext
   4318 
   4319   # OK, works on sane cases.  Now check whether nonexistent headers
   4320   # can be detected and how.
   4321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4322 /* end confdefs.h.  */
   4323 #include <ac_nonexistent.h>
   4324 _ACEOF
   4325 if ac_fn_c_try_cpp "$LINENO"; then :
   4326   # Broken: success on invalid input.
   4327 continue
   4328 else
   4329   # Passes both tests.
   4330 ac_preproc_ok=:
   4331 break
   4332 fi
   4333 rm -f conftest.err conftest.i conftest.$ac_ext
   4334 
   4335 done
   4336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4337 rm -f conftest.i conftest.err conftest.$ac_ext
   4338 if $ac_preproc_ok; then :
   4339 
   4340 else
   4341   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4343 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4344 See \`config.log' for more details" "$LINENO" 5; }
   4345 fi
   4346 
   4347 ac_ext=c
   4348 ac_cpp='$CPP $CPPFLAGS'
   4349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4352 
   4353 
   4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4355 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4356 if ${ac_cv_path_GREP+:} false; then :
   4357   $as_echo_n "(cached) " >&6
   4358 else
   4359   if test -z "$GREP"; then
   4360   ac_path_GREP_found=false
   4361   # Loop through the user's path and test for each of PROGNAME-LIST
   4362   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4363 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4364 do
   4365   IFS=$as_save_IFS
   4366   test -z "$as_dir" && as_dir=.
   4367     for ac_prog in grep ggrep; do
   4368     for ac_exec_ext in '' $ac_executable_extensions; do
   4369       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4370       as_fn_executable_p "$ac_path_GREP" || continue
   4371 # Check for GNU ac_path_GREP and select it if it is found.
   4372   # Check for GNU $ac_path_GREP
   4373 case `"$ac_path_GREP" --version 2>&1` in
   4374 *GNU*)
   4375   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4376 *)
   4377   ac_count=0
   4378   $as_echo_n 0123456789 >"conftest.in"
   4379   while :
   4380   do
   4381     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4382     mv "conftest.tmp" "conftest.in"
   4383     cp "conftest.in" "conftest.nl"
   4384     $as_echo 'GREP' >> "conftest.nl"
   4385     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4386     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4387     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4388     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4389       # Best one so far, save it but keep looking for a better one
   4390       ac_cv_path_GREP="$ac_path_GREP"
   4391       ac_path_GREP_max=$ac_count
   4392     fi
   4393     # 10*(2^10) chars as input seems more than enough
   4394     test $ac_count -gt 10 && break
   4395   done
   4396   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4397 esac
   4398 
   4399       $ac_path_GREP_found && break 3
   4400     done
   4401   done
   4402   done
   4403 IFS=$as_save_IFS
   4404   if test -z "$ac_cv_path_GREP"; then
   4405     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4406   fi
   4407 else
   4408   ac_cv_path_GREP=$GREP
   4409 fi
   4410 
   4411 fi
   4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4413 $as_echo "$ac_cv_path_GREP" >&6; }
   4414  GREP="$ac_cv_path_GREP"
   4415 
   4416 
   4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4418 $as_echo_n "checking for egrep... " >&6; }
   4419 if ${ac_cv_path_EGREP+:} false; then :
   4420   $as_echo_n "(cached) " >&6
   4421 else
   4422   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4423    then ac_cv_path_EGREP="$GREP -E"
   4424    else
   4425      if test -z "$EGREP"; then
   4426   ac_path_EGREP_found=false
   4427   # Loop through the user's path and test for each of PROGNAME-LIST
   4428   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4429 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4430 do
   4431   IFS=$as_save_IFS
   4432   test -z "$as_dir" && as_dir=.
   4433     for ac_prog in egrep; do
   4434     for ac_exec_ext in '' $ac_executable_extensions; do
   4435       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4436       as_fn_executable_p "$ac_path_EGREP" || continue
   4437 # Check for GNU ac_path_EGREP and select it if it is found.
   4438   # Check for GNU $ac_path_EGREP
   4439 case `"$ac_path_EGREP" --version 2>&1` in
   4440 *GNU*)
   4441   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4442 *)
   4443   ac_count=0
   4444   $as_echo_n 0123456789 >"conftest.in"
   4445   while :
   4446   do
   4447     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4448     mv "conftest.tmp" "conftest.in"
   4449     cp "conftest.in" "conftest.nl"
   4450     $as_echo 'EGREP' >> "conftest.nl"
   4451     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4452     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4453     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4454     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4455       # Best one so far, save it but keep looking for a better one
   4456       ac_cv_path_EGREP="$ac_path_EGREP"
   4457       ac_path_EGREP_max=$ac_count
   4458     fi
   4459     # 10*(2^10) chars as input seems more than enough
   4460     test $ac_count -gt 10 && break
   4461   done
   4462   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4463 esac
   4464 
   4465       $ac_path_EGREP_found && break 3
   4466     done
   4467   done
   4468   done
   4469 IFS=$as_save_IFS
   4470   if test -z "$ac_cv_path_EGREP"; then
   4471     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4472   fi
   4473 else
   4474   ac_cv_path_EGREP=$EGREP
   4475 fi
   4476 
   4477    fi
   4478 fi
   4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4480 $as_echo "$ac_cv_path_EGREP" >&6; }
   4481  EGREP="$ac_cv_path_EGREP"
   4482 
   4483 
   4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4485 $as_echo_n "checking for ANSI C header files... " >&6; }
   4486 if ${ac_cv_header_stdc+:} false; then :
   4487   $as_echo_n "(cached) " >&6
   4488 else
   4489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4490 /* end confdefs.h.  */
   4491 #include <stdlib.h>
   4492 #include <stdarg.h>
   4493 #include <string.h>
   4494 #include <float.h>
   4495 
   4496 int
   4497 main ()
   4498 {
   4499 
   4500   ;
   4501   return 0;
   4502 }
   4503 _ACEOF
   4504 if ac_fn_c_try_compile "$LINENO"; then :
   4505   ac_cv_header_stdc=yes
   4506 else
   4507   ac_cv_header_stdc=no
   4508 fi
   4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4510 
   4511 if test $ac_cv_header_stdc = yes; then
   4512   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4514 /* end confdefs.h.  */
   4515 #include <string.h>
   4516 
   4517 _ACEOF
   4518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4519   $EGREP "memchr" >/dev/null 2>&1; then :
   4520 
   4521 else
   4522   ac_cv_header_stdc=no
   4523 fi
   4524 rm -f conftest*
   4525 
   4526 fi
   4527 
   4528 if test $ac_cv_header_stdc = yes; then
   4529   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4531 /* end confdefs.h.  */
   4532 #include <stdlib.h>
   4533 
   4534 _ACEOF
   4535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4536   $EGREP "free" >/dev/null 2>&1; then :
   4537 
   4538 else
   4539   ac_cv_header_stdc=no
   4540 fi
   4541 rm -f conftest*
   4542 
   4543 fi
   4544 
   4545 if test $ac_cv_header_stdc = yes; then
   4546   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4547   if test "$cross_compiling" = yes; then :
   4548   :
   4549 else
   4550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4551 /* end confdefs.h.  */
   4552 #include <ctype.h>
   4553 #include <stdlib.h>
   4554 #if ((' ' & 0x0FF) == 0x020)
   4555 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4556 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4557 #else
   4558 # define ISLOWER(c) \
   4559 		   (('a' <= (c) && (c) <= 'i') \
   4560 		     || ('j' <= (c) && (c) <= 'r') \
   4561 		     || ('s' <= (c) && (c) <= 'z'))
   4562 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4563 #endif
   4564 
   4565 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4566 int
   4567 main ()
   4568 {
   4569   int i;
   4570   for (i = 0; i < 256; i++)
   4571     if (XOR (islower (i), ISLOWER (i))
   4572 	|| toupper (i) != TOUPPER (i))
   4573       return 2;
   4574   return 0;
   4575 }
   4576 _ACEOF
   4577 if ac_fn_c_try_run "$LINENO"; then :
   4578 
   4579 else
   4580   ac_cv_header_stdc=no
   4581 fi
   4582 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4583   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4584 fi
   4585 
   4586 fi
   4587 fi
   4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4589 $as_echo "$ac_cv_header_stdc" >&6; }
   4590 if test $ac_cv_header_stdc = yes; then
   4591 
   4592 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4593 
   4594 fi
   4595 
   4596 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4597 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4598 		  inttypes.h stdint.h unistd.h
   4599 do :
   4600   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4601 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4602 "
   4603 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4604   cat >>confdefs.h <<_ACEOF
   4605 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4606 _ACEOF
   4607 
   4608 fi
   4609 
   4610 done
   4611 
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4618 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4619   CLANGCC="yes"
   4620 else
   4621   CLANGCC="no"
   4622 fi
   4623 
   4624 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4625 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4626   INTELCC="yes"
   4627 else
   4628   INTELCC="no"
   4629 fi
   4630 
   4631 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4632 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4633   SUNCC="yes"
   4634 else
   4635   SUNCC="no"
   4636 fi
   4637 
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4647 	if test -n "$ac_tool_prefix"; then
   4648   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4649 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4651 $as_echo_n "checking for $ac_word... " >&6; }
   4652 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4653   $as_echo_n "(cached) " >&6
   4654 else
   4655   case $PKG_CONFIG in
   4656   [\\/]* | ?:[\\/]*)
   4657   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4658   ;;
   4659   *)
   4660   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4661 for as_dir in $PATH
   4662 do
   4663   IFS=$as_save_IFS
   4664   test -z "$as_dir" && as_dir=.
   4665     for ac_exec_ext in '' $ac_executable_extensions; do
   4666   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4667     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4669     break 2
   4670   fi
   4671 done
   4672   done
   4673 IFS=$as_save_IFS
   4674 
   4675   ;;
   4676 esac
   4677 fi
   4678 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4679 if test -n "$PKG_CONFIG"; then
   4680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4681 $as_echo "$PKG_CONFIG" >&6; }
   4682 else
   4683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4684 $as_echo "no" >&6; }
   4685 fi
   4686 
   4687 
   4688 fi
   4689 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4690   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4691   # Extract the first word of "pkg-config", so it can be a program name with args.
   4692 set dummy pkg-config; ac_word=$2
   4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4694 $as_echo_n "checking for $ac_word... " >&6; }
   4695 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4696   $as_echo_n "(cached) " >&6
   4697 else
   4698   case $ac_pt_PKG_CONFIG in
   4699   [\\/]* | ?:[\\/]*)
   4700   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4701   ;;
   4702   *)
   4703   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4704 for as_dir in $PATH
   4705 do
   4706   IFS=$as_save_IFS
   4707   test -z "$as_dir" && as_dir=.
   4708     for ac_exec_ext in '' $ac_executable_extensions; do
   4709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4710     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4712     break 2
   4713   fi
   4714 done
   4715   done
   4716 IFS=$as_save_IFS
   4717 
   4718   ;;
   4719 esac
   4720 fi
   4721 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4722 if test -n "$ac_pt_PKG_CONFIG"; then
   4723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4724 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4725 else
   4726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4727 $as_echo "no" >&6; }
   4728 fi
   4729 
   4730   if test "x$ac_pt_PKG_CONFIG" = x; then
   4731     PKG_CONFIG=""
   4732   else
   4733     case $cross_compiling:$ac_tool_warned in
   4734 yes:)
   4735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4737 ac_tool_warned=yes ;;
   4738 esac
   4739     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4740   fi
   4741 else
   4742   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4743 fi
   4744 
   4745 fi
   4746 if test -n "$PKG_CONFIG"; then
   4747 	_pkg_min_version=0.9.0
   4748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4749 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4750 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4752 $as_echo "yes" >&6; }
   4753 	else
   4754 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4755 $as_echo "no" >&6; }
   4756 		PKG_CONFIG=""
   4757 	fi
   4758 fi
   4759 # Make sure we can run config.sub.
   4760 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4761   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4762 
   4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4764 $as_echo_n "checking build system type... " >&6; }
   4765 if ${ac_cv_build+:} false; then :
   4766   $as_echo_n "(cached) " >&6
   4767 else
   4768   ac_build_alias=$build_alias
   4769 test "x$ac_build_alias" = x &&
   4770   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4771 test "x$ac_build_alias" = x &&
   4772   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4773 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4774   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4775 
   4776 fi
   4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4778 $as_echo "$ac_cv_build" >&6; }
   4779 case $ac_cv_build in
   4780 *-*-*) ;;
   4781 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4782 esac
   4783 build=$ac_cv_build
   4784 ac_save_IFS=$IFS; IFS='-'
   4785 set x $ac_cv_build
   4786 shift
   4787 build_cpu=$1
   4788 build_vendor=$2
   4789 shift; shift
   4790 # Remember, the first character of IFS is used to create $*,
   4791 # except with old shells:
   4792 build_os=$*
   4793 IFS=$ac_save_IFS
   4794 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4795 
   4796 
   4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4798 $as_echo_n "checking host system type... " >&6; }
   4799 if ${ac_cv_host+:} false; then :
   4800   $as_echo_n "(cached) " >&6
   4801 else
   4802   if test "x$host_alias" = x; then
   4803   ac_cv_host=$ac_cv_build
   4804 else
   4805   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4806     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4807 fi
   4808 
   4809 fi
   4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4811 $as_echo "$ac_cv_host" >&6; }
   4812 case $ac_cv_host in
   4813 *-*-*) ;;
   4814 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4815 esac
   4816 host=$ac_cv_host
   4817 ac_save_IFS=$IFS; IFS='-'
   4818 set x $ac_cv_host
   4819 shift
   4820 host_cpu=$1
   4821 host_vendor=$2
   4822 shift; shift
   4823 # Remember, the first character of IFS is used to create $*,
   4824 # except with old shells:
   4825 host_os=$*
   4826 IFS=$ac_save_IFS
   4827 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4828 
   4829 
   4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4831 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4832 if ${ac_cv_path_SED+:} false; then :
   4833   $as_echo_n "(cached) " >&6
   4834 else
   4835             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4836      for ac_i in 1 2 3 4 5 6 7; do
   4837        ac_script="$ac_script$as_nl$ac_script"
   4838      done
   4839      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4840      { ac_script=; unset ac_script;}
   4841      if test -z "$SED"; then
   4842   ac_path_SED_found=false
   4843   # Loop through the user's path and test for each of PROGNAME-LIST
   4844   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4845 for as_dir in $PATH
   4846 do
   4847   IFS=$as_save_IFS
   4848   test -z "$as_dir" && as_dir=.
   4849     for ac_prog in sed gsed; do
   4850     for ac_exec_ext in '' $ac_executable_extensions; do
   4851       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4852       as_fn_executable_p "$ac_path_SED" || continue
   4853 # Check for GNU ac_path_SED and select it if it is found.
   4854   # Check for GNU $ac_path_SED
   4855 case `"$ac_path_SED" --version 2>&1` in
   4856 *GNU*)
   4857   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4858 *)
   4859   ac_count=0
   4860   $as_echo_n 0123456789 >"conftest.in"
   4861   while :
   4862   do
   4863     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4864     mv "conftest.tmp" "conftest.in"
   4865     cp "conftest.in" "conftest.nl"
   4866     $as_echo '' >> "conftest.nl"
   4867     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4868     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4869     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4870     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4871       # Best one so far, save it but keep looking for a better one
   4872       ac_cv_path_SED="$ac_path_SED"
   4873       ac_path_SED_max=$ac_count
   4874     fi
   4875     # 10*(2^10) chars as input seems more than enough
   4876     test $ac_count -gt 10 && break
   4877   done
   4878   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4879 esac
   4880 
   4881       $ac_path_SED_found && break 3
   4882     done
   4883   done
   4884   done
   4885 IFS=$as_save_IFS
   4886   if test -z "$ac_cv_path_SED"; then
   4887     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4888   fi
   4889 else
   4890   ac_cv_path_SED=$SED
   4891 fi
   4892 
   4893 fi
   4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4895 $as_echo "$ac_cv_path_SED" >&6; }
   4896  SED="$ac_cv_path_SED"
   4897   rm -f conftest.sed
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 # Check whether --enable-selective-werror was given.
   4905 if test "${enable_selective_werror+set}" = set; then :
   4906   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4907 else
   4908   SELECTIVE_WERROR=yes
   4909 fi
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4916 if test "x$SUNCC" = "xyes"; then
   4917     BASE_CFLAGS="-v"
   4918 else
   4919     BASE_CFLAGS=""
   4920 fi
   4921 
   4922 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 xorg_testset_save_CFLAGS="$CFLAGS"
   4937 
   4938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4941 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4942 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4943   $as_echo_n "(cached) " >&6
   4944 else
   4945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4946 /* end confdefs.h.  */
   4947 int i;
   4948 _ACEOF
   4949 if ac_fn_c_try_compile "$LINENO"; then :
   4950   xorg_cv_cc_flag_unknown_warning_option=yes
   4951 else
   4952   xorg_cv_cc_flag_unknown_warning_option=no
   4953 fi
   4954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4955 fi
   4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4957 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4958 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4959 	CFLAGS="$xorg_testset_save_CFLAGS"
   4960 fi
   4961 
   4962 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4963 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4964 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4965 	fi
   4966 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4968 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4969 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4970   $as_echo_n "(cached) " >&6
   4971 else
   4972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4973 /* end confdefs.h.  */
   4974 int i;
   4975 _ACEOF
   4976 if ac_fn_c_try_compile "$LINENO"; then :
   4977   xorg_cv_cc_flag_unused_command_line_argument=yes
   4978 else
   4979   xorg_cv_cc_flag_unused_command_line_argument=no
   4980 fi
   4981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4982 fi
   4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4984 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4985 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4986 	CFLAGS="$xorg_testset_save_CFLAGS"
   4987 fi
   4988 
   4989 found="no"
   4990 
   4991 	if test $found = "no" ; then
   4992 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4993 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4994 		fi
   4995 
   4996 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4997 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4998 		fi
   4999 
   5000 		CFLAGS="$CFLAGS -Wall"
   5001 
   5002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5003 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5004 		cacheid=xorg_cv_cc_flag__Wall
   5005 		if eval \${$cacheid+:} false; then :
   5006   $as_echo_n "(cached) " >&6
   5007 else
   5008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5009 /* end confdefs.h.  */
   5010 int i;
   5011 int
   5012 main ()
   5013 {
   5014 
   5015   ;
   5016   return 0;
   5017 }
   5018 _ACEOF
   5019 if ac_fn_c_try_link "$LINENO"; then :
   5020   eval $cacheid=yes
   5021 else
   5022   eval $cacheid=no
   5023 fi
   5024 rm -f core conftest.err conftest.$ac_objext \
   5025     conftest$ac_exeext conftest.$ac_ext
   5026 fi
   5027 
   5028 
   5029 		CFLAGS="$xorg_testset_save_CFLAGS"
   5030 
   5031 		eval supported=\$$cacheid
   5032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5033 $as_echo "$supported" >&6; }
   5034 		if test "$supported" = "yes" ; then
   5035 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5036 			found="yes"
   5037 		fi
   5038 	fi
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 xorg_testset_save_CFLAGS="$CFLAGS"
   5055 
   5056 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5057 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5059 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5060 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5061   $as_echo_n "(cached) " >&6
   5062 else
   5063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5064 /* end confdefs.h.  */
   5065 int i;
   5066 _ACEOF
   5067 if ac_fn_c_try_compile "$LINENO"; then :
   5068   xorg_cv_cc_flag_unknown_warning_option=yes
   5069 else
   5070   xorg_cv_cc_flag_unknown_warning_option=no
   5071 fi
   5072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5073 fi
   5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5075 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5077 	CFLAGS="$xorg_testset_save_CFLAGS"
   5078 fi
   5079 
   5080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5083 	fi
   5084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5086 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5087 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5088   $as_echo_n "(cached) " >&6
   5089 else
   5090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5091 /* end confdefs.h.  */
   5092 int i;
   5093 _ACEOF
   5094 if ac_fn_c_try_compile "$LINENO"; then :
   5095   xorg_cv_cc_flag_unused_command_line_argument=yes
   5096 else
   5097   xorg_cv_cc_flag_unused_command_line_argument=no
   5098 fi
   5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5100 fi
   5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5102 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5103 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5104 	CFLAGS="$xorg_testset_save_CFLAGS"
   5105 fi
   5106 
   5107 found="no"
   5108 
   5109 	if test $found = "no" ; then
   5110 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5112 		fi
   5113 
   5114 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5116 		fi
   5117 
   5118 		CFLAGS="$CFLAGS -Wpointer-arith"
   5119 
   5120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5121 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5122 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5123 		if eval \${$cacheid+:} false; then :
   5124   $as_echo_n "(cached) " >&6
   5125 else
   5126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5127 /* end confdefs.h.  */
   5128 int i;
   5129 int
   5130 main ()
   5131 {
   5132 
   5133   ;
   5134   return 0;
   5135 }
   5136 _ACEOF
   5137 if ac_fn_c_try_link "$LINENO"; then :
   5138   eval $cacheid=yes
   5139 else
   5140   eval $cacheid=no
   5141 fi
   5142 rm -f core conftest.err conftest.$ac_objext \
   5143     conftest$ac_exeext conftest.$ac_ext
   5144 fi
   5145 
   5146 
   5147 		CFLAGS="$xorg_testset_save_CFLAGS"
   5148 
   5149 		eval supported=\$$cacheid
   5150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5151 $as_echo "$supported" >&6; }
   5152 		if test "$supported" = "yes" ; then
   5153 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5154 			found="yes"
   5155 		fi
   5156 	fi
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 xorg_testset_save_CFLAGS="$CFLAGS"
   5173 
   5174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5177 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5178 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5179   $as_echo_n "(cached) " >&6
   5180 else
   5181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5182 /* end confdefs.h.  */
   5183 int i;
   5184 _ACEOF
   5185 if ac_fn_c_try_compile "$LINENO"; then :
   5186   xorg_cv_cc_flag_unknown_warning_option=yes
   5187 else
   5188   xorg_cv_cc_flag_unknown_warning_option=no
   5189 fi
   5190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5191 fi
   5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5193 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5195 	CFLAGS="$xorg_testset_save_CFLAGS"
   5196 fi
   5197 
   5198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5201 	fi
   5202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5204 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5205 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5206   $as_echo_n "(cached) " >&6
   5207 else
   5208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5209 /* end confdefs.h.  */
   5210 int i;
   5211 _ACEOF
   5212 if ac_fn_c_try_compile "$LINENO"; then :
   5213   xorg_cv_cc_flag_unused_command_line_argument=yes
   5214 else
   5215   xorg_cv_cc_flag_unused_command_line_argument=no
   5216 fi
   5217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5218 fi
   5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5220 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5222 	CFLAGS="$xorg_testset_save_CFLAGS"
   5223 fi
   5224 
   5225 found="no"
   5226 
   5227 	if test $found = "no" ; then
   5228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5230 		fi
   5231 
   5232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5234 		fi
   5235 
   5236 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5237 
   5238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5239 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5240 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5241 		if eval \${$cacheid+:} false; then :
   5242   $as_echo_n "(cached) " >&6
   5243 else
   5244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5245 /* end confdefs.h.  */
   5246 int i;
   5247 int
   5248 main ()
   5249 {
   5250 
   5251   ;
   5252   return 0;
   5253 }
   5254 _ACEOF
   5255 if ac_fn_c_try_link "$LINENO"; then :
   5256   eval $cacheid=yes
   5257 else
   5258   eval $cacheid=no
   5259 fi
   5260 rm -f core conftest.err conftest.$ac_objext \
   5261     conftest$ac_exeext conftest.$ac_ext
   5262 fi
   5263 
   5264 
   5265 		CFLAGS="$xorg_testset_save_CFLAGS"
   5266 
   5267 		eval supported=\$$cacheid
   5268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5269 $as_echo "$supported" >&6; }
   5270 		if test "$supported" = "yes" ; then
   5271 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5272 			found="yes"
   5273 		fi
   5274 	fi
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 xorg_testset_save_CFLAGS="$CFLAGS"
   5291 
   5292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5295 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5296 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5297   $as_echo_n "(cached) " >&6
   5298 else
   5299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5300 /* end confdefs.h.  */
   5301 int i;
   5302 _ACEOF
   5303 if ac_fn_c_try_compile "$LINENO"; then :
   5304   xorg_cv_cc_flag_unknown_warning_option=yes
   5305 else
   5306   xorg_cv_cc_flag_unknown_warning_option=no
   5307 fi
   5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5309 fi
   5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5311 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5313 	CFLAGS="$xorg_testset_save_CFLAGS"
   5314 fi
   5315 
   5316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5319 	fi
   5320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5322 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5323 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5324   $as_echo_n "(cached) " >&6
   5325 else
   5326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5327 /* end confdefs.h.  */
   5328 int i;
   5329 _ACEOF
   5330 if ac_fn_c_try_compile "$LINENO"; then :
   5331   xorg_cv_cc_flag_unused_command_line_argument=yes
   5332 else
   5333   xorg_cv_cc_flag_unused_command_line_argument=no
   5334 fi
   5335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5336 fi
   5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5338 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5339 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5340 	CFLAGS="$xorg_testset_save_CFLAGS"
   5341 fi
   5342 
   5343 found="no"
   5344 
   5345 	if test $found = "no" ; then
   5346 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5348 		fi
   5349 
   5350 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5352 		fi
   5353 
   5354 		CFLAGS="$CFLAGS -Wformat=2"
   5355 
   5356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5357 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5358 		cacheid=xorg_cv_cc_flag__Wformat_2
   5359 		if eval \${$cacheid+:} false; then :
   5360   $as_echo_n "(cached) " >&6
   5361 else
   5362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5363 /* end confdefs.h.  */
   5364 int i;
   5365 int
   5366 main ()
   5367 {
   5368 
   5369   ;
   5370   return 0;
   5371 }
   5372 _ACEOF
   5373 if ac_fn_c_try_link "$LINENO"; then :
   5374   eval $cacheid=yes
   5375 else
   5376   eval $cacheid=no
   5377 fi
   5378 rm -f core conftest.err conftest.$ac_objext \
   5379     conftest$ac_exeext conftest.$ac_ext
   5380 fi
   5381 
   5382 
   5383 		CFLAGS="$xorg_testset_save_CFLAGS"
   5384 
   5385 		eval supported=\$$cacheid
   5386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5387 $as_echo "$supported" >&6; }
   5388 		if test "$supported" = "yes" ; then
   5389 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5390 			found="yes"
   5391 		fi
   5392 	fi
   5393 
   5394 	if test $found = "no" ; then
   5395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5397 		fi
   5398 
   5399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5401 		fi
   5402 
   5403 		CFLAGS="$CFLAGS -Wformat"
   5404 
   5405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5406 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5407 		cacheid=xorg_cv_cc_flag__Wformat
   5408 		if eval \${$cacheid+:} false; then :
   5409   $as_echo_n "(cached) " >&6
   5410 else
   5411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5412 /* end confdefs.h.  */
   5413 int i;
   5414 int
   5415 main ()
   5416 {
   5417 
   5418   ;
   5419   return 0;
   5420 }
   5421 _ACEOF
   5422 if ac_fn_c_try_link "$LINENO"; then :
   5423   eval $cacheid=yes
   5424 else
   5425   eval $cacheid=no
   5426 fi
   5427 rm -f core conftest.err conftest.$ac_objext \
   5428     conftest$ac_exeext conftest.$ac_ext
   5429 fi
   5430 
   5431 
   5432 		CFLAGS="$xorg_testset_save_CFLAGS"
   5433 
   5434 		eval supported=\$$cacheid
   5435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5436 $as_echo "$supported" >&6; }
   5437 		if test "$supported" = "yes" ; then
   5438 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5439 			found="yes"
   5440 		fi
   5441 	fi
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 xorg_testset_save_CFLAGS="$CFLAGS"
   5460 
   5461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5463 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5464 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5465 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5466   $as_echo_n "(cached) " >&6
   5467 else
   5468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5469 /* end confdefs.h.  */
   5470 int i;
   5471 _ACEOF
   5472 if ac_fn_c_try_compile "$LINENO"; then :
   5473   xorg_cv_cc_flag_unknown_warning_option=yes
   5474 else
   5475   xorg_cv_cc_flag_unknown_warning_option=no
   5476 fi
   5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5478 fi
   5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5480 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5481 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5482 	CFLAGS="$xorg_testset_save_CFLAGS"
   5483 fi
   5484 
   5485 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5486 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5487 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5488 	fi
   5489 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5490 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5491 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5492 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5493   $as_echo_n "(cached) " >&6
   5494 else
   5495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5496 /* end confdefs.h.  */
   5497 int i;
   5498 _ACEOF
   5499 if ac_fn_c_try_compile "$LINENO"; then :
   5500   xorg_cv_cc_flag_unused_command_line_argument=yes
   5501 else
   5502   xorg_cv_cc_flag_unused_command_line_argument=no
   5503 fi
   5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5505 fi
   5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5507 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5508 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5509 	CFLAGS="$xorg_testset_save_CFLAGS"
   5510 fi
   5511 
   5512 found="no"
   5513 
   5514 	if test $found = "no" ; then
   5515 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5516 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5517 		fi
   5518 
   5519 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5520 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5521 		fi
   5522 
   5523 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5524 
   5525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5526 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5527 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5528 		if eval \${$cacheid+:} false; then :
   5529   $as_echo_n "(cached) " >&6
   5530 else
   5531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5532 /* end confdefs.h.  */
   5533 int i;
   5534 int
   5535 main ()
   5536 {
   5537 
   5538   ;
   5539   return 0;
   5540 }
   5541 _ACEOF
   5542 if ac_fn_c_try_link "$LINENO"; then :
   5543   eval $cacheid=yes
   5544 else
   5545   eval $cacheid=no
   5546 fi
   5547 rm -f core conftest.err conftest.$ac_objext \
   5548     conftest$ac_exeext conftest.$ac_ext
   5549 fi
   5550 
   5551 
   5552 		CFLAGS="$xorg_testset_save_CFLAGS"
   5553 
   5554 		eval supported=\$$cacheid
   5555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5556 $as_echo "$supported" >&6; }
   5557 		if test "$supported" = "yes" ; then
   5558 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5559 			found="yes"
   5560 		fi
   5561 	fi
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 xorg_testset_save_CFLAGS="$CFLAGS"
   5578 
   5579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5582 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5583 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5584   $as_echo_n "(cached) " >&6
   5585 else
   5586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5587 /* end confdefs.h.  */
   5588 int i;
   5589 _ACEOF
   5590 if ac_fn_c_try_compile "$LINENO"; then :
   5591   xorg_cv_cc_flag_unknown_warning_option=yes
   5592 else
   5593   xorg_cv_cc_flag_unknown_warning_option=no
   5594 fi
   5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5596 fi
   5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5598 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5599 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5600 	CFLAGS="$xorg_testset_save_CFLAGS"
   5601 fi
   5602 
   5603 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5604 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5605 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5606 	fi
   5607 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5609 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5610 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5611   $as_echo_n "(cached) " >&6
   5612 else
   5613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5614 /* end confdefs.h.  */
   5615 int i;
   5616 _ACEOF
   5617 if ac_fn_c_try_compile "$LINENO"; then :
   5618   xorg_cv_cc_flag_unused_command_line_argument=yes
   5619 else
   5620   xorg_cv_cc_flag_unused_command_line_argument=no
   5621 fi
   5622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5623 fi
   5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5625 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5627 	CFLAGS="$xorg_testset_save_CFLAGS"
   5628 fi
   5629 
   5630 found="no"
   5631 
   5632 	if test $found = "no" ; then
   5633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5635 		fi
   5636 
   5637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5639 		fi
   5640 
   5641 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5642 
   5643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5644 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5645 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5646 		if eval \${$cacheid+:} false; then :
   5647   $as_echo_n "(cached) " >&6
   5648 else
   5649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5650 /* end confdefs.h.  */
   5651 int i;
   5652 int
   5653 main ()
   5654 {
   5655 
   5656   ;
   5657   return 0;
   5658 }
   5659 _ACEOF
   5660 if ac_fn_c_try_link "$LINENO"; then :
   5661   eval $cacheid=yes
   5662 else
   5663   eval $cacheid=no
   5664 fi
   5665 rm -f core conftest.err conftest.$ac_objext \
   5666     conftest$ac_exeext conftest.$ac_ext
   5667 fi
   5668 
   5669 
   5670 		CFLAGS="$xorg_testset_save_CFLAGS"
   5671 
   5672 		eval supported=\$$cacheid
   5673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5674 $as_echo "$supported" >&6; }
   5675 		if test "$supported" = "yes" ; then
   5676 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5677 			found="yes"
   5678 		fi
   5679 	fi
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 xorg_testset_save_CFLAGS="$CFLAGS"
   5696 
   5697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5700 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5701 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5702   $as_echo_n "(cached) " >&6
   5703 else
   5704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5705 /* end confdefs.h.  */
   5706 int i;
   5707 _ACEOF
   5708 if ac_fn_c_try_compile "$LINENO"; then :
   5709   xorg_cv_cc_flag_unknown_warning_option=yes
   5710 else
   5711   xorg_cv_cc_flag_unknown_warning_option=no
   5712 fi
   5713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5714 fi
   5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5716 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5718 	CFLAGS="$xorg_testset_save_CFLAGS"
   5719 fi
   5720 
   5721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5724 	fi
   5725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5727 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5728 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5729   $as_echo_n "(cached) " >&6
   5730 else
   5731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5732 /* end confdefs.h.  */
   5733 int i;
   5734 _ACEOF
   5735 if ac_fn_c_try_compile "$LINENO"; then :
   5736   xorg_cv_cc_flag_unused_command_line_argument=yes
   5737 else
   5738   xorg_cv_cc_flag_unused_command_line_argument=no
   5739 fi
   5740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5741 fi
   5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5743 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5744 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5745 	CFLAGS="$xorg_testset_save_CFLAGS"
   5746 fi
   5747 
   5748 found="no"
   5749 
   5750 	if test $found = "no" ; then
   5751 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5752 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5753 		fi
   5754 
   5755 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5756 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5757 		fi
   5758 
   5759 		CFLAGS="$CFLAGS -Wnested-externs"
   5760 
   5761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5762 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5763 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5764 		if eval \${$cacheid+:} false; then :
   5765   $as_echo_n "(cached) " >&6
   5766 else
   5767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5768 /* end confdefs.h.  */
   5769 int i;
   5770 int
   5771 main ()
   5772 {
   5773 
   5774   ;
   5775   return 0;
   5776 }
   5777 _ACEOF
   5778 if ac_fn_c_try_link "$LINENO"; then :
   5779   eval $cacheid=yes
   5780 else
   5781   eval $cacheid=no
   5782 fi
   5783 rm -f core conftest.err conftest.$ac_objext \
   5784     conftest$ac_exeext conftest.$ac_ext
   5785 fi
   5786 
   5787 
   5788 		CFLAGS="$xorg_testset_save_CFLAGS"
   5789 
   5790 		eval supported=\$$cacheid
   5791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5792 $as_echo "$supported" >&6; }
   5793 		if test "$supported" = "yes" ; then
   5794 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5795 			found="yes"
   5796 		fi
   5797 	fi
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 xorg_testset_save_CFLAGS="$CFLAGS"
   5814 
   5815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5818 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5819 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5820   $as_echo_n "(cached) " >&6
   5821 else
   5822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5823 /* end confdefs.h.  */
   5824 int i;
   5825 _ACEOF
   5826 if ac_fn_c_try_compile "$LINENO"; then :
   5827   xorg_cv_cc_flag_unknown_warning_option=yes
   5828 else
   5829   xorg_cv_cc_flag_unknown_warning_option=no
   5830 fi
   5831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5832 fi
   5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5834 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5836 	CFLAGS="$xorg_testset_save_CFLAGS"
   5837 fi
   5838 
   5839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5842 	fi
   5843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5845 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5846 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5847   $as_echo_n "(cached) " >&6
   5848 else
   5849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5850 /* end confdefs.h.  */
   5851 int i;
   5852 _ACEOF
   5853 if ac_fn_c_try_compile "$LINENO"; then :
   5854   xorg_cv_cc_flag_unused_command_line_argument=yes
   5855 else
   5856   xorg_cv_cc_flag_unused_command_line_argument=no
   5857 fi
   5858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5859 fi
   5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5861 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5863 	CFLAGS="$xorg_testset_save_CFLAGS"
   5864 fi
   5865 
   5866 found="no"
   5867 
   5868 	if test $found = "no" ; then
   5869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5871 		fi
   5872 
   5873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5875 		fi
   5876 
   5877 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5878 
   5879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5880 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5881 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5882 		if eval \${$cacheid+:} false; then :
   5883   $as_echo_n "(cached) " >&6
   5884 else
   5885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5886 /* end confdefs.h.  */
   5887 int i;
   5888 int
   5889 main ()
   5890 {
   5891 
   5892   ;
   5893   return 0;
   5894 }
   5895 _ACEOF
   5896 if ac_fn_c_try_link "$LINENO"; then :
   5897   eval $cacheid=yes
   5898 else
   5899   eval $cacheid=no
   5900 fi
   5901 rm -f core conftest.err conftest.$ac_objext \
   5902     conftest$ac_exeext conftest.$ac_ext
   5903 fi
   5904 
   5905 
   5906 		CFLAGS="$xorg_testset_save_CFLAGS"
   5907 
   5908 		eval supported=\$$cacheid
   5909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5910 $as_echo "$supported" >&6; }
   5911 		if test "$supported" = "yes" ; then
   5912 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5913 			found="yes"
   5914 		fi
   5915 	fi
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 xorg_testset_save_CFLAGS="$CFLAGS"
   5932 
   5933 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5936 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5937 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5938   $as_echo_n "(cached) " >&6
   5939 else
   5940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5941 /* end confdefs.h.  */
   5942 int i;
   5943 _ACEOF
   5944 if ac_fn_c_try_compile "$LINENO"; then :
   5945   xorg_cv_cc_flag_unknown_warning_option=yes
   5946 else
   5947   xorg_cv_cc_flag_unknown_warning_option=no
   5948 fi
   5949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5950 fi
   5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5952 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5954 	CFLAGS="$xorg_testset_save_CFLAGS"
   5955 fi
   5956 
   5957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5960 	fi
   5961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5963 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5964 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5965   $as_echo_n "(cached) " >&6
   5966 else
   5967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5968 /* end confdefs.h.  */
   5969 int i;
   5970 _ACEOF
   5971 if ac_fn_c_try_compile "$LINENO"; then :
   5972   xorg_cv_cc_flag_unused_command_line_argument=yes
   5973 else
   5974   xorg_cv_cc_flag_unused_command_line_argument=no
   5975 fi
   5976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5977 fi
   5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5979 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5981 	CFLAGS="$xorg_testset_save_CFLAGS"
   5982 fi
   5983 
   5984 found="no"
   5985 
   5986 	if test $found = "no" ; then
   5987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5989 		fi
   5990 
   5991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5993 		fi
   5994 
   5995 		CFLAGS="$CFLAGS -Wold-style-definition"
   5996 
   5997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5998 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5999 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6000 		if eval \${$cacheid+:} false; then :
   6001   $as_echo_n "(cached) " >&6
   6002 else
   6003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6004 /* end confdefs.h.  */
   6005 int i;
   6006 int
   6007 main ()
   6008 {
   6009 
   6010   ;
   6011   return 0;
   6012 }
   6013 _ACEOF
   6014 if ac_fn_c_try_link "$LINENO"; then :
   6015   eval $cacheid=yes
   6016 else
   6017   eval $cacheid=no
   6018 fi
   6019 rm -f core conftest.err conftest.$ac_objext \
   6020     conftest$ac_exeext conftest.$ac_ext
   6021 fi
   6022 
   6023 
   6024 		CFLAGS="$xorg_testset_save_CFLAGS"
   6025 
   6026 		eval supported=\$$cacheid
   6027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6028 $as_echo "$supported" >&6; }
   6029 		if test "$supported" = "yes" ; then
   6030 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6031 			found="yes"
   6032 		fi
   6033 	fi
   6034 
   6035 	if test $found = "no" ; then
   6036 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6037 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6038 		fi
   6039 
   6040 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6041 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6042 		fi
   6043 
   6044 		CFLAGS="$CFLAGS -fd"
   6045 
   6046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6047 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6048 		cacheid=xorg_cv_cc_flag__fd
   6049 		if eval \${$cacheid+:} false; then :
   6050   $as_echo_n "(cached) " >&6
   6051 else
   6052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6053 /* end confdefs.h.  */
   6054 int i;
   6055 int
   6056 main ()
   6057 {
   6058 
   6059   ;
   6060   return 0;
   6061 }
   6062 _ACEOF
   6063 if ac_fn_c_try_link "$LINENO"; then :
   6064   eval $cacheid=yes
   6065 else
   6066   eval $cacheid=no
   6067 fi
   6068 rm -f core conftest.err conftest.$ac_objext \
   6069     conftest$ac_exeext conftest.$ac_ext
   6070 fi
   6071 
   6072 
   6073 		CFLAGS="$xorg_testset_save_CFLAGS"
   6074 
   6075 		eval supported=\$$cacheid
   6076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6077 $as_echo "$supported" >&6; }
   6078 		if test "$supported" = "yes" ; then
   6079 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6080 			found="yes"
   6081 		fi
   6082 	fi
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 xorg_testset_save_CFLAGS="$CFLAGS"
   6099 
   6100 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6103 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6104 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6105   $as_echo_n "(cached) " >&6
   6106 else
   6107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6108 /* end confdefs.h.  */
   6109 int i;
   6110 _ACEOF
   6111 if ac_fn_c_try_compile "$LINENO"; then :
   6112   xorg_cv_cc_flag_unknown_warning_option=yes
   6113 else
   6114   xorg_cv_cc_flag_unknown_warning_option=no
   6115 fi
   6116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6117 fi
   6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6119 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6120 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6121 	CFLAGS="$xorg_testset_save_CFLAGS"
   6122 fi
   6123 
   6124 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6125 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6127 	fi
   6128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6130 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6131 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6132   $as_echo_n "(cached) " >&6
   6133 else
   6134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6135 /* end confdefs.h.  */
   6136 int i;
   6137 _ACEOF
   6138 if ac_fn_c_try_compile "$LINENO"; then :
   6139   xorg_cv_cc_flag_unused_command_line_argument=yes
   6140 else
   6141   xorg_cv_cc_flag_unused_command_line_argument=no
   6142 fi
   6143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6144 fi
   6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6146 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6148 	CFLAGS="$xorg_testset_save_CFLAGS"
   6149 fi
   6150 
   6151 found="no"
   6152 
   6153 	if test $found = "no" ; then
   6154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6156 		fi
   6157 
   6158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6160 		fi
   6161 
   6162 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6163 
   6164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6165 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6166 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6167 		if eval \${$cacheid+:} false; then :
   6168   $as_echo_n "(cached) " >&6
   6169 else
   6170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6171 /* end confdefs.h.  */
   6172 int i;
   6173 int
   6174 main ()
   6175 {
   6176 
   6177   ;
   6178   return 0;
   6179 }
   6180 _ACEOF
   6181 if ac_fn_c_try_link "$LINENO"; then :
   6182   eval $cacheid=yes
   6183 else
   6184   eval $cacheid=no
   6185 fi
   6186 rm -f core conftest.err conftest.$ac_objext \
   6187     conftest$ac_exeext conftest.$ac_ext
   6188 fi
   6189 
   6190 
   6191 		CFLAGS="$xorg_testset_save_CFLAGS"
   6192 
   6193 		eval supported=\$$cacheid
   6194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6195 $as_echo "$supported" >&6; }
   6196 		if test "$supported" = "yes" ; then
   6197 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6198 			found="yes"
   6199 		fi
   6200 	fi
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 # This chunk adds additional warnings that could catch undesired effects.
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 xorg_testset_save_CFLAGS="$CFLAGS"
   6221 
   6222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6225 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6226 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6227   $as_echo_n "(cached) " >&6
   6228 else
   6229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6230 /* end confdefs.h.  */
   6231 int i;
   6232 _ACEOF
   6233 if ac_fn_c_try_compile "$LINENO"; then :
   6234   xorg_cv_cc_flag_unknown_warning_option=yes
   6235 else
   6236   xorg_cv_cc_flag_unknown_warning_option=no
   6237 fi
   6238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6239 fi
   6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6241 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6243 	CFLAGS="$xorg_testset_save_CFLAGS"
   6244 fi
   6245 
   6246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6249 	fi
   6250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6252 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6253 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6254   $as_echo_n "(cached) " >&6
   6255 else
   6256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6257 /* end confdefs.h.  */
   6258 int i;
   6259 _ACEOF
   6260 if ac_fn_c_try_compile "$LINENO"; then :
   6261   xorg_cv_cc_flag_unused_command_line_argument=yes
   6262 else
   6263   xorg_cv_cc_flag_unused_command_line_argument=no
   6264 fi
   6265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6266 fi
   6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6268 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6270 	CFLAGS="$xorg_testset_save_CFLAGS"
   6271 fi
   6272 
   6273 found="no"
   6274 
   6275 	if test $found = "no" ; then
   6276 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6278 		fi
   6279 
   6280 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6282 		fi
   6283 
   6284 		CFLAGS="$CFLAGS -Wunused"
   6285 
   6286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6287 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6288 		cacheid=xorg_cv_cc_flag__Wunused
   6289 		if eval \${$cacheid+:} false; then :
   6290   $as_echo_n "(cached) " >&6
   6291 else
   6292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6293 /* end confdefs.h.  */
   6294 int i;
   6295 int
   6296 main ()
   6297 {
   6298 
   6299   ;
   6300   return 0;
   6301 }
   6302 _ACEOF
   6303 if ac_fn_c_try_link "$LINENO"; then :
   6304   eval $cacheid=yes
   6305 else
   6306   eval $cacheid=no
   6307 fi
   6308 rm -f core conftest.err conftest.$ac_objext \
   6309     conftest$ac_exeext conftest.$ac_ext
   6310 fi
   6311 
   6312 
   6313 		CFLAGS="$xorg_testset_save_CFLAGS"
   6314 
   6315 		eval supported=\$$cacheid
   6316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6317 $as_echo "$supported" >&6; }
   6318 		if test "$supported" = "yes" ; then
   6319 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6320 			found="yes"
   6321 		fi
   6322 	fi
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 xorg_testset_save_CFLAGS="$CFLAGS"
   6339 
   6340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6343 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6344 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6345   $as_echo_n "(cached) " >&6
   6346 else
   6347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6348 /* end confdefs.h.  */
   6349 int i;
   6350 _ACEOF
   6351 if ac_fn_c_try_compile "$LINENO"; then :
   6352   xorg_cv_cc_flag_unknown_warning_option=yes
   6353 else
   6354   xorg_cv_cc_flag_unknown_warning_option=no
   6355 fi
   6356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6357 fi
   6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6359 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6360 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6361 	CFLAGS="$xorg_testset_save_CFLAGS"
   6362 fi
   6363 
   6364 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6365 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6366 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6367 	fi
   6368 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6370 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6371 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6372   $as_echo_n "(cached) " >&6
   6373 else
   6374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6375 /* end confdefs.h.  */
   6376 int i;
   6377 _ACEOF
   6378 if ac_fn_c_try_compile "$LINENO"; then :
   6379   xorg_cv_cc_flag_unused_command_line_argument=yes
   6380 else
   6381   xorg_cv_cc_flag_unused_command_line_argument=no
   6382 fi
   6383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6384 fi
   6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6386 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6387 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6388 	CFLAGS="$xorg_testset_save_CFLAGS"
   6389 fi
   6390 
   6391 found="no"
   6392 
   6393 	if test $found = "no" ; then
   6394 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6395 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6396 		fi
   6397 
   6398 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6399 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6400 		fi
   6401 
   6402 		CFLAGS="$CFLAGS -Wuninitialized"
   6403 
   6404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6405 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6406 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6407 		if eval \${$cacheid+:} false; then :
   6408   $as_echo_n "(cached) " >&6
   6409 else
   6410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6411 /* end confdefs.h.  */
   6412 int i;
   6413 int
   6414 main ()
   6415 {
   6416 
   6417   ;
   6418   return 0;
   6419 }
   6420 _ACEOF
   6421 if ac_fn_c_try_link "$LINENO"; then :
   6422   eval $cacheid=yes
   6423 else
   6424   eval $cacheid=no
   6425 fi
   6426 rm -f core conftest.err conftest.$ac_objext \
   6427     conftest$ac_exeext conftest.$ac_ext
   6428 fi
   6429 
   6430 
   6431 		CFLAGS="$xorg_testset_save_CFLAGS"
   6432 
   6433 		eval supported=\$$cacheid
   6434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6435 $as_echo "$supported" >&6; }
   6436 		if test "$supported" = "yes" ; then
   6437 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6438 			found="yes"
   6439 		fi
   6440 	fi
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 xorg_testset_save_CFLAGS="$CFLAGS"
   6457 
   6458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6461 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6462 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6463   $as_echo_n "(cached) " >&6
   6464 else
   6465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6466 /* end confdefs.h.  */
   6467 int i;
   6468 _ACEOF
   6469 if ac_fn_c_try_compile "$LINENO"; then :
   6470   xorg_cv_cc_flag_unknown_warning_option=yes
   6471 else
   6472   xorg_cv_cc_flag_unknown_warning_option=no
   6473 fi
   6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6475 fi
   6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6477 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6479 	CFLAGS="$xorg_testset_save_CFLAGS"
   6480 fi
   6481 
   6482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6485 	fi
   6486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6488 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6489 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6490   $as_echo_n "(cached) " >&6
   6491 else
   6492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6493 /* end confdefs.h.  */
   6494 int i;
   6495 _ACEOF
   6496 if ac_fn_c_try_compile "$LINENO"; then :
   6497   xorg_cv_cc_flag_unused_command_line_argument=yes
   6498 else
   6499   xorg_cv_cc_flag_unused_command_line_argument=no
   6500 fi
   6501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6502 fi
   6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6504 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6505 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6506 	CFLAGS="$xorg_testset_save_CFLAGS"
   6507 fi
   6508 
   6509 found="no"
   6510 
   6511 	if test $found = "no" ; then
   6512 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6514 		fi
   6515 
   6516 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6518 		fi
   6519 
   6520 		CFLAGS="$CFLAGS -Wshadow"
   6521 
   6522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6523 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6524 		cacheid=xorg_cv_cc_flag__Wshadow
   6525 		if eval \${$cacheid+:} false; then :
   6526   $as_echo_n "(cached) " >&6
   6527 else
   6528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6529 /* end confdefs.h.  */
   6530 int i;
   6531 int
   6532 main ()
   6533 {
   6534 
   6535   ;
   6536   return 0;
   6537 }
   6538 _ACEOF
   6539 if ac_fn_c_try_link "$LINENO"; then :
   6540   eval $cacheid=yes
   6541 else
   6542   eval $cacheid=no
   6543 fi
   6544 rm -f core conftest.err conftest.$ac_objext \
   6545     conftest$ac_exeext conftest.$ac_ext
   6546 fi
   6547 
   6548 
   6549 		CFLAGS="$xorg_testset_save_CFLAGS"
   6550 
   6551 		eval supported=\$$cacheid
   6552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6553 $as_echo "$supported" >&6; }
   6554 		if test "$supported" = "yes" ; then
   6555 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6556 			found="yes"
   6557 		fi
   6558 	fi
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 xorg_testset_save_CFLAGS="$CFLAGS"
   6575 
   6576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6579 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6580 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6581   $as_echo_n "(cached) " >&6
   6582 else
   6583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6584 /* end confdefs.h.  */
   6585 int i;
   6586 _ACEOF
   6587 if ac_fn_c_try_compile "$LINENO"; then :
   6588   xorg_cv_cc_flag_unknown_warning_option=yes
   6589 else
   6590   xorg_cv_cc_flag_unknown_warning_option=no
   6591 fi
   6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6593 fi
   6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6595 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6597 	CFLAGS="$xorg_testset_save_CFLAGS"
   6598 fi
   6599 
   6600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6603 	fi
   6604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6606 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6607 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6608   $as_echo_n "(cached) " >&6
   6609 else
   6610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6611 /* end confdefs.h.  */
   6612 int i;
   6613 _ACEOF
   6614 if ac_fn_c_try_compile "$LINENO"; then :
   6615   xorg_cv_cc_flag_unused_command_line_argument=yes
   6616 else
   6617   xorg_cv_cc_flag_unused_command_line_argument=no
   6618 fi
   6619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6620 fi
   6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6622 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6624 	CFLAGS="$xorg_testset_save_CFLAGS"
   6625 fi
   6626 
   6627 found="no"
   6628 
   6629 	if test $found = "no" ; then
   6630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6632 		fi
   6633 
   6634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6636 		fi
   6637 
   6638 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6639 
   6640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6641 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6642 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6643 		if eval \${$cacheid+:} false; then :
   6644   $as_echo_n "(cached) " >&6
   6645 else
   6646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6647 /* end confdefs.h.  */
   6648 int i;
   6649 int
   6650 main ()
   6651 {
   6652 
   6653   ;
   6654   return 0;
   6655 }
   6656 _ACEOF
   6657 if ac_fn_c_try_link "$LINENO"; then :
   6658   eval $cacheid=yes
   6659 else
   6660   eval $cacheid=no
   6661 fi
   6662 rm -f core conftest.err conftest.$ac_objext \
   6663     conftest$ac_exeext conftest.$ac_ext
   6664 fi
   6665 
   6666 
   6667 		CFLAGS="$xorg_testset_save_CFLAGS"
   6668 
   6669 		eval supported=\$$cacheid
   6670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6671 $as_echo "$supported" >&6; }
   6672 		if test "$supported" = "yes" ; then
   6673 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6674 			found="yes"
   6675 		fi
   6676 	fi
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 xorg_testset_save_CFLAGS="$CFLAGS"
   6693 
   6694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6697 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6698 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6699   $as_echo_n "(cached) " >&6
   6700 else
   6701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6702 /* end confdefs.h.  */
   6703 int i;
   6704 _ACEOF
   6705 if ac_fn_c_try_compile "$LINENO"; then :
   6706   xorg_cv_cc_flag_unknown_warning_option=yes
   6707 else
   6708   xorg_cv_cc_flag_unknown_warning_option=no
   6709 fi
   6710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6711 fi
   6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6713 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6715 	CFLAGS="$xorg_testset_save_CFLAGS"
   6716 fi
   6717 
   6718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6721 	fi
   6722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6724 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6725 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6726   $as_echo_n "(cached) " >&6
   6727 else
   6728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6729 /* end confdefs.h.  */
   6730 int i;
   6731 _ACEOF
   6732 if ac_fn_c_try_compile "$LINENO"; then :
   6733   xorg_cv_cc_flag_unused_command_line_argument=yes
   6734 else
   6735   xorg_cv_cc_flag_unused_command_line_argument=no
   6736 fi
   6737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6738 fi
   6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6740 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6742 	CFLAGS="$xorg_testset_save_CFLAGS"
   6743 fi
   6744 
   6745 found="no"
   6746 
   6747 	if test $found = "no" ; then
   6748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6750 		fi
   6751 
   6752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6754 		fi
   6755 
   6756 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6757 
   6758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6759 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6760 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6761 		if eval \${$cacheid+:} false; then :
   6762   $as_echo_n "(cached) " >&6
   6763 else
   6764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6765 /* end confdefs.h.  */
   6766 int i;
   6767 int
   6768 main ()
   6769 {
   6770 
   6771   ;
   6772   return 0;
   6773 }
   6774 _ACEOF
   6775 if ac_fn_c_try_link "$LINENO"; then :
   6776   eval $cacheid=yes
   6777 else
   6778   eval $cacheid=no
   6779 fi
   6780 rm -f core conftest.err conftest.$ac_objext \
   6781     conftest$ac_exeext conftest.$ac_ext
   6782 fi
   6783 
   6784 
   6785 		CFLAGS="$xorg_testset_save_CFLAGS"
   6786 
   6787 		eval supported=\$$cacheid
   6788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6789 $as_echo "$supported" >&6; }
   6790 		if test "$supported" = "yes" ; then
   6791 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6792 			found="yes"
   6793 		fi
   6794 	fi
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 xorg_testset_save_CFLAGS="$CFLAGS"
   6811 
   6812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6815 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6816 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6817   $as_echo_n "(cached) " >&6
   6818 else
   6819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6820 /* end confdefs.h.  */
   6821 int i;
   6822 _ACEOF
   6823 if ac_fn_c_try_compile "$LINENO"; then :
   6824   xorg_cv_cc_flag_unknown_warning_option=yes
   6825 else
   6826   xorg_cv_cc_flag_unknown_warning_option=no
   6827 fi
   6828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6829 fi
   6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6831 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6833 	CFLAGS="$xorg_testset_save_CFLAGS"
   6834 fi
   6835 
   6836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6839 	fi
   6840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6842 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6843 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6844   $as_echo_n "(cached) " >&6
   6845 else
   6846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6847 /* end confdefs.h.  */
   6848 int i;
   6849 _ACEOF
   6850 if ac_fn_c_try_compile "$LINENO"; then :
   6851   xorg_cv_cc_flag_unused_command_line_argument=yes
   6852 else
   6853   xorg_cv_cc_flag_unused_command_line_argument=no
   6854 fi
   6855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6856 fi
   6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6858 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6859 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6860 	CFLAGS="$xorg_testset_save_CFLAGS"
   6861 fi
   6862 
   6863 found="no"
   6864 
   6865 	if test $found = "no" ; then
   6866 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6868 		fi
   6869 
   6870 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6872 		fi
   6873 
   6874 		CFLAGS="$CFLAGS -Wredundant-decls"
   6875 
   6876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6877 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6878 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6879 		if eval \${$cacheid+:} false; then :
   6880   $as_echo_n "(cached) " >&6
   6881 else
   6882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6883 /* end confdefs.h.  */
   6884 int i;
   6885 int
   6886 main ()
   6887 {
   6888 
   6889   ;
   6890   return 0;
   6891 }
   6892 _ACEOF
   6893 if ac_fn_c_try_link "$LINENO"; then :
   6894   eval $cacheid=yes
   6895 else
   6896   eval $cacheid=no
   6897 fi
   6898 rm -f core conftest.err conftest.$ac_objext \
   6899     conftest$ac_exeext conftest.$ac_ext
   6900 fi
   6901 
   6902 
   6903 		CFLAGS="$xorg_testset_save_CFLAGS"
   6904 
   6905 		eval supported=\$$cacheid
   6906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6907 $as_echo "$supported" >&6; }
   6908 		if test "$supported" = "yes" ; then
   6909 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6910 			found="yes"
   6911 		fi
   6912 	fi
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 xorg_testset_save_CFLAGS="$CFLAGS"
   6929 
   6930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6933 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6934 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 int i;
   6940 _ACEOF
   6941 if ac_fn_c_try_compile "$LINENO"; then :
   6942   xorg_cv_cc_flag_unknown_warning_option=yes
   6943 else
   6944   xorg_cv_cc_flag_unknown_warning_option=no
   6945 fi
   6946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6947 fi
   6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6949 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6951 	CFLAGS="$xorg_testset_save_CFLAGS"
   6952 fi
   6953 
   6954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6957 	fi
   6958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6960 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6961 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6962   $as_echo_n "(cached) " >&6
   6963 else
   6964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6965 /* end confdefs.h.  */
   6966 int i;
   6967 _ACEOF
   6968 if ac_fn_c_try_compile "$LINENO"; then :
   6969   xorg_cv_cc_flag_unused_command_line_argument=yes
   6970 else
   6971   xorg_cv_cc_flag_unused_command_line_argument=no
   6972 fi
   6973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6974 fi
   6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6976 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6978 	CFLAGS="$xorg_testset_save_CFLAGS"
   6979 fi
   6980 
   6981 found="no"
   6982 
   6983 	if test $found = "no" ; then
   6984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6986 		fi
   6987 
   6988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6990 		fi
   6991 
   6992 		CFLAGS="$CFLAGS -Wlogical-op"
   6993 
   6994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6995 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6996 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6997 		if eval \${$cacheid+:} false; then :
   6998   $as_echo_n "(cached) " >&6
   6999 else
   7000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7001 /* end confdefs.h.  */
   7002 int i;
   7003 int
   7004 main ()
   7005 {
   7006 
   7007   ;
   7008   return 0;
   7009 }
   7010 _ACEOF
   7011 if ac_fn_c_try_link "$LINENO"; then :
   7012   eval $cacheid=yes
   7013 else
   7014   eval $cacheid=no
   7015 fi
   7016 rm -f core conftest.err conftest.$ac_objext \
   7017     conftest$ac_exeext conftest.$ac_ext
   7018 fi
   7019 
   7020 
   7021 		CFLAGS="$xorg_testset_save_CFLAGS"
   7022 
   7023 		eval supported=\$$cacheid
   7024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7025 $as_echo "$supported" >&6; }
   7026 		if test "$supported" = "yes" ; then
   7027 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7028 			found="yes"
   7029 		fi
   7030 	fi
   7031 
   7032 
   7033 
   7034 # These are currently disabled because they are noisy.  They will be enabled
   7035 # in the future once the codebase is sufficiently modernized to silence
   7036 # them.  For now, I don't want them to drown out the other warnings.
   7037 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7038 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7039 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7040 
   7041 # Turn some warnings into errors, so we don't accidently get successful builds
   7042 # when there are problems that should be fixed.
   7043 
   7044 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 xorg_testset_save_CFLAGS="$CFLAGS"
   7059 
   7060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7063 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7064 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7065   $as_echo_n "(cached) " >&6
   7066 else
   7067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7068 /* end confdefs.h.  */
   7069 int i;
   7070 _ACEOF
   7071 if ac_fn_c_try_compile "$LINENO"; then :
   7072   xorg_cv_cc_flag_unknown_warning_option=yes
   7073 else
   7074   xorg_cv_cc_flag_unknown_warning_option=no
   7075 fi
   7076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7077 fi
   7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7079 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7080 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7081 	CFLAGS="$xorg_testset_save_CFLAGS"
   7082 fi
   7083 
   7084 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7085 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7087 	fi
   7088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7090 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7091 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7092   $as_echo_n "(cached) " >&6
   7093 else
   7094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7095 /* end confdefs.h.  */
   7096 int i;
   7097 _ACEOF
   7098 if ac_fn_c_try_compile "$LINENO"; then :
   7099   xorg_cv_cc_flag_unused_command_line_argument=yes
   7100 else
   7101   xorg_cv_cc_flag_unused_command_line_argument=no
   7102 fi
   7103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7104 fi
   7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7106 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7108 	CFLAGS="$xorg_testset_save_CFLAGS"
   7109 fi
   7110 
   7111 found="no"
   7112 
   7113 	if test $found = "no" ; then
   7114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7116 		fi
   7117 
   7118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7120 		fi
   7121 
   7122 		CFLAGS="$CFLAGS -Werror=implicit"
   7123 
   7124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7125 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7126 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7127 		if eval \${$cacheid+:} false; then :
   7128   $as_echo_n "(cached) " >&6
   7129 else
   7130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7131 /* end confdefs.h.  */
   7132 int i;
   7133 int
   7134 main ()
   7135 {
   7136 
   7137   ;
   7138   return 0;
   7139 }
   7140 _ACEOF
   7141 if ac_fn_c_try_link "$LINENO"; then :
   7142   eval $cacheid=yes
   7143 else
   7144   eval $cacheid=no
   7145 fi
   7146 rm -f core conftest.err conftest.$ac_objext \
   7147     conftest$ac_exeext conftest.$ac_ext
   7148 fi
   7149 
   7150 
   7151 		CFLAGS="$xorg_testset_save_CFLAGS"
   7152 
   7153 		eval supported=\$$cacheid
   7154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7155 $as_echo "$supported" >&6; }
   7156 		if test "$supported" = "yes" ; then
   7157 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7158 			found="yes"
   7159 		fi
   7160 	fi
   7161 
   7162 	if test $found = "no" ; then
   7163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7165 		fi
   7166 
   7167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7169 		fi
   7170 
   7171 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7172 
   7173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7174 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7175 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7176 		if eval \${$cacheid+:} false; then :
   7177   $as_echo_n "(cached) " >&6
   7178 else
   7179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7180 /* end confdefs.h.  */
   7181 int i;
   7182 int
   7183 main ()
   7184 {
   7185 
   7186   ;
   7187   return 0;
   7188 }
   7189 _ACEOF
   7190 if ac_fn_c_try_link "$LINENO"; then :
   7191   eval $cacheid=yes
   7192 else
   7193   eval $cacheid=no
   7194 fi
   7195 rm -f core conftest.err conftest.$ac_objext \
   7196     conftest$ac_exeext conftest.$ac_ext
   7197 fi
   7198 
   7199 
   7200 		CFLAGS="$xorg_testset_save_CFLAGS"
   7201 
   7202 		eval supported=\$$cacheid
   7203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7204 $as_echo "$supported" >&6; }
   7205 		if test "$supported" = "yes" ; then
   7206 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7207 			found="yes"
   7208 		fi
   7209 	fi
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 xorg_testset_save_CFLAGS="$CFLAGS"
   7226 
   7227 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7228 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7229 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7230 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7231 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7232   $as_echo_n "(cached) " >&6
   7233 else
   7234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7235 /* end confdefs.h.  */
   7236 int i;
   7237 _ACEOF
   7238 if ac_fn_c_try_compile "$LINENO"; then :
   7239   xorg_cv_cc_flag_unknown_warning_option=yes
   7240 else
   7241   xorg_cv_cc_flag_unknown_warning_option=no
   7242 fi
   7243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7244 fi
   7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7246 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7247 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7248 	CFLAGS="$xorg_testset_save_CFLAGS"
   7249 fi
   7250 
   7251 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7252 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7253 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7254 	fi
   7255 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7256 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7257 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7258 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   7265 if ac_fn_c_try_compile "$LINENO"; then :
   7266   xorg_cv_cc_flag_unused_command_line_argument=yes
   7267 else
   7268   xorg_cv_cc_flag_unused_command_line_argument=no
   7269 fi
   7270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7271 fi
   7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7273 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7275 	CFLAGS="$xorg_testset_save_CFLAGS"
   7276 fi
   7277 
   7278 found="no"
   7279 
   7280 	if test $found = "no" ; then
   7281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7283 		fi
   7284 
   7285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7287 		fi
   7288 
   7289 		CFLAGS="$CFLAGS -Werror=nonnull"
   7290 
   7291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7292 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7293 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7294 		if eval \${$cacheid+:} false; then :
   7295   $as_echo_n "(cached) " >&6
   7296 else
   7297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7298 /* end confdefs.h.  */
   7299 int i;
   7300 int
   7301 main ()
   7302 {
   7303 
   7304   ;
   7305   return 0;
   7306 }
   7307 _ACEOF
   7308 if ac_fn_c_try_link "$LINENO"; then :
   7309   eval $cacheid=yes
   7310 else
   7311   eval $cacheid=no
   7312 fi
   7313 rm -f core conftest.err conftest.$ac_objext \
   7314     conftest$ac_exeext conftest.$ac_ext
   7315 fi
   7316 
   7317 
   7318 		CFLAGS="$xorg_testset_save_CFLAGS"
   7319 
   7320 		eval supported=\$$cacheid
   7321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7322 $as_echo "$supported" >&6; }
   7323 		if test "$supported" = "yes" ; then
   7324 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7325 			found="yes"
   7326 		fi
   7327 	fi
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 xorg_testset_save_CFLAGS="$CFLAGS"
   7344 
   7345 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7346 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7347 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7348 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7349 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7350   $as_echo_n "(cached) " >&6
   7351 else
   7352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7353 /* end confdefs.h.  */
   7354 int i;
   7355 _ACEOF
   7356 if ac_fn_c_try_compile "$LINENO"; then :
   7357   xorg_cv_cc_flag_unknown_warning_option=yes
   7358 else
   7359   xorg_cv_cc_flag_unknown_warning_option=no
   7360 fi
   7361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7362 fi
   7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7364 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7365 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7366 	CFLAGS="$xorg_testset_save_CFLAGS"
   7367 fi
   7368 
   7369 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7370 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7371 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7372 	fi
   7373 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7374 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7375 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7376 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7377   $as_echo_n "(cached) " >&6
   7378 else
   7379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7380 /* end confdefs.h.  */
   7381 int i;
   7382 _ACEOF
   7383 if ac_fn_c_try_compile "$LINENO"; then :
   7384   xorg_cv_cc_flag_unused_command_line_argument=yes
   7385 else
   7386   xorg_cv_cc_flag_unused_command_line_argument=no
   7387 fi
   7388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7389 fi
   7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7391 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7392 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7393 	CFLAGS="$xorg_testset_save_CFLAGS"
   7394 fi
   7395 
   7396 found="no"
   7397 
   7398 	if test $found = "no" ; then
   7399 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7400 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7401 		fi
   7402 
   7403 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7404 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7405 		fi
   7406 
   7407 		CFLAGS="$CFLAGS -Werror=init-self"
   7408 
   7409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7410 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7411 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7412 		if eval \${$cacheid+:} false; then :
   7413   $as_echo_n "(cached) " >&6
   7414 else
   7415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7416 /* end confdefs.h.  */
   7417 int i;
   7418 int
   7419 main ()
   7420 {
   7421 
   7422   ;
   7423   return 0;
   7424 }
   7425 _ACEOF
   7426 if ac_fn_c_try_link "$LINENO"; then :
   7427   eval $cacheid=yes
   7428 else
   7429   eval $cacheid=no
   7430 fi
   7431 rm -f core conftest.err conftest.$ac_objext \
   7432     conftest$ac_exeext conftest.$ac_ext
   7433 fi
   7434 
   7435 
   7436 		CFLAGS="$xorg_testset_save_CFLAGS"
   7437 
   7438 		eval supported=\$$cacheid
   7439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7440 $as_echo "$supported" >&6; }
   7441 		if test "$supported" = "yes" ; then
   7442 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7443 			found="yes"
   7444 		fi
   7445 	fi
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 xorg_testset_save_CFLAGS="$CFLAGS"
   7462 
   7463 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7464 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7465 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7466 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7467 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7468   $as_echo_n "(cached) " >&6
   7469 else
   7470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7471 /* end confdefs.h.  */
   7472 int i;
   7473 _ACEOF
   7474 if ac_fn_c_try_compile "$LINENO"; then :
   7475   xorg_cv_cc_flag_unknown_warning_option=yes
   7476 else
   7477   xorg_cv_cc_flag_unknown_warning_option=no
   7478 fi
   7479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7480 fi
   7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7482 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7483 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7484 	CFLAGS="$xorg_testset_save_CFLAGS"
   7485 fi
   7486 
   7487 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7488 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7489 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7490 	fi
   7491 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7493 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7494 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7495   $as_echo_n "(cached) " >&6
   7496 else
   7497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7498 /* end confdefs.h.  */
   7499 int i;
   7500 _ACEOF
   7501 if ac_fn_c_try_compile "$LINENO"; then :
   7502   xorg_cv_cc_flag_unused_command_line_argument=yes
   7503 else
   7504   xorg_cv_cc_flag_unused_command_line_argument=no
   7505 fi
   7506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7507 fi
   7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7509 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7510 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7511 	CFLAGS="$xorg_testset_save_CFLAGS"
   7512 fi
   7513 
   7514 found="no"
   7515 
   7516 	if test $found = "no" ; then
   7517 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7519 		fi
   7520 
   7521 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7523 		fi
   7524 
   7525 		CFLAGS="$CFLAGS -Werror=main"
   7526 
   7527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7528 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7529 		cacheid=xorg_cv_cc_flag__Werror_main
   7530 		if eval \${$cacheid+:} false; then :
   7531   $as_echo_n "(cached) " >&6
   7532 else
   7533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7534 /* end confdefs.h.  */
   7535 int i;
   7536 int
   7537 main ()
   7538 {
   7539 
   7540   ;
   7541   return 0;
   7542 }
   7543 _ACEOF
   7544 if ac_fn_c_try_link "$LINENO"; then :
   7545   eval $cacheid=yes
   7546 else
   7547   eval $cacheid=no
   7548 fi
   7549 rm -f core conftest.err conftest.$ac_objext \
   7550     conftest$ac_exeext conftest.$ac_ext
   7551 fi
   7552 
   7553 
   7554 		CFLAGS="$xorg_testset_save_CFLAGS"
   7555 
   7556 		eval supported=\$$cacheid
   7557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7558 $as_echo "$supported" >&6; }
   7559 		if test "$supported" = "yes" ; then
   7560 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7561 			found="yes"
   7562 		fi
   7563 	fi
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 xorg_testset_save_CFLAGS="$CFLAGS"
   7580 
   7581 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7582 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7583 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7584 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7585 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7586   $as_echo_n "(cached) " >&6
   7587 else
   7588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7589 /* end confdefs.h.  */
   7590 int i;
   7591 _ACEOF
   7592 if ac_fn_c_try_compile "$LINENO"; then :
   7593   xorg_cv_cc_flag_unknown_warning_option=yes
   7594 else
   7595   xorg_cv_cc_flag_unknown_warning_option=no
   7596 fi
   7597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7598 fi
   7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7600 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7601 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7602 	CFLAGS="$xorg_testset_save_CFLAGS"
   7603 fi
   7604 
   7605 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7606 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7607 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7608 	fi
   7609 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7611 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7612 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7613   $as_echo_n "(cached) " >&6
   7614 else
   7615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7616 /* end confdefs.h.  */
   7617 int i;
   7618 _ACEOF
   7619 if ac_fn_c_try_compile "$LINENO"; then :
   7620   xorg_cv_cc_flag_unused_command_line_argument=yes
   7621 else
   7622   xorg_cv_cc_flag_unused_command_line_argument=no
   7623 fi
   7624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7625 fi
   7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7627 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7628 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7629 	CFLAGS="$xorg_testset_save_CFLAGS"
   7630 fi
   7631 
   7632 found="no"
   7633 
   7634 	if test $found = "no" ; then
   7635 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7636 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7637 		fi
   7638 
   7639 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7640 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7641 		fi
   7642 
   7643 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7644 
   7645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7646 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7647 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7648 		if eval \${$cacheid+:} false; then :
   7649   $as_echo_n "(cached) " >&6
   7650 else
   7651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7652 /* end confdefs.h.  */
   7653 int i;
   7654 int
   7655 main ()
   7656 {
   7657 
   7658   ;
   7659   return 0;
   7660 }
   7661 _ACEOF
   7662 if ac_fn_c_try_link "$LINENO"; then :
   7663   eval $cacheid=yes
   7664 else
   7665   eval $cacheid=no
   7666 fi
   7667 rm -f core conftest.err conftest.$ac_objext \
   7668     conftest$ac_exeext conftest.$ac_ext
   7669 fi
   7670 
   7671 
   7672 		CFLAGS="$xorg_testset_save_CFLAGS"
   7673 
   7674 		eval supported=\$$cacheid
   7675 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7676 $as_echo "$supported" >&6; }
   7677 		if test "$supported" = "yes" ; then
   7678 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7679 			found="yes"
   7680 		fi
   7681 	fi
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 xorg_testset_save_CFLAGS="$CFLAGS"
   7698 
   7699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7700 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7701 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7702 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7703 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7704   $as_echo_n "(cached) " >&6
   7705 else
   7706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7707 /* end confdefs.h.  */
   7708 int i;
   7709 _ACEOF
   7710 if ac_fn_c_try_compile "$LINENO"; then :
   7711   xorg_cv_cc_flag_unknown_warning_option=yes
   7712 else
   7713   xorg_cv_cc_flag_unknown_warning_option=no
   7714 fi
   7715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7716 fi
   7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7718 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7719 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7720 	CFLAGS="$xorg_testset_save_CFLAGS"
   7721 fi
   7722 
   7723 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7724 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7725 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7726 	fi
   7727 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7728 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7729 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7730 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7731   $as_echo_n "(cached) " >&6
   7732 else
   7733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7734 /* end confdefs.h.  */
   7735 int i;
   7736 _ACEOF
   7737 if ac_fn_c_try_compile "$LINENO"; then :
   7738   xorg_cv_cc_flag_unused_command_line_argument=yes
   7739 else
   7740   xorg_cv_cc_flag_unused_command_line_argument=no
   7741 fi
   7742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7743 fi
   7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7745 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7746 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7747 	CFLAGS="$xorg_testset_save_CFLAGS"
   7748 fi
   7749 
   7750 found="no"
   7751 
   7752 	if test $found = "no" ; then
   7753 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7754 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7755 		fi
   7756 
   7757 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7758 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7759 		fi
   7760 
   7761 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7762 
   7763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7764 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7765 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7766 		if eval \${$cacheid+:} false; then :
   7767   $as_echo_n "(cached) " >&6
   7768 else
   7769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7770 /* end confdefs.h.  */
   7771 int i;
   7772 int
   7773 main ()
   7774 {
   7775 
   7776   ;
   7777   return 0;
   7778 }
   7779 _ACEOF
   7780 if ac_fn_c_try_link "$LINENO"; then :
   7781   eval $cacheid=yes
   7782 else
   7783   eval $cacheid=no
   7784 fi
   7785 rm -f core conftest.err conftest.$ac_objext \
   7786     conftest$ac_exeext conftest.$ac_ext
   7787 fi
   7788 
   7789 
   7790 		CFLAGS="$xorg_testset_save_CFLAGS"
   7791 
   7792 		eval supported=\$$cacheid
   7793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7794 $as_echo "$supported" >&6; }
   7795 		if test "$supported" = "yes" ; then
   7796 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7797 			found="yes"
   7798 		fi
   7799 	fi
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 xorg_testset_save_CFLAGS="$CFLAGS"
   7816 
   7817 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7818 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7820 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7821 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7822   $as_echo_n "(cached) " >&6
   7823 else
   7824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7825 /* end confdefs.h.  */
   7826 int i;
   7827 _ACEOF
   7828 if ac_fn_c_try_compile "$LINENO"; then :
   7829   xorg_cv_cc_flag_unknown_warning_option=yes
   7830 else
   7831   xorg_cv_cc_flag_unknown_warning_option=no
   7832 fi
   7833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7834 fi
   7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7836 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7837 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7838 	CFLAGS="$xorg_testset_save_CFLAGS"
   7839 fi
   7840 
   7841 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7842 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7844 	fi
   7845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7847 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7848 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7849   $as_echo_n "(cached) " >&6
   7850 else
   7851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7852 /* end confdefs.h.  */
   7853 int i;
   7854 _ACEOF
   7855 if ac_fn_c_try_compile "$LINENO"; then :
   7856   xorg_cv_cc_flag_unused_command_line_argument=yes
   7857 else
   7858   xorg_cv_cc_flag_unused_command_line_argument=no
   7859 fi
   7860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7861 fi
   7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7863 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7864 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7865 	CFLAGS="$xorg_testset_save_CFLAGS"
   7866 fi
   7867 
   7868 found="no"
   7869 
   7870 	if test $found = "no" ; then
   7871 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7873 		fi
   7874 
   7875 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7877 		fi
   7878 
   7879 		CFLAGS="$CFLAGS -Werror=return-type"
   7880 
   7881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7882 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7883 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7884 		if eval \${$cacheid+:} false; then :
   7885   $as_echo_n "(cached) " >&6
   7886 else
   7887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7888 /* end confdefs.h.  */
   7889 int i;
   7890 int
   7891 main ()
   7892 {
   7893 
   7894   ;
   7895   return 0;
   7896 }
   7897 _ACEOF
   7898 if ac_fn_c_try_link "$LINENO"; then :
   7899   eval $cacheid=yes
   7900 else
   7901   eval $cacheid=no
   7902 fi
   7903 rm -f core conftest.err conftest.$ac_objext \
   7904     conftest$ac_exeext conftest.$ac_ext
   7905 fi
   7906 
   7907 
   7908 		CFLAGS="$xorg_testset_save_CFLAGS"
   7909 
   7910 		eval supported=\$$cacheid
   7911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7912 $as_echo "$supported" >&6; }
   7913 		if test "$supported" = "yes" ; then
   7914 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7915 			found="yes"
   7916 		fi
   7917 	fi
   7918 
   7919 	if test $found = "no" ; then
   7920 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7921 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7922 		fi
   7923 
   7924 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7925 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7926 		fi
   7927 
   7928 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7929 
   7930 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7931 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7932 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7933 		if eval \${$cacheid+:} false; then :
   7934   $as_echo_n "(cached) " >&6
   7935 else
   7936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7937 /* end confdefs.h.  */
   7938 int i;
   7939 int
   7940 main ()
   7941 {
   7942 
   7943   ;
   7944   return 0;
   7945 }
   7946 _ACEOF
   7947 if ac_fn_c_try_link "$LINENO"; then :
   7948   eval $cacheid=yes
   7949 else
   7950   eval $cacheid=no
   7951 fi
   7952 rm -f core conftest.err conftest.$ac_objext \
   7953     conftest$ac_exeext conftest.$ac_ext
   7954 fi
   7955 
   7956 
   7957 		CFLAGS="$xorg_testset_save_CFLAGS"
   7958 
   7959 		eval supported=\$$cacheid
   7960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7961 $as_echo "$supported" >&6; }
   7962 		if test "$supported" = "yes" ; then
   7963 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7964 			found="yes"
   7965 		fi
   7966 	fi
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 xorg_testset_save_CFLAGS="$CFLAGS"
   7983 
   7984 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7985 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7986 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7987 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7988 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7989   $as_echo_n "(cached) " >&6
   7990 else
   7991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7992 /* end confdefs.h.  */
   7993 int i;
   7994 _ACEOF
   7995 if ac_fn_c_try_compile "$LINENO"; then :
   7996   xorg_cv_cc_flag_unknown_warning_option=yes
   7997 else
   7998   xorg_cv_cc_flag_unknown_warning_option=no
   7999 fi
   8000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8001 fi
   8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8003 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8004 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8005 	CFLAGS="$xorg_testset_save_CFLAGS"
   8006 fi
   8007 
   8008 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8009 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8010 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8011 	fi
   8012 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8014 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8015 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8016   $as_echo_n "(cached) " >&6
   8017 else
   8018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8019 /* end confdefs.h.  */
   8020 int i;
   8021 _ACEOF
   8022 if ac_fn_c_try_compile "$LINENO"; then :
   8023   xorg_cv_cc_flag_unused_command_line_argument=yes
   8024 else
   8025   xorg_cv_cc_flag_unused_command_line_argument=no
   8026 fi
   8027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8028 fi
   8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8030 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8031 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8032 	CFLAGS="$xorg_testset_save_CFLAGS"
   8033 fi
   8034 
   8035 found="no"
   8036 
   8037 	if test $found = "no" ; then
   8038 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8040 		fi
   8041 
   8042 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8044 		fi
   8045 
   8046 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8047 
   8048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8049 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8050 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8051 		if eval \${$cacheid+:} false; then :
   8052   $as_echo_n "(cached) " >&6
   8053 else
   8054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8055 /* end confdefs.h.  */
   8056 int i;
   8057 int
   8058 main ()
   8059 {
   8060 
   8061   ;
   8062   return 0;
   8063 }
   8064 _ACEOF
   8065 if ac_fn_c_try_link "$LINENO"; then :
   8066   eval $cacheid=yes
   8067 else
   8068   eval $cacheid=no
   8069 fi
   8070 rm -f core conftest.err conftest.$ac_objext \
   8071     conftest$ac_exeext conftest.$ac_ext
   8072 fi
   8073 
   8074 
   8075 		CFLAGS="$xorg_testset_save_CFLAGS"
   8076 
   8077 		eval supported=\$$cacheid
   8078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8079 $as_echo "$supported" >&6; }
   8080 		if test "$supported" = "yes" ; then
   8081 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8082 			found="yes"
   8083 		fi
   8084 	fi
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 xorg_testset_save_CFLAGS="$CFLAGS"
   8101 
   8102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8105 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8106 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8107   $as_echo_n "(cached) " >&6
   8108 else
   8109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8110 /* end confdefs.h.  */
   8111 int i;
   8112 _ACEOF
   8113 if ac_fn_c_try_compile "$LINENO"; then :
   8114   xorg_cv_cc_flag_unknown_warning_option=yes
   8115 else
   8116   xorg_cv_cc_flag_unknown_warning_option=no
   8117 fi
   8118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8119 fi
   8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8121 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8123 	CFLAGS="$xorg_testset_save_CFLAGS"
   8124 fi
   8125 
   8126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8129 	fi
   8130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8132 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8133 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8134   $as_echo_n "(cached) " >&6
   8135 else
   8136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8137 /* end confdefs.h.  */
   8138 int i;
   8139 _ACEOF
   8140 if ac_fn_c_try_compile "$LINENO"; then :
   8141   xorg_cv_cc_flag_unused_command_line_argument=yes
   8142 else
   8143   xorg_cv_cc_flag_unused_command_line_argument=no
   8144 fi
   8145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8146 fi
   8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8148 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8149 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8150 	CFLAGS="$xorg_testset_save_CFLAGS"
   8151 fi
   8152 
   8153 found="no"
   8154 
   8155 	if test $found = "no" ; then
   8156 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8158 		fi
   8159 
   8160 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8162 		fi
   8163 
   8164 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8165 
   8166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8167 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8168 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8169 		if eval \${$cacheid+:} false; then :
   8170   $as_echo_n "(cached) " >&6
   8171 else
   8172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8173 /* end confdefs.h.  */
   8174 int i;
   8175 int
   8176 main ()
   8177 {
   8178 
   8179   ;
   8180   return 0;
   8181 }
   8182 _ACEOF
   8183 if ac_fn_c_try_link "$LINENO"; then :
   8184   eval $cacheid=yes
   8185 else
   8186   eval $cacheid=no
   8187 fi
   8188 rm -f core conftest.err conftest.$ac_objext \
   8189     conftest$ac_exeext conftest.$ac_ext
   8190 fi
   8191 
   8192 
   8193 		CFLAGS="$xorg_testset_save_CFLAGS"
   8194 
   8195 		eval supported=\$$cacheid
   8196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8197 $as_echo "$supported" >&6; }
   8198 		if test "$supported" = "yes" ; then
   8199 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8200 			found="yes"
   8201 		fi
   8202 	fi
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 xorg_testset_save_CFLAGS="$CFLAGS"
   8219 
   8220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8223 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8224 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8225   $as_echo_n "(cached) " >&6
   8226 else
   8227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8228 /* end confdefs.h.  */
   8229 int i;
   8230 _ACEOF
   8231 if ac_fn_c_try_compile "$LINENO"; then :
   8232   xorg_cv_cc_flag_unknown_warning_option=yes
   8233 else
   8234   xorg_cv_cc_flag_unknown_warning_option=no
   8235 fi
   8236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8237 fi
   8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8239 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8241 	CFLAGS="$xorg_testset_save_CFLAGS"
   8242 fi
   8243 
   8244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8247 	fi
   8248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8250 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8251 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8252   $as_echo_n "(cached) " >&6
   8253 else
   8254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8255 /* end confdefs.h.  */
   8256 int i;
   8257 _ACEOF
   8258 if ac_fn_c_try_compile "$LINENO"; then :
   8259   xorg_cv_cc_flag_unused_command_line_argument=yes
   8260 else
   8261   xorg_cv_cc_flag_unused_command_line_argument=no
   8262 fi
   8263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8264 fi
   8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8266 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8268 	CFLAGS="$xorg_testset_save_CFLAGS"
   8269 fi
   8270 
   8271 found="no"
   8272 
   8273 	if test $found = "no" ; then
   8274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8276 		fi
   8277 
   8278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8280 		fi
   8281 
   8282 		CFLAGS="$CFLAGS -Werror=write-strings"
   8283 
   8284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8285 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8286 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8287 		if eval \${$cacheid+:} false; then :
   8288   $as_echo_n "(cached) " >&6
   8289 else
   8290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8291 /* end confdefs.h.  */
   8292 int i;
   8293 int
   8294 main ()
   8295 {
   8296 
   8297   ;
   8298   return 0;
   8299 }
   8300 _ACEOF
   8301 if ac_fn_c_try_link "$LINENO"; then :
   8302   eval $cacheid=yes
   8303 else
   8304   eval $cacheid=no
   8305 fi
   8306 rm -f core conftest.err conftest.$ac_objext \
   8307     conftest$ac_exeext conftest.$ac_ext
   8308 fi
   8309 
   8310 
   8311 		CFLAGS="$xorg_testset_save_CFLAGS"
   8312 
   8313 		eval supported=\$$cacheid
   8314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8315 $as_echo "$supported" >&6; }
   8316 		if test "$supported" = "yes" ; then
   8317 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8318 			found="yes"
   8319 		fi
   8320 	fi
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 xorg_testset_save_CFLAGS="$CFLAGS"
   8337 
   8338 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8339 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8341 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8342 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8343   $as_echo_n "(cached) " >&6
   8344 else
   8345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8346 /* end confdefs.h.  */
   8347 int i;
   8348 _ACEOF
   8349 if ac_fn_c_try_compile "$LINENO"; then :
   8350   xorg_cv_cc_flag_unknown_warning_option=yes
   8351 else
   8352   xorg_cv_cc_flag_unknown_warning_option=no
   8353 fi
   8354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8355 fi
   8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8357 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8358 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8359 	CFLAGS="$xorg_testset_save_CFLAGS"
   8360 fi
   8361 
   8362 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8363 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8365 	fi
   8366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8368 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8369 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8370   $as_echo_n "(cached) " >&6
   8371 else
   8372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8373 /* end confdefs.h.  */
   8374 int i;
   8375 _ACEOF
   8376 if ac_fn_c_try_compile "$LINENO"; then :
   8377   xorg_cv_cc_flag_unused_command_line_argument=yes
   8378 else
   8379   xorg_cv_cc_flag_unused_command_line_argument=no
   8380 fi
   8381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8382 fi
   8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8384 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8385 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8386 	CFLAGS="$xorg_testset_save_CFLAGS"
   8387 fi
   8388 
   8389 found="no"
   8390 
   8391 	if test $found = "no" ; then
   8392 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8394 		fi
   8395 
   8396 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8398 		fi
   8399 
   8400 		CFLAGS="$CFLAGS -Werror=address"
   8401 
   8402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8403 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8404 		cacheid=xorg_cv_cc_flag__Werror_address
   8405 		if eval \${$cacheid+:} false; then :
   8406   $as_echo_n "(cached) " >&6
   8407 else
   8408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8409 /* end confdefs.h.  */
   8410 int i;
   8411 int
   8412 main ()
   8413 {
   8414 
   8415   ;
   8416   return 0;
   8417 }
   8418 _ACEOF
   8419 if ac_fn_c_try_link "$LINENO"; then :
   8420   eval $cacheid=yes
   8421 else
   8422   eval $cacheid=no
   8423 fi
   8424 rm -f core conftest.err conftest.$ac_objext \
   8425     conftest$ac_exeext conftest.$ac_ext
   8426 fi
   8427 
   8428 
   8429 		CFLAGS="$xorg_testset_save_CFLAGS"
   8430 
   8431 		eval supported=\$$cacheid
   8432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8433 $as_echo "$supported" >&6; }
   8434 		if test "$supported" = "yes" ; then
   8435 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8436 			found="yes"
   8437 		fi
   8438 	fi
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 xorg_testset_save_CFLAGS="$CFLAGS"
   8455 
   8456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8459 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8460 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8461   $as_echo_n "(cached) " >&6
   8462 else
   8463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8464 /* end confdefs.h.  */
   8465 int i;
   8466 _ACEOF
   8467 if ac_fn_c_try_compile "$LINENO"; then :
   8468   xorg_cv_cc_flag_unknown_warning_option=yes
   8469 else
   8470   xorg_cv_cc_flag_unknown_warning_option=no
   8471 fi
   8472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8473 fi
   8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8475 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8477 	CFLAGS="$xorg_testset_save_CFLAGS"
   8478 fi
   8479 
   8480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8483 	fi
   8484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8486 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8487 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8488   $as_echo_n "(cached) " >&6
   8489 else
   8490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8491 /* end confdefs.h.  */
   8492 int i;
   8493 _ACEOF
   8494 if ac_fn_c_try_compile "$LINENO"; then :
   8495   xorg_cv_cc_flag_unused_command_line_argument=yes
   8496 else
   8497   xorg_cv_cc_flag_unused_command_line_argument=no
   8498 fi
   8499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8500 fi
   8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8502 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8504 	CFLAGS="$xorg_testset_save_CFLAGS"
   8505 fi
   8506 
   8507 found="no"
   8508 
   8509 	if test $found = "no" ; then
   8510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8512 		fi
   8513 
   8514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8516 		fi
   8517 
   8518 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8519 
   8520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8521 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8522 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8523 		if eval \${$cacheid+:} false; then :
   8524   $as_echo_n "(cached) " >&6
   8525 else
   8526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8527 /* end confdefs.h.  */
   8528 int i;
   8529 int
   8530 main ()
   8531 {
   8532 
   8533   ;
   8534   return 0;
   8535 }
   8536 _ACEOF
   8537 if ac_fn_c_try_link "$LINENO"; then :
   8538   eval $cacheid=yes
   8539 else
   8540   eval $cacheid=no
   8541 fi
   8542 rm -f core conftest.err conftest.$ac_objext \
   8543     conftest$ac_exeext conftest.$ac_ext
   8544 fi
   8545 
   8546 
   8547 		CFLAGS="$xorg_testset_save_CFLAGS"
   8548 
   8549 		eval supported=\$$cacheid
   8550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8551 $as_echo "$supported" >&6; }
   8552 		if test "$supported" = "yes" ; then
   8553 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8554 			found="yes"
   8555 		fi
   8556 	fi
   8557 
   8558 	if test $found = "no" ; then
   8559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8561 		fi
   8562 
   8563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8565 		fi
   8566 
   8567 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8568 
   8569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8570 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8571 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8572 		if eval \${$cacheid+:} false; then :
   8573   $as_echo_n "(cached) " >&6
   8574 else
   8575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8576 /* end confdefs.h.  */
   8577 int i;
   8578 int
   8579 main ()
   8580 {
   8581 
   8582   ;
   8583   return 0;
   8584 }
   8585 _ACEOF
   8586 if ac_fn_c_try_link "$LINENO"; then :
   8587   eval $cacheid=yes
   8588 else
   8589   eval $cacheid=no
   8590 fi
   8591 rm -f core conftest.err conftest.$ac_objext \
   8592     conftest$ac_exeext conftest.$ac_ext
   8593 fi
   8594 
   8595 
   8596 		CFLAGS="$xorg_testset_save_CFLAGS"
   8597 
   8598 		eval supported=\$$cacheid
   8599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8600 $as_echo "$supported" >&6; }
   8601 		if test "$supported" = "yes" ; then
   8602 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8603 			found="yes"
   8604 		fi
   8605 	fi
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 xorg_testset_save_CFLAGS="$CFLAGS"
   8622 
   8623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8626 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8627 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8628   $as_echo_n "(cached) " >&6
   8629 else
   8630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8631 /* end confdefs.h.  */
   8632 int i;
   8633 _ACEOF
   8634 if ac_fn_c_try_compile "$LINENO"; then :
   8635   xorg_cv_cc_flag_unknown_warning_option=yes
   8636 else
   8637   xorg_cv_cc_flag_unknown_warning_option=no
   8638 fi
   8639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8640 fi
   8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8642 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8643 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8644 	CFLAGS="$xorg_testset_save_CFLAGS"
   8645 fi
   8646 
   8647 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8648 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8649 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8650 	fi
   8651 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8653 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8654 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8655   $as_echo_n "(cached) " >&6
   8656 else
   8657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8658 /* end confdefs.h.  */
   8659 int i;
   8660 _ACEOF
   8661 if ac_fn_c_try_compile "$LINENO"; then :
   8662   xorg_cv_cc_flag_unused_command_line_argument=yes
   8663 else
   8664   xorg_cv_cc_flag_unused_command_line_argument=no
   8665 fi
   8666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8667 fi
   8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8669 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8671 	CFLAGS="$xorg_testset_save_CFLAGS"
   8672 fi
   8673 
   8674 found="no"
   8675 
   8676 	if test $found = "no" ; then
   8677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8679 		fi
   8680 
   8681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8683 		fi
   8684 
   8685 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8686 
   8687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8688 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8689 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8690 		if eval \${$cacheid+:} false; then :
   8691   $as_echo_n "(cached) " >&6
   8692 else
   8693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8694 /* end confdefs.h.  */
   8695 int i;
   8696 int
   8697 main ()
   8698 {
   8699 
   8700   ;
   8701   return 0;
   8702 }
   8703 _ACEOF
   8704 if ac_fn_c_try_link "$LINENO"; then :
   8705   eval $cacheid=yes
   8706 else
   8707   eval $cacheid=no
   8708 fi
   8709 rm -f core conftest.err conftest.$ac_objext \
   8710     conftest$ac_exeext conftest.$ac_ext
   8711 fi
   8712 
   8713 
   8714 		CFLAGS="$xorg_testset_save_CFLAGS"
   8715 
   8716 		eval supported=\$$cacheid
   8717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8718 $as_echo "$supported" >&6; }
   8719 		if test "$supported" = "yes" ; then
   8720 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8721 			found="yes"
   8722 		fi
   8723 	fi
   8724 
   8725  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8726 else
   8727 { $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
   8728 $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;}
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 xorg_testset_save_CFLAGS="$CFLAGS"
   8743 
   8744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8747 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8748 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   8757 else
   8758   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   8763 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8765 	CFLAGS="$xorg_testset_save_CFLAGS"
   8766 fi
   8767 
   8768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8771 	fi
   8772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8774 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8775 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8776   $as_echo_n "(cached) " >&6
   8777 else
   8778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8779 /* end confdefs.h.  */
   8780 int i;
   8781 _ACEOF
   8782 if ac_fn_c_try_compile "$LINENO"; then :
   8783   xorg_cv_cc_flag_unused_command_line_argument=yes
   8784 else
   8785   xorg_cv_cc_flag_unused_command_line_argument=no
   8786 fi
   8787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8788 fi
   8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8790 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8791 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8792 	CFLAGS="$xorg_testset_save_CFLAGS"
   8793 fi
   8794 
   8795 found="no"
   8796 
   8797 	if test $found = "no" ; then
   8798 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8799 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8800 		fi
   8801 
   8802 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8803 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8804 		fi
   8805 
   8806 		CFLAGS="$CFLAGS -Wimplicit"
   8807 
   8808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8809 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8810 		cacheid=xorg_cv_cc_flag__Wimplicit
   8811 		if eval \${$cacheid+:} false; then :
   8812   $as_echo_n "(cached) " >&6
   8813 else
   8814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8815 /* end confdefs.h.  */
   8816 int i;
   8817 int
   8818 main ()
   8819 {
   8820 
   8821   ;
   8822   return 0;
   8823 }
   8824 _ACEOF
   8825 if ac_fn_c_try_link "$LINENO"; then :
   8826   eval $cacheid=yes
   8827 else
   8828   eval $cacheid=no
   8829 fi
   8830 rm -f core conftest.err conftest.$ac_objext \
   8831     conftest$ac_exeext conftest.$ac_ext
   8832 fi
   8833 
   8834 
   8835 		CFLAGS="$xorg_testset_save_CFLAGS"
   8836 
   8837 		eval supported=\$$cacheid
   8838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8839 $as_echo "$supported" >&6; }
   8840 		if test "$supported" = "yes" ; then
   8841 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8842 			found="yes"
   8843 		fi
   8844 	fi
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 xorg_testset_save_CFLAGS="$CFLAGS"
   8861 
   8862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8865 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8866 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8867   $as_echo_n "(cached) " >&6
   8868 else
   8869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8870 /* end confdefs.h.  */
   8871 int i;
   8872 _ACEOF
   8873 if ac_fn_c_try_compile "$LINENO"; then :
   8874   xorg_cv_cc_flag_unknown_warning_option=yes
   8875 else
   8876   xorg_cv_cc_flag_unknown_warning_option=no
   8877 fi
   8878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8879 fi
   8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8881 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8883 	CFLAGS="$xorg_testset_save_CFLAGS"
   8884 fi
   8885 
   8886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8889 	fi
   8890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8892 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8893 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8894   $as_echo_n "(cached) " >&6
   8895 else
   8896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8897 /* end confdefs.h.  */
   8898 int i;
   8899 _ACEOF
   8900 if ac_fn_c_try_compile "$LINENO"; then :
   8901   xorg_cv_cc_flag_unused_command_line_argument=yes
   8902 else
   8903   xorg_cv_cc_flag_unused_command_line_argument=no
   8904 fi
   8905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8906 fi
   8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8908 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8909 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8910 	CFLAGS="$xorg_testset_save_CFLAGS"
   8911 fi
   8912 
   8913 found="no"
   8914 
   8915 	if test $found = "no" ; then
   8916 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8918 		fi
   8919 
   8920 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8922 		fi
   8923 
   8924 		CFLAGS="$CFLAGS -Wnonnull"
   8925 
   8926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8927 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8928 		cacheid=xorg_cv_cc_flag__Wnonnull
   8929 		if eval \${$cacheid+:} false; then :
   8930   $as_echo_n "(cached) " >&6
   8931 else
   8932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8933 /* end confdefs.h.  */
   8934 int i;
   8935 int
   8936 main ()
   8937 {
   8938 
   8939   ;
   8940   return 0;
   8941 }
   8942 _ACEOF
   8943 if ac_fn_c_try_link "$LINENO"; then :
   8944   eval $cacheid=yes
   8945 else
   8946   eval $cacheid=no
   8947 fi
   8948 rm -f core conftest.err conftest.$ac_objext \
   8949     conftest$ac_exeext conftest.$ac_ext
   8950 fi
   8951 
   8952 
   8953 		CFLAGS="$xorg_testset_save_CFLAGS"
   8954 
   8955 		eval supported=\$$cacheid
   8956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8957 $as_echo "$supported" >&6; }
   8958 		if test "$supported" = "yes" ; then
   8959 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8960 			found="yes"
   8961 		fi
   8962 	fi
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 xorg_testset_save_CFLAGS="$CFLAGS"
   8979 
   8980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8983 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8984 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8985   $as_echo_n "(cached) " >&6
   8986 else
   8987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8988 /* end confdefs.h.  */
   8989 int i;
   8990 _ACEOF
   8991 if ac_fn_c_try_compile "$LINENO"; then :
   8992   xorg_cv_cc_flag_unknown_warning_option=yes
   8993 else
   8994   xorg_cv_cc_flag_unknown_warning_option=no
   8995 fi
   8996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8997 fi
   8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8999 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9000 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9001 	CFLAGS="$xorg_testset_save_CFLAGS"
   9002 fi
   9003 
   9004 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9005 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9006 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9007 	fi
   9008 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9010 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9011 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9012   $as_echo_n "(cached) " >&6
   9013 else
   9014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9015 /* end confdefs.h.  */
   9016 int i;
   9017 _ACEOF
   9018 if ac_fn_c_try_compile "$LINENO"; then :
   9019   xorg_cv_cc_flag_unused_command_line_argument=yes
   9020 else
   9021   xorg_cv_cc_flag_unused_command_line_argument=no
   9022 fi
   9023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9024 fi
   9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9026 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9028 	CFLAGS="$xorg_testset_save_CFLAGS"
   9029 fi
   9030 
   9031 found="no"
   9032 
   9033 	if test $found = "no" ; then
   9034 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9036 		fi
   9037 
   9038 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9040 		fi
   9041 
   9042 		CFLAGS="$CFLAGS -Winit-self"
   9043 
   9044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9045 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9046 		cacheid=xorg_cv_cc_flag__Winit_self
   9047 		if eval \${$cacheid+:} false; then :
   9048   $as_echo_n "(cached) " >&6
   9049 else
   9050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9051 /* end confdefs.h.  */
   9052 int i;
   9053 int
   9054 main ()
   9055 {
   9056 
   9057   ;
   9058   return 0;
   9059 }
   9060 _ACEOF
   9061 if ac_fn_c_try_link "$LINENO"; then :
   9062   eval $cacheid=yes
   9063 else
   9064   eval $cacheid=no
   9065 fi
   9066 rm -f core conftest.err conftest.$ac_objext \
   9067     conftest$ac_exeext conftest.$ac_ext
   9068 fi
   9069 
   9070 
   9071 		CFLAGS="$xorg_testset_save_CFLAGS"
   9072 
   9073 		eval supported=\$$cacheid
   9074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9075 $as_echo "$supported" >&6; }
   9076 		if test "$supported" = "yes" ; then
   9077 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9078 			found="yes"
   9079 		fi
   9080 	fi
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 xorg_testset_save_CFLAGS="$CFLAGS"
   9097 
   9098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9099 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9101 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9102 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9103   $as_echo_n "(cached) " >&6
   9104 else
   9105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 int i;
   9108 _ACEOF
   9109 if ac_fn_c_try_compile "$LINENO"; then :
   9110   xorg_cv_cc_flag_unknown_warning_option=yes
   9111 else
   9112   xorg_cv_cc_flag_unknown_warning_option=no
   9113 fi
   9114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9115 fi
   9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9117 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9119 	CFLAGS="$xorg_testset_save_CFLAGS"
   9120 fi
   9121 
   9122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9125 	fi
   9126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9128 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9129 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9130   $as_echo_n "(cached) " >&6
   9131 else
   9132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9133 /* end confdefs.h.  */
   9134 int i;
   9135 _ACEOF
   9136 if ac_fn_c_try_compile "$LINENO"; then :
   9137   xorg_cv_cc_flag_unused_command_line_argument=yes
   9138 else
   9139   xorg_cv_cc_flag_unused_command_line_argument=no
   9140 fi
   9141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9142 fi
   9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9144 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9146 	CFLAGS="$xorg_testset_save_CFLAGS"
   9147 fi
   9148 
   9149 found="no"
   9150 
   9151 	if test $found = "no" ; then
   9152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9154 		fi
   9155 
   9156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9158 		fi
   9159 
   9160 		CFLAGS="$CFLAGS -Wmain"
   9161 
   9162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9163 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9164 		cacheid=xorg_cv_cc_flag__Wmain
   9165 		if eval \${$cacheid+:} false; then :
   9166   $as_echo_n "(cached) " >&6
   9167 else
   9168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9169 /* end confdefs.h.  */
   9170 int i;
   9171 int
   9172 main ()
   9173 {
   9174 
   9175   ;
   9176   return 0;
   9177 }
   9178 _ACEOF
   9179 if ac_fn_c_try_link "$LINENO"; then :
   9180   eval $cacheid=yes
   9181 else
   9182   eval $cacheid=no
   9183 fi
   9184 rm -f core conftest.err conftest.$ac_objext \
   9185     conftest$ac_exeext conftest.$ac_ext
   9186 fi
   9187 
   9188 
   9189 		CFLAGS="$xorg_testset_save_CFLAGS"
   9190 
   9191 		eval supported=\$$cacheid
   9192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9193 $as_echo "$supported" >&6; }
   9194 		if test "$supported" = "yes" ; then
   9195 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9196 			found="yes"
   9197 		fi
   9198 	fi
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 xorg_testset_save_CFLAGS="$CFLAGS"
   9215 
   9216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9219 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9220 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9221   $as_echo_n "(cached) " >&6
   9222 else
   9223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9224 /* end confdefs.h.  */
   9225 int i;
   9226 _ACEOF
   9227 if ac_fn_c_try_compile "$LINENO"; then :
   9228   xorg_cv_cc_flag_unknown_warning_option=yes
   9229 else
   9230   xorg_cv_cc_flag_unknown_warning_option=no
   9231 fi
   9232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9233 fi
   9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9235 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9236 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9237 	CFLAGS="$xorg_testset_save_CFLAGS"
   9238 fi
   9239 
   9240 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9241 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9243 	fi
   9244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9246 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9247 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9248   $as_echo_n "(cached) " >&6
   9249 else
   9250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9251 /* end confdefs.h.  */
   9252 int i;
   9253 _ACEOF
   9254 if ac_fn_c_try_compile "$LINENO"; then :
   9255   xorg_cv_cc_flag_unused_command_line_argument=yes
   9256 else
   9257   xorg_cv_cc_flag_unused_command_line_argument=no
   9258 fi
   9259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9260 fi
   9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9262 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9264 	CFLAGS="$xorg_testset_save_CFLAGS"
   9265 fi
   9266 
   9267 found="no"
   9268 
   9269 	if test $found = "no" ; then
   9270 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9272 		fi
   9273 
   9274 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9276 		fi
   9277 
   9278 		CFLAGS="$CFLAGS -Wmissing-braces"
   9279 
   9280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9281 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9282 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9283 		if eval \${$cacheid+:} false; then :
   9284   $as_echo_n "(cached) " >&6
   9285 else
   9286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9287 /* end confdefs.h.  */
   9288 int i;
   9289 int
   9290 main ()
   9291 {
   9292 
   9293   ;
   9294   return 0;
   9295 }
   9296 _ACEOF
   9297 if ac_fn_c_try_link "$LINENO"; then :
   9298   eval $cacheid=yes
   9299 else
   9300   eval $cacheid=no
   9301 fi
   9302 rm -f core conftest.err conftest.$ac_objext \
   9303     conftest$ac_exeext conftest.$ac_ext
   9304 fi
   9305 
   9306 
   9307 		CFLAGS="$xorg_testset_save_CFLAGS"
   9308 
   9309 		eval supported=\$$cacheid
   9310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9311 $as_echo "$supported" >&6; }
   9312 		if test "$supported" = "yes" ; then
   9313 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9314 			found="yes"
   9315 		fi
   9316 	fi
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 xorg_testset_save_CFLAGS="$CFLAGS"
   9333 
   9334 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9335 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9337 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9338 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9339   $as_echo_n "(cached) " >&6
   9340 else
   9341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9342 /* end confdefs.h.  */
   9343 int i;
   9344 _ACEOF
   9345 if ac_fn_c_try_compile "$LINENO"; then :
   9346   xorg_cv_cc_flag_unknown_warning_option=yes
   9347 else
   9348   xorg_cv_cc_flag_unknown_warning_option=no
   9349 fi
   9350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9351 fi
   9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9353 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9355 	CFLAGS="$xorg_testset_save_CFLAGS"
   9356 fi
   9357 
   9358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9361 	fi
   9362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9364 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9365 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9366   $as_echo_n "(cached) " >&6
   9367 else
   9368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9369 /* end confdefs.h.  */
   9370 int i;
   9371 _ACEOF
   9372 if ac_fn_c_try_compile "$LINENO"; then :
   9373   xorg_cv_cc_flag_unused_command_line_argument=yes
   9374 else
   9375   xorg_cv_cc_flag_unused_command_line_argument=no
   9376 fi
   9377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9378 fi
   9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9380 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9381 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9382 	CFLAGS="$xorg_testset_save_CFLAGS"
   9383 fi
   9384 
   9385 found="no"
   9386 
   9387 	if test $found = "no" ; then
   9388 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9389 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9390 		fi
   9391 
   9392 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9393 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9394 		fi
   9395 
   9396 		CFLAGS="$CFLAGS -Wsequence-point"
   9397 
   9398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9399 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9400 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9401 		if eval \${$cacheid+:} false; then :
   9402   $as_echo_n "(cached) " >&6
   9403 else
   9404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9405 /* end confdefs.h.  */
   9406 int i;
   9407 int
   9408 main ()
   9409 {
   9410 
   9411   ;
   9412   return 0;
   9413 }
   9414 _ACEOF
   9415 if ac_fn_c_try_link "$LINENO"; then :
   9416   eval $cacheid=yes
   9417 else
   9418   eval $cacheid=no
   9419 fi
   9420 rm -f core conftest.err conftest.$ac_objext \
   9421     conftest$ac_exeext conftest.$ac_ext
   9422 fi
   9423 
   9424 
   9425 		CFLAGS="$xorg_testset_save_CFLAGS"
   9426 
   9427 		eval supported=\$$cacheid
   9428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9429 $as_echo "$supported" >&6; }
   9430 		if test "$supported" = "yes" ; then
   9431 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9432 			found="yes"
   9433 		fi
   9434 	fi
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 xorg_testset_save_CFLAGS="$CFLAGS"
   9451 
   9452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9455 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9456 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9457   $as_echo_n "(cached) " >&6
   9458 else
   9459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9460 /* end confdefs.h.  */
   9461 int i;
   9462 _ACEOF
   9463 if ac_fn_c_try_compile "$LINENO"; then :
   9464   xorg_cv_cc_flag_unknown_warning_option=yes
   9465 else
   9466   xorg_cv_cc_flag_unknown_warning_option=no
   9467 fi
   9468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9469 fi
   9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9471 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9472 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9473 	CFLAGS="$xorg_testset_save_CFLAGS"
   9474 fi
   9475 
   9476 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9477 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9478 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9479 	fi
   9480 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9482 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9483 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9484   $as_echo_n "(cached) " >&6
   9485 else
   9486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9487 /* end confdefs.h.  */
   9488 int i;
   9489 _ACEOF
   9490 if ac_fn_c_try_compile "$LINENO"; then :
   9491   xorg_cv_cc_flag_unused_command_line_argument=yes
   9492 else
   9493   xorg_cv_cc_flag_unused_command_line_argument=no
   9494 fi
   9495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9496 fi
   9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9498 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9499 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9500 	CFLAGS="$xorg_testset_save_CFLAGS"
   9501 fi
   9502 
   9503 found="no"
   9504 
   9505 	if test $found = "no" ; then
   9506 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9507 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9508 		fi
   9509 
   9510 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9511 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9512 		fi
   9513 
   9514 		CFLAGS="$CFLAGS -Wreturn-type"
   9515 
   9516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9517 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9518 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9519 		if eval \${$cacheid+:} false; then :
   9520   $as_echo_n "(cached) " >&6
   9521 else
   9522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9523 /* end confdefs.h.  */
   9524 int i;
   9525 int
   9526 main ()
   9527 {
   9528 
   9529   ;
   9530   return 0;
   9531 }
   9532 _ACEOF
   9533 if ac_fn_c_try_link "$LINENO"; then :
   9534   eval $cacheid=yes
   9535 else
   9536   eval $cacheid=no
   9537 fi
   9538 rm -f core conftest.err conftest.$ac_objext \
   9539     conftest$ac_exeext conftest.$ac_ext
   9540 fi
   9541 
   9542 
   9543 		CFLAGS="$xorg_testset_save_CFLAGS"
   9544 
   9545 		eval supported=\$$cacheid
   9546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9547 $as_echo "$supported" >&6; }
   9548 		if test "$supported" = "yes" ; then
   9549 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9550 			found="yes"
   9551 		fi
   9552 	fi
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 xorg_testset_save_CFLAGS="$CFLAGS"
   9569 
   9570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9573 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9574 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9575   $as_echo_n "(cached) " >&6
   9576 else
   9577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9578 /* end confdefs.h.  */
   9579 int i;
   9580 _ACEOF
   9581 if ac_fn_c_try_compile "$LINENO"; then :
   9582   xorg_cv_cc_flag_unknown_warning_option=yes
   9583 else
   9584   xorg_cv_cc_flag_unknown_warning_option=no
   9585 fi
   9586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9587 fi
   9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9589 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9591 	CFLAGS="$xorg_testset_save_CFLAGS"
   9592 fi
   9593 
   9594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9597 	fi
   9598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9600 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9601 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9602   $as_echo_n "(cached) " >&6
   9603 else
   9604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9605 /* end confdefs.h.  */
   9606 int i;
   9607 _ACEOF
   9608 if ac_fn_c_try_compile "$LINENO"; then :
   9609   xorg_cv_cc_flag_unused_command_line_argument=yes
   9610 else
   9611   xorg_cv_cc_flag_unused_command_line_argument=no
   9612 fi
   9613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9614 fi
   9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9616 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9617 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9618 	CFLAGS="$xorg_testset_save_CFLAGS"
   9619 fi
   9620 
   9621 found="no"
   9622 
   9623 	if test $found = "no" ; then
   9624 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9625 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9626 		fi
   9627 
   9628 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9629 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9630 		fi
   9631 
   9632 		CFLAGS="$CFLAGS -Wtrigraphs"
   9633 
   9634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9635 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9636 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9637 		if eval \${$cacheid+:} false; then :
   9638   $as_echo_n "(cached) " >&6
   9639 else
   9640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9641 /* end confdefs.h.  */
   9642 int i;
   9643 int
   9644 main ()
   9645 {
   9646 
   9647   ;
   9648   return 0;
   9649 }
   9650 _ACEOF
   9651 if ac_fn_c_try_link "$LINENO"; then :
   9652   eval $cacheid=yes
   9653 else
   9654   eval $cacheid=no
   9655 fi
   9656 rm -f core conftest.err conftest.$ac_objext \
   9657     conftest$ac_exeext conftest.$ac_ext
   9658 fi
   9659 
   9660 
   9661 		CFLAGS="$xorg_testset_save_CFLAGS"
   9662 
   9663 		eval supported=\$$cacheid
   9664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9665 $as_echo "$supported" >&6; }
   9666 		if test "$supported" = "yes" ; then
   9667 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9668 			found="yes"
   9669 		fi
   9670 	fi
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 xorg_testset_save_CFLAGS="$CFLAGS"
   9687 
   9688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9689 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9691 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9692 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9693   $as_echo_n "(cached) " >&6
   9694 else
   9695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9696 /* end confdefs.h.  */
   9697 int i;
   9698 _ACEOF
   9699 if ac_fn_c_try_compile "$LINENO"; then :
   9700   xorg_cv_cc_flag_unknown_warning_option=yes
   9701 else
   9702   xorg_cv_cc_flag_unknown_warning_option=no
   9703 fi
   9704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9705 fi
   9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9707 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9708 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9709 	CFLAGS="$xorg_testset_save_CFLAGS"
   9710 fi
   9711 
   9712 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9713 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9714 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9715 	fi
   9716 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9717 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9718 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9719 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9720   $as_echo_n "(cached) " >&6
   9721 else
   9722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9723 /* end confdefs.h.  */
   9724 int i;
   9725 _ACEOF
   9726 if ac_fn_c_try_compile "$LINENO"; then :
   9727   xorg_cv_cc_flag_unused_command_line_argument=yes
   9728 else
   9729   xorg_cv_cc_flag_unused_command_line_argument=no
   9730 fi
   9731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9732 fi
   9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9734 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9735 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9736 	CFLAGS="$xorg_testset_save_CFLAGS"
   9737 fi
   9738 
   9739 found="no"
   9740 
   9741 	if test $found = "no" ; then
   9742 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9743 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9744 		fi
   9745 
   9746 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9747 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9748 		fi
   9749 
   9750 		CFLAGS="$CFLAGS -Warray-bounds"
   9751 
   9752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9753 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9754 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9755 		if eval \${$cacheid+:} false; then :
   9756   $as_echo_n "(cached) " >&6
   9757 else
   9758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9759 /* end confdefs.h.  */
   9760 int i;
   9761 int
   9762 main ()
   9763 {
   9764 
   9765   ;
   9766   return 0;
   9767 }
   9768 _ACEOF
   9769 if ac_fn_c_try_link "$LINENO"; then :
   9770   eval $cacheid=yes
   9771 else
   9772   eval $cacheid=no
   9773 fi
   9774 rm -f core conftest.err conftest.$ac_objext \
   9775     conftest$ac_exeext conftest.$ac_ext
   9776 fi
   9777 
   9778 
   9779 		CFLAGS="$xorg_testset_save_CFLAGS"
   9780 
   9781 		eval supported=\$$cacheid
   9782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9783 $as_echo "$supported" >&6; }
   9784 		if test "$supported" = "yes" ; then
   9785 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9786 			found="yes"
   9787 		fi
   9788 	fi
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 xorg_testset_save_CFLAGS="$CFLAGS"
   9805 
   9806 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9809 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9810 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9811   $as_echo_n "(cached) " >&6
   9812 else
   9813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9814 /* end confdefs.h.  */
   9815 int i;
   9816 _ACEOF
   9817 if ac_fn_c_try_compile "$LINENO"; then :
   9818   xorg_cv_cc_flag_unknown_warning_option=yes
   9819 else
   9820   xorg_cv_cc_flag_unknown_warning_option=no
   9821 fi
   9822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9823 fi
   9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9825 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9826 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9827 	CFLAGS="$xorg_testset_save_CFLAGS"
   9828 fi
   9829 
   9830 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9831 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9832 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9833 	fi
   9834 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9836 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9837 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9838   $as_echo_n "(cached) " >&6
   9839 else
   9840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9841 /* end confdefs.h.  */
   9842 int i;
   9843 _ACEOF
   9844 if ac_fn_c_try_compile "$LINENO"; then :
   9845   xorg_cv_cc_flag_unused_command_line_argument=yes
   9846 else
   9847   xorg_cv_cc_flag_unused_command_line_argument=no
   9848 fi
   9849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9850 fi
   9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9852 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9853 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9854 	CFLAGS="$xorg_testset_save_CFLAGS"
   9855 fi
   9856 
   9857 found="no"
   9858 
   9859 	if test $found = "no" ; then
   9860 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9861 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9862 		fi
   9863 
   9864 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9865 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9866 		fi
   9867 
   9868 		CFLAGS="$CFLAGS -Wwrite-strings"
   9869 
   9870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9871 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9872 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9873 		if eval \${$cacheid+:} false; then :
   9874   $as_echo_n "(cached) " >&6
   9875 else
   9876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9877 /* end confdefs.h.  */
   9878 int i;
   9879 int
   9880 main ()
   9881 {
   9882 
   9883   ;
   9884   return 0;
   9885 }
   9886 _ACEOF
   9887 if ac_fn_c_try_link "$LINENO"; then :
   9888   eval $cacheid=yes
   9889 else
   9890   eval $cacheid=no
   9891 fi
   9892 rm -f core conftest.err conftest.$ac_objext \
   9893     conftest$ac_exeext conftest.$ac_ext
   9894 fi
   9895 
   9896 
   9897 		CFLAGS="$xorg_testset_save_CFLAGS"
   9898 
   9899 		eval supported=\$$cacheid
   9900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9901 $as_echo "$supported" >&6; }
   9902 		if test "$supported" = "yes" ; then
   9903 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9904 			found="yes"
   9905 		fi
   9906 	fi
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 xorg_testset_save_CFLAGS="$CFLAGS"
   9923 
   9924 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9925 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9926 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9927 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9928 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9929   $as_echo_n "(cached) " >&6
   9930 else
   9931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9932 /* end confdefs.h.  */
   9933 int i;
   9934 _ACEOF
   9935 if ac_fn_c_try_compile "$LINENO"; then :
   9936   xorg_cv_cc_flag_unknown_warning_option=yes
   9937 else
   9938   xorg_cv_cc_flag_unknown_warning_option=no
   9939 fi
   9940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9941 fi
   9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9943 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9945 	CFLAGS="$xorg_testset_save_CFLAGS"
   9946 fi
   9947 
   9948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9951 	fi
   9952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9954 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9955 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9956   $as_echo_n "(cached) " >&6
   9957 else
   9958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9959 /* end confdefs.h.  */
   9960 int i;
   9961 _ACEOF
   9962 if ac_fn_c_try_compile "$LINENO"; then :
   9963   xorg_cv_cc_flag_unused_command_line_argument=yes
   9964 else
   9965   xorg_cv_cc_flag_unused_command_line_argument=no
   9966 fi
   9967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9968 fi
   9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9970 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9972 	CFLAGS="$xorg_testset_save_CFLAGS"
   9973 fi
   9974 
   9975 found="no"
   9976 
   9977 	if test $found = "no" ; then
   9978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9980 		fi
   9981 
   9982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9984 		fi
   9985 
   9986 		CFLAGS="$CFLAGS -Waddress"
   9987 
   9988 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9989 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9990 		cacheid=xorg_cv_cc_flag__Waddress
   9991 		if eval \${$cacheid+:} false; then :
   9992   $as_echo_n "(cached) " >&6
   9993 else
   9994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9995 /* end confdefs.h.  */
   9996 int i;
   9997 int
   9998 main ()
   9999 {
   10000 
   10001   ;
   10002   return 0;
   10003 }
   10004 _ACEOF
   10005 if ac_fn_c_try_link "$LINENO"; then :
   10006   eval $cacheid=yes
   10007 else
   10008   eval $cacheid=no
   10009 fi
   10010 rm -f core conftest.err conftest.$ac_objext \
   10011     conftest$ac_exeext conftest.$ac_ext
   10012 fi
   10013 
   10014 
   10015 		CFLAGS="$xorg_testset_save_CFLAGS"
   10016 
   10017 		eval supported=\$$cacheid
   10018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10019 $as_echo "$supported" >&6; }
   10020 		if test "$supported" = "yes" ; then
   10021 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10022 			found="yes"
   10023 		fi
   10024 	fi
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 xorg_testset_save_CFLAGS="$CFLAGS"
   10041 
   10042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10043 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10045 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10046 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10047   $as_echo_n "(cached) " >&6
   10048 else
   10049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10050 /* end confdefs.h.  */
   10051 int i;
   10052 _ACEOF
   10053 if ac_fn_c_try_compile "$LINENO"; then :
   10054   xorg_cv_cc_flag_unknown_warning_option=yes
   10055 else
   10056   xorg_cv_cc_flag_unknown_warning_option=no
   10057 fi
   10058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10059 fi
   10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10061 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10063 	CFLAGS="$xorg_testset_save_CFLAGS"
   10064 fi
   10065 
   10066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10069 	fi
   10070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10072 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10073 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10074   $as_echo_n "(cached) " >&6
   10075 else
   10076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10077 /* end confdefs.h.  */
   10078 int i;
   10079 _ACEOF
   10080 if ac_fn_c_try_compile "$LINENO"; then :
   10081   xorg_cv_cc_flag_unused_command_line_argument=yes
   10082 else
   10083   xorg_cv_cc_flag_unused_command_line_argument=no
   10084 fi
   10085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10086 fi
   10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10088 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10090 	CFLAGS="$xorg_testset_save_CFLAGS"
   10091 fi
   10092 
   10093 found="no"
   10094 
   10095 	if test $found = "no" ; then
   10096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10098 		fi
   10099 
   10100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10102 		fi
   10103 
   10104 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10105 
   10106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10107 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10108 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10109 		if eval \${$cacheid+:} false; then :
   10110   $as_echo_n "(cached) " >&6
   10111 else
   10112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10113 /* end confdefs.h.  */
   10114 int i;
   10115 int
   10116 main ()
   10117 {
   10118 
   10119   ;
   10120   return 0;
   10121 }
   10122 _ACEOF
   10123 if ac_fn_c_try_link "$LINENO"; then :
   10124   eval $cacheid=yes
   10125 else
   10126   eval $cacheid=no
   10127 fi
   10128 rm -f core conftest.err conftest.$ac_objext \
   10129     conftest$ac_exeext conftest.$ac_ext
   10130 fi
   10131 
   10132 
   10133 		CFLAGS="$xorg_testset_save_CFLAGS"
   10134 
   10135 		eval supported=\$$cacheid
   10136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10137 $as_echo "$supported" >&6; }
   10138 		if test "$supported" = "yes" ; then
   10139 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10140 			found="yes"
   10141 		fi
   10142 	fi
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 xorg_testset_save_CFLAGS="$CFLAGS"
   10159 
   10160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10163 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10164 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10165   $as_echo_n "(cached) " >&6
   10166 else
   10167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 _ACEOF
   10171 if ac_fn_c_try_compile "$LINENO"; then :
   10172   xorg_cv_cc_flag_unknown_warning_option=yes
   10173 else
   10174   xorg_cv_cc_flag_unknown_warning_option=no
   10175 fi
   10176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10177 fi
   10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10179 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10181 	CFLAGS="$xorg_testset_save_CFLAGS"
   10182 fi
   10183 
   10184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10187 	fi
   10188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10190 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10191 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10192   $as_echo_n "(cached) " >&6
   10193 else
   10194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10195 /* end confdefs.h.  */
   10196 int i;
   10197 _ACEOF
   10198 if ac_fn_c_try_compile "$LINENO"; then :
   10199   xorg_cv_cc_flag_unused_command_line_argument=yes
   10200 else
   10201   xorg_cv_cc_flag_unused_command_line_argument=no
   10202 fi
   10203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10204 fi
   10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10206 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10208 	CFLAGS="$xorg_testset_save_CFLAGS"
   10209 fi
   10210 
   10211 found="no"
   10212 
   10213 	if test $found = "no" ; then
   10214 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10216 		fi
   10217 
   10218 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10220 		fi
   10221 
   10222 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10223 
   10224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10225 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10226 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10227 		if eval \${$cacheid+:} false; then :
   10228   $as_echo_n "(cached) " >&6
   10229 else
   10230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10231 /* end confdefs.h.  */
   10232 int i;
   10233 int
   10234 main ()
   10235 {
   10236 
   10237   ;
   10238   return 0;
   10239 }
   10240 _ACEOF
   10241 if ac_fn_c_try_link "$LINENO"; then :
   10242   eval $cacheid=yes
   10243 else
   10244   eval $cacheid=no
   10245 fi
   10246 rm -f core conftest.err conftest.$ac_objext \
   10247     conftest$ac_exeext conftest.$ac_ext
   10248 fi
   10249 
   10250 
   10251 		CFLAGS="$xorg_testset_save_CFLAGS"
   10252 
   10253 		eval supported=\$$cacheid
   10254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10255 $as_echo "$supported" >&6; }
   10256 		if test "$supported" = "yes" ; then
   10257 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10258 			found="yes"
   10259 		fi
   10260 	fi
   10261 
   10262 
   10263 fi
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 		CWARNFLAGS="$BASE_CFLAGS"
   10272 		if  test "x$GCC" = xyes ; then
   10273 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10274 		fi
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 # Check whether --enable-strict-compilation was given.
   10284 if test "${enable_strict_compilation+set}" = set; then :
   10285   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10286 else
   10287   STRICT_COMPILE=no
   10288 fi
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 STRICT_CFLAGS=""
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 xorg_testset_save_CFLAGS="$CFLAGS"
   10310 
   10311 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10312 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10314 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10315 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10316   $as_echo_n "(cached) " >&6
   10317 else
   10318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10319 /* end confdefs.h.  */
   10320 int i;
   10321 _ACEOF
   10322 if ac_fn_c_try_compile "$LINENO"; then :
   10323   xorg_cv_cc_flag_unknown_warning_option=yes
   10324 else
   10325   xorg_cv_cc_flag_unknown_warning_option=no
   10326 fi
   10327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10328 fi
   10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10330 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10331 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10332 	CFLAGS="$xorg_testset_save_CFLAGS"
   10333 fi
   10334 
   10335 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10336 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10337 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10338 	fi
   10339 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10341 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10342 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10343   $as_echo_n "(cached) " >&6
   10344 else
   10345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10346 /* end confdefs.h.  */
   10347 int i;
   10348 _ACEOF
   10349 if ac_fn_c_try_compile "$LINENO"; then :
   10350   xorg_cv_cc_flag_unused_command_line_argument=yes
   10351 else
   10352   xorg_cv_cc_flag_unused_command_line_argument=no
   10353 fi
   10354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10355 fi
   10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10357 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10358 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10359 	CFLAGS="$xorg_testset_save_CFLAGS"
   10360 fi
   10361 
   10362 found="no"
   10363 
   10364 	if test $found = "no" ; then
   10365 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10367 		fi
   10368 
   10369 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10371 		fi
   10372 
   10373 		CFLAGS="$CFLAGS -pedantic"
   10374 
   10375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10376 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10377 		cacheid=xorg_cv_cc_flag__pedantic
   10378 		if eval \${$cacheid+:} false; then :
   10379   $as_echo_n "(cached) " >&6
   10380 else
   10381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10382 /* end confdefs.h.  */
   10383 int i;
   10384 int
   10385 main ()
   10386 {
   10387 
   10388   ;
   10389   return 0;
   10390 }
   10391 _ACEOF
   10392 if ac_fn_c_try_link "$LINENO"; then :
   10393   eval $cacheid=yes
   10394 else
   10395   eval $cacheid=no
   10396 fi
   10397 rm -f core conftest.err conftest.$ac_objext \
   10398     conftest$ac_exeext conftest.$ac_ext
   10399 fi
   10400 
   10401 
   10402 		CFLAGS="$xorg_testset_save_CFLAGS"
   10403 
   10404 		eval supported=\$$cacheid
   10405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10406 $as_echo "$supported" >&6; }
   10407 		if test "$supported" = "yes" ; then
   10408 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10409 			found="yes"
   10410 		fi
   10411 	fi
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 xorg_testset_save_CFLAGS="$CFLAGS"
   10428 
   10429 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10430 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10432 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10433 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10434   $as_echo_n "(cached) " >&6
   10435 else
   10436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10437 /* end confdefs.h.  */
   10438 int i;
   10439 _ACEOF
   10440 if ac_fn_c_try_compile "$LINENO"; then :
   10441   xorg_cv_cc_flag_unknown_warning_option=yes
   10442 else
   10443   xorg_cv_cc_flag_unknown_warning_option=no
   10444 fi
   10445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10446 fi
   10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10448 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10449 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10450 	CFLAGS="$xorg_testset_save_CFLAGS"
   10451 fi
   10452 
   10453 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10454 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10455 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10456 	fi
   10457 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10459 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10460 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10461   $as_echo_n "(cached) " >&6
   10462 else
   10463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10464 /* end confdefs.h.  */
   10465 int i;
   10466 _ACEOF
   10467 if ac_fn_c_try_compile "$LINENO"; then :
   10468   xorg_cv_cc_flag_unused_command_line_argument=yes
   10469 else
   10470   xorg_cv_cc_flag_unused_command_line_argument=no
   10471 fi
   10472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10473 fi
   10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10475 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10476 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10477 	CFLAGS="$xorg_testset_save_CFLAGS"
   10478 fi
   10479 
   10480 found="no"
   10481 
   10482 	if test $found = "no" ; then
   10483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10485 		fi
   10486 
   10487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10489 		fi
   10490 
   10491 		CFLAGS="$CFLAGS -Werror"
   10492 
   10493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10494 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10495 		cacheid=xorg_cv_cc_flag__Werror
   10496 		if eval \${$cacheid+:} false; then :
   10497   $as_echo_n "(cached) " >&6
   10498 else
   10499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10500 /* end confdefs.h.  */
   10501 int i;
   10502 int
   10503 main ()
   10504 {
   10505 
   10506   ;
   10507   return 0;
   10508 }
   10509 _ACEOF
   10510 if ac_fn_c_try_link "$LINENO"; then :
   10511   eval $cacheid=yes
   10512 else
   10513   eval $cacheid=no
   10514 fi
   10515 rm -f core conftest.err conftest.$ac_objext \
   10516     conftest$ac_exeext conftest.$ac_ext
   10517 fi
   10518 
   10519 
   10520 		CFLAGS="$xorg_testset_save_CFLAGS"
   10521 
   10522 		eval supported=\$$cacheid
   10523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10524 $as_echo "$supported" >&6; }
   10525 		if test "$supported" = "yes" ; then
   10526 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10527 			found="yes"
   10528 		fi
   10529 	fi
   10530 
   10531 	if test $found = "no" ; then
   10532 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10534 		fi
   10535 
   10536 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10538 		fi
   10539 
   10540 		CFLAGS="$CFLAGS -errwarn"
   10541 
   10542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10543 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10544 		cacheid=xorg_cv_cc_flag__errwarn
   10545 		if eval \${$cacheid+:} false; then :
   10546   $as_echo_n "(cached) " >&6
   10547 else
   10548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10549 /* end confdefs.h.  */
   10550 int i;
   10551 int
   10552 main ()
   10553 {
   10554 
   10555   ;
   10556   return 0;
   10557 }
   10558 _ACEOF
   10559 if ac_fn_c_try_link "$LINENO"; then :
   10560   eval $cacheid=yes
   10561 else
   10562   eval $cacheid=no
   10563 fi
   10564 rm -f core conftest.err conftest.$ac_objext \
   10565     conftest$ac_exeext conftest.$ac_ext
   10566 fi
   10567 
   10568 
   10569 		CFLAGS="$xorg_testset_save_CFLAGS"
   10570 
   10571 		eval supported=\$$cacheid
   10572 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10573 $as_echo "$supported" >&6; }
   10574 		if test "$supported" = "yes" ; then
   10575 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10576 			found="yes"
   10577 		fi
   10578 	fi
   10579 
   10580 
   10581 
   10582 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10583 # activate it with -Werror, so we add it here explicitly.
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 xorg_testset_save_CFLAGS="$CFLAGS"
   10598 
   10599 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10600 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10602 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10603 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   10612 else
   10613   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10618 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10619 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10620 	CFLAGS="$xorg_testset_save_CFLAGS"
   10621 fi
   10622 
   10623 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10624 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10625 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10626 	fi
   10627 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10629 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10630 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10631   $as_echo_n "(cached) " >&6
   10632 else
   10633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10634 /* end confdefs.h.  */
   10635 int i;
   10636 _ACEOF
   10637 if ac_fn_c_try_compile "$LINENO"; then :
   10638   xorg_cv_cc_flag_unused_command_line_argument=yes
   10639 else
   10640   xorg_cv_cc_flag_unused_command_line_argument=no
   10641 fi
   10642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10643 fi
   10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10645 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10647 	CFLAGS="$xorg_testset_save_CFLAGS"
   10648 fi
   10649 
   10650 found="no"
   10651 
   10652 	if test $found = "no" ; then
   10653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10655 		fi
   10656 
   10657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10659 		fi
   10660 
   10661 		CFLAGS="$CFLAGS -Werror=attributes"
   10662 
   10663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10664 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10665 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10666 		if eval \${$cacheid+:} false; then :
   10667   $as_echo_n "(cached) " >&6
   10668 else
   10669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10670 /* end confdefs.h.  */
   10671 int i;
   10672 int
   10673 main ()
   10674 {
   10675 
   10676   ;
   10677   return 0;
   10678 }
   10679 _ACEOF
   10680 if ac_fn_c_try_link "$LINENO"; then :
   10681   eval $cacheid=yes
   10682 else
   10683   eval $cacheid=no
   10684 fi
   10685 rm -f core conftest.err conftest.$ac_objext \
   10686     conftest$ac_exeext conftest.$ac_ext
   10687 fi
   10688 
   10689 
   10690 		CFLAGS="$xorg_testset_save_CFLAGS"
   10691 
   10692 		eval supported=\$$cacheid
   10693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10694 $as_echo "$supported" >&6; }
   10695 		if test "$supported" = "yes" ; then
   10696 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10697 			found="yes"
   10698 		fi
   10699 	fi
   10700 
   10701 
   10702 
   10703 if test "x$STRICT_COMPILE" = "xyes"; then
   10704     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10705     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10706 fi
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 cat >>confdefs.h <<_ACEOF
   10714 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10715 _ACEOF
   10716 
   10717 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10718 	if test "x$PVM" = "x"; then
   10719 		PVM="0"
   10720 	fi
   10721 
   10722 cat >>confdefs.h <<_ACEOF
   10723 #define PACKAGE_VERSION_MINOR $PVM
   10724 _ACEOF
   10725 
   10726 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10727 	if test "x$PVP" = "x"; then
   10728 		PVP="0"
   10729 	fi
   10730 
   10731 cat >>confdefs.h <<_ACEOF
   10732 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10733 _ACEOF
   10734 
   10735 
   10736 
   10737 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10738 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10739 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10740 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10741 
   10742 
   10743 
   10744 
   10745 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10746 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10747 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10748 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10749 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 if test x$APP_MAN_SUFFIX = x    ; then
   10757     APP_MAN_SUFFIX=1
   10758 fi
   10759 if test x$APP_MAN_DIR = x    ; then
   10760     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10761 fi
   10762 
   10763 if test x$LIB_MAN_SUFFIX = x    ; then
   10764     LIB_MAN_SUFFIX=3
   10765 fi
   10766 if test x$LIB_MAN_DIR = x    ; then
   10767     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10768 fi
   10769 
   10770 if test x$FILE_MAN_SUFFIX = x    ; then
   10771     case $host_os in
   10772 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10773 	*)		FILE_MAN_SUFFIX=5  ;;
   10774     esac
   10775 fi
   10776 if test x$FILE_MAN_DIR = x    ; then
   10777     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10778 fi
   10779 
   10780 if test x$MISC_MAN_SUFFIX = x    ; then
   10781     case $host_os in
   10782 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10783 	*)		MISC_MAN_SUFFIX=7  ;;
   10784     esac
   10785 fi
   10786 if test x$MISC_MAN_DIR = x    ; then
   10787     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10788 fi
   10789 
   10790 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10791     case $host_os in
   10792 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10793 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10794     esac
   10795 fi
   10796 if test x$DRIVER_MAN_DIR = x    ; then
   10797     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10798 fi
   10799 
   10800 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10801     case $host_os in
   10802 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10803 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10804     esac
   10805 fi
   10806 if test x$ADMIN_MAN_DIR = x    ; then
   10807     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10808 fi
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 XORG_MAN_PAGE="X Version 11"
   10825 
   10826 MAN_SUBSTS="\
   10827 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10828 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10829 	-e 's|__xservername__|Xorg|g' \
   10830 	-e 's|__xconfigfile__|xorg.conf|g' \
   10831 	-e 's|__projectroot__|\$(prefix)|g' \
   10832 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10833 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10834 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10835 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10836 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10837 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10838 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10839 
   10840 
   10841 
   10842 # Check whether --enable-silent-rules was given.
   10843 if test "${enable_silent_rules+set}" = set; then :
   10844   enableval=$enable_silent_rules;
   10845 fi
   10846 
   10847 case $enable_silent_rules in # (((
   10848   yes) AM_DEFAULT_VERBOSITY=0;;
   10849    no) AM_DEFAULT_VERBOSITY=1;;
   10850     *) AM_DEFAULT_VERBOSITY=0;;
   10851 esac
   10852 am_make=${MAKE-make}
   10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10854 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10855 if ${am_cv_make_support_nested_variables+:} false; then :
   10856   $as_echo_n "(cached) " >&6
   10857 else
   10858   if $as_echo 'TRUE=$(BAR$(V))
   10859 BAR0=false
   10860 BAR1=true
   10861 V=1
   10862 am__doit:
   10863 	@$(TRUE)
   10864 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10865   am_cv_make_support_nested_variables=yes
   10866 else
   10867   am_cv_make_support_nested_variables=no
   10868 fi
   10869 fi
   10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10871 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10872 if test $am_cv_make_support_nested_variables = yes; then
   10873     AM_V='$(V)'
   10874   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10875 else
   10876   AM_V=$AM_DEFAULT_VERBOSITY
   10877   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10878 fi
   10879 AM_BACKSLASH='\'
   10880 
   10881 
   10882 
   10883 # Initialize libtool
   10884 # Check whether --enable-static was given.
   10885 if test "${enable_static+set}" = set; then :
   10886   enableval=$enable_static; p=${PACKAGE-default}
   10887     case $enableval in
   10888     yes) enable_static=yes ;;
   10889     no) enable_static=no ;;
   10890     *)
   10891      enable_static=no
   10892       # Look at the argument we got.  We use all the common list separators.
   10893       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10894       for pkg in $enableval; do
   10895 	IFS=$lt_save_ifs
   10896 	if test "X$pkg" = "X$p"; then
   10897 	  enable_static=yes
   10898 	fi
   10899       done
   10900       IFS=$lt_save_ifs
   10901       ;;
   10902     esac
   10903 else
   10904   enable_static=no
   10905 fi
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 case `pwd` in
   10916   *\ * | *\	*)
   10917     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10918 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10919 esac
   10920 
   10921 
   10922 
   10923 macro_version='2.4.6'
   10924 macro_revision='2.4.6'
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 ltmain=$ac_aux_dir/ltmain.sh
   10939 
   10940 # Backslashify metacharacters that are still active within
   10941 # double-quoted strings.
   10942 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10943 
   10944 # Same as above, but do not quote variable references.
   10945 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10946 
   10947 # Sed substitution to delay expansion of an escaped shell variable in a
   10948 # double_quote_subst'ed string.
   10949 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10950 
   10951 # Sed substitution to delay expansion of an escaped single quote.
   10952 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10953 
   10954 # Sed substitution to avoid accidental globbing in evaled expressions
   10955 no_glob_subst='s/\*/\\\*/g'
   10956 
   10957 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10958 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10959 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10960 
   10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10962 $as_echo_n "checking how to print strings... " >&6; }
   10963 # Test print first, because it will be a builtin if present.
   10964 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10965    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10966   ECHO='print -r --'
   10967 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10968   ECHO='printf %s\n'
   10969 else
   10970   # Use this function as a fallback that always works.
   10971   func_fallback_echo ()
   10972   {
   10973     eval 'cat <<_LTECHO_EOF
   10974 $1
   10975 _LTECHO_EOF'
   10976   }
   10977   ECHO='func_fallback_echo'
   10978 fi
   10979 
   10980 # func_echo_all arg...
   10981 # Invoke $ECHO with all args, space-separated.
   10982 func_echo_all ()
   10983 {
   10984     $ECHO ""
   10985 }
   10986 
   10987 case $ECHO in
   10988   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10989 $as_echo "printf" >&6; } ;;
   10990   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10991 $as_echo "print -r" >&6; } ;;
   10992   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10993 $as_echo "cat" >&6; } ;;
   10994 esac
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11010 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   11011 if ${ac_cv_path_SED+:} false; then :
   11012   $as_echo_n "(cached) " >&6
   11013 else
   11014             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11015      for ac_i in 1 2 3 4 5 6 7; do
   11016        ac_script="$ac_script$as_nl$ac_script"
   11017      done
   11018      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11019      { ac_script=; unset ac_script;}
   11020      if test -z "$SED"; then
   11021   ac_path_SED_found=false
   11022   # Loop through the user's path and test for each of PROGNAME-LIST
   11023   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11024 for as_dir in $PATH
   11025 do
   11026   IFS=$as_save_IFS
   11027   test -z "$as_dir" && as_dir=.
   11028     for ac_prog in sed gsed; do
   11029     for ac_exec_ext in '' $ac_executable_extensions; do
   11030       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11031       as_fn_executable_p "$ac_path_SED" || continue
   11032 # Check for GNU ac_path_SED and select it if it is found.
   11033   # Check for GNU $ac_path_SED
   11034 case `"$ac_path_SED" --version 2>&1` in
   11035 *GNU*)
   11036   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11037 *)
   11038   ac_count=0
   11039   $as_echo_n 0123456789 >"conftest.in"
   11040   while :
   11041   do
   11042     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11043     mv "conftest.tmp" "conftest.in"
   11044     cp "conftest.in" "conftest.nl"
   11045     $as_echo '' >> "conftest.nl"
   11046     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11047     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11048     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11049     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11050       # Best one so far, save it but keep looking for a better one
   11051       ac_cv_path_SED="$ac_path_SED"
   11052       ac_path_SED_max=$ac_count
   11053     fi
   11054     # 10*(2^10) chars as input seems more than enough
   11055     test $ac_count -gt 10 && break
   11056   done
   11057   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11058 esac
   11059 
   11060       $ac_path_SED_found && break 3
   11061     done
   11062   done
   11063   done
   11064 IFS=$as_save_IFS
   11065   if test -z "$ac_cv_path_SED"; then
   11066     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11067   fi
   11068 else
   11069   ac_cv_path_SED=$SED
   11070 fi
   11071 
   11072 fi
   11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11074 $as_echo "$ac_cv_path_SED" >&6; }
   11075  SED="$ac_cv_path_SED"
   11076   rm -f conftest.sed
   11077 
   11078 test -z "$SED" && SED=sed
   11079 Xsed="$SED -e 1s/^X//"
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11092 $as_echo_n "checking for fgrep... " >&6; }
   11093 if ${ac_cv_path_FGREP+:} false; then :
   11094   $as_echo_n "(cached) " >&6
   11095 else
   11096   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11097    then ac_cv_path_FGREP="$GREP -F"
   11098    else
   11099      if test -z "$FGREP"; then
   11100   ac_path_FGREP_found=false
   11101   # Loop through the user's path and test for each of PROGNAME-LIST
   11102   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11103 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11104 do
   11105   IFS=$as_save_IFS
   11106   test -z "$as_dir" && as_dir=.
   11107     for ac_prog in fgrep; do
   11108     for ac_exec_ext in '' $ac_executable_extensions; do
   11109       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11110       as_fn_executable_p "$ac_path_FGREP" || continue
   11111 # Check for GNU ac_path_FGREP and select it if it is found.
   11112   # Check for GNU $ac_path_FGREP
   11113 case `"$ac_path_FGREP" --version 2>&1` in
   11114 *GNU*)
   11115   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11116 *)
   11117   ac_count=0
   11118   $as_echo_n 0123456789 >"conftest.in"
   11119   while :
   11120   do
   11121     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11122     mv "conftest.tmp" "conftest.in"
   11123     cp "conftest.in" "conftest.nl"
   11124     $as_echo 'FGREP' >> "conftest.nl"
   11125     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11126     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11127     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11128     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11129       # Best one so far, save it but keep looking for a better one
   11130       ac_cv_path_FGREP="$ac_path_FGREP"
   11131       ac_path_FGREP_max=$ac_count
   11132     fi
   11133     # 10*(2^10) chars as input seems more than enough
   11134     test $ac_count -gt 10 && break
   11135   done
   11136   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11137 esac
   11138 
   11139       $ac_path_FGREP_found && break 3
   11140     done
   11141   done
   11142   done
   11143 IFS=$as_save_IFS
   11144   if test -z "$ac_cv_path_FGREP"; then
   11145     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11146   fi
   11147 else
   11148   ac_cv_path_FGREP=$FGREP
   11149 fi
   11150 
   11151    fi
   11152 fi
   11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11154 $as_echo "$ac_cv_path_FGREP" >&6; }
   11155  FGREP="$ac_cv_path_FGREP"
   11156 
   11157 
   11158 test -z "$GREP" && GREP=grep
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 # Check whether --with-gnu-ld was given.
   11179 if test "${with_gnu_ld+set}" = set; then :
   11180   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11181 else
   11182   with_gnu_ld=no
   11183 fi
   11184 
   11185 ac_prog=ld
   11186 if test yes = "$GCC"; then
   11187   # Check if gcc -print-prog-name=ld gives a path.
   11188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11189 $as_echo_n "checking for ld used by $CC... " >&6; }
   11190   case $host in
   11191   *-*-mingw*)
   11192     # gcc leaves a trailing carriage return, which upsets mingw
   11193     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11194   *)
   11195     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11196   esac
   11197   case $ac_prog in
   11198     # Accept absolute paths.
   11199     [\\/]* | ?:[\\/]*)
   11200       re_direlt='/[^/][^/]*/\.\./'
   11201       # Canonicalize the pathname of ld
   11202       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11203       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11204 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11205       done
   11206       test -z "$LD" && LD=$ac_prog
   11207       ;;
   11208   "")
   11209     # If it fails, then pretend we aren't using GCC.
   11210     ac_prog=ld
   11211     ;;
   11212   *)
   11213     # If it is relative, then search for the first ld in PATH.
   11214     with_gnu_ld=unknown
   11215     ;;
   11216   esac
   11217 elif test yes = "$with_gnu_ld"; then
   11218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11219 $as_echo_n "checking for GNU ld... " >&6; }
   11220 else
   11221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11222 $as_echo_n "checking for non-GNU ld... " >&6; }
   11223 fi
   11224 if ${lt_cv_path_LD+:} false; then :
   11225   $as_echo_n "(cached) " >&6
   11226 else
   11227   if test -z "$LD"; then
   11228   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11229   for ac_dir in $PATH; do
   11230     IFS=$lt_save_ifs
   11231     test -z "$ac_dir" && ac_dir=.
   11232     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11233       lt_cv_path_LD=$ac_dir/$ac_prog
   11234       # Check to see if the program is GNU ld.  I'd rather use --version,
   11235       # but apparently some variants of GNU ld only accept -v.
   11236       # Break only if it was the GNU/non-GNU ld that we prefer.
   11237       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11238       *GNU* | *'with BFD'*)
   11239 	test no != "$with_gnu_ld" && break
   11240 	;;
   11241       *)
   11242 	test yes != "$with_gnu_ld" && break
   11243 	;;
   11244       esac
   11245     fi
   11246   done
   11247   IFS=$lt_save_ifs
   11248 else
   11249   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11250 fi
   11251 fi
   11252 
   11253 LD=$lt_cv_path_LD
   11254 if test -n "$LD"; then
   11255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11256 $as_echo "$LD" >&6; }
   11257 else
   11258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11259 $as_echo "no" >&6; }
   11260 fi
   11261 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11263 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11264 if ${lt_cv_prog_gnu_ld+:} false; then :
   11265   $as_echo_n "(cached) " >&6
   11266 else
   11267   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11268 case `$LD -v 2>&1 </dev/null` in
   11269 *GNU* | *'with BFD'*)
   11270   lt_cv_prog_gnu_ld=yes
   11271   ;;
   11272 *)
   11273   lt_cv_prog_gnu_ld=no
   11274   ;;
   11275 esac
   11276 fi
   11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11278 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11279 with_gnu_ld=$lt_cv_prog_gnu_ld
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11290 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11291 if ${lt_cv_path_NM+:} false; then :
   11292   $as_echo_n "(cached) " >&6
   11293 else
   11294   if test -n "$NM"; then
   11295   # Let the user override the test.
   11296   lt_cv_path_NM=$NM
   11297 else
   11298   lt_nm_to_check=${ac_tool_prefix}nm
   11299   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11300     lt_nm_to_check="$lt_nm_to_check nm"
   11301   fi
   11302   for lt_tmp_nm in $lt_nm_to_check; do
   11303     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11304     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11305       IFS=$lt_save_ifs
   11306       test -z "$ac_dir" && ac_dir=.
   11307       tmp_nm=$ac_dir/$lt_tmp_nm
   11308       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11309 	# Check to see if the nm accepts a BSD-compat flag.
   11310 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11311 	#   nm: unknown option "B" ignored
   11312 	# Tru64's nm complains that /dev/null is an invalid object file
   11313 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11314 	case $build_os in
   11315 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11316 	*) lt_bad_file=/dev/null ;;
   11317 	esac
   11318 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11319 	*$lt_bad_file* | *'Invalid file or object type'*)
   11320 	  lt_cv_path_NM="$tmp_nm -B"
   11321 	  break 2
   11322 	  ;;
   11323 	*)
   11324 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11325 	  */dev/null*)
   11326 	    lt_cv_path_NM="$tmp_nm -p"
   11327 	    break 2
   11328 	    ;;
   11329 	  *)
   11330 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11331 	    continue # so that we can try to find one that supports BSD flags
   11332 	    ;;
   11333 	  esac
   11334 	  ;;
   11335 	esac
   11336       fi
   11337     done
   11338     IFS=$lt_save_ifs
   11339   done
   11340   : ${lt_cv_path_NM=no}
   11341 fi
   11342 fi
   11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11344 $as_echo "$lt_cv_path_NM" >&6; }
   11345 if test no != "$lt_cv_path_NM"; then
   11346   NM=$lt_cv_path_NM
   11347 else
   11348   # Didn't find any BSD compatible name lister, look for dumpbin.
   11349   if test -n "$DUMPBIN"; then :
   11350     # Let the user override the test.
   11351   else
   11352     if test -n "$ac_tool_prefix"; then
   11353   for ac_prog in dumpbin "link -dump"
   11354   do
   11355     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11356 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11358 $as_echo_n "checking for $ac_word... " >&6; }
   11359 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11360   $as_echo_n "(cached) " >&6
   11361 else
   11362   if test -n "$DUMPBIN"; then
   11363   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11364 else
   11365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11366 for as_dir in $PATH
   11367 do
   11368   IFS=$as_save_IFS
   11369   test -z "$as_dir" && as_dir=.
   11370     for ac_exec_ext in '' $ac_executable_extensions; do
   11371   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11372     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11374     break 2
   11375   fi
   11376 done
   11377   done
   11378 IFS=$as_save_IFS
   11379 
   11380 fi
   11381 fi
   11382 DUMPBIN=$ac_cv_prog_DUMPBIN
   11383 if test -n "$DUMPBIN"; then
   11384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11385 $as_echo "$DUMPBIN" >&6; }
   11386 else
   11387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11388 $as_echo "no" >&6; }
   11389 fi
   11390 
   11391 
   11392     test -n "$DUMPBIN" && break
   11393   done
   11394 fi
   11395 if test -z "$DUMPBIN"; then
   11396   ac_ct_DUMPBIN=$DUMPBIN
   11397   for ac_prog in dumpbin "link -dump"
   11398 do
   11399   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11400 set dummy $ac_prog; ac_word=$2
   11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11402 $as_echo_n "checking for $ac_word... " >&6; }
   11403 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11404   $as_echo_n "(cached) " >&6
   11405 else
   11406   if test -n "$ac_ct_DUMPBIN"; then
   11407   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11408 else
   11409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11410 for as_dir in $PATH
   11411 do
   11412   IFS=$as_save_IFS
   11413   test -z "$as_dir" && as_dir=.
   11414     for ac_exec_ext in '' $ac_executable_extensions; do
   11415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11416     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11418     break 2
   11419   fi
   11420 done
   11421   done
   11422 IFS=$as_save_IFS
   11423 
   11424 fi
   11425 fi
   11426 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11427 if test -n "$ac_ct_DUMPBIN"; then
   11428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11429 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11430 else
   11431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11432 $as_echo "no" >&6; }
   11433 fi
   11434 
   11435 
   11436   test -n "$ac_ct_DUMPBIN" && break
   11437 done
   11438 
   11439   if test "x$ac_ct_DUMPBIN" = x; then
   11440     DUMPBIN=":"
   11441   else
   11442     case $cross_compiling:$ac_tool_warned in
   11443 yes:)
   11444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11446 ac_tool_warned=yes ;;
   11447 esac
   11448     DUMPBIN=$ac_ct_DUMPBIN
   11449   fi
   11450 fi
   11451 
   11452     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11453     *COFF*)
   11454       DUMPBIN="$DUMPBIN -symbols -headers"
   11455       ;;
   11456     *)
   11457       DUMPBIN=:
   11458       ;;
   11459     esac
   11460   fi
   11461 
   11462   if test : != "$DUMPBIN"; then
   11463     NM=$DUMPBIN
   11464   fi
   11465 fi
   11466 test -z "$NM" && NM=nm
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11474 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11475 if ${lt_cv_nm_interface+:} false; then :
   11476   $as_echo_n "(cached) " >&6
   11477 else
   11478   lt_cv_nm_interface="BSD nm"
   11479   echo "int some_variable = 0;" > conftest.$ac_ext
   11480   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11481   (eval "$ac_compile" 2>conftest.err)
   11482   cat conftest.err >&5
   11483   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11484   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11485   cat conftest.err >&5
   11486   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11487   cat conftest.out >&5
   11488   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11489     lt_cv_nm_interface="MS dumpbin"
   11490   fi
   11491   rm -f conftest*
   11492 fi
   11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11494 $as_echo "$lt_cv_nm_interface" >&6; }
   11495 
   11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11497 $as_echo_n "checking whether ln -s works... " >&6; }
   11498 LN_S=$as_ln_s
   11499 if test "$LN_S" = "ln -s"; then
   11500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11501 $as_echo "yes" >&6; }
   11502 else
   11503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11504 $as_echo "no, using $LN_S" >&6; }
   11505 fi
   11506 
   11507 # find the maximum length of command line arguments
   11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11509 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11510 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11511   $as_echo_n "(cached) " >&6
   11512 else
   11513     i=0
   11514   teststring=ABCD
   11515 
   11516   case $build_os in
   11517   msdosdjgpp*)
   11518     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11519     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11520     # during glob expansion).  Even if it were fixed, the result of this
   11521     # check would be larger than it should be.
   11522     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11523     ;;
   11524 
   11525   gnu*)
   11526     # Under GNU Hurd, this test is not required because there is
   11527     # no limit to the length of command line arguments.
   11528     # Libtool will interpret -1 as no limit whatsoever
   11529     lt_cv_sys_max_cmd_len=-1;
   11530     ;;
   11531 
   11532   cygwin* | mingw* | cegcc*)
   11533     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11534     # about 5 minutes as the teststring grows exponentially.
   11535     # Worse, since 9x/ME are not pre-emptively multitasking,
   11536     # you end up with a "frozen" computer, even though with patience
   11537     # the test eventually succeeds (with a max line length of 256k).
   11538     # Instead, let's just punt: use the minimum linelength reported by
   11539     # all of the supported platforms: 8192 (on NT/2K/XP).
   11540     lt_cv_sys_max_cmd_len=8192;
   11541     ;;
   11542 
   11543   mint*)
   11544     # On MiNT this can take a long time and run out of memory.
   11545     lt_cv_sys_max_cmd_len=8192;
   11546     ;;
   11547 
   11548   amigaos*)
   11549     # On AmigaOS with pdksh, this test takes hours, literally.
   11550     # So we just punt and use a minimum line length of 8192.
   11551     lt_cv_sys_max_cmd_len=8192;
   11552     ;;
   11553 
   11554   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11555     # This has been around since 386BSD, at least.  Likely further.
   11556     if test -x /sbin/sysctl; then
   11557       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11558     elif test -x /usr/sbin/sysctl; then
   11559       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11560     else
   11561       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11562     fi
   11563     # And add a safety zone
   11564     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11565     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11566     ;;
   11567 
   11568   interix*)
   11569     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11570     lt_cv_sys_max_cmd_len=196608
   11571     ;;
   11572 
   11573   os2*)
   11574     # The test takes a long time on OS/2.
   11575     lt_cv_sys_max_cmd_len=8192
   11576     ;;
   11577 
   11578   osf*)
   11579     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11580     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11581     # nice to cause kernel panics so lets avoid the loop below.
   11582     # First set a reasonable default.
   11583     lt_cv_sys_max_cmd_len=16384
   11584     #
   11585     if test -x /sbin/sysconfig; then
   11586       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11587         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11588       esac
   11589     fi
   11590     ;;
   11591   sco3.2v5*)
   11592     lt_cv_sys_max_cmd_len=102400
   11593     ;;
   11594   sysv5* | sco5v6* | sysv4.2uw2*)
   11595     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11596     if test -n "$kargmax"; then
   11597       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11598     else
   11599       lt_cv_sys_max_cmd_len=32768
   11600     fi
   11601     ;;
   11602   *)
   11603     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11604     if test -n "$lt_cv_sys_max_cmd_len" && \
   11605        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11606       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11607       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11608     else
   11609       # Make teststring a little bigger before we do anything with it.
   11610       # a 1K string should be a reasonable start.
   11611       for i in 1 2 3 4 5 6 7 8; do
   11612         teststring=$teststring$teststring
   11613       done
   11614       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11615       # If test is not a shell built-in, we'll probably end up computing a
   11616       # maximum length that is only half of the actual maximum length, but
   11617       # we can't tell.
   11618       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11619 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11620 	      test 17 != "$i" # 1/2 MB should be enough
   11621       do
   11622         i=`expr $i + 1`
   11623         teststring=$teststring$teststring
   11624       done
   11625       # Only check the string length outside the loop.
   11626       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11627       teststring=
   11628       # Add a significant safety factor because C++ compilers can tack on
   11629       # massive amounts of additional arguments before passing them to the
   11630       # linker.  It appears as though 1/2 is a usable value.
   11631       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11632     fi
   11633     ;;
   11634   esac
   11635 
   11636 fi
   11637 
   11638 if test -n "$lt_cv_sys_max_cmd_len"; then
   11639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11640 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11641 else
   11642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11643 $as_echo "none" >&6; }
   11644 fi
   11645 max_cmd_len=$lt_cv_sys_max_cmd_len
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 : ${CP="cp -f"}
   11653 : ${MV="mv -f"}
   11654 : ${RM="rm -f"}
   11655 
   11656 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11657   lt_unset=unset
   11658 else
   11659   lt_unset=false
   11660 fi
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 # test EBCDIC or ASCII
   11667 case `echo X|tr X '\101'` in
   11668  A) # ASCII based system
   11669     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11670   lt_SP2NL='tr \040 \012'
   11671   lt_NL2SP='tr \015\012 \040\040'
   11672   ;;
   11673  *) # EBCDIC based system
   11674   lt_SP2NL='tr \100 \n'
   11675   lt_NL2SP='tr \r\n \100\100'
   11676   ;;
   11677 esac
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11688 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11689 if ${lt_cv_to_host_file_cmd+:} false; then :
   11690   $as_echo_n "(cached) " >&6
   11691 else
   11692   case $host in
   11693   *-*-mingw* )
   11694     case $build in
   11695       *-*-mingw* ) # actually msys
   11696         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11697         ;;
   11698       *-*-cygwin* )
   11699         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11700         ;;
   11701       * ) # otherwise, assume *nix
   11702         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11703         ;;
   11704     esac
   11705     ;;
   11706   *-*-cygwin* )
   11707     case $build in
   11708       *-*-mingw* ) # actually msys
   11709         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11710         ;;
   11711       *-*-cygwin* )
   11712         lt_cv_to_host_file_cmd=func_convert_file_noop
   11713         ;;
   11714       * ) # otherwise, assume *nix
   11715         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11716         ;;
   11717     esac
   11718     ;;
   11719   * ) # unhandled hosts (and "normal" native builds)
   11720     lt_cv_to_host_file_cmd=func_convert_file_noop
   11721     ;;
   11722 esac
   11723 
   11724 fi
   11725 
   11726 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11728 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11735 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11736 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11737   $as_echo_n "(cached) " >&6
   11738 else
   11739   #assume ordinary cross tools, or native build.
   11740 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11741 case $host in
   11742   *-*-mingw* )
   11743     case $build in
   11744       *-*-mingw* ) # actually msys
   11745         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11746         ;;
   11747     esac
   11748     ;;
   11749 esac
   11750 
   11751 fi
   11752 
   11753 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11755 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11762 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11763 if ${lt_cv_ld_reload_flag+:} false; then :
   11764   $as_echo_n "(cached) " >&6
   11765 else
   11766   lt_cv_ld_reload_flag='-r'
   11767 fi
   11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11769 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11770 reload_flag=$lt_cv_ld_reload_flag
   11771 case $reload_flag in
   11772 "" | " "*) ;;
   11773 *) reload_flag=" $reload_flag" ;;
   11774 esac
   11775 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11776 case $host_os in
   11777   cygwin* | mingw* | pw32* | cegcc*)
   11778     if test yes != "$GCC"; then
   11779       reload_cmds=false
   11780     fi
   11781     ;;
   11782   darwin*)
   11783     if test yes = "$GCC"; then
   11784       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11785     else
   11786       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11787     fi
   11788     ;;
   11789 esac
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 if test -n "$ac_tool_prefix"; then
   11800   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11801 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11803 $as_echo_n "checking for $ac_word... " >&6; }
   11804 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11805   $as_echo_n "(cached) " >&6
   11806 else
   11807   if test -n "$OBJDUMP"; then
   11808   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11809 else
   11810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11811 for as_dir in $PATH
   11812 do
   11813   IFS=$as_save_IFS
   11814   test -z "$as_dir" && as_dir=.
   11815     for ac_exec_ext in '' $ac_executable_extensions; do
   11816   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11817     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11819     break 2
   11820   fi
   11821 done
   11822   done
   11823 IFS=$as_save_IFS
   11824 
   11825 fi
   11826 fi
   11827 OBJDUMP=$ac_cv_prog_OBJDUMP
   11828 if test -n "$OBJDUMP"; then
   11829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11830 $as_echo "$OBJDUMP" >&6; }
   11831 else
   11832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11833 $as_echo "no" >&6; }
   11834 fi
   11835 
   11836 
   11837 fi
   11838 if test -z "$ac_cv_prog_OBJDUMP"; then
   11839   ac_ct_OBJDUMP=$OBJDUMP
   11840   # Extract the first word of "objdump", so it can be a program name with args.
   11841 set dummy objdump; ac_word=$2
   11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11843 $as_echo_n "checking for $ac_word... " >&6; }
   11844 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11845   $as_echo_n "(cached) " >&6
   11846 else
   11847   if test -n "$ac_ct_OBJDUMP"; then
   11848   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11849 else
   11850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11851 for as_dir in $PATH
   11852 do
   11853   IFS=$as_save_IFS
   11854   test -z "$as_dir" && as_dir=.
   11855     for ac_exec_ext in '' $ac_executable_extensions; do
   11856   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11857     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11859     break 2
   11860   fi
   11861 done
   11862   done
   11863 IFS=$as_save_IFS
   11864 
   11865 fi
   11866 fi
   11867 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11868 if test -n "$ac_ct_OBJDUMP"; then
   11869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11870 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11871 else
   11872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11873 $as_echo "no" >&6; }
   11874 fi
   11875 
   11876   if test "x$ac_ct_OBJDUMP" = x; then
   11877     OBJDUMP="false"
   11878   else
   11879     case $cross_compiling:$ac_tool_warned in
   11880 yes:)
   11881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11883 ac_tool_warned=yes ;;
   11884 esac
   11885     OBJDUMP=$ac_ct_OBJDUMP
   11886   fi
   11887 else
   11888   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11889 fi
   11890 
   11891 test -z "$OBJDUMP" && OBJDUMP=objdump
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11902 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11903 if ${lt_cv_deplibs_check_method+:} false; then :
   11904   $as_echo_n "(cached) " >&6
   11905 else
   11906   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11907 lt_cv_file_magic_test_file=
   11908 lt_cv_deplibs_check_method='unknown'
   11909 # Need to set the preceding variable on all platforms that support
   11910 # interlibrary dependencies.
   11911 # 'none' -- dependencies not supported.
   11912 # 'unknown' -- same as none, but documents that we really don't know.
   11913 # 'pass_all' -- all dependencies passed with no checks.
   11914 # 'test_compile' -- check by making test program.
   11915 # 'file_magic [[regex]]' -- check by looking for files in library path
   11916 # that responds to the $file_magic_cmd with a given extended regex.
   11917 # If you have 'file' or equivalent on your system and you're not sure
   11918 # whether 'pass_all' will *always* work, you probably want this one.
   11919 
   11920 case $host_os in
   11921 aix[4-9]*)
   11922   lt_cv_deplibs_check_method=pass_all
   11923   ;;
   11924 
   11925 beos*)
   11926   lt_cv_deplibs_check_method=pass_all
   11927   ;;
   11928 
   11929 bsdi[45]*)
   11930   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11931   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11932   lt_cv_file_magic_test_file=/shlib/libc.so
   11933   ;;
   11934 
   11935 cygwin*)
   11936   # func_win32_libid is a shell function defined in ltmain.sh
   11937   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11938   lt_cv_file_magic_cmd='func_win32_libid'
   11939   ;;
   11940 
   11941 mingw* | pw32*)
   11942   # Base MSYS/MinGW do not provide the 'file' command needed by
   11943   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11944   # unless we find 'file', for example because we are cross-compiling.
   11945   if ( file / ) >/dev/null 2>&1; then
   11946     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11947     lt_cv_file_magic_cmd='func_win32_libid'
   11948   else
   11949     # Keep this pattern in sync with the one in func_win32_libid.
   11950     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11951     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11952   fi
   11953   ;;
   11954 
   11955 cegcc*)
   11956   # use the weaker test based on 'objdump'. See mingw*.
   11957   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11958   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11959   ;;
   11960 
   11961 darwin* | rhapsody*)
   11962   lt_cv_deplibs_check_method=pass_all
   11963   ;;
   11964 
   11965 freebsd* | dragonfly*)
   11966   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11967     case $host_cpu in
   11968     i*86 )
   11969       # Not sure whether the presence of OpenBSD here was a mistake.
   11970       # Let's accept both of them until this is cleared up.
   11971       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11972       lt_cv_file_magic_cmd=/usr/bin/file
   11973       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11974       ;;
   11975     esac
   11976   else
   11977     lt_cv_deplibs_check_method=pass_all
   11978   fi
   11979   ;;
   11980 
   11981 haiku*)
   11982   lt_cv_deplibs_check_method=pass_all
   11983   ;;
   11984 
   11985 hpux10.20* | hpux11*)
   11986   lt_cv_file_magic_cmd=/usr/bin/file
   11987   case $host_cpu in
   11988   ia64*)
   11989     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11990     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11991     ;;
   11992   hppa*64*)
   11993     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]'
   11994     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11995     ;;
   11996   *)
   11997     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11998     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11999     ;;
   12000   esac
   12001   ;;
   12002 
   12003 interix[3-9]*)
   12004   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12005   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12006   ;;
   12007 
   12008 irix5* | irix6* | nonstopux*)
   12009   case $LD in
   12010   *-32|*"-32 ") libmagic=32-bit;;
   12011   *-n32|*"-n32 ") libmagic=N32;;
   12012   *-64|*"-64 ") libmagic=64-bit;;
   12013   *) libmagic=never-match;;
   12014   esac
   12015   lt_cv_deplibs_check_method=pass_all
   12016   ;;
   12017 
   12018 # This must be glibc/ELF.
   12019 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12020   lt_cv_deplibs_check_method=pass_all
   12021   ;;
   12022 
   12023 netbsd*)
   12024   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12025     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12026   else
   12027     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12028   fi
   12029   ;;
   12030 
   12031 newos6*)
   12032   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12033   lt_cv_file_magic_cmd=/usr/bin/file
   12034   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12035   ;;
   12036 
   12037 *nto* | *qnx*)
   12038   lt_cv_deplibs_check_method=pass_all
   12039   ;;
   12040 
   12041 openbsd* | bitrig*)
   12042   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12043     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12044   else
   12045     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12046   fi
   12047   ;;
   12048 
   12049 osf3* | osf4* | osf5*)
   12050   lt_cv_deplibs_check_method=pass_all
   12051   ;;
   12052 
   12053 rdos*)
   12054   lt_cv_deplibs_check_method=pass_all
   12055   ;;
   12056 
   12057 solaris*)
   12058   lt_cv_deplibs_check_method=pass_all
   12059   ;;
   12060 
   12061 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12062   lt_cv_deplibs_check_method=pass_all
   12063   ;;
   12064 
   12065 sysv4 | sysv4.3*)
   12066   case $host_vendor in
   12067   motorola)
   12068     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]'
   12069     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12070     ;;
   12071   ncr)
   12072     lt_cv_deplibs_check_method=pass_all
   12073     ;;
   12074   sequent)
   12075     lt_cv_file_magic_cmd='/bin/file'
   12076     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12077     ;;
   12078   sni)
   12079     lt_cv_file_magic_cmd='/bin/file'
   12080     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12081     lt_cv_file_magic_test_file=/lib/libc.so
   12082     ;;
   12083   siemens)
   12084     lt_cv_deplibs_check_method=pass_all
   12085     ;;
   12086   pc)
   12087     lt_cv_deplibs_check_method=pass_all
   12088     ;;
   12089   esac
   12090   ;;
   12091 
   12092 tpf*)
   12093   lt_cv_deplibs_check_method=pass_all
   12094   ;;
   12095 os2*)
   12096   lt_cv_deplibs_check_method=pass_all
   12097   ;;
   12098 esac
   12099 
   12100 fi
   12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12102 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12103 
   12104 file_magic_glob=
   12105 want_nocaseglob=no
   12106 if test "$build" = "$host"; then
   12107   case $host_os in
   12108   mingw* | pw32*)
   12109     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12110       want_nocaseglob=yes
   12111     else
   12112       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12113     fi
   12114     ;;
   12115   esac
   12116 fi
   12117 
   12118 file_magic_cmd=$lt_cv_file_magic_cmd
   12119 deplibs_check_method=$lt_cv_deplibs_check_method
   12120 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 if test -n "$ac_tool_prefix"; then
   12144   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12145 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12147 $as_echo_n "checking for $ac_word... " >&6; }
   12148 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12149   $as_echo_n "(cached) " >&6
   12150 else
   12151   if test -n "$DLLTOOL"; then
   12152   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12153 else
   12154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12155 for as_dir in $PATH
   12156 do
   12157   IFS=$as_save_IFS
   12158   test -z "$as_dir" && as_dir=.
   12159     for ac_exec_ext in '' $ac_executable_extensions; do
   12160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12161     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12163     break 2
   12164   fi
   12165 done
   12166   done
   12167 IFS=$as_save_IFS
   12168 
   12169 fi
   12170 fi
   12171 DLLTOOL=$ac_cv_prog_DLLTOOL
   12172 if test -n "$DLLTOOL"; then
   12173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12174 $as_echo "$DLLTOOL" >&6; }
   12175 else
   12176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12177 $as_echo "no" >&6; }
   12178 fi
   12179 
   12180 
   12181 fi
   12182 if test -z "$ac_cv_prog_DLLTOOL"; then
   12183   ac_ct_DLLTOOL=$DLLTOOL
   12184   # Extract the first word of "dlltool", so it can be a program name with args.
   12185 set dummy dlltool; ac_word=$2
   12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12187 $as_echo_n "checking for $ac_word... " >&6; }
   12188 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12189   $as_echo_n "(cached) " >&6
   12190 else
   12191   if test -n "$ac_ct_DLLTOOL"; then
   12192   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12193 else
   12194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12195 for as_dir in $PATH
   12196 do
   12197   IFS=$as_save_IFS
   12198   test -z "$as_dir" && as_dir=.
   12199     for ac_exec_ext in '' $ac_executable_extensions; do
   12200   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12201     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12203     break 2
   12204   fi
   12205 done
   12206   done
   12207 IFS=$as_save_IFS
   12208 
   12209 fi
   12210 fi
   12211 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12212 if test -n "$ac_ct_DLLTOOL"; then
   12213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12214 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12215 else
   12216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12217 $as_echo "no" >&6; }
   12218 fi
   12219 
   12220   if test "x$ac_ct_DLLTOOL" = x; then
   12221     DLLTOOL="false"
   12222   else
   12223     case $cross_compiling:$ac_tool_warned in
   12224 yes:)
   12225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12227 ac_tool_warned=yes ;;
   12228 esac
   12229     DLLTOOL=$ac_ct_DLLTOOL
   12230   fi
   12231 else
   12232   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12233 fi
   12234 
   12235 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12247 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12248 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12249   $as_echo_n "(cached) " >&6
   12250 else
   12251   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12252 
   12253 case $host_os in
   12254 cygwin* | mingw* | pw32* | cegcc*)
   12255   # two different shell functions defined in ltmain.sh;
   12256   # decide which one to use based on capabilities of $DLLTOOL
   12257   case `$DLLTOOL --help 2>&1` in
   12258   *--identify-strict*)
   12259     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12260     ;;
   12261   *)
   12262     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12263     ;;
   12264   esac
   12265   ;;
   12266 *)
   12267   # fallback: assume linklib IS sharedlib
   12268   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12269   ;;
   12270 esac
   12271 
   12272 fi
   12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12274 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12275 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12276 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12277 
   12278 
   12279 
   12280 
   12281 
   12282 
   12283 
   12284 if test -n "$ac_tool_prefix"; then
   12285   for ac_prog in ar
   12286   do
   12287     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12288 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12290 $as_echo_n "checking for $ac_word... " >&6; }
   12291 if ${ac_cv_prog_AR+:} false; then :
   12292   $as_echo_n "(cached) " >&6
   12293 else
   12294   if test -n "$AR"; then
   12295   ac_cv_prog_AR="$AR" # Let the user override the test.
   12296 else
   12297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12298 for as_dir in $PATH
   12299 do
   12300   IFS=$as_save_IFS
   12301   test -z "$as_dir" && as_dir=.
   12302     for ac_exec_ext in '' $ac_executable_extensions; do
   12303   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12304     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12305     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12306     break 2
   12307   fi
   12308 done
   12309   done
   12310 IFS=$as_save_IFS
   12311 
   12312 fi
   12313 fi
   12314 AR=$ac_cv_prog_AR
   12315 if test -n "$AR"; then
   12316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12317 $as_echo "$AR" >&6; }
   12318 else
   12319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12320 $as_echo "no" >&6; }
   12321 fi
   12322 
   12323 
   12324     test -n "$AR" && break
   12325   done
   12326 fi
   12327 if test -z "$AR"; then
   12328   ac_ct_AR=$AR
   12329   for ac_prog in ar
   12330 do
   12331   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12332 set dummy $ac_prog; ac_word=$2
   12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12334 $as_echo_n "checking for $ac_word... " >&6; }
   12335 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12336   $as_echo_n "(cached) " >&6
   12337 else
   12338   if test -n "$ac_ct_AR"; then
   12339   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12340 else
   12341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12342 for as_dir in $PATH
   12343 do
   12344   IFS=$as_save_IFS
   12345   test -z "$as_dir" && as_dir=.
   12346     for ac_exec_ext in '' $ac_executable_extensions; do
   12347   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12348     ac_cv_prog_ac_ct_AR="$ac_prog"
   12349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12350     break 2
   12351   fi
   12352 done
   12353   done
   12354 IFS=$as_save_IFS
   12355 
   12356 fi
   12357 fi
   12358 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12359 if test -n "$ac_ct_AR"; then
   12360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12361 $as_echo "$ac_ct_AR" >&6; }
   12362 else
   12363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12364 $as_echo "no" >&6; }
   12365 fi
   12366 
   12367 
   12368   test -n "$ac_ct_AR" && break
   12369 done
   12370 
   12371   if test "x$ac_ct_AR" = x; then
   12372     AR="false"
   12373   else
   12374     case $cross_compiling:$ac_tool_warned in
   12375 yes:)
   12376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12378 ac_tool_warned=yes ;;
   12379 esac
   12380     AR=$ac_ct_AR
   12381   fi
   12382 fi
   12383 
   12384 : ${AR=ar}
   12385 : ${AR_FLAGS=cru}
   12386 
   12387 
   12388 
   12389 
   12390 
   12391 
   12392 
   12393 
   12394 
   12395 
   12396 
   12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12398 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12399 if ${lt_cv_ar_at_file+:} false; then :
   12400   $as_echo_n "(cached) " >&6
   12401 else
   12402   lt_cv_ar_at_file=no
   12403    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12404 /* end confdefs.h.  */
   12405 
   12406 int
   12407 main ()
   12408 {
   12409 
   12410   ;
   12411   return 0;
   12412 }
   12413 _ACEOF
   12414 if ac_fn_c_try_compile "$LINENO"; then :
   12415   echo conftest.$ac_objext > conftest.lst
   12416       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12417       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12418   (eval $lt_ar_try) 2>&5
   12419   ac_status=$?
   12420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12421   test $ac_status = 0; }
   12422       if test 0 -eq "$ac_status"; then
   12423 	# Ensure the archiver fails upon bogus file names.
   12424 	rm -f conftest.$ac_objext libconftest.a
   12425 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12426   (eval $lt_ar_try) 2>&5
   12427   ac_status=$?
   12428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12429   test $ac_status = 0; }
   12430 	if test 0 -ne "$ac_status"; then
   12431           lt_cv_ar_at_file=@
   12432         fi
   12433       fi
   12434       rm -f conftest.* libconftest.a
   12435 
   12436 fi
   12437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12438 
   12439 fi
   12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12441 $as_echo "$lt_cv_ar_at_file" >&6; }
   12442 
   12443 if test no = "$lt_cv_ar_at_file"; then
   12444   archiver_list_spec=
   12445 else
   12446   archiver_list_spec=$lt_cv_ar_at_file
   12447 fi
   12448 
   12449 
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 if test -n "$ac_tool_prefix"; then
   12456   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12457 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12459 $as_echo_n "checking for $ac_word... " >&6; }
   12460 if ${ac_cv_prog_STRIP+:} false; then :
   12461   $as_echo_n "(cached) " >&6
   12462 else
   12463   if test -n "$STRIP"; then
   12464   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12465 else
   12466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12467 for as_dir in $PATH
   12468 do
   12469   IFS=$as_save_IFS
   12470   test -z "$as_dir" && as_dir=.
   12471     for ac_exec_ext in '' $ac_executable_extensions; do
   12472   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12473     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12475     break 2
   12476   fi
   12477 done
   12478   done
   12479 IFS=$as_save_IFS
   12480 
   12481 fi
   12482 fi
   12483 STRIP=$ac_cv_prog_STRIP
   12484 if test -n "$STRIP"; then
   12485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12486 $as_echo "$STRIP" >&6; }
   12487 else
   12488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12489 $as_echo "no" >&6; }
   12490 fi
   12491 
   12492 
   12493 fi
   12494 if test -z "$ac_cv_prog_STRIP"; then
   12495   ac_ct_STRIP=$STRIP
   12496   # Extract the first word of "strip", so it can be a program name with args.
   12497 set dummy strip; ac_word=$2
   12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12499 $as_echo_n "checking for $ac_word... " >&6; }
   12500 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12501   $as_echo_n "(cached) " >&6
   12502 else
   12503   if test -n "$ac_ct_STRIP"; then
   12504   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12505 else
   12506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12507 for as_dir in $PATH
   12508 do
   12509   IFS=$as_save_IFS
   12510   test -z "$as_dir" && as_dir=.
   12511     for ac_exec_ext in '' $ac_executable_extensions; do
   12512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12513     ac_cv_prog_ac_ct_STRIP="strip"
   12514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12515     break 2
   12516   fi
   12517 done
   12518   done
   12519 IFS=$as_save_IFS
   12520 
   12521 fi
   12522 fi
   12523 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12524 if test -n "$ac_ct_STRIP"; then
   12525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12526 $as_echo "$ac_ct_STRIP" >&6; }
   12527 else
   12528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12529 $as_echo "no" >&6; }
   12530 fi
   12531 
   12532   if test "x$ac_ct_STRIP" = x; then
   12533     STRIP=":"
   12534   else
   12535     case $cross_compiling:$ac_tool_warned in
   12536 yes:)
   12537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12539 ac_tool_warned=yes ;;
   12540 esac
   12541     STRIP=$ac_ct_STRIP
   12542   fi
   12543 else
   12544   STRIP="$ac_cv_prog_STRIP"
   12545 fi
   12546 
   12547 test -z "$STRIP" && STRIP=:
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 if test -n "$ac_tool_prefix"; then
   12555   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12556 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12558 $as_echo_n "checking for $ac_word... " >&6; }
   12559 if ${ac_cv_prog_RANLIB+:} false; then :
   12560   $as_echo_n "(cached) " >&6
   12561 else
   12562   if test -n "$RANLIB"; then
   12563   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12564 else
   12565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12566 for as_dir in $PATH
   12567 do
   12568   IFS=$as_save_IFS
   12569   test -z "$as_dir" && as_dir=.
   12570     for ac_exec_ext in '' $ac_executable_extensions; do
   12571   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12572     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12574     break 2
   12575   fi
   12576 done
   12577   done
   12578 IFS=$as_save_IFS
   12579 
   12580 fi
   12581 fi
   12582 RANLIB=$ac_cv_prog_RANLIB
   12583 if test -n "$RANLIB"; then
   12584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12585 $as_echo "$RANLIB" >&6; }
   12586 else
   12587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12588 $as_echo "no" >&6; }
   12589 fi
   12590 
   12591 
   12592 fi
   12593 if test -z "$ac_cv_prog_RANLIB"; then
   12594   ac_ct_RANLIB=$RANLIB
   12595   # Extract the first word of "ranlib", so it can be a program name with args.
   12596 set dummy ranlib; ac_word=$2
   12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12598 $as_echo_n "checking for $ac_word... " >&6; }
   12599 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12600   $as_echo_n "(cached) " >&6
   12601 else
   12602   if test -n "$ac_ct_RANLIB"; then
   12603   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12604 else
   12605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12606 for as_dir in $PATH
   12607 do
   12608   IFS=$as_save_IFS
   12609   test -z "$as_dir" && as_dir=.
   12610     for ac_exec_ext in '' $ac_executable_extensions; do
   12611   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12612     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12614     break 2
   12615   fi
   12616 done
   12617   done
   12618 IFS=$as_save_IFS
   12619 
   12620 fi
   12621 fi
   12622 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12623 if test -n "$ac_ct_RANLIB"; then
   12624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12625 $as_echo "$ac_ct_RANLIB" >&6; }
   12626 else
   12627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12628 $as_echo "no" >&6; }
   12629 fi
   12630 
   12631   if test "x$ac_ct_RANLIB" = x; then
   12632     RANLIB=":"
   12633   else
   12634     case $cross_compiling:$ac_tool_warned in
   12635 yes:)
   12636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12638 ac_tool_warned=yes ;;
   12639 esac
   12640     RANLIB=$ac_ct_RANLIB
   12641   fi
   12642 else
   12643   RANLIB="$ac_cv_prog_RANLIB"
   12644 fi
   12645 
   12646 test -z "$RANLIB" && RANLIB=:
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 # Determine commands to create old-style static archives.
   12654 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12655 old_postinstall_cmds='chmod 644 $oldlib'
   12656 old_postuninstall_cmds=
   12657 
   12658 if test -n "$RANLIB"; then
   12659   case $host_os in
   12660   bitrig* | openbsd*)
   12661     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12662     ;;
   12663   *)
   12664     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12665     ;;
   12666   esac
   12667   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12668 fi
   12669 
   12670 case $host_os in
   12671   darwin*)
   12672     lock_old_archive_extraction=yes ;;
   12673   *)
   12674     lock_old_archive_extraction=no ;;
   12675 esac
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 # If no C compiler was specified, use CC.
   12716 LTCC=${LTCC-"$CC"}
   12717 
   12718 # If no C compiler flags were specified, use CFLAGS.
   12719 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12720 
   12721 # Allow CC to be a program name with arguments.
   12722 compiler=$CC
   12723 
   12724 
   12725 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12727 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12728 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12729   $as_echo_n "(cached) " >&6
   12730 else
   12731 
   12732 # These are sane defaults that work on at least a few old systems.
   12733 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12734 
   12735 # Character class describing NM global symbol codes.
   12736 symcode='[BCDEGRST]'
   12737 
   12738 # Regexp to match symbols that can be accessed directly from C.
   12739 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12740 
   12741 # Define system-specific variables.
   12742 case $host_os in
   12743 aix*)
   12744   symcode='[BCDT]'
   12745   ;;
   12746 cygwin* | mingw* | pw32* | cegcc*)
   12747   symcode='[ABCDGISTW]'
   12748   ;;
   12749 hpux*)
   12750   if test ia64 = "$host_cpu"; then
   12751     symcode='[ABCDEGRST]'
   12752   fi
   12753   ;;
   12754 irix* | nonstopux*)
   12755   symcode='[BCDEGRST]'
   12756   ;;
   12757 osf*)
   12758   symcode='[BCDEGQRST]'
   12759   ;;
   12760 solaris*)
   12761   symcode='[BDRT]'
   12762   ;;
   12763 sco3.2v5*)
   12764   symcode='[DT]'
   12765   ;;
   12766 sysv4.2uw2*)
   12767   symcode='[DT]'
   12768   ;;
   12769 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12770   symcode='[ABDT]'
   12771   ;;
   12772 sysv4)
   12773   symcode='[DFNSTU]'
   12774   ;;
   12775 esac
   12776 
   12777 # If we're using GNU nm, then use its standard symbol codes.
   12778 case `$NM -V 2>&1` in
   12779 *GNU* | *'with BFD'*)
   12780   symcode='[ABCDGIRSTW]' ;;
   12781 esac
   12782 
   12783 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12784   # Gets list of data symbols to import.
   12785   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12786   # Adjust the below global symbol transforms to fixup imported variables.
   12787   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12788   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12789   lt_c_name_lib_hook="\
   12790   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12791   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12792 else
   12793   # Disable hooks by default.
   12794   lt_cv_sys_global_symbol_to_import=
   12795   lt_cdecl_hook=
   12796   lt_c_name_hook=
   12797   lt_c_name_lib_hook=
   12798 fi
   12799 
   12800 # Transform an extracted symbol line into a proper C declaration.
   12801 # Some systems (esp. on ia64) link data and code symbols differently,
   12802 # so use this general approach.
   12803 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12804 $lt_cdecl_hook\
   12805 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12806 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12807 
   12808 # Transform an extracted symbol line into symbol name and symbol address
   12809 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12810 $lt_c_name_hook\
   12811 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12812 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12813 
   12814 # Transform an extracted symbol line into symbol name with lib prefix and
   12815 # symbol address.
   12816 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12817 $lt_c_name_lib_hook\
   12818 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12819 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12820 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12821 
   12822 # Handle CRLF in mingw tool chain
   12823 opt_cr=
   12824 case $build_os in
   12825 mingw*)
   12826   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12827   ;;
   12828 esac
   12829 
   12830 # Try without a prefix underscore, then with it.
   12831 for ac_symprfx in "" "_"; do
   12832 
   12833   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12834   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12835 
   12836   # Write the raw and C identifiers.
   12837   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12838     # Fake it for dumpbin and say T for any non-static function,
   12839     # D for any global variable and I for any imported variable.
   12840     # Also find C++ and __fastcall symbols from MSVC++,
   12841     # which start with @ or ?.
   12842     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12843 "     {last_section=section; section=\$ 3};"\
   12844 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12845 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12846 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12847 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12848 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12849 "     \$ 0!~/External *\|/{next};"\
   12850 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12851 "     {if(hide[section]) next};"\
   12852 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12853 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12854 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12855 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12856 "     ' prfx=^$ac_symprfx"
   12857   else
   12858     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12859   fi
   12860   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12861 
   12862   # Check to see that the pipe works correctly.
   12863   pipe_works=no
   12864 
   12865   rm -f conftest*
   12866   cat > conftest.$ac_ext <<_LT_EOF
   12867 #ifdef __cplusplus
   12868 extern "C" {
   12869 #endif
   12870 char nm_test_var;
   12871 void nm_test_func(void);
   12872 void nm_test_func(void){}
   12873 #ifdef __cplusplus
   12874 }
   12875 #endif
   12876 int main(){nm_test_var='a';nm_test_func();return(0);}
   12877 _LT_EOF
   12878 
   12879   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12880   (eval $ac_compile) 2>&5
   12881   ac_status=$?
   12882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12883   test $ac_status = 0; }; then
   12884     # Now try to grab the symbols.
   12885     nlist=conftest.nm
   12886     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12887   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12888   ac_status=$?
   12889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12890   test $ac_status = 0; } && test -s "$nlist"; then
   12891       # Try sorting and uniquifying the output.
   12892       if sort "$nlist" | uniq > "$nlist"T; then
   12893 	mv -f "$nlist"T "$nlist"
   12894       else
   12895 	rm -f "$nlist"T
   12896       fi
   12897 
   12898       # Make sure that we snagged all the symbols we need.
   12899       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12900 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12901 	  cat <<_LT_EOF > conftest.$ac_ext
   12902 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12903 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12904 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12905    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12906 # define LT_DLSYM_CONST
   12907 #elif defined __osf__
   12908 /* This system does not cope well with relocations in const data.  */
   12909 # define LT_DLSYM_CONST
   12910 #else
   12911 # define LT_DLSYM_CONST const
   12912 #endif
   12913 
   12914 #ifdef __cplusplus
   12915 extern "C" {
   12916 #endif
   12917 
   12918 _LT_EOF
   12919 	  # Now generate the symbol file.
   12920 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12921 
   12922 	  cat <<_LT_EOF >> conftest.$ac_ext
   12923 
   12924 /* The mapping between symbol names and symbols.  */
   12925 LT_DLSYM_CONST struct {
   12926   const char *name;
   12927   void       *address;
   12928 }
   12929 lt__PROGRAM__LTX_preloaded_symbols[] =
   12930 {
   12931   { "@PROGRAM@", (void *) 0 },
   12932 _LT_EOF
   12933 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12934 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12935   {0, (void *) 0}
   12936 };
   12937 
   12938 /* This works around a problem in FreeBSD linker */
   12939 #ifdef FREEBSD_WORKAROUND
   12940 static const void *lt_preloaded_setup() {
   12941   return lt__PROGRAM__LTX_preloaded_symbols;
   12942 }
   12943 #endif
   12944 
   12945 #ifdef __cplusplus
   12946 }
   12947 #endif
   12948 _LT_EOF
   12949 	  # Now try linking the two files.
   12950 	  mv conftest.$ac_objext conftstm.$ac_objext
   12951 	  lt_globsym_save_LIBS=$LIBS
   12952 	  lt_globsym_save_CFLAGS=$CFLAGS
   12953 	  LIBS=conftstm.$ac_objext
   12954 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12955 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12956   (eval $ac_link) 2>&5
   12957   ac_status=$?
   12958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12959   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12960 	    pipe_works=yes
   12961 	  fi
   12962 	  LIBS=$lt_globsym_save_LIBS
   12963 	  CFLAGS=$lt_globsym_save_CFLAGS
   12964 	else
   12965 	  echo "cannot find nm_test_func in $nlist" >&5
   12966 	fi
   12967       else
   12968 	echo "cannot find nm_test_var in $nlist" >&5
   12969       fi
   12970     else
   12971       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12972     fi
   12973   else
   12974     echo "$progname: failed program was:" >&5
   12975     cat conftest.$ac_ext >&5
   12976   fi
   12977   rm -rf conftest* conftst*
   12978 
   12979   # Do not use the global_symbol_pipe unless it works.
   12980   if test yes = "$pipe_works"; then
   12981     break
   12982   else
   12983     lt_cv_sys_global_symbol_pipe=
   12984   fi
   12985 done
   12986 
   12987 fi
   12988 
   12989 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12990   lt_cv_sys_global_symbol_to_cdecl=
   12991 fi
   12992 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12994 $as_echo "failed" >&6; }
   12995 else
   12996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12997 $as_echo "ok" >&6; }
   12998 fi
   12999 
   13000 # Response file support.
   13001 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13002   nm_file_list_spec='@'
   13003 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13004   nm_file_list_spec='@'
   13005 fi
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13044 $as_echo_n "checking for sysroot... " >&6; }
   13045 
   13046 # Check whether --with-sysroot was given.
   13047 if test "${with_sysroot+set}" = set; then :
   13048   withval=$with_sysroot;
   13049 else
   13050   with_sysroot=no
   13051 fi
   13052 
   13053 
   13054 lt_sysroot=
   13055 case $with_sysroot in #(
   13056  yes)
   13057    if test yes = "$GCC"; then
   13058      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13059    fi
   13060    ;; #(
   13061  /*)
   13062    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13063    ;; #(
   13064  no|'')
   13065    ;; #(
   13066  *)
   13067    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13068 $as_echo "$with_sysroot" >&6; }
   13069    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13070    ;;
   13071 esac
   13072 
   13073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13074 $as_echo "${lt_sysroot:-no}" >&6; }
   13075 
   13076 
   13077 
   13078 
   13079 
   13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13081 $as_echo_n "checking for a working dd... " >&6; }
   13082 if ${ac_cv_path_lt_DD+:} false; then :
   13083   $as_echo_n "(cached) " >&6
   13084 else
   13085   printf 0123456789abcdef0123456789abcdef >conftest.i
   13086 cat conftest.i conftest.i >conftest2.i
   13087 : ${lt_DD:=$DD}
   13088 if test -z "$lt_DD"; then
   13089   ac_path_lt_DD_found=false
   13090   # Loop through the user's path and test for each of PROGNAME-LIST
   13091   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13092 for as_dir in $PATH
   13093 do
   13094   IFS=$as_save_IFS
   13095   test -z "$as_dir" && as_dir=.
   13096     for ac_prog in dd; do
   13097     for ac_exec_ext in '' $ac_executable_extensions; do
   13098       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13099       as_fn_executable_p "$ac_path_lt_DD" || continue
   13100 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13101   cmp -s conftest.i conftest.out \
   13102   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13103 fi
   13104       $ac_path_lt_DD_found && break 3
   13105     done
   13106   done
   13107   done
   13108 IFS=$as_save_IFS
   13109   if test -z "$ac_cv_path_lt_DD"; then
   13110     :
   13111   fi
   13112 else
   13113   ac_cv_path_lt_DD=$lt_DD
   13114 fi
   13115 
   13116 rm -f conftest.i conftest2.i conftest.out
   13117 fi
   13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13119 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13120 
   13121 
   13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13123 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13124 if ${lt_cv_truncate_bin+:} false; then :
   13125   $as_echo_n "(cached) " >&6
   13126 else
   13127   printf 0123456789abcdef0123456789abcdef >conftest.i
   13128 cat conftest.i conftest.i >conftest2.i
   13129 lt_cv_truncate_bin=
   13130 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13131   cmp -s conftest.i conftest.out \
   13132   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13133 fi
   13134 rm -f conftest.i conftest2.i conftest.out
   13135 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13136 fi
   13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13138 $as_echo "$lt_cv_truncate_bin" >&6; }
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13147 func_cc_basename ()
   13148 {
   13149     for cc_temp in $*""; do
   13150       case $cc_temp in
   13151         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13152         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13153         \-*) ;;
   13154         *) break;;
   13155       esac
   13156     done
   13157     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13158 }
   13159 
   13160 # Check whether --enable-libtool-lock was given.
   13161 if test "${enable_libtool_lock+set}" = set; then :
   13162   enableval=$enable_libtool_lock;
   13163 fi
   13164 
   13165 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13166 
   13167 # Some flags need to be propagated to the compiler or linker for good
   13168 # libtool support.
   13169 case $host in
   13170 ia64-*-hpux*)
   13171   # Find out what ABI is being produced by ac_compile, and set mode
   13172   # options accordingly.
   13173   echo 'int i;' > conftest.$ac_ext
   13174   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13175   (eval $ac_compile) 2>&5
   13176   ac_status=$?
   13177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13178   test $ac_status = 0; }; then
   13179     case `/usr/bin/file conftest.$ac_objext` in
   13180       *ELF-32*)
   13181 	HPUX_IA64_MODE=32
   13182 	;;
   13183       *ELF-64*)
   13184 	HPUX_IA64_MODE=64
   13185 	;;
   13186     esac
   13187   fi
   13188   rm -rf conftest*
   13189   ;;
   13190 *-*-irix6*)
   13191   # Find out what ABI is being produced by ac_compile, and set linker
   13192   # options accordingly.
   13193   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13194   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13195   (eval $ac_compile) 2>&5
   13196   ac_status=$?
   13197   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13198   test $ac_status = 0; }; then
   13199     if test yes = "$lt_cv_prog_gnu_ld"; then
   13200       case `/usr/bin/file conftest.$ac_objext` in
   13201 	*32-bit*)
   13202 	  LD="${LD-ld} -melf32bsmip"
   13203 	  ;;
   13204 	*N32*)
   13205 	  LD="${LD-ld} -melf32bmipn32"
   13206 	  ;;
   13207 	*64-bit*)
   13208 	  LD="${LD-ld} -melf64bmip"
   13209 	;;
   13210       esac
   13211     else
   13212       case `/usr/bin/file conftest.$ac_objext` in
   13213 	*32-bit*)
   13214 	  LD="${LD-ld} -32"
   13215 	  ;;
   13216 	*N32*)
   13217 	  LD="${LD-ld} -n32"
   13218 	  ;;
   13219 	*64-bit*)
   13220 	  LD="${LD-ld} -64"
   13221 	  ;;
   13222       esac
   13223     fi
   13224   fi
   13225   rm -rf conftest*
   13226   ;;
   13227 
   13228 mips64*-*linux*)
   13229   # Find out what ABI is being produced by ac_compile, and set linker
   13230   # options accordingly.
   13231   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13232   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13233   (eval $ac_compile) 2>&5
   13234   ac_status=$?
   13235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13236   test $ac_status = 0; }; then
   13237     emul=elf
   13238     case `/usr/bin/file conftest.$ac_objext` in
   13239       *32-bit*)
   13240 	emul="${emul}32"
   13241 	;;
   13242       *64-bit*)
   13243 	emul="${emul}64"
   13244 	;;
   13245     esac
   13246     case `/usr/bin/file conftest.$ac_objext` in
   13247       *MSB*)
   13248 	emul="${emul}btsmip"
   13249 	;;
   13250       *LSB*)
   13251 	emul="${emul}ltsmip"
   13252 	;;
   13253     esac
   13254     case `/usr/bin/file conftest.$ac_objext` in
   13255       *N32*)
   13256 	emul="${emul}n32"
   13257 	;;
   13258     esac
   13259     LD="${LD-ld} -m $emul"
   13260   fi
   13261   rm -rf conftest*
   13262   ;;
   13263 
   13264 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13265 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13266   # Find out what ABI is being produced by ac_compile, and set linker
   13267   # options accordingly.  Note that the listed cases only cover the
   13268   # situations where additional linker options are needed (such as when
   13269   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13270   # vice versa); the common cases where no linker options are needed do
   13271   # not appear in the list.
   13272   echo 'int i;' > conftest.$ac_ext
   13273   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13274   (eval $ac_compile) 2>&5
   13275   ac_status=$?
   13276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13277   test $ac_status = 0; }; then
   13278     case `/usr/bin/file conftest.o` in
   13279       *32-bit*)
   13280 	case $host in
   13281 	  x86_64-*kfreebsd*-gnu)
   13282 	    LD="${LD-ld} -m elf_i386_fbsd"
   13283 	    ;;
   13284 	  x86_64-*linux*)
   13285 	    case `/usr/bin/file conftest.o` in
   13286 	      *x86-64*)
   13287 		LD="${LD-ld} -m elf32_x86_64"
   13288 		;;
   13289 	      *)
   13290 		LD="${LD-ld} -m elf_i386"
   13291 		;;
   13292 	    esac
   13293 	    ;;
   13294 	  powerpc64le-*linux*)
   13295 	    LD="${LD-ld} -m elf32lppclinux"
   13296 	    ;;
   13297 	  powerpc64-*linux*)
   13298 	    LD="${LD-ld} -m elf32ppclinux"
   13299 	    ;;
   13300 	  s390x-*linux*)
   13301 	    LD="${LD-ld} -m elf_s390"
   13302 	    ;;
   13303 	  sparc64-*linux*)
   13304 	    LD="${LD-ld} -m elf32_sparc"
   13305 	    ;;
   13306 	esac
   13307 	;;
   13308       *64-bit*)
   13309 	case $host in
   13310 	  x86_64-*kfreebsd*-gnu)
   13311 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13312 	    ;;
   13313 	  x86_64-*linux*)
   13314 	    LD="${LD-ld} -m elf_x86_64"
   13315 	    ;;
   13316 	  powerpcle-*linux*)
   13317 	    LD="${LD-ld} -m elf64lppc"
   13318 	    ;;
   13319 	  powerpc-*linux*)
   13320 	    LD="${LD-ld} -m elf64ppc"
   13321 	    ;;
   13322 	  s390*-*linux*|s390*-*tpf*)
   13323 	    LD="${LD-ld} -m elf64_s390"
   13324 	    ;;
   13325 	  sparc*-*linux*)
   13326 	    LD="${LD-ld} -m elf64_sparc"
   13327 	    ;;
   13328 	esac
   13329 	;;
   13330     esac
   13331   fi
   13332   rm -rf conftest*
   13333   ;;
   13334 
   13335 *-*-sco3.2v5*)
   13336   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13337   SAVE_CFLAGS=$CFLAGS
   13338   CFLAGS="$CFLAGS -belf"
   13339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13340 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13341 if ${lt_cv_cc_needs_belf+:} false; then :
   13342   $as_echo_n "(cached) " >&6
   13343 else
   13344   ac_ext=c
   13345 ac_cpp='$CPP $CPPFLAGS'
   13346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13349 
   13350      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13351 /* end confdefs.h.  */
   13352 
   13353 int
   13354 main ()
   13355 {
   13356 
   13357   ;
   13358   return 0;
   13359 }
   13360 _ACEOF
   13361 if ac_fn_c_try_link "$LINENO"; then :
   13362   lt_cv_cc_needs_belf=yes
   13363 else
   13364   lt_cv_cc_needs_belf=no
   13365 fi
   13366 rm -f core conftest.err conftest.$ac_objext \
   13367     conftest$ac_exeext conftest.$ac_ext
   13368      ac_ext=c
   13369 ac_cpp='$CPP $CPPFLAGS'
   13370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13373 
   13374 fi
   13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13376 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13377   if test yes != "$lt_cv_cc_needs_belf"; then
   13378     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13379     CFLAGS=$SAVE_CFLAGS
   13380   fi
   13381   ;;
   13382 *-*solaris*)
   13383   # Find out what ABI is being produced by ac_compile, and set linker
   13384   # options accordingly.
   13385   echo 'int i;' > conftest.$ac_ext
   13386   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13387   (eval $ac_compile) 2>&5
   13388   ac_status=$?
   13389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13390   test $ac_status = 0; }; then
   13391     case `/usr/bin/file conftest.o` in
   13392     *64-bit*)
   13393       case $lt_cv_prog_gnu_ld in
   13394       yes*)
   13395         case $host in
   13396         i?86-*-solaris*|x86_64-*-solaris*)
   13397           LD="${LD-ld} -m elf_x86_64"
   13398           ;;
   13399         sparc*-*-solaris*)
   13400           LD="${LD-ld} -m elf64_sparc"
   13401           ;;
   13402         esac
   13403         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13404         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13405           LD=${LD-ld}_sol2
   13406         fi
   13407         ;;
   13408       *)
   13409 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13410 	  LD="${LD-ld} -64"
   13411 	fi
   13412 	;;
   13413       esac
   13414       ;;
   13415     esac
   13416   fi
   13417   rm -rf conftest*
   13418   ;;
   13419 esac
   13420 
   13421 need_locks=$enable_libtool_lock
   13422 
   13423 if test -n "$ac_tool_prefix"; then
   13424   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13425 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13427 $as_echo_n "checking for $ac_word... " >&6; }
   13428 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13429   $as_echo_n "(cached) " >&6
   13430 else
   13431   if test -n "$MANIFEST_TOOL"; then
   13432   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13433 else
   13434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13435 for as_dir in $PATH
   13436 do
   13437   IFS=$as_save_IFS
   13438   test -z "$as_dir" && as_dir=.
   13439     for ac_exec_ext in '' $ac_executable_extensions; do
   13440   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13441     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13443     break 2
   13444   fi
   13445 done
   13446   done
   13447 IFS=$as_save_IFS
   13448 
   13449 fi
   13450 fi
   13451 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13452 if test -n "$MANIFEST_TOOL"; then
   13453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13454 $as_echo "$MANIFEST_TOOL" >&6; }
   13455 else
   13456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13457 $as_echo "no" >&6; }
   13458 fi
   13459 
   13460 
   13461 fi
   13462 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13463   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13464   # Extract the first word of "mt", so it can be a program name with args.
   13465 set dummy mt; ac_word=$2
   13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13467 $as_echo_n "checking for $ac_word... " >&6; }
   13468 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13469   $as_echo_n "(cached) " >&6
   13470 else
   13471   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13472   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13473 else
   13474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13475 for as_dir in $PATH
   13476 do
   13477   IFS=$as_save_IFS
   13478   test -z "$as_dir" && as_dir=.
   13479     for ac_exec_ext in '' $ac_executable_extensions; do
   13480   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13481     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13483     break 2
   13484   fi
   13485 done
   13486   done
   13487 IFS=$as_save_IFS
   13488 
   13489 fi
   13490 fi
   13491 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13492 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13494 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13495 else
   13496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13497 $as_echo "no" >&6; }
   13498 fi
   13499 
   13500   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13501     MANIFEST_TOOL=":"
   13502   else
   13503     case $cross_compiling:$ac_tool_warned in
   13504 yes:)
   13505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13507 ac_tool_warned=yes ;;
   13508 esac
   13509     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13510   fi
   13511 else
   13512   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13513 fi
   13514 
   13515 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13517 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13518 if ${lt_cv_path_mainfest_tool+:} false; then :
   13519   $as_echo_n "(cached) " >&6
   13520 else
   13521   lt_cv_path_mainfest_tool=no
   13522   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13523   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13524   cat conftest.err >&5
   13525   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13526     lt_cv_path_mainfest_tool=yes
   13527   fi
   13528   rm -f conftest*
   13529 fi
   13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13531 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13532 if test yes != "$lt_cv_path_mainfest_tool"; then
   13533   MANIFEST_TOOL=:
   13534 fi
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541   case $host_os in
   13542     rhapsody* | darwin*)
   13543     if test -n "$ac_tool_prefix"; then
   13544   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13545 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13547 $as_echo_n "checking for $ac_word... " >&6; }
   13548 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13549   $as_echo_n "(cached) " >&6
   13550 else
   13551   if test -n "$DSYMUTIL"; then
   13552   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13553 else
   13554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13555 for as_dir in $PATH
   13556 do
   13557   IFS=$as_save_IFS
   13558   test -z "$as_dir" && as_dir=.
   13559     for ac_exec_ext in '' $ac_executable_extensions; do
   13560   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13561     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13563     break 2
   13564   fi
   13565 done
   13566   done
   13567 IFS=$as_save_IFS
   13568 
   13569 fi
   13570 fi
   13571 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13572 if test -n "$DSYMUTIL"; then
   13573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13574 $as_echo "$DSYMUTIL" >&6; }
   13575 else
   13576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13577 $as_echo "no" >&6; }
   13578 fi
   13579 
   13580 
   13581 fi
   13582 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13583   ac_ct_DSYMUTIL=$DSYMUTIL
   13584   # Extract the first word of "dsymutil", so it can be a program name with args.
   13585 set dummy dsymutil; ac_word=$2
   13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13587 $as_echo_n "checking for $ac_word... " >&6; }
   13588 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13589   $as_echo_n "(cached) " >&6
   13590 else
   13591   if test -n "$ac_ct_DSYMUTIL"; then
   13592   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13593 else
   13594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13595 for as_dir in $PATH
   13596 do
   13597   IFS=$as_save_IFS
   13598   test -z "$as_dir" && as_dir=.
   13599     for ac_exec_ext in '' $ac_executable_extensions; do
   13600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13601     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13603     break 2
   13604   fi
   13605 done
   13606   done
   13607 IFS=$as_save_IFS
   13608 
   13609 fi
   13610 fi
   13611 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13612 if test -n "$ac_ct_DSYMUTIL"; then
   13613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13614 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13615 else
   13616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13617 $as_echo "no" >&6; }
   13618 fi
   13619 
   13620   if test "x$ac_ct_DSYMUTIL" = x; then
   13621     DSYMUTIL=":"
   13622   else
   13623     case $cross_compiling:$ac_tool_warned in
   13624 yes:)
   13625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13627 ac_tool_warned=yes ;;
   13628 esac
   13629     DSYMUTIL=$ac_ct_DSYMUTIL
   13630   fi
   13631 else
   13632   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13633 fi
   13634 
   13635     if test -n "$ac_tool_prefix"; then
   13636   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13637 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13639 $as_echo_n "checking for $ac_word... " >&6; }
   13640 if ${ac_cv_prog_NMEDIT+:} false; then :
   13641   $as_echo_n "(cached) " >&6
   13642 else
   13643   if test -n "$NMEDIT"; then
   13644   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13645 else
   13646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13647 for as_dir in $PATH
   13648 do
   13649   IFS=$as_save_IFS
   13650   test -z "$as_dir" && as_dir=.
   13651     for ac_exec_ext in '' $ac_executable_extensions; do
   13652   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13653     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13655     break 2
   13656   fi
   13657 done
   13658   done
   13659 IFS=$as_save_IFS
   13660 
   13661 fi
   13662 fi
   13663 NMEDIT=$ac_cv_prog_NMEDIT
   13664 if test -n "$NMEDIT"; then
   13665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13666 $as_echo "$NMEDIT" >&6; }
   13667 else
   13668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13669 $as_echo "no" >&6; }
   13670 fi
   13671 
   13672 
   13673 fi
   13674 if test -z "$ac_cv_prog_NMEDIT"; then
   13675   ac_ct_NMEDIT=$NMEDIT
   13676   # Extract the first word of "nmedit", so it can be a program name with args.
   13677 set dummy nmedit; ac_word=$2
   13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13679 $as_echo_n "checking for $ac_word... " >&6; }
   13680 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13681   $as_echo_n "(cached) " >&6
   13682 else
   13683   if test -n "$ac_ct_NMEDIT"; then
   13684   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13685 else
   13686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13687 for as_dir in $PATH
   13688 do
   13689   IFS=$as_save_IFS
   13690   test -z "$as_dir" && as_dir=.
   13691     for ac_exec_ext in '' $ac_executable_extensions; do
   13692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13693     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13695     break 2
   13696   fi
   13697 done
   13698   done
   13699 IFS=$as_save_IFS
   13700 
   13701 fi
   13702 fi
   13703 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13704 if test -n "$ac_ct_NMEDIT"; then
   13705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13706 $as_echo "$ac_ct_NMEDIT" >&6; }
   13707 else
   13708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13709 $as_echo "no" >&6; }
   13710 fi
   13711 
   13712   if test "x$ac_ct_NMEDIT" = x; then
   13713     NMEDIT=":"
   13714   else
   13715     case $cross_compiling:$ac_tool_warned in
   13716 yes:)
   13717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13719 ac_tool_warned=yes ;;
   13720 esac
   13721     NMEDIT=$ac_ct_NMEDIT
   13722   fi
   13723 else
   13724   NMEDIT="$ac_cv_prog_NMEDIT"
   13725 fi
   13726 
   13727     if test -n "$ac_tool_prefix"; then
   13728   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13729 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13731 $as_echo_n "checking for $ac_word... " >&6; }
   13732 if ${ac_cv_prog_LIPO+:} false; then :
   13733   $as_echo_n "(cached) " >&6
   13734 else
   13735   if test -n "$LIPO"; then
   13736   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13737 else
   13738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13739 for as_dir in $PATH
   13740 do
   13741   IFS=$as_save_IFS
   13742   test -z "$as_dir" && as_dir=.
   13743     for ac_exec_ext in '' $ac_executable_extensions; do
   13744   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13745     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13747     break 2
   13748   fi
   13749 done
   13750   done
   13751 IFS=$as_save_IFS
   13752 
   13753 fi
   13754 fi
   13755 LIPO=$ac_cv_prog_LIPO
   13756 if test -n "$LIPO"; then
   13757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13758 $as_echo "$LIPO" >&6; }
   13759 else
   13760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13761 $as_echo "no" >&6; }
   13762 fi
   13763 
   13764 
   13765 fi
   13766 if test -z "$ac_cv_prog_LIPO"; then
   13767   ac_ct_LIPO=$LIPO
   13768   # Extract the first word of "lipo", so it can be a program name with args.
   13769 set dummy lipo; ac_word=$2
   13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13771 $as_echo_n "checking for $ac_word... " >&6; }
   13772 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13773   $as_echo_n "(cached) " >&6
   13774 else
   13775   if test -n "$ac_ct_LIPO"; then
   13776   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13777 else
   13778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13779 for as_dir in $PATH
   13780 do
   13781   IFS=$as_save_IFS
   13782   test -z "$as_dir" && as_dir=.
   13783     for ac_exec_ext in '' $ac_executable_extensions; do
   13784   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13785     ac_cv_prog_ac_ct_LIPO="lipo"
   13786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13787     break 2
   13788   fi
   13789 done
   13790   done
   13791 IFS=$as_save_IFS
   13792 
   13793 fi
   13794 fi
   13795 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13796 if test -n "$ac_ct_LIPO"; then
   13797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13798 $as_echo "$ac_ct_LIPO" >&6; }
   13799 else
   13800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13801 $as_echo "no" >&6; }
   13802 fi
   13803 
   13804   if test "x$ac_ct_LIPO" = x; then
   13805     LIPO=":"
   13806   else
   13807     case $cross_compiling:$ac_tool_warned in
   13808 yes:)
   13809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13811 ac_tool_warned=yes ;;
   13812 esac
   13813     LIPO=$ac_ct_LIPO
   13814   fi
   13815 else
   13816   LIPO="$ac_cv_prog_LIPO"
   13817 fi
   13818 
   13819     if test -n "$ac_tool_prefix"; then
   13820   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13821 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13823 $as_echo_n "checking for $ac_word... " >&6; }
   13824 if ${ac_cv_prog_OTOOL+:} false; then :
   13825   $as_echo_n "(cached) " >&6
   13826 else
   13827   if test -n "$OTOOL"; then
   13828   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13829 else
   13830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13831 for as_dir in $PATH
   13832 do
   13833   IFS=$as_save_IFS
   13834   test -z "$as_dir" && as_dir=.
   13835     for ac_exec_ext in '' $ac_executable_extensions; do
   13836   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13837     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13839     break 2
   13840   fi
   13841 done
   13842   done
   13843 IFS=$as_save_IFS
   13844 
   13845 fi
   13846 fi
   13847 OTOOL=$ac_cv_prog_OTOOL
   13848 if test -n "$OTOOL"; then
   13849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13850 $as_echo "$OTOOL" >&6; }
   13851 else
   13852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13853 $as_echo "no" >&6; }
   13854 fi
   13855 
   13856 
   13857 fi
   13858 if test -z "$ac_cv_prog_OTOOL"; then
   13859   ac_ct_OTOOL=$OTOOL
   13860   # Extract the first word of "otool", so it can be a program name with args.
   13861 set dummy otool; ac_word=$2
   13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13863 $as_echo_n "checking for $ac_word... " >&6; }
   13864 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13865   $as_echo_n "(cached) " >&6
   13866 else
   13867   if test -n "$ac_ct_OTOOL"; then
   13868   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13869 else
   13870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13871 for as_dir in $PATH
   13872 do
   13873   IFS=$as_save_IFS
   13874   test -z "$as_dir" && as_dir=.
   13875     for ac_exec_ext in '' $ac_executable_extensions; do
   13876   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13877     ac_cv_prog_ac_ct_OTOOL="otool"
   13878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13879     break 2
   13880   fi
   13881 done
   13882   done
   13883 IFS=$as_save_IFS
   13884 
   13885 fi
   13886 fi
   13887 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13888 if test -n "$ac_ct_OTOOL"; then
   13889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13890 $as_echo "$ac_ct_OTOOL" >&6; }
   13891 else
   13892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13893 $as_echo "no" >&6; }
   13894 fi
   13895 
   13896   if test "x$ac_ct_OTOOL" = x; then
   13897     OTOOL=":"
   13898   else
   13899     case $cross_compiling:$ac_tool_warned in
   13900 yes:)
   13901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13903 ac_tool_warned=yes ;;
   13904 esac
   13905     OTOOL=$ac_ct_OTOOL
   13906   fi
   13907 else
   13908   OTOOL="$ac_cv_prog_OTOOL"
   13909 fi
   13910 
   13911     if test -n "$ac_tool_prefix"; then
   13912   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13913 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13915 $as_echo_n "checking for $ac_word... " >&6; }
   13916 if ${ac_cv_prog_OTOOL64+:} false; then :
   13917   $as_echo_n "(cached) " >&6
   13918 else
   13919   if test -n "$OTOOL64"; then
   13920   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13921 else
   13922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13923 for as_dir in $PATH
   13924 do
   13925   IFS=$as_save_IFS
   13926   test -z "$as_dir" && as_dir=.
   13927     for ac_exec_ext in '' $ac_executable_extensions; do
   13928   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13929     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13931     break 2
   13932   fi
   13933 done
   13934   done
   13935 IFS=$as_save_IFS
   13936 
   13937 fi
   13938 fi
   13939 OTOOL64=$ac_cv_prog_OTOOL64
   13940 if test -n "$OTOOL64"; then
   13941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13942 $as_echo "$OTOOL64" >&6; }
   13943 else
   13944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13945 $as_echo "no" >&6; }
   13946 fi
   13947 
   13948 
   13949 fi
   13950 if test -z "$ac_cv_prog_OTOOL64"; then
   13951   ac_ct_OTOOL64=$OTOOL64
   13952   # Extract the first word of "otool64", so it can be a program name with args.
   13953 set dummy otool64; ac_word=$2
   13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13955 $as_echo_n "checking for $ac_word... " >&6; }
   13956 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13957   $as_echo_n "(cached) " >&6
   13958 else
   13959   if test -n "$ac_ct_OTOOL64"; then
   13960   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13961 else
   13962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13963 for as_dir in $PATH
   13964 do
   13965   IFS=$as_save_IFS
   13966   test -z "$as_dir" && as_dir=.
   13967     for ac_exec_ext in '' $ac_executable_extensions; do
   13968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13969     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13971     break 2
   13972   fi
   13973 done
   13974   done
   13975 IFS=$as_save_IFS
   13976 
   13977 fi
   13978 fi
   13979 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13980 if test -n "$ac_ct_OTOOL64"; then
   13981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13982 $as_echo "$ac_ct_OTOOL64" >&6; }
   13983 else
   13984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13985 $as_echo "no" >&6; }
   13986 fi
   13987 
   13988   if test "x$ac_ct_OTOOL64" = x; then
   13989     OTOOL64=":"
   13990   else
   13991     case $cross_compiling:$ac_tool_warned in
   13992 yes:)
   13993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13995 ac_tool_warned=yes ;;
   13996 esac
   13997     OTOOL64=$ac_ct_OTOOL64
   13998   fi
   13999 else
   14000   OTOOL64="$ac_cv_prog_OTOOL64"
   14001 fi
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14030 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14031 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14032   $as_echo_n "(cached) " >&6
   14033 else
   14034   lt_cv_apple_cc_single_mod=no
   14035       if test -z "$LT_MULTI_MODULE"; then
   14036 	# By default we will add the -single_module flag. You can override
   14037 	# by either setting the environment variable LT_MULTI_MODULE
   14038 	# non-empty at configure time, or by adding -multi_module to the
   14039 	# link flags.
   14040 	rm -rf libconftest.dylib*
   14041 	echo "int foo(void){return 1;}" > conftest.c
   14042 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14043 -dynamiclib -Wl,-single_module conftest.c" >&5
   14044 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14045 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14046         _lt_result=$?
   14047 	# If there is a non-empty error log, and "single_module"
   14048 	# appears in it, assume the flag caused a linker warning
   14049         if test -s conftest.err && $GREP single_module conftest.err; then
   14050 	  cat conftest.err >&5
   14051 	# Otherwise, if the output was created with a 0 exit code from
   14052 	# the compiler, it worked.
   14053 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14054 	  lt_cv_apple_cc_single_mod=yes
   14055 	else
   14056 	  cat conftest.err >&5
   14057 	fi
   14058 	rm -rf libconftest.dylib*
   14059 	rm -f conftest.*
   14060       fi
   14061 fi
   14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14063 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14064 
   14065     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14066 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14067 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14068   $as_echo_n "(cached) " >&6
   14069 else
   14070   lt_cv_ld_exported_symbols_list=no
   14071       save_LDFLAGS=$LDFLAGS
   14072       echo "_main" > conftest.sym
   14073       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14075 /* end confdefs.h.  */
   14076 
   14077 int
   14078 main ()
   14079 {
   14080 
   14081   ;
   14082   return 0;
   14083 }
   14084 _ACEOF
   14085 if ac_fn_c_try_link "$LINENO"; then :
   14086   lt_cv_ld_exported_symbols_list=yes
   14087 else
   14088   lt_cv_ld_exported_symbols_list=no
   14089 fi
   14090 rm -f core conftest.err conftest.$ac_objext \
   14091     conftest$ac_exeext conftest.$ac_ext
   14092 	LDFLAGS=$save_LDFLAGS
   14093 
   14094 fi
   14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14096 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14097 
   14098     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14099 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14100 if ${lt_cv_ld_force_load+:} false; then :
   14101   $as_echo_n "(cached) " >&6
   14102 else
   14103   lt_cv_ld_force_load=no
   14104       cat > conftest.c << _LT_EOF
   14105 int forced_loaded() { return 2;}
   14106 _LT_EOF
   14107       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14108       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14109       echo "$AR cru libconftest.a conftest.o" >&5
   14110       $AR cru libconftest.a conftest.o 2>&5
   14111       echo "$RANLIB libconftest.a" >&5
   14112       $RANLIB libconftest.a 2>&5
   14113       cat > conftest.c << _LT_EOF
   14114 int main() { return 0;}
   14115 _LT_EOF
   14116       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14117       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14118       _lt_result=$?
   14119       if test -s conftest.err && $GREP force_load conftest.err; then
   14120 	cat conftest.err >&5
   14121       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14122 	lt_cv_ld_force_load=yes
   14123       else
   14124 	cat conftest.err >&5
   14125       fi
   14126         rm -f conftest.err libconftest.a conftest conftest.c
   14127         rm -rf conftest.dSYM
   14128 
   14129 fi
   14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14131 $as_echo "$lt_cv_ld_force_load" >&6; }
   14132     case $host_os in
   14133     rhapsody* | darwin1.[012])
   14134       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14135     darwin1.*)
   14136       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14137     darwin*) # darwin 5.x on
   14138       # if running on 10.5 or later, the deployment target defaults
   14139       # to the OS version, if on x86, and 10.4, the deployment
   14140       # target defaults to 10.4. Don't you love it?
   14141       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14142 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14143 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14144 	10.[012][,.]*)
   14145 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14146 	10.*)
   14147 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14148       esac
   14149     ;;
   14150   esac
   14151     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14152       _lt_dar_single_mod='$single_module'
   14153     fi
   14154     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14155       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14156     else
   14157       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14158     fi
   14159     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14160       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14161     else
   14162       _lt_dsymutil=
   14163     fi
   14164     ;;
   14165   esac
   14166 
   14167 # func_munge_path_list VARIABLE PATH
   14168 # -----------------------------------
   14169 # VARIABLE is name of variable containing _space_ separated list of
   14170 # directories to be munged by the contents of PATH, which is string
   14171 # having a format:
   14172 # "DIR[:DIR]:"
   14173 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14174 # ":DIR[:DIR]"
   14175 #       string "DIR[ DIR]" will be appended to VARIABLE
   14176 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14177 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14178 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14179 # "DIR[:DIR]"
   14180 #       VARIABLE will be replaced by "DIR[ DIR]"
   14181 func_munge_path_list ()
   14182 {
   14183     case x$2 in
   14184     x)
   14185         ;;
   14186     *:)
   14187         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14188         ;;
   14189     x:*)
   14190         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14191         ;;
   14192     *::*)
   14193         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14194         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14195         ;;
   14196     *)
   14197         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14198         ;;
   14199     esac
   14200 }
   14201 
   14202 for ac_header in dlfcn.h
   14203 do :
   14204   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14205 "
   14206 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14207   cat >>confdefs.h <<_ACEOF
   14208 #define HAVE_DLFCN_H 1
   14209 _ACEOF
   14210 
   14211 fi
   14212 
   14213 done
   14214 
   14215 
   14216 
   14217 
   14218 
   14219 # Set options
   14220 
   14221 
   14222 
   14223         enable_dlopen=no
   14224 
   14225 
   14226   enable_win32_dll=no
   14227 
   14228 
   14229             # Check whether --enable-shared was given.
   14230 if test "${enable_shared+set}" = set; then :
   14231   enableval=$enable_shared; p=${PACKAGE-default}
   14232     case $enableval in
   14233     yes) enable_shared=yes ;;
   14234     no) enable_shared=no ;;
   14235     *)
   14236       enable_shared=no
   14237       # Look at the argument we got.  We use all the common list separators.
   14238       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14239       for pkg in $enableval; do
   14240 	IFS=$lt_save_ifs
   14241 	if test "X$pkg" = "X$p"; then
   14242 	  enable_shared=yes
   14243 	fi
   14244       done
   14245       IFS=$lt_save_ifs
   14246       ;;
   14247     esac
   14248 else
   14249   enable_shared=yes
   14250 fi
   14251 
   14252 
   14253 
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 # Check whether --with-pic was given.
   14263 if test "${with_pic+set}" = set; then :
   14264   withval=$with_pic; lt_p=${PACKAGE-default}
   14265     case $withval in
   14266     yes|no) pic_mode=$withval ;;
   14267     *)
   14268       pic_mode=default
   14269       # Look at the argument we got.  We use all the common list separators.
   14270       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14271       for lt_pkg in $withval; do
   14272 	IFS=$lt_save_ifs
   14273 	if test "X$lt_pkg" = "X$lt_p"; then
   14274 	  pic_mode=yes
   14275 	fi
   14276       done
   14277       IFS=$lt_save_ifs
   14278       ;;
   14279     esac
   14280 else
   14281   pic_mode=default
   14282 fi
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291   # Check whether --enable-fast-install was given.
   14292 if test "${enable_fast_install+set}" = set; then :
   14293   enableval=$enable_fast_install; p=${PACKAGE-default}
   14294     case $enableval in
   14295     yes) enable_fast_install=yes ;;
   14296     no) enable_fast_install=no ;;
   14297     *)
   14298       enable_fast_install=no
   14299       # Look at the argument we got.  We use all the common list separators.
   14300       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14301       for pkg in $enableval; do
   14302 	IFS=$lt_save_ifs
   14303 	if test "X$pkg" = "X$p"; then
   14304 	  enable_fast_install=yes
   14305 	fi
   14306       done
   14307       IFS=$lt_save_ifs
   14308       ;;
   14309     esac
   14310 else
   14311   enable_fast_install=yes
   14312 fi
   14313 
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321   shared_archive_member_spec=
   14322 case $host,$enable_shared in
   14323 power*-*-aix[5-9]*,yes)
   14324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14325 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14326 
   14327 # Check whether --with-aix-soname was given.
   14328 if test "${with_aix_soname+set}" = set; then :
   14329   withval=$with_aix_soname; case $withval in
   14330     aix|svr4|both)
   14331       ;;
   14332     *)
   14333       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14334       ;;
   14335     esac
   14336     lt_cv_with_aix_soname=$with_aix_soname
   14337 else
   14338   if ${lt_cv_with_aix_soname+:} false; then :
   14339   $as_echo_n "(cached) " >&6
   14340 else
   14341   lt_cv_with_aix_soname=aix
   14342 fi
   14343 
   14344     with_aix_soname=$lt_cv_with_aix_soname
   14345 fi
   14346 
   14347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14348 $as_echo "$with_aix_soname" >&6; }
   14349   if test aix != "$with_aix_soname"; then
   14350     # For the AIX way of multilib, we name the shared archive member
   14351     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14352     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14353     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14354     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14355     if test 64 = "${OBJECT_MODE-32}"; then
   14356       shared_archive_member_spec=shr_64
   14357     else
   14358       shared_archive_member_spec=shr
   14359     fi
   14360   fi
   14361   ;;
   14362 *)
   14363   with_aix_soname=aix
   14364   ;;
   14365 esac
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 # This can be used to rebuild libtool when needed
   14377 LIBTOOL_DEPS=$ltmain
   14378 
   14379 # Always use our own libtool.
   14380 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 test -z "$LN_S" && LN_S="ln -s"
   14412 
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 if test -n "${ZSH_VERSION+set}"; then
   14427    setopt NO_GLOB_SUBST
   14428 fi
   14429 
   14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14431 $as_echo_n "checking for objdir... " >&6; }
   14432 if ${lt_cv_objdir+:} false; then :
   14433   $as_echo_n "(cached) " >&6
   14434 else
   14435   rm -f .libs 2>/dev/null
   14436 mkdir .libs 2>/dev/null
   14437 if test -d .libs; then
   14438   lt_cv_objdir=.libs
   14439 else
   14440   # MS-DOS does not allow filenames that begin with a dot.
   14441   lt_cv_objdir=_libs
   14442 fi
   14443 rmdir .libs 2>/dev/null
   14444 fi
   14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14446 $as_echo "$lt_cv_objdir" >&6; }
   14447 objdir=$lt_cv_objdir
   14448 
   14449 
   14450 
   14451 
   14452 
   14453 cat >>confdefs.h <<_ACEOF
   14454 #define LT_OBJDIR "$lt_cv_objdir/"
   14455 _ACEOF
   14456 
   14457 
   14458 
   14459 
   14460 case $host_os in
   14461 aix3*)
   14462   # AIX sometimes has problems with the GCC collect2 program.  For some
   14463   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14464   # vanish in a puff of smoke.
   14465   if test set != "${COLLECT_NAMES+set}"; then
   14466     COLLECT_NAMES=
   14467     export COLLECT_NAMES
   14468   fi
   14469   ;;
   14470 esac
   14471 
   14472 # Global variables:
   14473 ofile=libtool
   14474 can_build_shared=yes
   14475 
   14476 # All known linkers require a '.a' archive for static linking (except MSVC,
   14477 # which needs '.lib').
   14478 libext=a
   14479 
   14480 with_gnu_ld=$lt_cv_prog_gnu_ld
   14481 
   14482 old_CC=$CC
   14483 old_CFLAGS=$CFLAGS
   14484 
   14485 # Set sane defaults for various variables
   14486 test -z "$CC" && CC=cc
   14487 test -z "$LTCC" && LTCC=$CC
   14488 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14489 test -z "$LD" && LD=ld
   14490 test -z "$ac_objext" && ac_objext=o
   14491 
   14492 func_cc_basename $compiler
   14493 cc_basename=$func_cc_basename_result
   14494 
   14495 
   14496 # Only perform the check for file, if the check method requires it
   14497 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14498 case $deplibs_check_method in
   14499 file_magic*)
   14500   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14501     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14502 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14503 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14504   $as_echo_n "(cached) " >&6
   14505 else
   14506   case $MAGIC_CMD in
   14507 [\\/*] |  ?:[\\/]*)
   14508   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14509   ;;
   14510 *)
   14511   lt_save_MAGIC_CMD=$MAGIC_CMD
   14512   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14513   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14514   for ac_dir in $ac_dummy; do
   14515     IFS=$lt_save_ifs
   14516     test -z "$ac_dir" && ac_dir=.
   14517     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14518       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14519       if test -n "$file_magic_test_file"; then
   14520 	case $deplibs_check_method in
   14521 	"file_magic "*)
   14522 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14523 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14524 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14525 	    $EGREP "$file_magic_regex" > /dev/null; then
   14526 	    :
   14527 	  else
   14528 	    cat <<_LT_EOF 1>&2
   14529 
   14530 *** Warning: the command libtool uses to detect shared libraries,
   14531 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14532 *** The result is that libtool may fail to recognize shared libraries
   14533 *** as such.  This will affect the creation of libtool libraries that
   14534 *** depend on shared libraries, but programs linked with such libtool
   14535 *** libraries will work regardless of this problem.  Nevertheless, you
   14536 *** may want to report the problem to your system manager and/or to
   14537 *** bug-libtool (at] gnu.org
   14538 
   14539 _LT_EOF
   14540 	  fi ;;
   14541 	esac
   14542       fi
   14543       break
   14544     fi
   14545   done
   14546   IFS=$lt_save_ifs
   14547   MAGIC_CMD=$lt_save_MAGIC_CMD
   14548   ;;
   14549 esac
   14550 fi
   14551 
   14552 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14553 if test -n "$MAGIC_CMD"; then
   14554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14555 $as_echo "$MAGIC_CMD" >&6; }
   14556 else
   14557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14558 $as_echo "no" >&6; }
   14559 fi
   14560 
   14561 
   14562 
   14563 
   14564 
   14565 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14566   if test -n "$ac_tool_prefix"; then
   14567     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14568 $as_echo_n "checking for file... " >&6; }
   14569 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14570   $as_echo_n "(cached) " >&6
   14571 else
   14572   case $MAGIC_CMD in
   14573 [\\/*] |  ?:[\\/]*)
   14574   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14575   ;;
   14576 *)
   14577   lt_save_MAGIC_CMD=$MAGIC_CMD
   14578   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14579   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14580   for ac_dir in $ac_dummy; do
   14581     IFS=$lt_save_ifs
   14582     test -z "$ac_dir" && ac_dir=.
   14583     if test -f "$ac_dir/file"; then
   14584       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14585       if test -n "$file_magic_test_file"; then
   14586 	case $deplibs_check_method in
   14587 	"file_magic "*)
   14588 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14589 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14590 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14591 	    $EGREP "$file_magic_regex" > /dev/null; then
   14592 	    :
   14593 	  else
   14594 	    cat <<_LT_EOF 1>&2
   14595 
   14596 *** Warning: the command libtool uses to detect shared libraries,
   14597 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14598 *** The result is that libtool may fail to recognize shared libraries
   14599 *** as such.  This will affect the creation of libtool libraries that
   14600 *** depend on shared libraries, but programs linked with such libtool
   14601 *** libraries will work regardless of this problem.  Nevertheless, you
   14602 *** may want to report the problem to your system manager and/or to
   14603 *** bug-libtool (at] gnu.org
   14604 
   14605 _LT_EOF
   14606 	  fi ;;
   14607 	esac
   14608       fi
   14609       break
   14610     fi
   14611   done
   14612   IFS=$lt_save_ifs
   14613   MAGIC_CMD=$lt_save_MAGIC_CMD
   14614   ;;
   14615 esac
   14616 fi
   14617 
   14618 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14619 if test -n "$MAGIC_CMD"; then
   14620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14621 $as_echo "$MAGIC_CMD" >&6; }
   14622 else
   14623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14624 $as_echo "no" >&6; }
   14625 fi
   14626 
   14627 
   14628   else
   14629     MAGIC_CMD=:
   14630   fi
   14631 fi
   14632 
   14633   fi
   14634   ;;
   14635 esac
   14636 
   14637 # Use C for the default configuration in the libtool script
   14638 
   14639 lt_save_CC=$CC
   14640 ac_ext=c
   14641 ac_cpp='$CPP $CPPFLAGS'
   14642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14645 
   14646 
   14647 # Source file extension for C test sources.
   14648 ac_ext=c
   14649 
   14650 # Object file extension for compiled C test sources.
   14651 objext=o
   14652 objext=$objext
   14653 
   14654 # Code to be used in simple compile tests
   14655 lt_simple_compile_test_code="int some_variable = 0;"
   14656 
   14657 # Code to be used in simple link tests
   14658 lt_simple_link_test_code='int main(){return(0);}'
   14659 
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 # If no C compiler was specified, use CC.
   14667 LTCC=${LTCC-"$CC"}
   14668 
   14669 # If no C compiler flags were specified, use CFLAGS.
   14670 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14671 
   14672 # Allow CC to be a program name with arguments.
   14673 compiler=$CC
   14674 
   14675 # Save the default compiler, since it gets overwritten when the other
   14676 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14677 compiler_DEFAULT=$CC
   14678 
   14679 # save warnings/boilerplate of simple test code
   14680 ac_outfile=conftest.$ac_objext
   14681 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14682 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14683 _lt_compiler_boilerplate=`cat conftest.err`
   14684 $RM conftest*
   14685 
   14686 ac_outfile=conftest.$ac_objext
   14687 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14688 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14689 _lt_linker_boilerplate=`cat conftest.err`
   14690 $RM -r conftest*
   14691 
   14692 
   14693 if test -n "$compiler"; then
   14694 
   14695 lt_prog_compiler_no_builtin_flag=
   14696 
   14697 if test yes = "$GCC"; then
   14698   case $cc_basename in
   14699   nvcc*)
   14700     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14701   *)
   14702     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14703   esac
   14704 
   14705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14706 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14707 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14708   $as_echo_n "(cached) " >&6
   14709 else
   14710   lt_cv_prog_compiler_rtti_exceptions=no
   14711    ac_outfile=conftest.$ac_objext
   14712    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14713    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14714    # Insert the option either (1) after the last *FLAGS variable, or
   14715    # (2) before a word containing "conftest.", or (3) at the end.
   14716    # Note that $ac_compile itself does not contain backslashes and begins
   14717    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14718    # The option is referenced via a variable to avoid confusing sed.
   14719    lt_compile=`echo "$ac_compile" | $SED \
   14720    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14721    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14722    -e 's:$: $lt_compiler_flag:'`
   14723    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14724    (eval "$lt_compile" 2>conftest.err)
   14725    ac_status=$?
   14726    cat conftest.err >&5
   14727    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14728    if (exit $ac_status) && test -s "$ac_outfile"; then
   14729      # The compiler can only warn and ignore the option if not recognized
   14730      # So say no if there are warnings other than the usual output.
   14731      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14732      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14733      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14734        lt_cv_prog_compiler_rtti_exceptions=yes
   14735      fi
   14736    fi
   14737    $RM conftest*
   14738 
   14739 fi
   14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14741 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14742 
   14743 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14744     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14745 else
   14746     :
   14747 fi
   14748 
   14749 fi
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756   lt_prog_compiler_wl=
   14757 lt_prog_compiler_pic=
   14758 lt_prog_compiler_static=
   14759 
   14760 
   14761   if test yes = "$GCC"; then
   14762     lt_prog_compiler_wl='-Wl,'
   14763     lt_prog_compiler_static='-static'
   14764 
   14765     case $host_os in
   14766       aix*)
   14767       # All AIX code is PIC.
   14768       if test ia64 = "$host_cpu"; then
   14769 	# AIX 5 now supports IA64 processor
   14770 	lt_prog_compiler_static='-Bstatic'
   14771       fi
   14772       lt_prog_compiler_pic='-fPIC'
   14773       ;;
   14774 
   14775     amigaos*)
   14776       case $host_cpu in
   14777       powerpc)
   14778             # see comment about AmigaOS4 .so support
   14779             lt_prog_compiler_pic='-fPIC'
   14780         ;;
   14781       m68k)
   14782             # FIXME: we need at least 68020 code to build shared libraries, but
   14783             # adding the '-m68020' flag to GCC prevents building anything better,
   14784             # like '-m68040'.
   14785             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14786         ;;
   14787       esac
   14788       ;;
   14789 
   14790     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14791       # PIC is the default for these OSes.
   14792       ;;
   14793 
   14794     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14795       # This hack is so that the source file can tell whether it is being
   14796       # built for inclusion in a dll (and should export symbols for example).
   14797       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14798       # (--disable-auto-import) libraries
   14799       lt_prog_compiler_pic='-DDLL_EXPORT'
   14800       case $host_os in
   14801       os2*)
   14802 	lt_prog_compiler_static='$wl-static'
   14803 	;;
   14804       esac
   14805       ;;
   14806 
   14807     darwin* | rhapsody*)
   14808       # PIC is the default on this platform
   14809       # Common symbols not allowed in MH_DYLIB files
   14810       lt_prog_compiler_pic='-fno-common'
   14811       ;;
   14812 
   14813     haiku*)
   14814       # PIC is the default for Haiku.
   14815       # The "-static" flag exists, but is broken.
   14816       lt_prog_compiler_static=
   14817       ;;
   14818 
   14819     hpux*)
   14820       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14821       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14822       # sets the default TLS model and affects inlining.
   14823       case $host_cpu in
   14824       hppa*64*)
   14825 	# +Z the default
   14826 	;;
   14827       *)
   14828 	lt_prog_compiler_pic='-fPIC'
   14829 	;;
   14830       esac
   14831       ;;
   14832 
   14833     interix[3-9]*)
   14834       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14835       # Instead, we relocate shared libraries at runtime.
   14836       ;;
   14837 
   14838     msdosdjgpp*)
   14839       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14840       # on systems that don't support them.
   14841       lt_prog_compiler_can_build_shared=no
   14842       enable_shared=no
   14843       ;;
   14844 
   14845     *nto* | *qnx*)
   14846       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14847       # it will coredump.
   14848       lt_prog_compiler_pic='-fPIC -shared'
   14849       ;;
   14850 
   14851     sysv4*MP*)
   14852       if test -d /usr/nec; then
   14853 	lt_prog_compiler_pic=-Kconform_pic
   14854       fi
   14855       ;;
   14856 
   14857     *)
   14858       lt_prog_compiler_pic='-fPIC'
   14859       ;;
   14860     esac
   14861 
   14862     case $cc_basename in
   14863     nvcc*) # Cuda Compiler Driver 2.2
   14864       lt_prog_compiler_wl='-Xlinker '
   14865       if test -n "$lt_prog_compiler_pic"; then
   14866         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14867       fi
   14868       ;;
   14869     esac
   14870   else
   14871     # PORTME Check for flag to pass linker flags through the system compiler.
   14872     case $host_os in
   14873     aix*)
   14874       lt_prog_compiler_wl='-Wl,'
   14875       if test ia64 = "$host_cpu"; then
   14876 	# AIX 5 now supports IA64 processor
   14877 	lt_prog_compiler_static='-Bstatic'
   14878       else
   14879 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14880       fi
   14881       ;;
   14882 
   14883     darwin* | rhapsody*)
   14884       # PIC is the default on this platform
   14885       # Common symbols not allowed in MH_DYLIB files
   14886       lt_prog_compiler_pic='-fno-common'
   14887       case $cc_basename in
   14888       nagfor*)
   14889         # NAG Fortran compiler
   14890         lt_prog_compiler_wl='-Wl,-Wl,,'
   14891         lt_prog_compiler_pic='-PIC'
   14892         lt_prog_compiler_static='-Bstatic'
   14893         ;;
   14894       esac
   14895       ;;
   14896 
   14897     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14898       # This hack is so that the source file can tell whether it is being
   14899       # built for inclusion in a dll (and should export symbols for example).
   14900       lt_prog_compiler_pic='-DDLL_EXPORT'
   14901       case $host_os in
   14902       os2*)
   14903 	lt_prog_compiler_static='$wl-static'
   14904 	;;
   14905       esac
   14906       ;;
   14907 
   14908     hpux9* | hpux10* | hpux11*)
   14909       lt_prog_compiler_wl='-Wl,'
   14910       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14911       # not for PA HP-UX.
   14912       case $host_cpu in
   14913       hppa*64*|ia64*)
   14914 	# +Z the default
   14915 	;;
   14916       *)
   14917 	lt_prog_compiler_pic='+Z'
   14918 	;;
   14919       esac
   14920       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14921       lt_prog_compiler_static='$wl-a ${wl}archive'
   14922       ;;
   14923 
   14924     irix5* | irix6* | nonstopux*)
   14925       lt_prog_compiler_wl='-Wl,'
   14926       # PIC (with -KPIC) is the default.
   14927       lt_prog_compiler_static='-non_shared'
   14928       ;;
   14929 
   14930     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14931       case $cc_basename in
   14932       # old Intel for x86_64, which still supported -KPIC.
   14933       ecc*)
   14934 	lt_prog_compiler_wl='-Wl,'
   14935 	lt_prog_compiler_pic='-KPIC'
   14936 	lt_prog_compiler_static='-static'
   14937         ;;
   14938       # icc used to be incompatible with GCC.
   14939       # ICC 10 doesn't accept -KPIC any more.
   14940       icc* | ifort*)
   14941 	lt_prog_compiler_wl='-Wl,'
   14942 	lt_prog_compiler_pic='-fPIC'
   14943 	lt_prog_compiler_static='-static'
   14944         ;;
   14945       # Lahey Fortran 8.1.
   14946       lf95*)
   14947 	lt_prog_compiler_wl='-Wl,'
   14948 	lt_prog_compiler_pic='--shared'
   14949 	lt_prog_compiler_static='--static'
   14950 	;;
   14951       nagfor*)
   14952 	# NAG Fortran compiler
   14953 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14954 	lt_prog_compiler_pic='-PIC'
   14955 	lt_prog_compiler_static='-Bstatic'
   14956 	;;
   14957       tcc*)
   14958 	# Fabrice Bellard et al's Tiny C Compiler
   14959 	lt_prog_compiler_wl='-Wl,'
   14960 	lt_prog_compiler_pic='-fPIC'
   14961 	lt_prog_compiler_static='-static'
   14962 	;;
   14963       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14964         # Portland Group compilers (*not* the Pentium gcc compiler,
   14965 	# which looks to be a dead project)
   14966 	lt_prog_compiler_wl='-Wl,'
   14967 	lt_prog_compiler_pic='-fpic'
   14968 	lt_prog_compiler_static='-Bstatic'
   14969         ;;
   14970       ccc*)
   14971         lt_prog_compiler_wl='-Wl,'
   14972         # All Alpha code is PIC.
   14973         lt_prog_compiler_static='-non_shared'
   14974         ;;
   14975       xl* | bgxl* | bgf* | mpixl*)
   14976 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14977 	lt_prog_compiler_wl='-Wl,'
   14978 	lt_prog_compiler_pic='-qpic'
   14979 	lt_prog_compiler_static='-qstaticlink'
   14980 	;;
   14981       *)
   14982 	case `$CC -V 2>&1 | sed 5q` in
   14983 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14984 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14985 	  lt_prog_compiler_pic='-KPIC'
   14986 	  lt_prog_compiler_static='-Bstatic'
   14987 	  lt_prog_compiler_wl=''
   14988 	  ;;
   14989 	*Sun\ F* | *Sun*Fortran*)
   14990 	  lt_prog_compiler_pic='-KPIC'
   14991 	  lt_prog_compiler_static='-Bstatic'
   14992 	  lt_prog_compiler_wl='-Qoption ld '
   14993 	  ;;
   14994 	*Sun\ C*)
   14995 	  # Sun C 5.9
   14996 	  lt_prog_compiler_pic='-KPIC'
   14997 	  lt_prog_compiler_static='-Bstatic'
   14998 	  lt_prog_compiler_wl='-Wl,'
   14999 	  ;;
   15000         *Intel*\ [CF]*Compiler*)
   15001 	  lt_prog_compiler_wl='-Wl,'
   15002 	  lt_prog_compiler_pic='-fPIC'
   15003 	  lt_prog_compiler_static='-static'
   15004 	  ;;
   15005 	*Portland\ Group*)
   15006 	  lt_prog_compiler_wl='-Wl,'
   15007 	  lt_prog_compiler_pic='-fpic'
   15008 	  lt_prog_compiler_static='-Bstatic'
   15009 	  ;;
   15010 	esac
   15011 	;;
   15012       esac
   15013       ;;
   15014 
   15015     newsos6)
   15016       lt_prog_compiler_pic='-KPIC'
   15017       lt_prog_compiler_static='-Bstatic'
   15018       ;;
   15019 
   15020     *nto* | *qnx*)
   15021       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15022       # it will coredump.
   15023       lt_prog_compiler_pic='-fPIC -shared'
   15024       ;;
   15025 
   15026     osf3* | osf4* | osf5*)
   15027       lt_prog_compiler_wl='-Wl,'
   15028       # All OSF/1 code is PIC.
   15029       lt_prog_compiler_static='-non_shared'
   15030       ;;
   15031 
   15032     rdos*)
   15033       lt_prog_compiler_static='-non_shared'
   15034       ;;
   15035 
   15036     solaris*)
   15037       lt_prog_compiler_pic='-KPIC'
   15038       lt_prog_compiler_static='-Bstatic'
   15039       case $cc_basename in
   15040       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15041 	lt_prog_compiler_wl='-Qoption ld ';;
   15042       *)
   15043 	lt_prog_compiler_wl='-Wl,';;
   15044       esac
   15045       ;;
   15046 
   15047     sunos4*)
   15048       lt_prog_compiler_wl='-Qoption ld '
   15049       lt_prog_compiler_pic='-PIC'
   15050       lt_prog_compiler_static='-Bstatic'
   15051       ;;
   15052 
   15053     sysv4 | sysv4.2uw2* | sysv4.3*)
   15054       lt_prog_compiler_wl='-Wl,'
   15055       lt_prog_compiler_pic='-KPIC'
   15056       lt_prog_compiler_static='-Bstatic'
   15057       ;;
   15058 
   15059     sysv4*MP*)
   15060       if test -d /usr/nec; then
   15061 	lt_prog_compiler_pic='-Kconform_pic'
   15062 	lt_prog_compiler_static='-Bstatic'
   15063       fi
   15064       ;;
   15065 
   15066     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15067       lt_prog_compiler_wl='-Wl,'
   15068       lt_prog_compiler_pic='-KPIC'
   15069       lt_prog_compiler_static='-Bstatic'
   15070       ;;
   15071 
   15072     unicos*)
   15073       lt_prog_compiler_wl='-Wl,'
   15074       lt_prog_compiler_can_build_shared=no
   15075       ;;
   15076 
   15077     uts4*)
   15078       lt_prog_compiler_pic='-pic'
   15079       lt_prog_compiler_static='-Bstatic'
   15080       ;;
   15081 
   15082     *)
   15083       lt_prog_compiler_can_build_shared=no
   15084       ;;
   15085     esac
   15086   fi
   15087 
   15088 case $host_os in
   15089   # For platforms that do not support PIC, -DPIC is meaningless:
   15090   *djgpp*)
   15091     lt_prog_compiler_pic=
   15092     ;;
   15093   *)
   15094     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15095     ;;
   15096 esac
   15097 
   15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15099 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15100 if ${lt_cv_prog_compiler_pic+:} false; then :
   15101   $as_echo_n "(cached) " >&6
   15102 else
   15103   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15104 fi
   15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15106 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15107 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15108 
   15109 #
   15110 # Check to make sure the PIC flag actually works.
   15111 #
   15112 if test -n "$lt_prog_compiler_pic"; then
   15113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15114 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15115 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15116   $as_echo_n "(cached) " >&6
   15117 else
   15118   lt_cv_prog_compiler_pic_works=no
   15119    ac_outfile=conftest.$ac_objext
   15120    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15121    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15122    # Insert the option either (1) after the last *FLAGS variable, or
   15123    # (2) before a word containing "conftest.", or (3) at the end.
   15124    # Note that $ac_compile itself does not contain backslashes and begins
   15125    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15126    # The option is referenced via a variable to avoid confusing sed.
   15127    lt_compile=`echo "$ac_compile" | $SED \
   15128    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15129    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15130    -e 's:$: $lt_compiler_flag:'`
   15131    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15132    (eval "$lt_compile" 2>conftest.err)
   15133    ac_status=$?
   15134    cat conftest.err >&5
   15135    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15136    if (exit $ac_status) && test -s "$ac_outfile"; then
   15137      # The compiler can only warn and ignore the option if not recognized
   15138      # So say no if there are warnings other than the usual output.
   15139      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15140      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15141      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15142        lt_cv_prog_compiler_pic_works=yes
   15143      fi
   15144    fi
   15145    $RM conftest*
   15146 
   15147 fi
   15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15149 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15150 
   15151 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15152     case $lt_prog_compiler_pic in
   15153      "" | " "*) ;;
   15154      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15155      esac
   15156 else
   15157     lt_prog_compiler_pic=
   15158      lt_prog_compiler_can_build_shared=no
   15159 fi
   15160 
   15161 fi
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 #
   15174 # Check to make sure the static flag actually works.
   15175 #
   15176 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15178 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15179 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15180   $as_echo_n "(cached) " >&6
   15181 else
   15182   lt_cv_prog_compiler_static_works=no
   15183    save_LDFLAGS=$LDFLAGS
   15184    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15185    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15186    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15187      # The linker can only warn and ignore the option if not recognized
   15188      # So say no if there are warnings
   15189      if test -s conftest.err; then
   15190        # Append any errors to the config.log.
   15191        cat conftest.err 1>&5
   15192        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15193        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15194        if diff conftest.exp conftest.er2 >/dev/null; then
   15195          lt_cv_prog_compiler_static_works=yes
   15196        fi
   15197      else
   15198        lt_cv_prog_compiler_static_works=yes
   15199      fi
   15200    fi
   15201    $RM -r conftest*
   15202    LDFLAGS=$save_LDFLAGS
   15203 
   15204 fi
   15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15206 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15207 
   15208 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15209     :
   15210 else
   15211     lt_prog_compiler_static=
   15212 fi
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15221 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15222 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15223   $as_echo_n "(cached) " >&6
   15224 else
   15225   lt_cv_prog_compiler_c_o=no
   15226    $RM -r conftest 2>/dev/null
   15227    mkdir conftest
   15228    cd conftest
   15229    mkdir out
   15230    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15231 
   15232    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15233    # Insert the option either (1) after the last *FLAGS variable, or
   15234    # (2) before a word containing "conftest.", or (3) at the end.
   15235    # Note that $ac_compile itself does not contain backslashes and begins
   15236    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15237    lt_compile=`echo "$ac_compile" | $SED \
   15238    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15239    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15240    -e 's:$: $lt_compiler_flag:'`
   15241    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15242    (eval "$lt_compile" 2>out/conftest.err)
   15243    ac_status=$?
   15244    cat out/conftest.err >&5
   15245    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15246    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15247    then
   15248      # The compiler can only warn and ignore the option if not recognized
   15249      # So say no if there are warnings
   15250      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15251      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15252      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15253        lt_cv_prog_compiler_c_o=yes
   15254      fi
   15255    fi
   15256    chmod u+w . 2>&5
   15257    $RM conftest*
   15258    # SGI C++ compiler will create directory out/ii_files/ for
   15259    # template instantiation
   15260    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15261    $RM out/* && rmdir out
   15262    cd ..
   15263    $RM -r conftest
   15264    $RM conftest*
   15265 
   15266 fi
   15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15268 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 
   15275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15276 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15277 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15278   $as_echo_n "(cached) " >&6
   15279 else
   15280   lt_cv_prog_compiler_c_o=no
   15281    $RM -r conftest 2>/dev/null
   15282    mkdir conftest
   15283    cd conftest
   15284    mkdir out
   15285    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15286 
   15287    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15288    # Insert the option either (1) after the last *FLAGS variable, or
   15289    # (2) before a word containing "conftest.", or (3) at the end.
   15290    # Note that $ac_compile itself does not contain backslashes and begins
   15291    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15292    lt_compile=`echo "$ac_compile" | $SED \
   15293    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15294    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15295    -e 's:$: $lt_compiler_flag:'`
   15296    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15297    (eval "$lt_compile" 2>out/conftest.err)
   15298    ac_status=$?
   15299    cat out/conftest.err >&5
   15300    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15301    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15302    then
   15303      # The compiler can only warn and ignore the option if not recognized
   15304      # So say no if there are warnings
   15305      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15306      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15307      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15308        lt_cv_prog_compiler_c_o=yes
   15309      fi
   15310    fi
   15311    chmod u+w . 2>&5
   15312    $RM conftest*
   15313    # SGI C++ compiler will create directory out/ii_files/ for
   15314    # template instantiation
   15315    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15316    $RM out/* && rmdir out
   15317    cd ..
   15318    $RM -r conftest
   15319    $RM conftest*
   15320 
   15321 fi
   15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15323 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15324 
   15325 
   15326 
   15327 
   15328 hard_links=nottested
   15329 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15330   # do not overwrite the value of need_locks provided by the user
   15331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15332 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15333   hard_links=yes
   15334   $RM conftest*
   15335   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15336   touch conftest.a
   15337   ln conftest.a conftest.b 2>&5 || hard_links=no
   15338   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15340 $as_echo "$hard_links" >&6; }
   15341   if test no = "$hard_links"; then
   15342     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15343 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15344     need_locks=warn
   15345   fi
   15346 else
   15347   need_locks=no
   15348 fi
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15356 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15357 
   15358   runpath_var=
   15359   allow_undefined_flag=
   15360   always_export_symbols=no
   15361   archive_cmds=
   15362   archive_expsym_cmds=
   15363   compiler_needs_object=no
   15364   enable_shared_with_static_runtimes=no
   15365   export_dynamic_flag_spec=
   15366   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15367   hardcode_automatic=no
   15368   hardcode_direct=no
   15369   hardcode_direct_absolute=no
   15370   hardcode_libdir_flag_spec=
   15371   hardcode_libdir_separator=
   15372   hardcode_minus_L=no
   15373   hardcode_shlibpath_var=unsupported
   15374   inherit_rpath=no
   15375   link_all_deplibs=unknown
   15376   module_cmds=
   15377   module_expsym_cmds=
   15378   old_archive_from_new_cmds=
   15379   old_archive_from_expsyms_cmds=
   15380   thread_safe_flag_spec=
   15381   whole_archive_flag_spec=
   15382   # include_expsyms should be a list of space-separated symbols to be *always*
   15383   # included in the symbol list
   15384   include_expsyms=
   15385   # exclude_expsyms can be an extended regexp of symbols to exclude
   15386   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15387   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15388   # as well as any symbol that contains 'd'.
   15389   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15390   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15391   # platforms (ab)use it in PIC code, but their linkers get confused if
   15392   # the symbol is explicitly referenced.  Since portable code cannot
   15393   # rely on this symbol name, it's probably fine to never include it in
   15394   # preloaded symbol tables.
   15395   # Exclude shared library initialization/finalization symbols.
   15396   extract_expsyms_cmds=
   15397 
   15398   case $host_os in
   15399   cygwin* | mingw* | pw32* | cegcc*)
   15400     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15401     # When not using gcc, we currently assume that we are using
   15402     # Microsoft Visual C++.
   15403     if test yes != "$GCC"; then
   15404       with_gnu_ld=no
   15405     fi
   15406     ;;
   15407   interix*)
   15408     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15409     with_gnu_ld=yes
   15410     ;;
   15411   openbsd* | bitrig*)
   15412     with_gnu_ld=no
   15413     ;;
   15414   esac
   15415 
   15416   ld_shlibs=yes
   15417 
   15418   # On some targets, GNU ld is compatible enough with the native linker
   15419   # that we're better off using the native interface for both.
   15420   lt_use_gnu_ld_interface=no
   15421   if test yes = "$with_gnu_ld"; then
   15422     case $host_os in
   15423       aix*)
   15424 	# The AIX port of GNU ld has always aspired to compatibility
   15425 	# with the native linker.  However, as the warning in the GNU ld
   15426 	# block says, versions before 2.19.5* couldn't really create working
   15427 	# shared libraries, regardless of the interface used.
   15428 	case `$LD -v 2>&1` in
   15429 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15430 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15431 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15432 	  *)
   15433 	    lt_use_gnu_ld_interface=yes
   15434 	    ;;
   15435 	esac
   15436 	;;
   15437       *)
   15438 	lt_use_gnu_ld_interface=yes
   15439 	;;
   15440     esac
   15441   fi
   15442 
   15443   if test yes = "$lt_use_gnu_ld_interface"; then
   15444     # If archive_cmds runs LD, not CC, wlarc should be empty
   15445     wlarc='$wl'
   15446 
   15447     # Set some defaults for GNU ld with shared library support. These
   15448     # are reset later if shared libraries are not supported. Putting them
   15449     # here allows them to be overridden if necessary.
   15450     runpath_var=LD_RUN_PATH
   15451     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15452     export_dynamic_flag_spec='$wl--export-dynamic'
   15453     # ancient GNU ld didn't support --whole-archive et. al.
   15454     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15455       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15456     else
   15457       whole_archive_flag_spec=
   15458     fi
   15459     supports_anon_versioning=no
   15460     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15461       *GNU\ gold*) supports_anon_versioning=yes ;;
   15462       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15463       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15464       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15465       *\ 2.11.*) ;; # other 2.11 versions
   15466       *) supports_anon_versioning=yes ;;
   15467     esac
   15468 
   15469     # See if GNU ld supports shared libraries.
   15470     case $host_os in
   15471     aix[3-9]*)
   15472       # On AIX/PPC, the GNU linker is very broken
   15473       if test ia64 != "$host_cpu"; then
   15474 	ld_shlibs=no
   15475 	cat <<_LT_EOF 1>&2
   15476 
   15477 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15478 *** to be unable to reliably create shared libraries on AIX.
   15479 *** Therefore, libtool is disabling shared libraries support.  If you
   15480 *** really care for shared libraries, you may want to install binutils
   15481 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15482 *** You will then need to restart the configuration process.
   15483 
   15484 _LT_EOF
   15485       fi
   15486       ;;
   15487 
   15488     amigaos*)
   15489       case $host_cpu in
   15490       powerpc)
   15491             # see comment about AmigaOS4 .so support
   15492             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15493             archive_expsym_cmds=''
   15494         ;;
   15495       m68k)
   15496             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)'
   15497             hardcode_libdir_flag_spec='-L$libdir'
   15498             hardcode_minus_L=yes
   15499         ;;
   15500       esac
   15501       ;;
   15502 
   15503     beos*)
   15504       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15505 	allow_undefined_flag=unsupported
   15506 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15507 	# support --undefined.  This deserves some investigation.  FIXME
   15508 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15509       else
   15510 	ld_shlibs=no
   15511       fi
   15512       ;;
   15513 
   15514     cygwin* | mingw* | pw32* | cegcc*)
   15515       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15516       # as there is no search path for DLLs.
   15517       hardcode_libdir_flag_spec='-L$libdir'
   15518       export_dynamic_flag_spec='$wl--export-all-symbols'
   15519       allow_undefined_flag=unsupported
   15520       always_export_symbols=no
   15521       enable_shared_with_static_runtimes=yes
   15522       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'
   15523       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15524 
   15525       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15526         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15527 	# If the export-symbols file already is a .def file, use it as
   15528 	# is; otherwise, prepend EXPORTS...
   15529 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15530           cp $export_symbols $output_objdir/$soname.def;
   15531         else
   15532           echo EXPORTS > $output_objdir/$soname.def;
   15533           cat $export_symbols >> $output_objdir/$soname.def;
   15534         fi~
   15535         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15536       else
   15537 	ld_shlibs=no
   15538       fi
   15539       ;;
   15540 
   15541     haiku*)
   15542       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15543       link_all_deplibs=yes
   15544       ;;
   15545 
   15546     os2*)
   15547       hardcode_libdir_flag_spec='-L$libdir'
   15548       hardcode_minus_L=yes
   15549       allow_undefined_flag=unsupported
   15550       shrext_cmds=.dll
   15551       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15552 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15553 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15554 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15555 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15556 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15557 	emximp -o $lib $output_objdir/$libname.def'
   15558       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15559 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15560 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15561 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15562 	prefix_cmds="$SED"~
   15563 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15564 	  prefix_cmds="$prefix_cmds -e 1d";
   15565 	fi~
   15566 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15567 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15568 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15569 	emximp -o $lib $output_objdir/$libname.def'
   15570       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15571       enable_shared_with_static_runtimes=yes
   15572       ;;
   15573 
   15574     interix[3-9]*)
   15575       hardcode_direct=no
   15576       hardcode_shlibpath_var=no
   15577       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15578       export_dynamic_flag_spec='$wl-E'
   15579       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15580       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15581       # default) and relocated if they conflict, which is a slow very memory
   15582       # consuming and fragmenting process.  To avoid this, we pick a random,
   15583       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15584       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15585       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15586       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'
   15587       ;;
   15588 
   15589     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15590       tmp_diet=no
   15591       if test linux-dietlibc = "$host_os"; then
   15592 	case $cc_basename in
   15593 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15594 	esac
   15595       fi
   15596       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15597 	 && test no = "$tmp_diet"
   15598       then
   15599 	tmp_addflag=' $pic_flag'
   15600 	tmp_sharedflag='-shared'
   15601 	case $cc_basename,$host_cpu in
   15602         pgcc*)				# Portland Group C compiler
   15603 	  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'
   15604 	  tmp_addflag=' $pic_flag'
   15605 	  ;;
   15606 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15607 					# Portland Group f77 and f90 compilers
   15608 	  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'
   15609 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15610 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15611 	  tmp_addflag=' -i_dynamic' ;;
   15612 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15613 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15614 	ifc* | ifort*)			# Intel Fortran compiler
   15615 	  tmp_addflag=' -nofor_main' ;;
   15616 	lf95*)				# Lahey Fortran 8.1
   15617 	  whole_archive_flag_spec=
   15618 	  tmp_sharedflag='--shared' ;;
   15619         nagfor*)                        # NAGFOR 5.3
   15620           tmp_sharedflag='-Wl,-shared' ;;
   15621 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15622 	  tmp_sharedflag='-qmkshrobj'
   15623 	  tmp_addflag= ;;
   15624 	nvcc*)	# Cuda Compiler Driver 2.2
   15625 	  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'
   15626 	  compiler_needs_object=yes
   15627 	  ;;
   15628 	esac
   15629 	case `$CC -V 2>&1 | sed 5q` in
   15630 	*Sun\ C*)			# Sun C 5.9
   15631 	  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'
   15632 	  compiler_needs_object=yes
   15633 	  tmp_sharedflag='-G' ;;
   15634 	*Sun\ F*)			# Sun Fortran 8.3
   15635 	  tmp_sharedflag='-G' ;;
   15636 	esac
   15637 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15638 
   15639         if test yes = "$supports_anon_versioning"; then
   15640           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15641             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15642             echo "local: *; };" >> $output_objdir/$libname.ver~
   15643             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15644         fi
   15645 
   15646 	case $cc_basename in
   15647 	tcc*)
   15648 	  export_dynamic_flag_spec='-rdynamic'
   15649 	  ;;
   15650 	xlf* | bgf* | bgxlf* | mpixlf*)
   15651 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15652 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15653 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15654 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15655 	  if test yes = "$supports_anon_versioning"; then
   15656 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15657               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15658               echo "local: *; };" >> $output_objdir/$libname.ver~
   15659               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15660 	  fi
   15661 	  ;;
   15662 	esac
   15663       else
   15664         ld_shlibs=no
   15665       fi
   15666       ;;
   15667 
   15668     netbsd*)
   15669       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15670 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15671 	wlarc=
   15672       else
   15673 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15674 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15675       fi
   15676       ;;
   15677 
   15678     solaris*)
   15679       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15680 	ld_shlibs=no
   15681 	cat <<_LT_EOF 1>&2
   15682 
   15683 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15684 *** create shared libraries on Solaris systems.  Therefore, libtool
   15685 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15686 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15687 *** your PATH or compiler configuration so that the native linker is
   15688 *** used, and then restart.
   15689 
   15690 _LT_EOF
   15691       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15692 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15693 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15694       else
   15695 	ld_shlibs=no
   15696       fi
   15697       ;;
   15698 
   15699     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15700       case `$LD -v 2>&1` in
   15701         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15702 	ld_shlibs=no
   15703 	cat <<_LT_EOF 1>&2
   15704 
   15705 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15706 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15707 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15708 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15709 *** your PATH or compiler configuration so that the native linker is
   15710 *** used, and then restart.
   15711 
   15712 _LT_EOF
   15713 	;;
   15714 	*)
   15715 	  # For security reasons, it is highly recommended that you always
   15716 	  # use absolute paths for naming shared libraries, and exclude the
   15717 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15718 	  # requires that you compile everything twice, which is a pain.
   15719 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15720 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15721 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15722 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15723 	  else
   15724 	    ld_shlibs=no
   15725 	  fi
   15726 	;;
   15727       esac
   15728       ;;
   15729 
   15730     sunos4*)
   15731       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15732       wlarc=
   15733       hardcode_direct=yes
   15734       hardcode_shlibpath_var=no
   15735       ;;
   15736 
   15737     *)
   15738       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15739 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15740 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15741       else
   15742 	ld_shlibs=no
   15743       fi
   15744       ;;
   15745     esac
   15746 
   15747     if test no = "$ld_shlibs"; then
   15748       runpath_var=
   15749       hardcode_libdir_flag_spec=
   15750       export_dynamic_flag_spec=
   15751       whole_archive_flag_spec=
   15752     fi
   15753   else
   15754     # PORTME fill in a description of your system's linker (not GNU ld)
   15755     case $host_os in
   15756     aix3*)
   15757       allow_undefined_flag=unsupported
   15758       always_export_symbols=yes
   15759       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'
   15760       # Note: this linker hardcodes the directories in LIBPATH if there
   15761       # are no directories specified by -L.
   15762       hardcode_minus_L=yes
   15763       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15764 	# Neither direct hardcoding nor static linking is supported with a
   15765 	# broken collect2.
   15766 	hardcode_direct=unsupported
   15767       fi
   15768       ;;
   15769 
   15770     aix[4-9]*)
   15771       if test ia64 = "$host_cpu"; then
   15772 	# On IA64, the linker does run time linking by default, so we don't
   15773 	# have to do anything special.
   15774 	aix_use_runtimelinking=no
   15775 	exp_sym_flag='-Bexport'
   15776 	no_entry_flag=
   15777       else
   15778 	# If we're using GNU nm, then we don't want the "-C" option.
   15779 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15780 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15781 	# weak defined symbols like other global defined symbols, whereas
   15782 	# GNU nm marks them as "W".
   15783 	# While the 'weak' keyword is ignored in the Export File, we need
   15784 	# it in the Import File for the 'aix-soname' feature, so we have
   15785 	# to replace the "-B" option with "-P" for AIX nm.
   15786 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15787 	  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'
   15788 	else
   15789 	  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'
   15790 	fi
   15791 	aix_use_runtimelinking=no
   15792 
   15793 	# Test if we are trying to use run time linking or normal
   15794 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15795 	# have runtime linking enabled, and use it for executables.
   15796 	# For shared libraries, we enable/disable runtime linking
   15797 	# depending on the kind of the shared library created -
   15798 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15799 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15800 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15801 	#            lib.a           static archive
   15802 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15803 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15804 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15805 	#            lib.a(lib.so.V) shared, rtl:no
   15806 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15807 	#            lib.a           static archive
   15808 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15809 	  for ld_flag in $LDFLAGS; do
   15810 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15811 	    aix_use_runtimelinking=yes
   15812 	    break
   15813 	  fi
   15814 	  done
   15815 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15816 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15817 	    # so we don't have lib.a shared libs to link our executables.
   15818 	    # We have to force runtime linking in this case.
   15819 	    aix_use_runtimelinking=yes
   15820 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15821 	  fi
   15822 	  ;;
   15823 	esac
   15824 
   15825 	exp_sym_flag='-bexport'
   15826 	no_entry_flag='-bnoentry'
   15827       fi
   15828 
   15829       # When large executables or shared objects are built, AIX ld can
   15830       # have problems creating the table of contents.  If linking a library
   15831       # or program results in "error TOC overflow" add -mminimal-toc to
   15832       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15833       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15834 
   15835       archive_cmds=''
   15836       hardcode_direct=yes
   15837       hardcode_direct_absolute=yes
   15838       hardcode_libdir_separator=':'
   15839       link_all_deplibs=yes
   15840       file_list_spec='$wl-f,'
   15841       case $with_aix_soname,$aix_use_runtimelinking in
   15842       aix,*) ;; # traditional, no import file
   15843       svr4,* | *,yes) # use import file
   15844 	# The Import File defines what to hardcode.
   15845 	hardcode_direct=no
   15846 	hardcode_direct_absolute=no
   15847 	;;
   15848       esac
   15849 
   15850       if test yes = "$GCC"; then
   15851 	case $host_os in aix4.[012]|aix4.[012].*)
   15852 	# We only want to do this on AIX 4.2 and lower, the check
   15853 	# below for broken collect2 doesn't work under 4.3+
   15854 	  collect2name=`$CC -print-prog-name=collect2`
   15855 	  if test -f "$collect2name" &&
   15856 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15857 	  then
   15858 	  # We have reworked collect2
   15859 	  :
   15860 	  else
   15861 	  # We have old collect2
   15862 	  hardcode_direct=unsupported
   15863 	  # It fails to find uninstalled libraries when the uninstalled
   15864 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15865 	  # to unsupported forces relinking
   15866 	  hardcode_minus_L=yes
   15867 	  hardcode_libdir_flag_spec='-L$libdir'
   15868 	  hardcode_libdir_separator=
   15869 	  fi
   15870 	  ;;
   15871 	esac
   15872 	shared_flag='-shared'
   15873 	if test yes = "$aix_use_runtimelinking"; then
   15874 	  shared_flag="$shared_flag "'$wl-G'
   15875 	fi
   15876 	# Need to ensure runtime linking is disabled for the traditional
   15877 	# shared library, or the linker may eventually find shared libraries
   15878 	# /with/ Import File - we do not want to mix them.
   15879 	shared_flag_aix='-shared'
   15880 	shared_flag_svr4='-shared $wl-G'
   15881       else
   15882 	# not using gcc
   15883 	if test ia64 = "$host_cpu"; then
   15884 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15885 	# chokes on -Wl,-G. The following line is correct:
   15886 	  shared_flag='-G'
   15887 	else
   15888 	  if test yes = "$aix_use_runtimelinking"; then
   15889 	    shared_flag='$wl-G'
   15890 	  else
   15891 	    shared_flag='$wl-bM:SRE'
   15892 	  fi
   15893 	  shared_flag_aix='$wl-bM:SRE'
   15894 	  shared_flag_svr4='$wl-G'
   15895 	fi
   15896       fi
   15897 
   15898       export_dynamic_flag_spec='$wl-bexpall'
   15899       # It seems that -bexpall does not export symbols beginning with
   15900       # underscore (_), so it is better to generate a list of symbols to export.
   15901       always_export_symbols=yes
   15902       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15903 	# Warning - without using the other runtime loading flags (-brtl),
   15904 	# -berok will link without error, but may produce a broken library.
   15905 	allow_undefined_flag='-berok'
   15906         # Determine the default libpath from the value encoded in an
   15907         # empty executable.
   15908         if test set = "${lt_cv_aix_libpath+set}"; then
   15909   aix_libpath=$lt_cv_aix_libpath
   15910 else
   15911   if ${lt_cv_aix_libpath_+:} false; then :
   15912   $as_echo_n "(cached) " >&6
   15913 else
   15914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15915 /* end confdefs.h.  */
   15916 
   15917 int
   15918 main ()
   15919 {
   15920 
   15921   ;
   15922   return 0;
   15923 }
   15924 _ACEOF
   15925 if ac_fn_c_try_link "$LINENO"; then :
   15926 
   15927   lt_aix_libpath_sed='
   15928       /Import File Strings/,/^$/ {
   15929 	  /^0/ {
   15930 	      s/^0  *\([^ ]*\) *$/\1/
   15931 	      p
   15932 	  }
   15933       }'
   15934   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15935   # Check for a 64-bit object if we didn't find anything.
   15936   if test -z "$lt_cv_aix_libpath_"; then
   15937     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15938   fi
   15939 fi
   15940 rm -f core conftest.err conftest.$ac_objext \
   15941     conftest$ac_exeext conftest.$ac_ext
   15942   if test -z "$lt_cv_aix_libpath_"; then
   15943     lt_cv_aix_libpath_=/usr/lib:/lib
   15944   fi
   15945 
   15946 fi
   15947 
   15948   aix_libpath=$lt_cv_aix_libpath_
   15949 fi
   15950 
   15951         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15952         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
   15953       else
   15954 	if test ia64 = "$host_cpu"; then
   15955 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15956 	  allow_undefined_flag="-z nodefs"
   15957 	  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"
   15958 	else
   15959 	 # Determine the default libpath from the value encoded in an
   15960 	 # empty executable.
   15961 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15962   aix_libpath=$lt_cv_aix_libpath
   15963 else
   15964   if ${lt_cv_aix_libpath_+:} false; then :
   15965   $as_echo_n "(cached) " >&6
   15966 else
   15967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15968 /* end confdefs.h.  */
   15969 
   15970 int
   15971 main ()
   15972 {
   15973 
   15974   ;
   15975   return 0;
   15976 }
   15977 _ACEOF
   15978 if ac_fn_c_try_link "$LINENO"; then :
   15979 
   15980   lt_aix_libpath_sed='
   15981       /Import File Strings/,/^$/ {
   15982 	  /^0/ {
   15983 	      s/^0  *\([^ ]*\) *$/\1/
   15984 	      p
   15985 	  }
   15986       }'
   15987   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15988   # Check for a 64-bit object if we didn't find anything.
   15989   if test -z "$lt_cv_aix_libpath_"; then
   15990     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15991   fi
   15992 fi
   15993 rm -f core conftest.err conftest.$ac_objext \
   15994     conftest$ac_exeext conftest.$ac_ext
   15995   if test -z "$lt_cv_aix_libpath_"; then
   15996     lt_cv_aix_libpath_=/usr/lib:/lib
   15997   fi
   15998 
   15999 fi
   16000 
   16001   aix_libpath=$lt_cv_aix_libpath_
   16002 fi
   16003 
   16004 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16005 	  # Warning - without using the other run time loading flags,
   16006 	  # -berok will link without error, but may produce a broken library.
   16007 	  no_undefined_flag=' $wl-bernotok'
   16008 	  allow_undefined_flag=' $wl-berok'
   16009 	  if test yes = "$with_gnu_ld"; then
   16010 	    # We only use this code for GNU lds that support --whole-archive.
   16011 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16012 	  else
   16013 	    # Exported symbols can be pulled into shared objects from archives
   16014 	    whole_archive_flag_spec='$convenience'
   16015 	  fi
   16016 	  archive_cmds_need_lc=yes
   16017 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16018 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16019 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16020 	  if test svr4 != "$with_aix_soname"; then
   16021 	    # This is similar to how AIX traditionally builds its shared libraries.
   16022 	    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'
   16023 	  fi
   16024 	  if test aix != "$with_aix_soname"; then
   16025 	    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'
   16026 	  else
   16027 	    # used by -dlpreopen to get the symbols
   16028 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16029 	  fi
   16030 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16031 	fi
   16032       fi
   16033       ;;
   16034 
   16035     amigaos*)
   16036       case $host_cpu in
   16037       powerpc)
   16038             # see comment about AmigaOS4 .so support
   16039             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16040             archive_expsym_cmds=''
   16041         ;;
   16042       m68k)
   16043             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)'
   16044             hardcode_libdir_flag_spec='-L$libdir'
   16045             hardcode_minus_L=yes
   16046         ;;
   16047       esac
   16048       ;;
   16049 
   16050     bsdi[45]*)
   16051       export_dynamic_flag_spec=-rdynamic
   16052       ;;
   16053 
   16054     cygwin* | mingw* | pw32* | cegcc*)
   16055       # When not using gcc, we currently assume that we are using
   16056       # Microsoft Visual C++.
   16057       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16058       # no search path for DLLs.
   16059       case $cc_basename in
   16060       cl*)
   16061 	# Native MSVC
   16062 	hardcode_libdir_flag_spec=' '
   16063 	allow_undefined_flag=unsupported
   16064 	always_export_symbols=yes
   16065 	file_list_spec='@'
   16066 	# Tell ltmain to make .lib files, not .a files.
   16067 	libext=lib
   16068 	# Tell ltmain to make .dll files, not .so files.
   16069 	shrext_cmds=.dll
   16070 	# FIXME: Setting linknames here is a bad hack.
   16071 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16072 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16073             cp "$export_symbols" "$output_objdir/$soname.def";
   16074             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16075           else
   16076             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16077           fi~
   16078           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16079           linknames='
   16080 	# The linker will not automatically build a static lib if we build a DLL.
   16081 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16082 	enable_shared_with_static_runtimes=yes
   16083 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16084 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16085 	# Don't use ranlib
   16086 	old_postinstall_cmds='chmod 644 $oldlib'
   16087 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16088           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16089           case $lt_outputfile in
   16090             *.exe|*.EXE) ;;
   16091             *)
   16092               lt_outputfile=$lt_outputfile.exe
   16093               lt_tool_outputfile=$lt_tool_outputfile.exe
   16094               ;;
   16095           esac~
   16096           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16097             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16098             $RM "$lt_outputfile.manifest";
   16099           fi'
   16100 	;;
   16101       *)
   16102 	# Assume MSVC wrapper
   16103 	hardcode_libdir_flag_spec=' '
   16104 	allow_undefined_flag=unsupported
   16105 	# Tell ltmain to make .lib files, not .a files.
   16106 	libext=lib
   16107 	# Tell ltmain to make .dll files, not .so files.
   16108 	shrext_cmds=.dll
   16109 	# FIXME: Setting linknames here is a bad hack.
   16110 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16111 	# The linker will automatically build a .lib file if we build a DLL.
   16112 	old_archive_from_new_cmds='true'
   16113 	# FIXME: Should let the user specify the lib program.
   16114 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16115 	enable_shared_with_static_runtimes=yes
   16116 	;;
   16117       esac
   16118       ;;
   16119 
   16120     darwin* | rhapsody*)
   16121 
   16122 
   16123   archive_cmds_need_lc=no
   16124   hardcode_direct=no
   16125   hardcode_automatic=yes
   16126   hardcode_shlibpath_var=unsupported
   16127   if test yes = "$lt_cv_ld_force_load"; then
   16128     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\"`'
   16129 
   16130   else
   16131     whole_archive_flag_spec=''
   16132   fi
   16133   link_all_deplibs=yes
   16134   allow_undefined_flag=$_lt_dar_allow_undefined
   16135   case $cc_basename in
   16136      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16137      *) _lt_dar_can_shared=$GCC ;;
   16138   esac
   16139   if test yes = "$_lt_dar_can_shared"; then
   16140     output_verbose_link_cmd=func_echo_all
   16141     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16142     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16143     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"
   16144     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"
   16145 
   16146   else
   16147   ld_shlibs=no
   16148   fi
   16149 
   16150       ;;
   16151 
   16152     dgux*)
   16153       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16154       hardcode_libdir_flag_spec='-L$libdir'
   16155       hardcode_shlibpath_var=no
   16156       ;;
   16157 
   16158     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16159     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16160     # does not break anything, and helps significantly (at the cost of a little
   16161     # extra space).
   16162     freebsd2.2*)
   16163       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16164       hardcode_libdir_flag_spec='-R$libdir'
   16165       hardcode_direct=yes
   16166       hardcode_shlibpath_var=no
   16167       ;;
   16168 
   16169     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16170     freebsd2.*)
   16171       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16172       hardcode_direct=yes
   16173       hardcode_minus_L=yes
   16174       hardcode_shlibpath_var=no
   16175       ;;
   16176 
   16177     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16178     freebsd* | dragonfly*)
   16179       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16180       hardcode_libdir_flag_spec='-R$libdir'
   16181       hardcode_direct=yes
   16182       hardcode_shlibpath_var=no
   16183       ;;
   16184 
   16185     hpux9*)
   16186       if test yes = "$GCC"; then
   16187 	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'
   16188       else
   16189 	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'
   16190       fi
   16191       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16192       hardcode_libdir_separator=:
   16193       hardcode_direct=yes
   16194 
   16195       # hardcode_minus_L: Not really in the search PATH,
   16196       # but as the default location of the library.
   16197       hardcode_minus_L=yes
   16198       export_dynamic_flag_spec='$wl-E'
   16199       ;;
   16200 
   16201     hpux10*)
   16202       if test yes,no = "$GCC,$with_gnu_ld"; then
   16203 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16204       else
   16205 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16206       fi
   16207       if test no = "$with_gnu_ld"; then
   16208 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16209 	hardcode_libdir_separator=:
   16210 	hardcode_direct=yes
   16211 	hardcode_direct_absolute=yes
   16212 	export_dynamic_flag_spec='$wl-E'
   16213 	# hardcode_minus_L: Not really in the search PATH,
   16214 	# but as the default location of the library.
   16215 	hardcode_minus_L=yes
   16216       fi
   16217       ;;
   16218 
   16219     hpux11*)
   16220       if test yes,no = "$GCC,$with_gnu_ld"; then
   16221 	case $host_cpu in
   16222 	hppa*64*)
   16223 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16224 	  ;;
   16225 	ia64*)
   16226 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16227 	  ;;
   16228 	*)
   16229 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16230 	  ;;
   16231 	esac
   16232       else
   16233 	case $host_cpu in
   16234 	hppa*64*)
   16235 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16236 	  ;;
   16237 	ia64*)
   16238 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16239 	  ;;
   16240 	*)
   16241 
   16242 	  # Older versions of the 11.00 compiler do not understand -b yet
   16243 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16244 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16245 $as_echo_n "checking if $CC understands -b... " >&6; }
   16246 if ${lt_cv_prog_compiler__b+:} false; then :
   16247   $as_echo_n "(cached) " >&6
   16248 else
   16249   lt_cv_prog_compiler__b=no
   16250    save_LDFLAGS=$LDFLAGS
   16251    LDFLAGS="$LDFLAGS -b"
   16252    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16253    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16254      # The linker can only warn and ignore the option if not recognized
   16255      # So say no if there are warnings
   16256      if test -s conftest.err; then
   16257        # Append any errors to the config.log.
   16258        cat conftest.err 1>&5
   16259        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16260        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16261        if diff conftest.exp conftest.er2 >/dev/null; then
   16262          lt_cv_prog_compiler__b=yes
   16263        fi
   16264      else
   16265        lt_cv_prog_compiler__b=yes
   16266      fi
   16267    fi
   16268    $RM -r conftest*
   16269    LDFLAGS=$save_LDFLAGS
   16270 
   16271 fi
   16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16273 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16274 
   16275 if test yes = "$lt_cv_prog_compiler__b"; then
   16276     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16277 else
   16278     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16279 fi
   16280 
   16281 	  ;;
   16282 	esac
   16283       fi
   16284       if test no = "$with_gnu_ld"; then
   16285 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16286 	hardcode_libdir_separator=:
   16287 
   16288 	case $host_cpu in
   16289 	hppa*64*|ia64*)
   16290 	  hardcode_direct=no
   16291 	  hardcode_shlibpath_var=no
   16292 	  ;;
   16293 	*)
   16294 	  hardcode_direct=yes
   16295 	  hardcode_direct_absolute=yes
   16296 	  export_dynamic_flag_spec='$wl-E'
   16297 
   16298 	  # hardcode_minus_L: Not really in the search PATH,
   16299 	  # but as the default location of the library.
   16300 	  hardcode_minus_L=yes
   16301 	  ;;
   16302 	esac
   16303       fi
   16304       ;;
   16305 
   16306     irix5* | irix6* | nonstopux*)
   16307       if test yes = "$GCC"; then
   16308 	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'
   16309 	# Try to use the -exported_symbol ld option, if it does not
   16310 	# work, assume that -exports_file does not work either and
   16311 	# implicitly export all symbols.
   16312 	# This should be the same for all languages, so no per-tag cache variable.
   16313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16314 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16315 if ${lt_cv_irix_exported_symbol+:} false; then :
   16316   $as_echo_n "(cached) " >&6
   16317 else
   16318   save_LDFLAGS=$LDFLAGS
   16319 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16320 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16321 /* end confdefs.h.  */
   16322 int foo (void) { return 0; }
   16323 _ACEOF
   16324 if ac_fn_c_try_link "$LINENO"; then :
   16325   lt_cv_irix_exported_symbol=yes
   16326 else
   16327   lt_cv_irix_exported_symbol=no
   16328 fi
   16329 rm -f core conftest.err conftest.$ac_objext \
   16330     conftest$ac_exeext conftest.$ac_ext
   16331            LDFLAGS=$save_LDFLAGS
   16332 fi
   16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16334 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16335 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16336           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'
   16337 	fi
   16338       else
   16339 	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'
   16340 	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'
   16341       fi
   16342       archive_cmds_need_lc='no'
   16343       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16344       hardcode_libdir_separator=:
   16345       inherit_rpath=yes
   16346       link_all_deplibs=yes
   16347       ;;
   16348 
   16349     linux*)
   16350       case $cc_basename in
   16351       tcc*)
   16352 	# Fabrice Bellard et al's Tiny C Compiler
   16353 	ld_shlibs=yes
   16354 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16355 	;;
   16356       esac
   16357       ;;
   16358 
   16359     netbsd*)
   16360       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16361 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16362       else
   16363 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16364       fi
   16365       hardcode_libdir_flag_spec='-R$libdir'
   16366       hardcode_direct=yes
   16367       hardcode_shlibpath_var=no
   16368       ;;
   16369 
   16370     newsos6)
   16371       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16372       hardcode_direct=yes
   16373       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16374       hardcode_libdir_separator=:
   16375       hardcode_shlibpath_var=no
   16376       ;;
   16377 
   16378     *nto* | *qnx*)
   16379       ;;
   16380 
   16381     openbsd* | bitrig*)
   16382       if test -f /usr/libexec/ld.so; then
   16383 	hardcode_direct=yes
   16384 	hardcode_shlibpath_var=no
   16385 	hardcode_direct_absolute=yes
   16386 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16387 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16388 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16389 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16390 	  export_dynamic_flag_spec='$wl-E'
   16391 	else
   16392 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16393 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16394 	fi
   16395       else
   16396 	ld_shlibs=no
   16397       fi
   16398       ;;
   16399 
   16400     os2*)
   16401       hardcode_libdir_flag_spec='-L$libdir'
   16402       hardcode_minus_L=yes
   16403       allow_undefined_flag=unsupported
   16404       shrext_cmds=.dll
   16405       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16406 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16407 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16408 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16409 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16410 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16411 	emximp -o $lib $output_objdir/$libname.def'
   16412       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16413 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16414 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16415 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16416 	prefix_cmds="$SED"~
   16417 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16418 	  prefix_cmds="$prefix_cmds -e 1d";
   16419 	fi~
   16420 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16421 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16422 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16423 	emximp -o $lib $output_objdir/$libname.def'
   16424       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16425       enable_shared_with_static_runtimes=yes
   16426       ;;
   16427 
   16428     osf3*)
   16429       if test yes = "$GCC"; then
   16430 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16431 	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'
   16432       else
   16433 	allow_undefined_flag=' -expect_unresolved \*'
   16434 	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'
   16435       fi
   16436       archive_cmds_need_lc='no'
   16437       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16438       hardcode_libdir_separator=:
   16439       ;;
   16440 
   16441     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16442       if test yes = "$GCC"; then
   16443 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16444 	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'
   16445 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16446       else
   16447 	allow_undefined_flag=' -expect_unresolved \*'
   16448 	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'
   16449 	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~
   16450           $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'
   16451 
   16452 	# Both c and cxx compiler support -rpath directly
   16453 	hardcode_libdir_flag_spec='-rpath $libdir'
   16454       fi
   16455       archive_cmds_need_lc='no'
   16456       hardcode_libdir_separator=:
   16457       ;;
   16458 
   16459     solaris*)
   16460       no_undefined_flag=' -z defs'
   16461       if test yes = "$GCC"; then
   16462 	wlarc='$wl'
   16463 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16464 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16465           $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'
   16466       else
   16467 	case `$CC -V 2>&1` in
   16468 	*"Compilers 5.0"*)
   16469 	  wlarc=''
   16470 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16471 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16472             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16473 	  ;;
   16474 	*)
   16475 	  wlarc='$wl'
   16476 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16477 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16478             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16479 	  ;;
   16480 	esac
   16481       fi
   16482       hardcode_libdir_flag_spec='-R$libdir'
   16483       hardcode_shlibpath_var=no
   16484       case $host_os in
   16485       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16486       *)
   16487 	# The compiler driver will combine and reorder linker options,
   16488 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16489 	# but is careful enough not to reorder.
   16490 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16491 	if test yes = "$GCC"; then
   16492 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16493 	else
   16494 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16495 	fi
   16496 	;;
   16497       esac
   16498       link_all_deplibs=yes
   16499       ;;
   16500 
   16501     sunos4*)
   16502       if test sequent = "$host_vendor"; then
   16503 	# Use $CC to link under sequent, because it throws in some extra .o
   16504 	# files that make .init and .fini sections work.
   16505 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16506       else
   16507 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16508       fi
   16509       hardcode_libdir_flag_spec='-L$libdir'
   16510       hardcode_direct=yes
   16511       hardcode_minus_L=yes
   16512       hardcode_shlibpath_var=no
   16513       ;;
   16514 
   16515     sysv4)
   16516       case $host_vendor in
   16517 	sni)
   16518 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16519 	  hardcode_direct=yes # is this really true???
   16520 	;;
   16521 	siemens)
   16522 	  ## LD is ld it makes a PLAMLIB
   16523 	  ## CC just makes a GrossModule.
   16524 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16525 	  reload_cmds='$CC -r -o $output$reload_objs'
   16526 	  hardcode_direct=no
   16527         ;;
   16528 	motorola)
   16529 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16530 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16531 	;;
   16532       esac
   16533       runpath_var='LD_RUN_PATH'
   16534       hardcode_shlibpath_var=no
   16535       ;;
   16536 
   16537     sysv4.3*)
   16538       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16539       hardcode_shlibpath_var=no
   16540       export_dynamic_flag_spec='-Bexport'
   16541       ;;
   16542 
   16543     sysv4*MP*)
   16544       if test -d /usr/nec; then
   16545 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16546 	hardcode_shlibpath_var=no
   16547 	runpath_var=LD_RUN_PATH
   16548 	hardcode_runpath_var=yes
   16549 	ld_shlibs=yes
   16550       fi
   16551       ;;
   16552 
   16553     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16554       no_undefined_flag='$wl-z,text'
   16555       archive_cmds_need_lc=no
   16556       hardcode_shlibpath_var=no
   16557       runpath_var='LD_RUN_PATH'
   16558 
   16559       if test yes = "$GCC"; then
   16560 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16561 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16562       else
   16563 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16564 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16565       fi
   16566       ;;
   16567 
   16568     sysv5* | sco3.2v5* | sco5v6*)
   16569       # Note: We CANNOT use -z defs as we might desire, because we do not
   16570       # link with -lc, and that would cause any symbols used from libc to
   16571       # always be unresolved, which means just about no library would
   16572       # ever link correctly.  If we're not using GNU ld we use -z text
   16573       # though, which does catch some bad symbols but isn't as heavy-handed
   16574       # as -z defs.
   16575       no_undefined_flag='$wl-z,text'
   16576       allow_undefined_flag='$wl-z,nodefs'
   16577       archive_cmds_need_lc=no
   16578       hardcode_shlibpath_var=no
   16579       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16580       hardcode_libdir_separator=':'
   16581       link_all_deplibs=yes
   16582       export_dynamic_flag_spec='$wl-Bexport'
   16583       runpath_var='LD_RUN_PATH'
   16584 
   16585       if test yes = "$GCC"; then
   16586 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16587 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16588       else
   16589 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16590 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16591       fi
   16592       ;;
   16593 
   16594     uts4*)
   16595       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16596       hardcode_libdir_flag_spec='-L$libdir'
   16597       hardcode_shlibpath_var=no
   16598       ;;
   16599 
   16600     *)
   16601       ld_shlibs=no
   16602       ;;
   16603     esac
   16604 
   16605     if test sni = "$host_vendor"; then
   16606       case $host in
   16607       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16608 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16609 	;;
   16610       esac
   16611     fi
   16612   fi
   16613 
   16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16615 $as_echo "$ld_shlibs" >&6; }
   16616 test no = "$ld_shlibs" && can_build_shared=no
   16617 
   16618 with_gnu_ld=$with_gnu_ld
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 #
   16635 # Do we need to explicitly link libc?
   16636 #
   16637 case "x$archive_cmds_need_lc" in
   16638 x|xyes)
   16639   # Assume -lc should be added
   16640   archive_cmds_need_lc=yes
   16641 
   16642   if test yes,yes = "$GCC,$enable_shared"; then
   16643     case $archive_cmds in
   16644     *'~'*)
   16645       # FIXME: we may have to deal with multi-command sequences.
   16646       ;;
   16647     '$CC '*)
   16648       # Test whether the compiler implicitly links with -lc since on some
   16649       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16650       # to ld, don't add -lc before -lgcc.
   16651       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16652 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16653 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16654   $as_echo_n "(cached) " >&6
   16655 else
   16656   $RM conftest*
   16657 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16658 
   16659 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16660   (eval $ac_compile) 2>&5
   16661   ac_status=$?
   16662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16663   test $ac_status = 0; } 2>conftest.err; then
   16664 	  soname=conftest
   16665 	  lib=conftest
   16666 	  libobjs=conftest.$ac_objext
   16667 	  deplibs=
   16668 	  wl=$lt_prog_compiler_wl
   16669 	  pic_flag=$lt_prog_compiler_pic
   16670 	  compiler_flags=-v
   16671 	  linker_flags=-v
   16672 	  verstring=
   16673 	  output_objdir=.
   16674 	  libname=conftest
   16675 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16676 	  allow_undefined_flag=
   16677 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16678   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16679   ac_status=$?
   16680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16681   test $ac_status = 0; }
   16682 	  then
   16683 	    lt_cv_archive_cmds_need_lc=no
   16684 	  else
   16685 	    lt_cv_archive_cmds_need_lc=yes
   16686 	  fi
   16687 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16688 	else
   16689 	  cat conftest.err 1>&5
   16690 	fi
   16691 	$RM conftest*
   16692 
   16693 fi
   16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16695 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16696       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16697       ;;
   16698     esac
   16699   fi
   16700   ;;
   16701 esac
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16855 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16856 
   16857 if test yes = "$GCC"; then
   16858   case $host_os in
   16859     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16860     *) lt_awk_arg='/^libraries:/' ;;
   16861   esac
   16862   case $host_os in
   16863     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16864     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16865   esac
   16866   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16867   case $lt_search_path_spec in
   16868   *\;*)
   16869     # if the path contains ";" then we assume it to be the separator
   16870     # otherwise default to the standard path separator (i.e. ":") - it is
   16871     # assumed that no part of a normal pathname contains ";" but that should
   16872     # okay in the real world where ";" in dirpaths is itself problematic.
   16873     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16874     ;;
   16875   *)
   16876     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16877     ;;
   16878   esac
   16879   # Ok, now we have the path, separated by spaces, we can step through it
   16880   # and add multilib dir if necessary...
   16881   lt_tmp_lt_search_path_spec=
   16882   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16883   # ...but if some path component already ends with the multilib dir we assume
   16884   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16885   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16886   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16887     lt_multi_os_dir=
   16888     ;;
   16889   esac
   16890   for lt_sys_path in $lt_search_path_spec; do
   16891     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16892       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16893     elif test -n "$lt_multi_os_dir"; then
   16894       test -d "$lt_sys_path" && \
   16895 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16896     fi
   16897   done
   16898   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16899 BEGIN {RS = " "; FS = "/|\n";} {
   16900   lt_foo = "";
   16901   lt_count = 0;
   16902   for (lt_i = NF; lt_i > 0; lt_i--) {
   16903     if ($lt_i != "" && $lt_i != ".") {
   16904       if ($lt_i == "..") {
   16905         lt_count++;
   16906       } else {
   16907         if (lt_count == 0) {
   16908           lt_foo = "/" $lt_i lt_foo;
   16909         } else {
   16910           lt_count--;
   16911         }
   16912       }
   16913     }
   16914   }
   16915   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16916   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16917 }'`
   16918   # AWK program above erroneously prepends '/' to C:/dos/paths
   16919   # for these hosts.
   16920   case $host_os in
   16921     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16922       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16923   esac
   16924   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16925 else
   16926   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16927 fi
   16928 library_names_spec=
   16929 libname_spec='lib$name'
   16930 soname_spec=
   16931 shrext_cmds=.so
   16932 postinstall_cmds=
   16933 postuninstall_cmds=
   16934 finish_cmds=
   16935 finish_eval=
   16936 shlibpath_var=
   16937 shlibpath_overrides_runpath=unknown
   16938 version_type=none
   16939 dynamic_linker="$host_os ld.so"
   16940 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16941 need_lib_prefix=unknown
   16942 hardcode_into_libs=no
   16943 
   16944 # when you set need_version to no, make sure it does not cause -set_version
   16945 # flags to be left without arguments
   16946 need_version=unknown
   16947 
   16948 
   16949 
   16950 case $host_os in
   16951 aix3*)
   16952   version_type=linux # correct to gnu/linux during the next big refactor
   16953   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16954   shlibpath_var=LIBPATH
   16955 
   16956   # AIX 3 has no versioning support, so we append a major version to the name.
   16957   soname_spec='$libname$release$shared_ext$major'
   16958   ;;
   16959 
   16960 aix[4-9]*)
   16961   version_type=linux # correct to gnu/linux during the next big refactor
   16962   need_lib_prefix=no
   16963   need_version=no
   16964   hardcode_into_libs=yes
   16965   if test ia64 = "$host_cpu"; then
   16966     # AIX 5 supports IA64
   16967     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16968     shlibpath_var=LD_LIBRARY_PATH
   16969   else
   16970     # With GCC up to 2.95.x, collect2 would create an import file
   16971     # for dependence libraries.  The import file would start with
   16972     # the line '#! .'.  This would cause the generated library to
   16973     # depend on '.', always an invalid library.  This was fixed in
   16974     # development snapshots of GCC prior to 3.0.
   16975     case $host_os in
   16976       aix4 | aix4.[01] | aix4.[01].*)
   16977       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16978 	   echo ' yes '
   16979 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16980 	:
   16981       else
   16982 	can_build_shared=no
   16983       fi
   16984       ;;
   16985     esac
   16986     # Using Import Files as archive members, it is possible to support
   16987     # filename-based versioning of shared library archives on AIX. While
   16988     # this would work for both with and without runtime linking, it will
   16989     # prevent static linking of such archives. So we do filename-based
   16990     # shared library versioning with .so extension only, which is used
   16991     # when both runtime linking and shared linking is enabled.
   16992     # Unfortunately, runtime linking may impact performance, so we do
   16993     # not want this to be the default eventually. Also, we use the
   16994     # versioned .so libs for executables only if there is the -brtl
   16995     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16996     # To allow for filename-based versioning support, we need to create
   16997     # libNAME.so.V as an archive file, containing:
   16998     # *) an Import File, referring to the versioned filename of the
   16999     #    archive as well as the shared archive member, telling the
   17000     #    bitwidth (32 or 64) of that shared object, and providing the
   17001     #    list of exported symbols of that shared object, eventually
   17002     #    decorated with the 'weak' keyword
   17003     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17004     #    it being seen by the linker.
   17005     # At run time we better use the real file rather than another symlink,
   17006     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17007 
   17008     case $with_aix_soname,$aix_use_runtimelinking in
   17009     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17010     # soname into executable. Probably we can add versioning support to
   17011     # collect2, so additional links can be useful in future.
   17012     aix,yes) # traditional libtool
   17013       dynamic_linker='AIX unversionable lib.so'
   17014       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17015       # instead of lib<name>.a to let people know that these are not
   17016       # typical AIX shared libraries.
   17017       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17018       ;;
   17019     aix,no) # traditional AIX only
   17020       dynamic_linker='AIX lib.a(lib.so.V)'
   17021       # We preserve .a as extension for shared libraries through AIX4.2
   17022       # and later when we are not doing run time linking.
   17023       library_names_spec='$libname$release.a $libname.a'
   17024       soname_spec='$libname$release$shared_ext$major'
   17025       ;;
   17026     svr4,*) # full svr4 only
   17027       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17028       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17029       # We do not specify a path in Import Files, so LIBPATH fires.
   17030       shlibpath_overrides_runpath=yes
   17031       ;;
   17032     *,yes) # both, prefer svr4
   17033       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17034       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17035       # unpreferred sharedlib libNAME.a needs extra handling
   17036       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"'
   17037       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"'
   17038       # We do not specify a path in Import Files, so LIBPATH fires.
   17039       shlibpath_overrides_runpath=yes
   17040       ;;
   17041     *,no) # both, prefer aix
   17042       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17043       library_names_spec='$libname$release.a $libname.a'
   17044       soname_spec='$libname$release$shared_ext$major'
   17045       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17046       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)'
   17047       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"'
   17048       ;;
   17049     esac
   17050     shlibpath_var=LIBPATH
   17051   fi
   17052   ;;
   17053 
   17054 amigaos*)
   17055   case $host_cpu in
   17056   powerpc)
   17057     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17058     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17059     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17060     ;;
   17061   m68k)
   17062     library_names_spec='$libname.ixlibrary $libname.a'
   17063     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17064     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'
   17065     ;;
   17066   esac
   17067   ;;
   17068 
   17069 beos*)
   17070   library_names_spec='$libname$shared_ext'
   17071   dynamic_linker="$host_os ld.so"
   17072   shlibpath_var=LIBRARY_PATH
   17073   ;;
   17074 
   17075 bsdi[45]*)
   17076   version_type=linux # correct to gnu/linux during the next big refactor
   17077   need_version=no
   17078   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17079   soname_spec='$libname$release$shared_ext$major'
   17080   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17081   shlibpath_var=LD_LIBRARY_PATH
   17082   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17083   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17084   # the default ld.so.conf also contains /usr/contrib/lib and
   17085   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17086   # libtool to hard-code these into programs
   17087   ;;
   17088 
   17089 cygwin* | mingw* | pw32* | cegcc*)
   17090   version_type=windows
   17091   shrext_cmds=.dll
   17092   need_version=no
   17093   need_lib_prefix=no
   17094 
   17095   case $GCC,$cc_basename in
   17096   yes,*)
   17097     # gcc
   17098     library_names_spec='$libname.dll.a'
   17099     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17100     postinstall_cmds='base_file=`basename \$file`~
   17101       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17102       dldir=$destdir/`dirname \$dlpath`~
   17103       test -d \$dldir || mkdir -p \$dldir~
   17104       $install_prog $dir/$dlname \$dldir/$dlname~
   17105       chmod a+x \$dldir/$dlname~
   17106       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17107         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17108       fi'
   17109     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17110       dlpath=$dir/\$dldll~
   17111        $RM \$dlpath'
   17112     shlibpath_overrides_runpath=yes
   17113 
   17114     case $host_os in
   17115     cygwin*)
   17116       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17117       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17118 
   17119       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17120       ;;
   17121     mingw* | cegcc*)
   17122       # MinGW DLLs use traditional 'lib' prefix
   17123       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17124       ;;
   17125     pw32*)
   17126       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17127       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17128       ;;
   17129     esac
   17130     dynamic_linker='Win32 ld.exe'
   17131     ;;
   17132 
   17133   *,cl*)
   17134     # Native MSVC
   17135     libname_spec='$name'
   17136     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17137     library_names_spec='$libname.dll.lib'
   17138 
   17139     case $build_os in
   17140     mingw*)
   17141       sys_lib_search_path_spec=
   17142       lt_save_ifs=$IFS
   17143       IFS=';'
   17144       for lt_path in $LIB
   17145       do
   17146         IFS=$lt_save_ifs
   17147         # Let DOS variable expansion print the short 8.3 style file name.
   17148         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17149         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17150       done
   17151       IFS=$lt_save_ifs
   17152       # Convert to MSYS style.
   17153       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17154       ;;
   17155     cygwin*)
   17156       # Convert to unix form, then to dos form, then back to unix form
   17157       # but this time dos style (no spaces!) so that the unix form looks
   17158       # like /cygdrive/c/PROGRA~1:/cygdr...
   17159       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17160       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17161       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17162       ;;
   17163     *)
   17164       sys_lib_search_path_spec=$LIB
   17165       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17166         # It is most probably a Windows format PATH.
   17167         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17168       else
   17169         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17170       fi
   17171       # FIXME: find the short name or the path components, as spaces are
   17172       # common. (e.g. "Program Files" -> "PROGRA~1")
   17173       ;;
   17174     esac
   17175 
   17176     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17177     postinstall_cmds='base_file=`basename \$file`~
   17178       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17179       dldir=$destdir/`dirname \$dlpath`~
   17180       test -d \$dldir || mkdir -p \$dldir~
   17181       $install_prog $dir/$dlname \$dldir/$dlname'
   17182     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17183       dlpath=$dir/\$dldll~
   17184        $RM \$dlpath'
   17185     shlibpath_overrides_runpath=yes
   17186     dynamic_linker='Win32 link.exe'
   17187     ;;
   17188 
   17189   *)
   17190     # Assume MSVC wrapper
   17191     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17192     dynamic_linker='Win32 ld.exe'
   17193     ;;
   17194   esac
   17195   # FIXME: first we should search . and the directory the executable is in
   17196   shlibpath_var=PATH
   17197   ;;
   17198 
   17199 darwin* | rhapsody*)
   17200   dynamic_linker="$host_os dyld"
   17201   version_type=darwin
   17202   need_lib_prefix=no
   17203   need_version=no
   17204   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17205   soname_spec='$libname$release$major$shared_ext'
   17206   shlibpath_overrides_runpath=yes
   17207   shlibpath_var=DYLD_LIBRARY_PATH
   17208   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17209 
   17210   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17211   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17212   ;;
   17213 
   17214 dgux*)
   17215   version_type=linux # correct to gnu/linux during the next big refactor
   17216   need_lib_prefix=no
   17217   need_version=no
   17218   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17219   soname_spec='$libname$release$shared_ext$major'
   17220   shlibpath_var=LD_LIBRARY_PATH
   17221   ;;
   17222 
   17223 freebsd* | dragonfly*)
   17224   # DragonFly does not have aout.  When/if they implement a new
   17225   # versioning mechanism, adjust this.
   17226   if test -x /usr/bin/objformat; then
   17227     objformat=`/usr/bin/objformat`
   17228   else
   17229     case $host_os in
   17230     freebsd[23].*) objformat=aout ;;
   17231     *) objformat=elf ;;
   17232     esac
   17233   fi
   17234   # Handle Gentoo/FreeBSD as it was Linux
   17235   case $host_vendor in
   17236     gentoo)
   17237       version_type=linux ;;
   17238     *)
   17239       version_type=freebsd-$objformat ;;
   17240   esac
   17241 
   17242   case $version_type in
   17243     freebsd-elf*)
   17244       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17245       soname_spec='$libname$release$shared_ext$major'
   17246       need_version=no
   17247       need_lib_prefix=no
   17248       ;;
   17249     freebsd-*)
   17250       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17251       need_version=yes
   17252       ;;
   17253     linux)
   17254       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17255       soname_spec='${libname}${release}${shared_ext}$major'
   17256       need_lib_prefix=no
   17257       need_version=no
   17258       ;;
   17259   esac
   17260   shlibpath_var=LD_LIBRARY_PATH
   17261   case $host_os in
   17262   freebsd2.*)
   17263     shlibpath_overrides_runpath=yes
   17264     ;;
   17265   freebsd3.[01]* | freebsdelf3.[01]*)
   17266     shlibpath_overrides_runpath=yes
   17267     hardcode_into_libs=yes
   17268     ;;
   17269   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17270   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17271     shlibpath_overrides_runpath=no
   17272     hardcode_into_libs=yes
   17273     ;;
   17274   *) # from 4.6 on, and DragonFly
   17275     shlibpath_overrides_runpath=yes
   17276     hardcode_into_libs=yes
   17277     ;;
   17278   esac
   17279   ;;
   17280 
   17281 haiku*)
   17282   version_type=linux # correct to gnu/linux during the next big refactor
   17283   need_lib_prefix=no
   17284   need_version=no
   17285   dynamic_linker="$host_os runtime_loader"
   17286   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17287   soname_spec='$libname$release$shared_ext$major'
   17288   shlibpath_var=LIBRARY_PATH
   17289   shlibpath_overrides_runpath=no
   17290   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17291   hardcode_into_libs=yes
   17292   ;;
   17293 
   17294 hpux9* | hpux10* | hpux11*)
   17295   # Give a soname corresponding to the major version so that dld.sl refuses to
   17296   # link against other versions.
   17297   version_type=sunos
   17298   need_lib_prefix=no
   17299   need_version=no
   17300   case $host_cpu in
   17301   ia64*)
   17302     shrext_cmds='.so'
   17303     hardcode_into_libs=yes
   17304     dynamic_linker="$host_os dld.so"
   17305     shlibpath_var=LD_LIBRARY_PATH
   17306     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17307     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17308     soname_spec='$libname$release$shared_ext$major'
   17309     if test 32 = "$HPUX_IA64_MODE"; then
   17310       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17311       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17312     else
   17313       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17314       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17315     fi
   17316     ;;
   17317   hppa*64*)
   17318     shrext_cmds='.sl'
   17319     hardcode_into_libs=yes
   17320     dynamic_linker="$host_os dld.sl"
   17321     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17322     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17323     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17324     soname_spec='$libname$release$shared_ext$major'
   17325     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17326     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17327     ;;
   17328   *)
   17329     shrext_cmds='.sl'
   17330     dynamic_linker="$host_os dld.sl"
   17331     shlibpath_var=SHLIB_PATH
   17332     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17333     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17334     soname_spec='$libname$release$shared_ext$major'
   17335     ;;
   17336   esac
   17337   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17338   postinstall_cmds='chmod 555 $lib'
   17339   # or fails outright, so override atomically:
   17340   install_override_mode=555
   17341   ;;
   17342 
   17343 interix[3-9]*)
   17344   version_type=linux # correct to gnu/linux during the next big refactor
   17345   need_lib_prefix=no
   17346   need_version=no
   17347   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17348   soname_spec='$libname$release$shared_ext$major'
   17349   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17350   shlibpath_var=LD_LIBRARY_PATH
   17351   shlibpath_overrides_runpath=no
   17352   hardcode_into_libs=yes
   17353   ;;
   17354 
   17355 irix5* | irix6* | nonstopux*)
   17356   case $host_os in
   17357     nonstopux*) version_type=nonstopux ;;
   17358     *)
   17359 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17360 		version_type=linux # correct to gnu/linux during the next big refactor
   17361 	else
   17362 		version_type=irix
   17363 	fi ;;
   17364   esac
   17365   need_lib_prefix=no
   17366   need_version=no
   17367   soname_spec='$libname$release$shared_ext$major'
   17368   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17369   case $host_os in
   17370   irix5* | nonstopux*)
   17371     libsuff= shlibsuff=
   17372     ;;
   17373   *)
   17374     case $LD in # libtool.m4 will add one of these switches to LD
   17375     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17376       libsuff= shlibsuff= libmagic=32-bit;;
   17377     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17378       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17379     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17380       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17381     *) libsuff= shlibsuff= libmagic=never-match;;
   17382     esac
   17383     ;;
   17384   esac
   17385   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17386   shlibpath_overrides_runpath=no
   17387   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17388   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17389   hardcode_into_libs=yes
   17390   ;;
   17391 
   17392 # No shared lib support for Linux oldld, aout, or coff.
   17393 linux*oldld* | linux*aout* | linux*coff*)
   17394   dynamic_linker=no
   17395   ;;
   17396 
   17397 linux*android*)
   17398   version_type=none # Android doesn't support versioned libraries.
   17399   need_lib_prefix=no
   17400   need_version=no
   17401   library_names_spec='$libname$release$shared_ext'
   17402   soname_spec='$libname$release$shared_ext'
   17403   finish_cmds=
   17404   shlibpath_var=LD_LIBRARY_PATH
   17405   shlibpath_overrides_runpath=yes
   17406 
   17407   # This implies no fast_install, which is unacceptable.
   17408   # Some rework will be needed to allow for fast_install
   17409   # before this can be enabled.
   17410   hardcode_into_libs=yes
   17411 
   17412   dynamic_linker='Android linker'
   17413   # Don't embed -rpath directories since the linker doesn't support them.
   17414   hardcode_libdir_flag_spec='-L$libdir'
   17415   ;;
   17416 
   17417 # This must be glibc/ELF.
   17418 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17419   version_type=linux # correct to gnu/linux during the next big refactor
   17420   need_lib_prefix=no
   17421   need_version=no
   17422   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17423   soname_spec='$libname$release$shared_ext$major'
   17424   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17425   shlibpath_var=LD_LIBRARY_PATH
   17426   shlibpath_overrides_runpath=no
   17427 
   17428   # Some binutils ld are patched to set DT_RUNPATH
   17429   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17430   $as_echo_n "(cached) " >&6
   17431 else
   17432   lt_cv_shlibpath_overrides_runpath=no
   17433     save_LDFLAGS=$LDFLAGS
   17434     save_libdir=$libdir
   17435     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17436 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17437     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17438 /* end confdefs.h.  */
   17439 
   17440 int
   17441 main ()
   17442 {
   17443 
   17444   ;
   17445   return 0;
   17446 }
   17447 _ACEOF
   17448 if ac_fn_c_try_link "$LINENO"; then :
   17449   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17450   lt_cv_shlibpath_overrides_runpath=yes
   17451 fi
   17452 fi
   17453 rm -f core conftest.err conftest.$ac_objext \
   17454     conftest$ac_exeext conftest.$ac_ext
   17455     LDFLAGS=$save_LDFLAGS
   17456     libdir=$save_libdir
   17457 
   17458 fi
   17459 
   17460   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17461 
   17462   # This implies no fast_install, which is unacceptable.
   17463   # Some rework will be needed to allow for fast_install
   17464   # before this can be enabled.
   17465   hardcode_into_libs=yes
   17466 
   17467   # Ideally, we could use ldconfig to report *all* directores which are
   17468   # searched for libraries, however this is still not possible.  Aside from not
   17469   # being certain /sbin/ldconfig is available, command
   17470   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17471   # even though it is searched at run-time.  Try to do the best guess by
   17472   # appending ld.so.conf contents (and includes) to the search path.
   17473   if test -f /etc/ld.so.conf; then
   17474     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' ' '`
   17475     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17476   fi
   17477 
   17478   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17479   # powerpc, because MkLinux only supported shared libraries with the
   17480   # GNU dynamic linker.  Since this was broken with cross compilers,
   17481   # most powerpc-linux boxes support dynamic linking these days and
   17482   # people can always --disable-shared, the test was removed, and we
   17483   # assume the GNU/Linux dynamic linker is in use.
   17484   dynamic_linker='GNU/Linux ld.so'
   17485   ;;
   17486 
   17487 netbsd*)
   17488   version_type=sunos
   17489   need_lib_prefix=no
   17490   need_version=no
   17491   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17492     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17493     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17494     dynamic_linker='NetBSD (a.out) ld.so'
   17495   else
   17496     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17497     soname_spec='$libname$release$shared_ext$major'
   17498     dynamic_linker='NetBSD ld.elf_so'
   17499   fi
   17500   shlibpath_var=LD_LIBRARY_PATH
   17501   shlibpath_overrides_runpath=yes
   17502   hardcode_into_libs=yes
   17503   ;;
   17504 
   17505 newsos6)
   17506   version_type=linux # correct to gnu/linux during the next big refactor
   17507   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17508   shlibpath_var=LD_LIBRARY_PATH
   17509   shlibpath_overrides_runpath=yes
   17510   ;;
   17511 
   17512 *nto* | *qnx*)
   17513   version_type=qnx
   17514   need_lib_prefix=no
   17515   need_version=no
   17516   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17517   soname_spec='$libname$release$shared_ext$major'
   17518   shlibpath_var=LD_LIBRARY_PATH
   17519   shlibpath_overrides_runpath=no
   17520   hardcode_into_libs=yes
   17521   dynamic_linker='ldqnx.so'
   17522   ;;
   17523 
   17524 openbsd* | bitrig*)
   17525   version_type=sunos
   17526   sys_lib_dlsearch_path_spec=/usr/lib
   17527   need_lib_prefix=no
   17528   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17529     need_version=no
   17530   else
   17531     need_version=yes
   17532   fi
   17533   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17534   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17535   shlibpath_var=LD_LIBRARY_PATH
   17536   shlibpath_overrides_runpath=yes
   17537   ;;
   17538 
   17539 os2*)
   17540   libname_spec='$name'
   17541   version_type=windows
   17542   shrext_cmds=.dll
   17543   need_version=no
   17544   need_lib_prefix=no
   17545   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17546   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17547     v=$($ECHO $release$versuffix | tr -d .-);
   17548     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17549     $ECHO $n$v`$shared_ext'
   17550   library_names_spec='${libname}_dll.$libext'
   17551   dynamic_linker='OS/2 ld.exe'
   17552   shlibpath_var=BEGINLIBPATH
   17553   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17554   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17555   postinstall_cmds='base_file=`basename \$file`~
   17556     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17557     dldir=$destdir/`dirname \$dlpath`~
   17558     test -d \$dldir || mkdir -p \$dldir~
   17559     $install_prog $dir/$dlname \$dldir/$dlname~
   17560     chmod a+x \$dldir/$dlname~
   17561     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17562       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17563     fi'
   17564   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17565     dlpath=$dir/\$dldll~
   17566     $RM \$dlpath'
   17567   ;;
   17568 
   17569 osf3* | osf4* | osf5*)
   17570   version_type=osf
   17571   need_lib_prefix=no
   17572   need_version=no
   17573   soname_spec='$libname$release$shared_ext$major'
   17574   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17575   shlibpath_var=LD_LIBRARY_PATH
   17576   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17577   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17578   ;;
   17579 
   17580 rdos*)
   17581   dynamic_linker=no
   17582   ;;
   17583 
   17584 solaris*)
   17585   version_type=linux # correct to gnu/linux during the next big refactor
   17586   need_lib_prefix=no
   17587   need_version=no
   17588   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17589   soname_spec='$libname$release$shared_ext$major'
   17590   shlibpath_var=LD_LIBRARY_PATH
   17591   shlibpath_overrides_runpath=yes
   17592   hardcode_into_libs=yes
   17593   # ldd complains unless libraries are executable
   17594   postinstall_cmds='chmod +x $lib'
   17595   ;;
   17596 
   17597 sunos4*)
   17598   version_type=sunos
   17599   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17600   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17601   shlibpath_var=LD_LIBRARY_PATH
   17602   shlibpath_overrides_runpath=yes
   17603   if test yes = "$with_gnu_ld"; then
   17604     need_lib_prefix=no
   17605   fi
   17606   need_version=yes
   17607   ;;
   17608 
   17609 sysv4 | sysv4.3*)
   17610   version_type=linux # correct to gnu/linux during the next big refactor
   17611   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17612   soname_spec='$libname$release$shared_ext$major'
   17613   shlibpath_var=LD_LIBRARY_PATH
   17614   case $host_vendor in
   17615     sni)
   17616       shlibpath_overrides_runpath=no
   17617       need_lib_prefix=no
   17618       runpath_var=LD_RUN_PATH
   17619       ;;
   17620     siemens)
   17621       need_lib_prefix=no
   17622       ;;
   17623     motorola)
   17624       need_lib_prefix=no
   17625       need_version=no
   17626       shlibpath_overrides_runpath=no
   17627       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17628       ;;
   17629   esac
   17630   ;;
   17631 
   17632 sysv4*MP*)
   17633   if test -d /usr/nec; then
   17634     version_type=linux # correct to gnu/linux during the next big refactor
   17635     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17636     soname_spec='$libname$shared_ext.$major'
   17637     shlibpath_var=LD_LIBRARY_PATH
   17638   fi
   17639   ;;
   17640 
   17641 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17642   version_type=sco
   17643   need_lib_prefix=no
   17644   need_version=no
   17645   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17646   soname_spec='$libname$release$shared_ext$major'
   17647   shlibpath_var=LD_LIBRARY_PATH
   17648   shlibpath_overrides_runpath=yes
   17649   hardcode_into_libs=yes
   17650   if test yes = "$with_gnu_ld"; then
   17651     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17652   else
   17653     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17654     case $host_os in
   17655       sco3.2v5*)
   17656         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17657 	;;
   17658     esac
   17659   fi
   17660   sys_lib_dlsearch_path_spec='/usr/lib'
   17661   ;;
   17662 
   17663 tpf*)
   17664   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17665   version_type=linux # correct to gnu/linux during the next big refactor
   17666   need_lib_prefix=no
   17667   need_version=no
   17668   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17669   shlibpath_var=LD_LIBRARY_PATH
   17670   shlibpath_overrides_runpath=no
   17671   hardcode_into_libs=yes
   17672   ;;
   17673 
   17674 uts4*)
   17675   version_type=linux # correct to gnu/linux during the next big refactor
   17676   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17677   soname_spec='$libname$release$shared_ext$major'
   17678   shlibpath_var=LD_LIBRARY_PATH
   17679   ;;
   17680 
   17681 *)
   17682   dynamic_linker=no
   17683   ;;
   17684 esac
   17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17686 $as_echo "$dynamic_linker" >&6; }
   17687 test no = "$dynamic_linker" && can_build_shared=no
   17688 
   17689 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17690 if test yes = "$GCC"; then
   17691   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17692 fi
   17693 
   17694 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17695   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17696 fi
   17697 
   17698 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17699   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17700 fi
   17701 
   17702 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17703 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17704 
   17705 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17706 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17707 
   17708 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17709 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 
   17797 
   17798 
   17799 
   17800 
   17801 
   17802 
   17803 
   17804 
   17805 
   17806 
   17807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17808 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17809 hardcode_action=
   17810 if test -n "$hardcode_libdir_flag_spec" ||
   17811    test -n "$runpath_var" ||
   17812    test yes = "$hardcode_automatic"; then
   17813 
   17814   # We can hardcode non-existent directories.
   17815   if test no != "$hardcode_direct" &&
   17816      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17817      # have to relink, otherwise we might link with an installed library
   17818      # when we should be linking with a yet-to-be-installed one
   17819      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17820      test no != "$hardcode_minus_L"; then
   17821     # Linking always hardcodes the temporary library directory.
   17822     hardcode_action=relink
   17823   else
   17824     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17825     hardcode_action=immediate
   17826   fi
   17827 else
   17828   # We cannot hardcode anything, or else we can only hardcode existing
   17829   # directories.
   17830   hardcode_action=unsupported
   17831 fi
   17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17833 $as_echo "$hardcode_action" >&6; }
   17834 
   17835 if test relink = "$hardcode_action" ||
   17836    test yes = "$inherit_rpath"; then
   17837   # Fast installation is not supported
   17838   enable_fast_install=no
   17839 elif test yes = "$shlibpath_overrides_runpath" ||
   17840      test no = "$enable_shared"; then
   17841   # Fast installation is not necessary
   17842   enable_fast_install=needless
   17843 fi
   17844 
   17845 
   17846 
   17847 
   17848 
   17849 
   17850   if test yes != "$enable_dlopen"; then
   17851   enable_dlopen=unknown
   17852   enable_dlopen_self=unknown
   17853   enable_dlopen_self_static=unknown
   17854 else
   17855   lt_cv_dlopen=no
   17856   lt_cv_dlopen_libs=
   17857 
   17858   case $host_os in
   17859   beos*)
   17860     lt_cv_dlopen=load_add_on
   17861     lt_cv_dlopen_libs=
   17862     lt_cv_dlopen_self=yes
   17863     ;;
   17864 
   17865   mingw* | pw32* | cegcc*)
   17866     lt_cv_dlopen=LoadLibrary
   17867     lt_cv_dlopen_libs=
   17868     ;;
   17869 
   17870   cygwin*)
   17871     lt_cv_dlopen=dlopen
   17872     lt_cv_dlopen_libs=
   17873     ;;
   17874 
   17875   darwin*)
   17876     # if libdl is installed we need to link against it
   17877     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17878 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17879 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17880   $as_echo_n "(cached) " >&6
   17881 else
   17882   ac_check_lib_save_LIBS=$LIBS
   17883 LIBS="-ldl  $LIBS"
   17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17885 /* end confdefs.h.  */
   17886 
   17887 /* Override any GCC internal prototype to avoid an error.
   17888    Use char because int might match the return type of a GCC
   17889    builtin and then its argument prototype would still apply.  */
   17890 #ifdef __cplusplus
   17891 extern "C"
   17892 #endif
   17893 char dlopen ();
   17894 int
   17895 main ()
   17896 {
   17897 return dlopen ();
   17898   ;
   17899   return 0;
   17900 }
   17901 _ACEOF
   17902 if ac_fn_c_try_link "$LINENO"; then :
   17903   ac_cv_lib_dl_dlopen=yes
   17904 else
   17905   ac_cv_lib_dl_dlopen=no
   17906 fi
   17907 rm -f core conftest.err conftest.$ac_objext \
   17908     conftest$ac_exeext conftest.$ac_ext
   17909 LIBS=$ac_check_lib_save_LIBS
   17910 fi
   17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17912 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17913 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17914   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17915 else
   17916 
   17917     lt_cv_dlopen=dyld
   17918     lt_cv_dlopen_libs=
   17919     lt_cv_dlopen_self=yes
   17920 
   17921 fi
   17922 
   17923     ;;
   17924 
   17925   tpf*)
   17926     # Don't try to run any link tests for TPF.  We know it's impossible
   17927     # because TPF is a cross-compiler, and we know how we open DSOs.
   17928     lt_cv_dlopen=dlopen
   17929     lt_cv_dlopen_libs=
   17930     lt_cv_dlopen_self=no
   17931     ;;
   17932 
   17933   *)
   17934     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17935 if test "x$ac_cv_func_shl_load" = xyes; then :
   17936   lt_cv_dlopen=shl_load
   17937 else
   17938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17939 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17940 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17941   $as_echo_n "(cached) " >&6
   17942 else
   17943   ac_check_lib_save_LIBS=$LIBS
   17944 LIBS="-ldld  $LIBS"
   17945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17946 /* end confdefs.h.  */
   17947 
   17948 /* Override any GCC internal prototype to avoid an error.
   17949    Use char because int might match the return type of a GCC
   17950    builtin and then its argument prototype would still apply.  */
   17951 #ifdef __cplusplus
   17952 extern "C"
   17953 #endif
   17954 char shl_load ();
   17955 int
   17956 main ()
   17957 {
   17958 return shl_load ();
   17959   ;
   17960   return 0;
   17961 }
   17962 _ACEOF
   17963 if ac_fn_c_try_link "$LINENO"; then :
   17964   ac_cv_lib_dld_shl_load=yes
   17965 else
   17966   ac_cv_lib_dld_shl_load=no
   17967 fi
   17968 rm -f core conftest.err conftest.$ac_objext \
   17969     conftest$ac_exeext conftest.$ac_ext
   17970 LIBS=$ac_check_lib_save_LIBS
   17971 fi
   17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17973 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17974 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17975   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17976 else
   17977   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17978 if test "x$ac_cv_func_dlopen" = xyes; then :
   17979   lt_cv_dlopen=dlopen
   17980 else
   17981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17982 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17983 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17984   $as_echo_n "(cached) " >&6
   17985 else
   17986   ac_check_lib_save_LIBS=$LIBS
   17987 LIBS="-ldl  $LIBS"
   17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17989 /* end confdefs.h.  */
   17990 
   17991 /* Override any GCC internal prototype to avoid an error.
   17992    Use char because int might match the return type of a GCC
   17993    builtin and then its argument prototype would still apply.  */
   17994 #ifdef __cplusplus
   17995 extern "C"
   17996 #endif
   17997 char dlopen ();
   17998 int
   17999 main ()
   18000 {
   18001 return dlopen ();
   18002   ;
   18003   return 0;
   18004 }
   18005 _ACEOF
   18006 if ac_fn_c_try_link "$LINENO"; then :
   18007   ac_cv_lib_dl_dlopen=yes
   18008 else
   18009   ac_cv_lib_dl_dlopen=no
   18010 fi
   18011 rm -f core conftest.err conftest.$ac_objext \
   18012     conftest$ac_exeext conftest.$ac_ext
   18013 LIBS=$ac_check_lib_save_LIBS
   18014 fi
   18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18016 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18017 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18018   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18019 else
   18020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18021 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18022 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18023   $as_echo_n "(cached) " >&6
   18024 else
   18025   ac_check_lib_save_LIBS=$LIBS
   18026 LIBS="-lsvld  $LIBS"
   18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18028 /* end confdefs.h.  */
   18029 
   18030 /* Override any GCC internal prototype to avoid an error.
   18031    Use char because int might match the return type of a GCC
   18032    builtin and then its argument prototype would still apply.  */
   18033 #ifdef __cplusplus
   18034 extern "C"
   18035 #endif
   18036 char dlopen ();
   18037 int
   18038 main ()
   18039 {
   18040 return dlopen ();
   18041   ;
   18042   return 0;
   18043 }
   18044 _ACEOF
   18045 if ac_fn_c_try_link "$LINENO"; then :
   18046   ac_cv_lib_svld_dlopen=yes
   18047 else
   18048   ac_cv_lib_svld_dlopen=no
   18049 fi
   18050 rm -f core conftest.err conftest.$ac_objext \
   18051     conftest$ac_exeext conftest.$ac_ext
   18052 LIBS=$ac_check_lib_save_LIBS
   18053 fi
   18054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18055 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18056 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18057   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18058 else
   18059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18060 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18061 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18062   $as_echo_n "(cached) " >&6
   18063 else
   18064   ac_check_lib_save_LIBS=$LIBS
   18065 LIBS="-ldld  $LIBS"
   18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18067 /* end confdefs.h.  */
   18068 
   18069 /* Override any GCC internal prototype to avoid an error.
   18070    Use char because int might match the return type of a GCC
   18071    builtin and then its argument prototype would still apply.  */
   18072 #ifdef __cplusplus
   18073 extern "C"
   18074 #endif
   18075 char dld_link ();
   18076 int
   18077 main ()
   18078 {
   18079 return dld_link ();
   18080   ;
   18081   return 0;
   18082 }
   18083 _ACEOF
   18084 if ac_fn_c_try_link "$LINENO"; then :
   18085   ac_cv_lib_dld_dld_link=yes
   18086 else
   18087   ac_cv_lib_dld_dld_link=no
   18088 fi
   18089 rm -f core conftest.err conftest.$ac_objext \
   18090     conftest$ac_exeext conftest.$ac_ext
   18091 LIBS=$ac_check_lib_save_LIBS
   18092 fi
   18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18094 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18095 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18096   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18097 fi
   18098 
   18099 
   18100 fi
   18101 
   18102 
   18103 fi
   18104 
   18105 
   18106 fi
   18107 
   18108 
   18109 fi
   18110 
   18111 
   18112 fi
   18113 
   18114     ;;
   18115   esac
   18116 
   18117   if test no = "$lt_cv_dlopen"; then
   18118     enable_dlopen=no
   18119   else
   18120     enable_dlopen=yes
   18121   fi
   18122 
   18123   case $lt_cv_dlopen in
   18124   dlopen)
   18125     save_CPPFLAGS=$CPPFLAGS
   18126     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18127 
   18128     save_LDFLAGS=$LDFLAGS
   18129     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18130 
   18131     save_LIBS=$LIBS
   18132     LIBS="$lt_cv_dlopen_libs $LIBS"
   18133 
   18134     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18135 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18136 if ${lt_cv_dlopen_self+:} false; then :
   18137   $as_echo_n "(cached) " >&6
   18138 else
   18139   	  if test yes = "$cross_compiling"; then :
   18140   lt_cv_dlopen_self=cross
   18141 else
   18142   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18143   lt_status=$lt_dlunknown
   18144   cat > conftest.$ac_ext <<_LT_EOF
   18145 #line $LINENO "configure"
   18146 #include "confdefs.h"
   18147 
   18148 #if HAVE_DLFCN_H
   18149 #include <dlfcn.h>
   18150 #endif
   18151 
   18152 #include <stdio.h>
   18153 
   18154 #ifdef RTLD_GLOBAL
   18155 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18156 #else
   18157 #  ifdef DL_GLOBAL
   18158 #    define LT_DLGLOBAL		DL_GLOBAL
   18159 #  else
   18160 #    define LT_DLGLOBAL		0
   18161 #  endif
   18162 #endif
   18163 
   18164 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18165    find out it does not work in some platform. */
   18166 #ifndef LT_DLLAZY_OR_NOW
   18167 #  ifdef RTLD_LAZY
   18168 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18169 #  else
   18170 #    ifdef DL_LAZY
   18171 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18172 #    else
   18173 #      ifdef RTLD_NOW
   18174 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18175 #      else
   18176 #        ifdef DL_NOW
   18177 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18178 #        else
   18179 #          define LT_DLLAZY_OR_NOW	0
   18180 #        endif
   18181 #      endif
   18182 #    endif
   18183 #  endif
   18184 #endif
   18185 
   18186 /* When -fvisibility=hidden is used, assume the code has been annotated
   18187    correspondingly for the symbols needed.  */
   18188 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18189 int fnord () __attribute__((visibility("default")));
   18190 #endif
   18191 
   18192 int fnord () { return 42; }
   18193 int main ()
   18194 {
   18195   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18196   int status = $lt_dlunknown;
   18197 
   18198   if (self)
   18199     {
   18200       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18201       else
   18202         {
   18203 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18204           else puts (dlerror ());
   18205 	}
   18206       /* dlclose (self); */
   18207     }
   18208   else
   18209     puts (dlerror ());
   18210 
   18211   return status;
   18212 }
   18213 _LT_EOF
   18214   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18215   (eval $ac_link) 2>&5
   18216   ac_status=$?
   18217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18218   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18219     (./conftest; exit; ) >&5 2>/dev/null
   18220     lt_status=$?
   18221     case x$lt_status in
   18222       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18223       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18224       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18225     esac
   18226   else :
   18227     # compilation failed
   18228     lt_cv_dlopen_self=no
   18229   fi
   18230 fi
   18231 rm -fr conftest*
   18232 
   18233 
   18234 fi
   18235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18236 $as_echo "$lt_cv_dlopen_self" >&6; }
   18237 
   18238     if test yes = "$lt_cv_dlopen_self"; then
   18239       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18240       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18241 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18242 if ${lt_cv_dlopen_self_static+:} false; then :
   18243   $as_echo_n "(cached) " >&6
   18244 else
   18245   	  if test yes = "$cross_compiling"; then :
   18246   lt_cv_dlopen_self_static=cross
   18247 else
   18248   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18249   lt_status=$lt_dlunknown
   18250   cat > conftest.$ac_ext <<_LT_EOF
   18251 #line $LINENO "configure"
   18252 #include "confdefs.h"
   18253 
   18254 #if HAVE_DLFCN_H
   18255 #include <dlfcn.h>
   18256 #endif
   18257 
   18258 #include <stdio.h>
   18259 
   18260 #ifdef RTLD_GLOBAL
   18261 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18262 #else
   18263 #  ifdef DL_GLOBAL
   18264 #    define LT_DLGLOBAL		DL_GLOBAL
   18265 #  else
   18266 #    define LT_DLGLOBAL		0
   18267 #  endif
   18268 #endif
   18269 
   18270 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18271    find out it does not work in some platform. */
   18272 #ifndef LT_DLLAZY_OR_NOW
   18273 #  ifdef RTLD_LAZY
   18274 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18275 #  else
   18276 #    ifdef DL_LAZY
   18277 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18278 #    else
   18279 #      ifdef RTLD_NOW
   18280 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18281 #      else
   18282 #        ifdef DL_NOW
   18283 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18284 #        else
   18285 #          define LT_DLLAZY_OR_NOW	0
   18286 #        endif
   18287 #      endif
   18288 #    endif
   18289 #  endif
   18290 #endif
   18291 
   18292 /* When -fvisibility=hidden is used, assume the code has been annotated
   18293    correspondingly for the symbols needed.  */
   18294 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18295 int fnord () __attribute__((visibility("default")));
   18296 #endif
   18297 
   18298 int fnord () { return 42; }
   18299 int main ()
   18300 {
   18301   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18302   int status = $lt_dlunknown;
   18303 
   18304   if (self)
   18305     {
   18306       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18307       else
   18308         {
   18309 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18310           else puts (dlerror ());
   18311 	}
   18312       /* dlclose (self); */
   18313     }
   18314   else
   18315     puts (dlerror ());
   18316 
   18317   return status;
   18318 }
   18319 _LT_EOF
   18320   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18321   (eval $ac_link) 2>&5
   18322   ac_status=$?
   18323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18324   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18325     (./conftest; exit; ) >&5 2>/dev/null
   18326     lt_status=$?
   18327     case x$lt_status in
   18328       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18329       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18330       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18331     esac
   18332   else :
   18333     # compilation failed
   18334     lt_cv_dlopen_self_static=no
   18335   fi
   18336 fi
   18337 rm -fr conftest*
   18338 
   18339 
   18340 fi
   18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18342 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18343     fi
   18344 
   18345     CPPFLAGS=$save_CPPFLAGS
   18346     LDFLAGS=$save_LDFLAGS
   18347     LIBS=$save_LIBS
   18348     ;;
   18349   esac
   18350 
   18351   case $lt_cv_dlopen_self in
   18352   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18353   *) enable_dlopen_self=unknown ;;
   18354   esac
   18355 
   18356   case $lt_cv_dlopen_self_static in
   18357   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18358   *) enable_dlopen_self_static=unknown ;;
   18359   esac
   18360 fi
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 
   18368 
   18369 
   18370 
   18371 
   18372 
   18373 
   18374 
   18375 
   18376 
   18377 
   18378 striplib=
   18379 old_striplib=
   18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18381 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18382 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18383   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18384   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18386 $as_echo "yes" >&6; }
   18387 else
   18388 # FIXME - insert some real tests, host_os isn't really good enough
   18389   case $host_os in
   18390   darwin*)
   18391     if test -n "$STRIP"; then
   18392       striplib="$STRIP -x"
   18393       old_striplib="$STRIP -S"
   18394       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18395 $as_echo "yes" >&6; }
   18396     else
   18397       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18398 $as_echo "no" >&6; }
   18399     fi
   18400     ;;
   18401   *)
   18402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18403 $as_echo "no" >&6; }
   18404     ;;
   18405   esac
   18406 fi
   18407 
   18408 
   18409 
   18410 
   18411 
   18412 
   18413 
   18414 
   18415 
   18416 
   18417 
   18418 
   18419   # Report what library types will actually be built
   18420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18421 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18423 $as_echo "$can_build_shared" >&6; }
   18424 
   18425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18426 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18427   test no = "$can_build_shared" && enable_shared=no
   18428 
   18429   # On AIX, shared libraries and static libraries use the same namespace, and
   18430   # are all built from PIC.
   18431   case $host_os in
   18432   aix3*)
   18433     test yes = "$enable_shared" && enable_static=no
   18434     if test -n "$RANLIB"; then
   18435       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18436       postinstall_cmds='$RANLIB $lib'
   18437     fi
   18438     ;;
   18439 
   18440   aix[4-9]*)
   18441     if test ia64 != "$host_cpu"; then
   18442       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18443       yes,aix,yes) ;;			# shared object as lib.so file only
   18444       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18445       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18446       esac
   18447     fi
   18448     ;;
   18449   esac
   18450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18451 $as_echo "$enable_shared" >&6; }
   18452 
   18453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18454 $as_echo_n "checking whether to build static libraries... " >&6; }
   18455   # Make sure either enable_shared or enable_static is yes.
   18456   test yes = "$enable_shared" || enable_static=yes
   18457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18458 $as_echo "$enable_static" >&6; }
   18459 
   18460 
   18461 
   18462 
   18463 fi
   18464 ac_ext=c
   18465 ac_cpp='$CPP $CPPFLAGS'
   18466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18469 
   18470 CC=$lt_save_CC
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 
   18477 
   18478 
   18479 
   18480 
   18481 
   18482 
   18483 
   18484 
   18485 
   18486         ac_config_commands="$ac_config_commands libtool"
   18487 
   18488 
   18489 
   18490 
   18491 # Only expand once:
   18492 
   18493 
   18494 
   18495 
   18496 
   18497 # Define a configure option for an alternate module directory
   18498 
   18499 # Check whether --with-xorg-module-dir was given.
   18500 if test "${with_xorg_module_dir+set}" = set; then :
   18501   withval=$with_xorg_module_dir; moduledir="$withval"
   18502 else
   18503   moduledir="$libdir/xorg/modules"
   18504 fi
   18505 
   18506 
   18507 # Check whether --enable-dri was given.
   18508 if test "${enable_dri+set}" = set; then :
   18509   enableval=$enable_dri; DRI="$enableval"
   18510 else
   18511   DRI=auto
   18512 fi
   18513 
   18514 
   18515 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18516 
   18517 
   18518 	SAVE_CFLAGS="$CFLAGS"
   18519 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18520 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18521 /* end confdefs.h.  */
   18522 
   18523 #include "xorg-server.h"
   18524 #if !defined XINERAMA
   18525 #error XINERAMA not defined
   18526 #endif
   18527 
   18528 int
   18529 main ()
   18530 {
   18531 
   18532   ;
   18533   return 0;
   18534 }
   18535 _ACEOF
   18536 if ac_fn_c_try_compile "$LINENO"; then :
   18537   _EXT_CHECK=yes
   18538 else
   18539   _EXT_CHECK=no
   18540 fi
   18541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18542 	CFLAGS="$SAVE_CFLAGS"
   18543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XINERAMA is defined" >&5
   18544 $as_echo_n "checking if XINERAMA is defined... " >&6; }
   18545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18546 $as_echo "$_EXT_CHECK" >&6; }
   18547 	if test "$_EXT_CHECK" != no; then
   18548 		REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto"
   18549 	fi
   18550 
   18551 
   18552 
   18553 	SAVE_CFLAGS="$CFLAGS"
   18554 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18555 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18556 /* end confdefs.h.  */
   18557 
   18558 #include "xorg-server.h"
   18559 #if !defined RANDR
   18560 #error RANDR not defined
   18561 #endif
   18562 
   18563 int
   18564 main ()
   18565 {
   18566 
   18567   ;
   18568   return 0;
   18569 }
   18570 _ACEOF
   18571 if ac_fn_c_try_compile "$LINENO"; then :
   18572   _EXT_CHECK=yes
   18573 else
   18574   _EXT_CHECK=no
   18575 fi
   18576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18577 	CFLAGS="$SAVE_CFLAGS"
   18578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18579 $as_echo_n "checking if RANDR is defined... " >&6; }
   18580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18581 $as_echo "$_EXT_CHECK" >&6; }
   18582 	if test "$_EXT_CHECK" != no; then
   18583 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18584 	fi
   18585 
   18586 
   18587 
   18588 	SAVE_CFLAGS="$CFLAGS"
   18589 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18590 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18591 /* end confdefs.h.  */
   18592 
   18593 #include "xorg-server.h"
   18594 #if !defined RENDER
   18595 #error RENDER not defined
   18596 #endif
   18597 
   18598 int
   18599 main ()
   18600 {
   18601 
   18602   ;
   18603   return 0;
   18604 }
   18605 _ACEOF
   18606 if ac_fn_c_try_compile "$LINENO"; then :
   18607   _EXT_CHECK=yes
   18608 else
   18609   _EXT_CHECK=no
   18610 fi
   18611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18612 	CFLAGS="$SAVE_CFLAGS"
   18613 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18614 $as_echo_n "checking if RENDER is defined... " >&6; }
   18615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18616 $as_echo "$_EXT_CHECK" >&6; }
   18617 	if test "$_EXT_CHECK" != no; then
   18618 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18619 	fi
   18620 
   18621 
   18622 
   18623 	SAVE_CFLAGS="$CFLAGS"
   18624 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18625 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18626 /* end confdefs.h.  */
   18627 
   18628 #include "xorg-server.h"
   18629 #if !defined XV
   18630 #error XV not defined
   18631 #endif
   18632 
   18633 int
   18634 main ()
   18635 {
   18636 
   18637   ;
   18638   return 0;
   18639 }
   18640 _ACEOF
   18641 if ac_fn_c_try_compile "$LINENO"; then :
   18642   _EXT_CHECK=yes
   18643 else
   18644   _EXT_CHECK=no
   18645 fi
   18646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18647 	CFLAGS="$SAVE_CFLAGS"
   18648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18649 $as_echo_n "checking if XV is defined... " >&6; }
   18650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18651 $as_echo "$_EXT_CHECK" >&6; }
   18652 	if test "$_EXT_CHECK" != no; then
   18653 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18654 	fi
   18655 
   18656 
   18657 
   18658 	SAVE_CFLAGS="$CFLAGS"
   18659 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18660 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18661 /* end confdefs.h.  */
   18662 
   18663 #include "xorg-server.h"
   18664 #if !defined DPMSExtension
   18665 #error DPMSExtension not defined
   18666 #endif
   18667 
   18668 int
   18669 main ()
   18670 {
   18671 
   18672   ;
   18673   return 0;
   18674 }
   18675 _ACEOF
   18676 if ac_fn_c_try_compile "$LINENO"; then :
   18677   _EXT_CHECK=yes
   18678 else
   18679   _EXT_CHECK=no
   18680 fi
   18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18682 	CFLAGS="$SAVE_CFLAGS"
   18683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18684 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18686 $as_echo "$_EXT_CHECK" >&6; }
   18687 	if test "$_EXT_CHECK" != no; then
   18688 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18689 	fi
   18690 
   18691 
   18692 # Obtain compiler/linker options for the driver dependencies
   18693 
   18694 pkg_failed=no
   18695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18696 $as_echo_n "checking for XORG... " >&6; }
   18697 
   18698 if test -n "$XORG_CFLAGS"; then
   18699     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18700  elif test -n "$PKG_CONFIG"; then
   18701     if test -n "$PKG_CONFIG" && \
   18702     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 \$REQUIRED_MODULES\""; } >&5
   18703   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES") 2>&5
   18704   ac_status=$?
   18705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18706   test $ac_status = 0; }; then
   18707   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES" 2>/dev/null`
   18708 		      test "x$?" != "x0" && pkg_failed=yes
   18709 else
   18710   pkg_failed=yes
   18711 fi
   18712  else
   18713     pkg_failed=untried
   18714 fi
   18715 if test -n "$XORG_LIBS"; then
   18716     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18717  elif test -n "$PKG_CONFIG"; then
   18718     if test -n "$PKG_CONFIG" && \
   18719     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 \$REQUIRED_MODULES\""; } >&5
   18720   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES") 2>&5
   18721   ac_status=$?
   18722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18723   test $ac_status = 0; }; then
   18724   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES" 2>/dev/null`
   18725 		      test "x$?" != "x0" && pkg_failed=yes
   18726 else
   18727   pkg_failed=yes
   18728 fi
   18729  else
   18730     pkg_failed=untried
   18731 fi
   18732 
   18733 
   18734 
   18735 if test $pkg_failed = yes; then
   18736    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18737 $as_echo "no" >&6; }
   18738 
   18739 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18740         _pkg_short_errors_supported=yes
   18741 else
   18742         _pkg_short_errors_supported=no
   18743 fi
   18744         if test $_pkg_short_errors_supported = yes; then
   18745 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES" 2>&1`
   18746         else
   18747 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES" 2>&1`
   18748         fi
   18749 	# Put the nasty error message in config.log where it belongs
   18750 	echo "$XORG_PKG_ERRORS" >&5
   18751 
   18752 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES) were not met:
   18753 
   18754 $XORG_PKG_ERRORS
   18755 
   18756 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18757 installed software in a non-standard prefix.
   18758 
   18759 Alternatively, you may set the environment variables XORG_CFLAGS
   18760 and XORG_LIBS to avoid the need to call pkg-config.
   18761 See the pkg-config man page for more details." "$LINENO" 5
   18762 elif test $pkg_failed = untried; then
   18763      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18764 $as_echo "no" >&6; }
   18765 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18767 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18768 is in your PATH or set the PKG_CONFIG environment variable to the full
   18769 path to pkg-config.
   18770 
   18771 Alternatively, you may set the environment variables XORG_CFLAGS
   18772 and XORG_LIBS to avoid the need to call pkg-config.
   18773 See the pkg-config man page for more details.
   18774 
   18775 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18776 See \`config.log' for more details" "$LINENO" 5; }
   18777 else
   18778 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18779 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18780         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18781 $as_echo "yes" >&6; }
   18782 
   18783 fi
   18784 
   18785 pkg_failed=no
   18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18787 $as_echo_n "checking for XEXT... " >&6; }
   18788 
   18789 if test -n "$XEXT_CFLAGS"; then
   18790     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18791  elif test -n "$PKG_CONFIG"; then
   18792     if test -n "$PKG_CONFIG" && \
   18793     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18794   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18795   ac_status=$?
   18796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18797   test $ac_status = 0; }; then
   18798   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18799 		      test "x$?" != "x0" && pkg_failed=yes
   18800 else
   18801   pkg_failed=yes
   18802 fi
   18803  else
   18804     pkg_failed=untried
   18805 fi
   18806 if test -n "$XEXT_LIBS"; then
   18807     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18808  elif test -n "$PKG_CONFIG"; then
   18809     if test -n "$PKG_CONFIG" && \
   18810     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18811   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18812   ac_status=$?
   18813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18814   test $ac_status = 0; }; then
   18815   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18816 		      test "x$?" != "x0" && pkg_failed=yes
   18817 else
   18818   pkg_failed=yes
   18819 fi
   18820  else
   18821     pkg_failed=untried
   18822 fi
   18823 
   18824 
   18825 
   18826 if test $pkg_failed = yes; then
   18827    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18828 $as_echo "no" >&6; }
   18829 
   18830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18831         _pkg_short_errors_supported=yes
   18832 else
   18833         _pkg_short_errors_supported=no
   18834 fi
   18835         if test $_pkg_short_errors_supported = yes; then
   18836 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18837         else
   18838 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18839         fi
   18840 	# Put the nasty error message in config.log where it belongs
   18841 	echo "$XEXT_PKG_ERRORS" >&5
   18842 
   18843 	HAVE_XEXTPROTO_71="no"
   18844 elif test $pkg_failed = untried; then
   18845      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18846 $as_echo "no" >&6; }
   18847 	HAVE_XEXTPROTO_71="no"
   18848 else
   18849 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18850 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18851         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18852 $as_echo "yes" >&6; }
   18853 	HAVE_XEXTPROTO_71="yes";
   18854 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18855 
   18856 fi
   18857  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   18858   HAVE_XEXTPROTO_71_TRUE=
   18859   HAVE_XEXTPROTO_71_FALSE='#'
   18860 else
   18861   HAVE_XEXTPROTO_71_TRUE='#'
   18862   HAVE_XEXTPROTO_71_FALSE=
   18863 fi
   18864 
   18865 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   18866 
   18867 # Checks for libraries.
   18868 
   18869 if test "$DRI" != no; then
   18870         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   18871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
   18872 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   18873 if eval \${$as_ac_File+:} false; then :
   18874   $as_echo_n "(cached) " >&6
   18875 else
   18876   test "$cross_compiling" = yes &&
   18877   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18878 if test -r "${sdkdir}/dri.h"; then
   18879   eval "$as_ac_File=yes"
   18880 else
   18881   eval "$as_ac_File=no"
   18882 fi
   18883 fi
   18884 eval ac_res=\$$as_ac_File
   18885 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18886 $as_echo "$ac_res" >&6; }
   18887 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18888   have_dri_h="yes"
   18889 else
   18890   have_dri_h="no"
   18891 fi
   18892 
   18893         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   18894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
   18895 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   18896 if eval \${$as_ac_File+:} false; then :
   18897   $as_echo_n "(cached) " >&6
   18898 else
   18899   test "$cross_compiling" = yes &&
   18900   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18901 if test -r "${sdkdir}/sarea.h"; then
   18902   eval "$as_ac_File=yes"
   18903 else
   18904   eval "$as_ac_File=no"
   18905 fi
   18906 fi
   18907 eval ac_res=\$$as_ac_File
   18908 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18909 $as_echo "$ac_res" >&6; }
   18910 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18911   have_sarea_h="yes"
   18912 else
   18913   have_sarea_h="no"
   18914 fi
   18915 
   18916         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   18917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
   18918 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   18919 if eval \${$as_ac_File+:} false; then :
   18920   $as_echo_n "(cached) " >&6
   18921 else
   18922   test "$cross_compiling" = yes &&
   18923   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18924 if test -r "${sdkdir}/dristruct.h"; then
   18925   eval "$as_ac_File=yes"
   18926 else
   18927   eval "$as_ac_File=no"
   18928 fi
   18929 fi
   18930 eval ac_res=\$$as_ac_File
   18931 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18932 $as_echo "$ac_res" >&6; }
   18933 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18934   have_dristruct_h="yes"
   18935 else
   18936   have_dristruct_h="no"
   18937 fi
   18938 
   18939 fi
   18940 
   18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   18942 $as_echo_n "checking whether to include DRI support... " >&6; }
   18943 if test x$DRI = xauto; then
   18944         if test "$have_dri_h" = yes -a \
   18945                 "$have_sarea_h" = yes -a \
   18946                 "$have_dristruct_h" = yes; then
   18947                 DRI="yes"
   18948         else
   18949                 DRI="no"
   18950         fi
   18951 fi
   18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   18953 $as_echo "$DRI" >&6; }
   18954 
   18955  if test x$DRI = xyes; then
   18956   DRI_TRUE=
   18957   DRI_FALSE='#'
   18958 else
   18959   DRI_TRUE='#'
   18960   DRI_FALSE=
   18961 fi
   18962 
   18963 if test "$DRI" = yes; then
   18964 
   18965 pkg_failed=no
   18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   18967 $as_echo_n "checking for DRI... " >&6; }
   18968 
   18969 if test -n "$DRI_CFLAGS"; then
   18970     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   18971  elif test -n "$PKG_CONFIG"; then
   18972     if test -n "$PKG_CONFIG" && \
   18973     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18974   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18975   ac_status=$?
   18976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18977   test $ac_status = 0; }; then
   18978   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18979 		      test "x$?" != "x0" && pkg_failed=yes
   18980 else
   18981   pkg_failed=yes
   18982 fi
   18983  else
   18984     pkg_failed=untried
   18985 fi
   18986 if test -n "$DRI_LIBS"; then
   18987     pkg_cv_DRI_LIBS="$DRI_LIBS"
   18988  elif test -n "$PKG_CONFIG"; then
   18989     if test -n "$PKG_CONFIG" && \
   18990     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18991   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18992   ac_status=$?
   18993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18994   test $ac_status = 0; }; then
   18995   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18996 		      test "x$?" != "x0" && pkg_failed=yes
   18997 else
   18998   pkg_failed=yes
   18999 fi
   19000  else
   19001     pkg_failed=untried
   19002 fi
   19003 
   19004 
   19005 
   19006 if test $pkg_failed = yes; then
   19007    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19008 $as_echo "no" >&6; }
   19009 
   19010 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19011         _pkg_short_errors_supported=yes
   19012 else
   19013         _pkg_short_errors_supported=no
   19014 fi
   19015         if test $_pkg_short_errors_supported = yes; then
   19016 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   19017         else
   19018 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   19019         fi
   19020 	# Put the nasty error message in config.log where it belongs
   19021 	echo "$DRI_PKG_ERRORS" >&5
   19022 
   19023 	as_fn_error $? "Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   19024 
   19025 $DRI_PKG_ERRORS
   19026 
   19027 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19028 installed software in a non-standard prefix.
   19029 
   19030 Alternatively, you may set the environment variables DRI_CFLAGS
   19031 and DRI_LIBS to avoid the need to call pkg-config.
   19032 See the pkg-config man page for more details." "$LINENO" 5
   19033 elif test $pkg_failed = untried; then
   19034      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19035 $as_echo "no" >&6; }
   19036 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19038 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19039 is in your PATH or set the PKG_CONFIG environment variable to the full
   19040 path to pkg-config.
   19041 
   19042 Alternatively, you may set the environment variables DRI_CFLAGS
   19043 and DRI_LIBS to avoid the need to call pkg-config.
   19044 See the pkg-config man page for more details.
   19045 
   19046 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19047 See \`config.log' for more details" "$LINENO" 5; }
   19048 else
   19049 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   19050 	DRI_LIBS=$pkg_cv_DRI_LIBS
   19051         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19052 $as_echo "yes" >&6; }
   19053 
   19054 fi
   19055 
   19056 $as_echo "#define SISDRI 1" >>confdefs.h
   19057 
   19058 
   19059 $as_echo "#define SISDRI_DEVEL 1" >>confdefs.h
   19060 
   19061 fi
   19062 
   19063 # Check whether --enable-xaa was given.
   19064 if test "${enable_xaa+set}" = set; then :
   19065   enableval=$enable_xaa; XAA="$enableval"
   19066 else
   19067   XAA=auto
   19068 fi
   19069 
   19070 if test "x$XAA" != xno; then
   19071         save_CFLAGS=$CFLAGS
   19072         save_CPPFLAGS=$CPPFLAGS
   19073         CFLAGS=$XORG_CFLAGS
   19074         CPPFLAGS="$XORG_CFLAGS"
   19075         for ac_header in xaa.h
   19076 do :
   19077   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   19078 if test "x$ac_cv_header_xaa_h" = xyes; then :
   19079   cat >>confdefs.h <<_ACEOF
   19080 #define HAVE_XAA_H 1
   19081 _ACEOF
   19082  XAA=yes
   19083 else
   19084   XAA=no
   19085 fi
   19086 
   19087 done
   19088 
   19089         CFLAGS=$save_CFLAGS
   19090         CPPFLAGS=$save_CPPFLAGS
   19091 fi
   19092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   19093 $as_echo_n "checking whether to include XAA support... " >&6; }
   19094  if test "x$XAA" = xyes; then
   19095   XAA_TRUE=
   19096   XAA_FALSE='#'
   19097 else
   19098   XAA_TRUE='#'
   19099   XAA_FALSE=
   19100 fi
   19101 
   19102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   19103 $as_echo "$XAA" >&6; }
   19104 
   19105 # technically this should be a configure flag.  meh.
   19106 
   19107 $as_echo "#define XF86EXA 1" >>confdefs.h
   19108 
   19109 
   19110 SAVE_CPPFLAGS="$CPPFLAGS"
   19111 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19112 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   19113 "
   19114 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   19115   XSERVER_LIBPCIACCESS=yes
   19116 else
   19117   XSERVER_LIBPCIACCESS=no
   19118 fi
   19119 
   19120 CPPFLAGS="$SAVE_CPPFLAGS"
   19121 
   19122 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19123 
   19124 pkg_failed=no
   19125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   19126 $as_echo_n "checking for PCIACCESS... " >&6; }
   19127 
   19128 if test -n "$PCIACCESS_CFLAGS"; then
   19129     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   19130  elif test -n "$PKG_CONFIG"; then
   19131     if test -n "$PKG_CONFIG" && \
   19132     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.12.901\""; } >&5
   19133   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.12.901") 2>&5
   19134   ac_status=$?
   19135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19136   test $ac_status = 0; }; then
   19137   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.12.901" 2>/dev/null`
   19138 		      test "x$?" != "x0" && pkg_failed=yes
   19139 else
   19140   pkg_failed=yes
   19141 fi
   19142  else
   19143     pkg_failed=untried
   19144 fi
   19145 if test -n "$PCIACCESS_LIBS"; then
   19146     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   19147  elif test -n "$PKG_CONFIG"; then
   19148     if test -n "$PKG_CONFIG" && \
   19149     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.12.901\""; } >&5
   19150   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.12.901") 2>&5
   19151   ac_status=$?
   19152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19153   test $ac_status = 0; }; then
   19154   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.12.901" 2>/dev/null`
   19155 		      test "x$?" != "x0" && pkg_failed=yes
   19156 else
   19157   pkg_failed=yes
   19158 fi
   19159  else
   19160     pkg_failed=untried
   19161 fi
   19162 
   19163 
   19164 
   19165 if test $pkg_failed = yes; then
   19166    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19167 $as_echo "no" >&6; }
   19168 
   19169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19170         _pkg_short_errors_supported=yes
   19171 else
   19172         _pkg_short_errors_supported=no
   19173 fi
   19174         if test $_pkg_short_errors_supported = yes; then
   19175 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.12.901" 2>&1`
   19176         else
   19177 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.12.901" 2>&1`
   19178         fi
   19179 	# Put the nasty error message in config.log where it belongs
   19180 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19181 
   19182 	as_fn_error $? "Package requirements (pciaccess >= 0.12.901) were not met:
   19183 
   19184 $PCIACCESS_PKG_ERRORS
   19185 
   19186 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19187 installed software in a non-standard prefix.
   19188 
   19189 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19190 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19191 See the pkg-config man page for more details." "$LINENO" 5
   19192 elif test $pkg_failed = untried; then
   19193      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19194 $as_echo "no" >&6; }
   19195 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19197 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19198 is in your PATH or set the PKG_CONFIG environment variable to the full
   19199 path to pkg-config.
   19200 
   19201 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19202 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19203 See the pkg-config man page for more details.
   19204 
   19205 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19206 See \`config.log' for more details" "$LINENO" 5; }
   19207 else
   19208 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19209 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19210         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19211 $as_echo "yes" >&6; }
   19212 
   19213 fi
   19214     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   19215 fi
   19216  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19217   XSERVER_LIBPCIACCESS_TRUE=
   19218   XSERVER_LIBPCIACCESS_FALSE='#'
   19219 else
   19220   XSERVER_LIBPCIACCESS_TRUE='#'
   19221   XSERVER_LIBPCIACCESS_FALSE=
   19222 fi
   19223 
   19224 
   19225 
   19226 
   19227 DRIVER_NAME=sis
   19228 
   19229 
   19230 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19231 
   19232 cat >confcache <<\_ACEOF
   19233 # This file is a shell script that caches the results of configure
   19234 # tests run on this system so they can be shared between configure
   19235 # scripts and configure runs, see configure's option --config-cache.
   19236 # It is not useful on other systems.  If it contains results you don't
   19237 # want to keep, you may remove or edit it.
   19238 #
   19239 # config.status only pays attention to the cache file if you give it
   19240 # the --recheck option to rerun configure.
   19241 #
   19242 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19243 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19244 # following values.
   19245 
   19246 _ACEOF
   19247 
   19248 # The following way of writing the cache mishandles newlines in values,
   19249 # but we know of no workaround that is simple, portable, and efficient.
   19250 # So, we kill variables containing newlines.
   19251 # Ultrix sh set writes to stderr and can't be redirected directly,
   19252 # and sets the high bit in the cache file unless we assign to the vars.
   19253 (
   19254   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19255     eval ac_val=\$$ac_var
   19256     case $ac_val in #(
   19257     *${as_nl}*)
   19258       case $ac_var in #(
   19259       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19260 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19261       esac
   19262       case $ac_var in #(
   19263       _ | IFS | as_nl) ;; #(
   19264       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19265       *) { eval $ac_var=; unset $ac_var;} ;;
   19266       esac ;;
   19267     esac
   19268   done
   19269 
   19270   (set) 2>&1 |
   19271     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19272     *${as_nl}ac_space=\ *)
   19273       # `set' does not quote correctly, so add quotes: double-quote
   19274       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19275       sed -n \
   19276 	"s/'/'\\\\''/g;
   19277 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19278       ;; #(
   19279     *)
   19280       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19281       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19282       ;;
   19283     esac |
   19284     sort
   19285 ) |
   19286   sed '
   19287      /^ac_cv_env_/b end
   19288      t clear
   19289      :clear
   19290      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19291      t end
   19292      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19293      :end' >>confcache
   19294 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19295   if test -w "$cache_file"; then
   19296     if test "x$cache_file" != "x/dev/null"; then
   19297       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19298 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19299       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19300 	cat confcache >"$cache_file"
   19301       else
   19302         case $cache_file in #(
   19303         */* | ?:*)
   19304 	  mv -f confcache "$cache_file"$$ &&
   19305 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19306         *)
   19307 	  mv -f confcache "$cache_file" ;;
   19308 	esac
   19309       fi
   19310     fi
   19311   else
   19312     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19313 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19314   fi
   19315 fi
   19316 rm -f confcache
   19317 
   19318 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19319 # Let make expand exec_prefix.
   19320 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19321 
   19322 DEFS=-DHAVE_CONFIG_H
   19323 
   19324 ac_libobjs=
   19325 ac_ltlibobjs=
   19326 U=
   19327 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19328   # 1. Remove the extension, and $U if already installed.
   19329   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19330   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19331   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19332   #    will be set to the directory where LIBOBJS objects are built.
   19333   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19334   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19335 done
   19336 LIBOBJS=$ac_libobjs
   19337 
   19338 LTLIBOBJS=$ac_ltlibobjs
   19339 
   19340 
   19341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19342 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19343    if test -n "$am_sleep_pid"; then
   19344      # Hide warnings about reused PIDs.
   19345      wait $am_sleep_pid 2>/dev/null
   19346    fi
   19347    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19348 $as_echo "done" >&6; }
   19349  if test -n "$EXEEXT"; then
   19350   am__EXEEXT_TRUE=
   19351   am__EXEEXT_FALSE='#'
   19352 else
   19353   am__EXEEXT_TRUE='#'
   19354   am__EXEEXT_FALSE=
   19355 fi
   19356 
   19357 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19358   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19360 fi
   19361 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19362   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19364 fi
   19365 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19366   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19368 fi
   19369 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   19370   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   19371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19372 fi
   19373 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   19374   as_fn_error $? "conditional \"DRI\" was never defined.
   19375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19376 fi
   19377 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19378   as_fn_error $? "conditional \"XAA\" was never defined.
   19379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19380 fi
   19381 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   19382   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   19383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19384 fi
   19385 
   19386 : "${CONFIG_STATUS=./config.status}"
   19387 ac_write_fail=0
   19388 ac_clean_files_save=$ac_clean_files
   19389 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19390 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19391 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19392 as_write_fail=0
   19393 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19394 #! $SHELL
   19395 # Generated by $as_me.
   19396 # Run this file to recreate the current configuration.
   19397 # Compiler output produced by configure, useful for debugging
   19398 # configure, is in config.log if it exists.
   19399 
   19400 debug=false
   19401 ac_cs_recheck=false
   19402 ac_cs_silent=false
   19403 
   19404 SHELL=\${CONFIG_SHELL-$SHELL}
   19405 export SHELL
   19406 _ASEOF
   19407 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19408 ## -------------------- ##
   19409 ## M4sh Initialization. ##
   19410 ## -------------------- ##
   19411 
   19412 # Be more Bourne compatible
   19413 DUALCASE=1; export DUALCASE # for MKS sh
   19414 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19415   emulate sh
   19416   NULLCMD=:
   19417   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19418   # is contrary to our usage.  Disable this feature.
   19419   alias -g '${1+"$@"}'='"$@"'
   19420   setopt NO_GLOB_SUBST
   19421 else
   19422   case `(set -o) 2>/dev/null` in #(
   19423   *posix*) :
   19424     set -o posix ;; #(
   19425   *) :
   19426      ;;
   19427 esac
   19428 fi
   19429 
   19430 
   19431 as_nl='
   19432 '
   19433 export as_nl
   19434 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19435 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19436 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19437 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19438 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19439 # but without wasting forks for bash or zsh.
   19440 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19441     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19442   as_echo='print -r --'
   19443   as_echo_n='print -rn --'
   19444 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19445   as_echo='printf %s\n'
   19446   as_echo_n='printf %s'
   19447 else
   19448   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19449     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19450     as_echo_n='/usr/ucb/echo -n'
   19451   else
   19452     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19453     as_echo_n_body='eval
   19454       arg=$1;
   19455       case $arg in #(
   19456       *"$as_nl"*)
   19457 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19458 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19459       esac;
   19460       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19461     '
   19462     export as_echo_n_body
   19463     as_echo_n='sh -c $as_echo_n_body as_echo'
   19464   fi
   19465   export as_echo_body
   19466   as_echo='sh -c $as_echo_body as_echo'
   19467 fi
   19468 
   19469 # The user is always right.
   19470 if test "${PATH_SEPARATOR+set}" != set; then
   19471   PATH_SEPARATOR=:
   19472   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19473     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19474       PATH_SEPARATOR=';'
   19475   }
   19476 fi
   19477 
   19478 
   19479 # IFS
   19480 # We need space, tab and new line, in precisely that order.  Quoting is
   19481 # there to prevent editors from complaining about space-tab.
   19482 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19483 # splitting by setting IFS to empty value.)
   19484 IFS=" ""	$as_nl"
   19485 
   19486 # Find who we are.  Look in the path if we contain no directory separator.
   19487 as_myself=
   19488 case $0 in #((
   19489   *[\\/]* ) as_myself=$0 ;;
   19490   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19491 for as_dir in $PATH
   19492 do
   19493   IFS=$as_save_IFS
   19494   test -z "$as_dir" && as_dir=.
   19495     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19496   done
   19497 IFS=$as_save_IFS
   19498 
   19499      ;;
   19500 esac
   19501 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19502 # in which case we are not to be found in the path.
   19503 if test "x$as_myself" = x; then
   19504   as_myself=$0
   19505 fi
   19506 if test ! -f "$as_myself"; then
   19507   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19508   exit 1
   19509 fi
   19510 
   19511 # Unset variables that we do not need and which cause bugs (e.g. in
   19512 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19513 # suppresses any "Segmentation fault" message there.  '((' could
   19514 # trigger a bug in pdksh 5.2.14.
   19515 for as_var in BASH_ENV ENV MAIL MAILPATH
   19516 do eval test x\${$as_var+set} = xset \
   19517   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19518 done
   19519 PS1='$ '
   19520 PS2='> '
   19521 PS4='+ '
   19522 
   19523 # NLS nuisances.
   19524 LC_ALL=C
   19525 export LC_ALL
   19526 LANGUAGE=C
   19527 export LANGUAGE
   19528 
   19529 # CDPATH.
   19530 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19531 
   19532 
   19533 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19534 # ----------------------------------------
   19535 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19536 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19537 # script with STATUS, using 1 if that was 0.
   19538 as_fn_error ()
   19539 {
   19540   as_status=$1; test $as_status -eq 0 && as_status=1
   19541   if test "$4"; then
   19542     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19543     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19544   fi
   19545   $as_echo "$as_me: error: $2" >&2
   19546   as_fn_exit $as_status
   19547 } # as_fn_error
   19548 
   19549 
   19550 # as_fn_set_status STATUS
   19551 # -----------------------
   19552 # Set $? to STATUS, without forking.
   19553 as_fn_set_status ()
   19554 {
   19555   return $1
   19556 } # as_fn_set_status
   19557 
   19558 # as_fn_exit STATUS
   19559 # -----------------
   19560 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19561 as_fn_exit ()
   19562 {
   19563   set +e
   19564   as_fn_set_status $1
   19565   exit $1
   19566 } # as_fn_exit
   19567 
   19568 # as_fn_unset VAR
   19569 # ---------------
   19570 # Portably unset VAR.
   19571 as_fn_unset ()
   19572 {
   19573   { eval $1=; unset $1;}
   19574 }
   19575 as_unset=as_fn_unset
   19576 # as_fn_append VAR VALUE
   19577 # ----------------------
   19578 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19579 # advantage of any shell optimizations that allow amortized linear growth over
   19580 # repeated appends, instead of the typical quadratic growth present in naive
   19581 # implementations.
   19582 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19583   eval 'as_fn_append ()
   19584   {
   19585     eval $1+=\$2
   19586   }'
   19587 else
   19588   as_fn_append ()
   19589   {
   19590     eval $1=\$$1\$2
   19591   }
   19592 fi # as_fn_append
   19593 
   19594 # as_fn_arith ARG...
   19595 # ------------------
   19596 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19597 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19598 # must be portable across $(()) and expr.
   19599 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19600   eval 'as_fn_arith ()
   19601   {
   19602     as_val=$(( $* ))
   19603   }'
   19604 else
   19605   as_fn_arith ()
   19606   {
   19607     as_val=`expr "$@" || test $? -eq 1`
   19608   }
   19609 fi # as_fn_arith
   19610 
   19611 
   19612 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19613    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19614   as_expr=expr
   19615 else
   19616   as_expr=false
   19617 fi
   19618 
   19619 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19620   as_basename=basename
   19621 else
   19622   as_basename=false
   19623 fi
   19624 
   19625 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19626   as_dirname=dirname
   19627 else
   19628   as_dirname=false
   19629 fi
   19630 
   19631 as_me=`$as_basename -- "$0" ||
   19632 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19633 	 X"$0" : 'X\(//\)$' \| \
   19634 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19635 $as_echo X/"$0" |
   19636     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19637 	    s//\1/
   19638 	    q
   19639 	  }
   19640 	  /^X\/\(\/\/\)$/{
   19641 	    s//\1/
   19642 	    q
   19643 	  }
   19644 	  /^X\/\(\/\).*/{
   19645 	    s//\1/
   19646 	    q
   19647 	  }
   19648 	  s/.*/./; q'`
   19649 
   19650 # Avoid depending upon Character Ranges.
   19651 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19652 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19653 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19654 as_cr_digits='0123456789'
   19655 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19656 
   19657 ECHO_C= ECHO_N= ECHO_T=
   19658 case `echo -n x` in #(((((
   19659 -n*)
   19660   case `echo 'xy\c'` in
   19661   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19662   xy)  ECHO_C='\c';;
   19663   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19664        ECHO_T='	';;
   19665   esac;;
   19666 *)
   19667   ECHO_N='-n';;
   19668 esac
   19669 
   19670 rm -f conf$$ conf$$.exe conf$$.file
   19671 if test -d conf$$.dir; then
   19672   rm -f conf$$.dir/conf$$.file
   19673 else
   19674   rm -f conf$$.dir
   19675   mkdir conf$$.dir 2>/dev/null
   19676 fi
   19677 if (echo >conf$$.file) 2>/dev/null; then
   19678   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19679     as_ln_s='ln -s'
   19680     # ... but there are two gotchas:
   19681     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19682     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19683     # In both cases, we have to default to `cp -pR'.
   19684     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19685       as_ln_s='cp -pR'
   19686   elif ln conf$$.file conf$$ 2>/dev/null; then
   19687     as_ln_s=ln
   19688   else
   19689     as_ln_s='cp -pR'
   19690   fi
   19691 else
   19692   as_ln_s='cp -pR'
   19693 fi
   19694 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19695 rmdir conf$$.dir 2>/dev/null
   19696 
   19697 
   19698 # as_fn_mkdir_p
   19699 # -------------
   19700 # Create "$as_dir" as a directory, including parents if necessary.
   19701 as_fn_mkdir_p ()
   19702 {
   19703 
   19704   case $as_dir in #(
   19705   -*) as_dir=./$as_dir;;
   19706   esac
   19707   test -d "$as_dir" || eval $as_mkdir_p || {
   19708     as_dirs=
   19709     while :; do
   19710       case $as_dir in #(
   19711       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19712       *) as_qdir=$as_dir;;
   19713       esac
   19714       as_dirs="'$as_qdir' $as_dirs"
   19715       as_dir=`$as_dirname -- "$as_dir" ||
   19716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19717 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19718 	 X"$as_dir" : 'X\(//\)$' \| \
   19719 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19720 $as_echo X"$as_dir" |
   19721     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19722 	    s//\1/
   19723 	    q
   19724 	  }
   19725 	  /^X\(\/\/\)[^/].*/{
   19726 	    s//\1/
   19727 	    q
   19728 	  }
   19729 	  /^X\(\/\/\)$/{
   19730 	    s//\1/
   19731 	    q
   19732 	  }
   19733 	  /^X\(\/\).*/{
   19734 	    s//\1/
   19735 	    q
   19736 	  }
   19737 	  s/.*/./; q'`
   19738       test -d "$as_dir" && break
   19739     done
   19740     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19741   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19742 
   19743 
   19744 } # as_fn_mkdir_p
   19745 if mkdir -p . 2>/dev/null; then
   19746   as_mkdir_p='mkdir -p "$as_dir"'
   19747 else
   19748   test -d ./-p && rmdir ./-p
   19749   as_mkdir_p=false
   19750 fi
   19751 
   19752 
   19753 # as_fn_executable_p FILE
   19754 # -----------------------
   19755 # Test if FILE is an executable regular file.
   19756 as_fn_executable_p ()
   19757 {
   19758   test -f "$1" && test -x "$1"
   19759 } # as_fn_executable_p
   19760 as_test_x='test -x'
   19761 as_executable_p=as_fn_executable_p
   19762 
   19763 # Sed expression to map a string onto a valid CPP name.
   19764 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19765 
   19766 # Sed expression to map a string onto a valid variable name.
   19767 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19768 
   19769 
   19770 exec 6>&1
   19771 ## ----------------------------------- ##
   19772 ## Main body of $CONFIG_STATUS script. ##
   19773 ## ----------------------------------- ##
   19774 _ASEOF
   19775 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19776 
   19777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19778 # Save the log message, to keep $0 and so on meaningful, and to
   19779 # report actual input values of CONFIG_FILES etc. instead of their
   19780 # values after options handling.
   19781 ac_log="
   19782 This file was extended by xf86-video-sis $as_me 0.10.9, which was
   19783 generated by GNU Autoconf 2.69.  Invocation command line was
   19784 
   19785   CONFIG_FILES    = $CONFIG_FILES
   19786   CONFIG_HEADERS  = $CONFIG_HEADERS
   19787   CONFIG_LINKS    = $CONFIG_LINKS
   19788   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19789   $ $0 $@
   19790 
   19791 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19792 "
   19793 
   19794 _ACEOF
   19795 
   19796 case $ac_config_files in *"
   19797 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19798 esac
   19799 
   19800 case $ac_config_headers in *"
   19801 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19802 esac
   19803 
   19804 
   19805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19806 # Files that config.status was made for.
   19807 config_files="$ac_config_files"
   19808 config_headers="$ac_config_headers"
   19809 config_commands="$ac_config_commands"
   19810 
   19811 _ACEOF
   19812 
   19813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19814 ac_cs_usage="\
   19815 \`$as_me' instantiates files and other configuration actions
   19816 from templates according to the current configuration.  Unless the files
   19817 and actions are specified as TAGs, all are instantiated by default.
   19818 
   19819 Usage: $0 [OPTION]... [TAG]...
   19820 
   19821   -h, --help       print this help, then exit
   19822   -V, --version    print version number and configuration settings, then exit
   19823       --config     print configuration, then exit
   19824   -q, --quiet, --silent
   19825                    do not print progress messages
   19826   -d, --debug      don't remove temporary files
   19827       --recheck    update $as_me by reconfiguring in the same conditions
   19828       --file=FILE[:TEMPLATE]
   19829                    instantiate the configuration file FILE
   19830       --header=FILE[:TEMPLATE]
   19831                    instantiate the configuration header FILE
   19832 
   19833 Configuration files:
   19834 $config_files
   19835 
   19836 Configuration headers:
   19837 $config_headers
   19838 
   19839 Configuration commands:
   19840 $config_commands
   19841 
   19842 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19843 
   19844 _ACEOF
   19845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19846 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19847 ac_cs_version="\\
   19848 xf86-video-sis config.status 0.10.9
   19849 configured by $0, generated by GNU Autoconf 2.69,
   19850   with options \\"\$ac_cs_config\\"
   19851 
   19852 Copyright (C) 2012 Free Software Foundation, Inc.
   19853 This config.status script is free software; the Free Software Foundation
   19854 gives unlimited permission to copy, distribute and modify it."
   19855 
   19856 ac_pwd='$ac_pwd'
   19857 srcdir='$srcdir'
   19858 INSTALL='$INSTALL'
   19859 MKDIR_P='$MKDIR_P'
   19860 AWK='$AWK'
   19861 test -n "\$AWK" || AWK=awk
   19862 _ACEOF
   19863 
   19864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19865 # The default lists apply if the user does not specify any file.
   19866 ac_need_defaults=:
   19867 while test $# != 0
   19868 do
   19869   case $1 in
   19870   --*=?*)
   19871     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19872     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19873     ac_shift=:
   19874     ;;
   19875   --*=)
   19876     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19877     ac_optarg=
   19878     ac_shift=:
   19879     ;;
   19880   *)
   19881     ac_option=$1
   19882     ac_optarg=$2
   19883     ac_shift=shift
   19884     ;;
   19885   esac
   19886 
   19887   case $ac_option in
   19888   # Handling of the options.
   19889   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19890     ac_cs_recheck=: ;;
   19891   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19892     $as_echo "$ac_cs_version"; exit ;;
   19893   --config | --confi | --conf | --con | --co | --c )
   19894     $as_echo "$ac_cs_config"; exit ;;
   19895   --debug | --debu | --deb | --de | --d | -d )
   19896     debug=: ;;
   19897   --file | --fil | --fi | --f )
   19898     $ac_shift
   19899     case $ac_optarg in
   19900     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19901     '') as_fn_error $? "missing file argument" ;;
   19902     esac
   19903     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19904     ac_need_defaults=false;;
   19905   --header | --heade | --head | --hea )
   19906     $ac_shift
   19907     case $ac_optarg in
   19908     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19909     esac
   19910     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19911     ac_need_defaults=false;;
   19912   --he | --h)
   19913     # Conflict between --help and --header
   19914     as_fn_error $? "ambiguous option: \`$1'
   19915 Try \`$0 --help' for more information.";;
   19916   --help | --hel | -h )
   19917     $as_echo "$ac_cs_usage"; exit ;;
   19918   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19919   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19920     ac_cs_silent=: ;;
   19921 
   19922   # This is an error.
   19923   -*) as_fn_error $? "unrecognized option: \`$1'
   19924 Try \`$0 --help' for more information." ;;
   19925 
   19926   *) as_fn_append ac_config_targets " $1"
   19927      ac_need_defaults=false ;;
   19928 
   19929   esac
   19930   shift
   19931 done
   19932 
   19933 ac_configure_extra_args=
   19934 
   19935 if $ac_cs_silent; then
   19936   exec 6>/dev/null
   19937   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19938 fi
   19939 
   19940 _ACEOF
   19941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19942 if \$ac_cs_recheck; then
   19943   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19944   shift
   19945   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19946   CONFIG_SHELL='$SHELL'
   19947   export CONFIG_SHELL
   19948   exec "\$@"
   19949 fi
   19950 
   19951 _ACEOF
   19952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19953 exec 5>>config.log
   19954 {
   19955   echo
   19956   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19957 ## Running $as_me. ##
   19958 _ASBOX
   19959   $as_echo "$ac_log"
   19960 } >&5
   19961 
   19962 _ACEOF
   19963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19964 #
   19965 # INIT-COMMANDS
   19966 #
   19967 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19968 
   19969 
   19970 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19971 # if CDPATH is set.
   19972 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19973 
   19974 sed_quote_subst='$sed_quote_subst'
   19975 double_quote_subst='$double_quote_subst'
   19976 delay_variable_subst='$delay_variable_subst'
   19977 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19978 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19979 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19980 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19981 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19982 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19983 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19984 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19985 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19986 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19987 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19988 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19989 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19990 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19991 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19992 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19993 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19994 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19995 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19996 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19997 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19998 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19999 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20000 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20001 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20002 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20003 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20004 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20005 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20006 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20007 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20008 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20009 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20010 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20011 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20012 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20013 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20014 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20015 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20016 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20017 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20018 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20019 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20020 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20021 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20022 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20023 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20024 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20025 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20026 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20027 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20028 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20029 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20030 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20031 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20032 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20033 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20034 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20035 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"`'
   20036 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20037 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20038 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20039 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20040 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20041 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20042 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20043 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20044 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20045 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20046 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20047 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20048 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20049 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20050 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20051 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20052 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20053 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20054 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20055 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20056 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20057 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20058 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20059 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20060 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20061 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20062 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20063 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20064 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20065 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20066 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20067 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20068 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20069 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20070 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20071 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20072 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20073 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20074 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20075 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20076 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20077 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20078 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20079 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20080 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20081 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20082 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20083 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20084 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20085 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20086 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20087 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20088 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20089 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20090 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20091 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20092 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20093 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20094 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20095 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20096 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20097 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20098 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20099 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20100 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20101 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20102 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20103 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20104 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20105 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20106 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20107 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20108 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20109 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20110 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20111 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20112 
   20113 LTCC='$LTCC'
   20114 LTCFLAGS='$LTCFLAGS'
   20115 compiler='$compiler_DEFAULT'
   20116 
   20117 # A function that is used when there is no print builtin or printf.
   20118 func_fallback_echo ()
   20119 {
   20120   eval 'cat <<_LTECHO_EOF
   20121 \$1
   20122 _LTECHO_EOF'
   20123 }
   20124 
   20125 # Quote evaled strings.
   20126 for var in SHELL \
   20127 ECHO \
   20128 PATH_SEPARATOR \
   20129 SED \
   20130 GREP \
   20131 EGREP \
   20132 FGREP \
   20133 LD \
   20134 NM \
   20135 LN_S \
   20136 lt_SP2NL \
   20137 lt_NL2SP \
   20138 reload_flag \
   20139 OBJDUMP \
   20140 deplibs_check_method \
   20141 file_magic_cmd \
   20142 file_magic_glob \
   20143 want_nocaseglob \
   20144 DLLTOOL \
   20145 sharedlib_from_linklib_cmd \
   20146 AR \
   20147 AR_FLAGS \
   20148 archiver_list_spec \
   20149 STRIP \
   20150 RANLIB \
   20151 CC \
   20152 CFLAGS \
   20153 compiler \
   20154 lt_cv_sys_global_symbol_pipe \
   20155 lt_cv_sys_global_symbol_to_cdecl \
   20156 lt_cv_sys_global_symbol_to_import \
   20157 lt_cv_sys_global_symbol_to_c_name_address \
   20158 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20159 lt_cv_nm_interface \
   20160 nm_file_list_spec \
   20161 lt_cv_truncate_bin \
   20162 lt_prog_compiler_no_builtin_flag \
   20163 lt_prog_compiler_pic \
   20164 lt_prog_compiler_wl \
   20165 lt_prog_compiler_static \
   20166 lt_cv_prog_compiler_c_o \
   20167 need_locks \
   20168 MANIFEST_TOOL \
   20169 DSYMUTIL \
   20170 NMEDIT \
   20171 LIPO \
   20172 OTOOL \
   20173 OTOOL64 \
   20174 shrext_cmds \
   20175 export_dynamic_flag_spec \
   20176 whole_archive_flag_spec \
   20177 compiler_needs_object \
   20178 with_gnu_ld \
   20179 allow_undefined_flag \
   20180 no_undefined_flag \
   20181 hardcode_libdir_flag_spec \
   20182 hardcode_libdir_separator \
   20183 exclude_expsyms \
   20184 include_expsyms \
   20185 file_list_spec \
   20186 variables_saved_for_relink \
   20187 libname_spec \
   20188 library_names_spec \
   20189 soname_spec \
   20190 install_override_mode \
   20191 finish_eval \
   20192 old_striplib \
   20193 striplib; do
   20194     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20195     *[\\\\\\\`\\"\\\$]*)
   20196       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20197       ;;
   20198     *)
   20199       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20200       ;;
   20201     esac
   20202 done
   20203 
   20204 # Double-quote double-evaled strings.
   20205 for var in reload_cmds \
   20206 old_postinstall_cmds \
   20207 old_postuninstall_cmds \
   20208 old_archive_cmds \
   20209 extract_expsyms_cmds \
   20210 old_archive_from_new_cmds \
   20211 old_archive_from_expsyms_cmds \
   20212 archive_cmds \
   20213 archive_expsym_cmds \
   20214 module_cmds \
   20215 module_expsym_cmds \
   20216 export_symbols_cmds \
   20217 prelink_cmds \
   20218 postlink_cmds \
   20219 postinstall_cmds \
   20220 postuninstall_cmds \
   20221 finish_cmds \
   20222 sys_lib_search_path_spec \
   20223 configure_time_dlsearch_path \
   20224 configure_time_lt_sys_library_path; do
   20225     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20226     *[\\\\\\\`\\"\\\$]*)
   20227       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20228       ;;
   20229     *)
   20230       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20231       ;;
   20232     esac
   20233 done
   20234 
   20235 ac_aux_dir='$ac_aux_dir'
   20236 
   20237 # See if we are running on zsh, and set the options that allow our
   20238 # commands through without removal of \ escapes INIT.
   20239 if test -n "\${ZSH_VERSION+set}"; then
   20240    setopt NO_GLOB_SUBST
   20241 fi
   20242 
   20243 
   20244     PACKAGE='$PACKAGE'
   20245     VERSION='$VERSION'
   20246     RM='$RM'
   20247     ofile='$ofile'
   20248 
   20249 
   20250 
   20251 
   20252 _ACEOF
   20253 
   20254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20255 
   20256 # Handling of arguments.
   20257 for ac_config_target in $ac_config_targets
   20258 do
   20259   case $ac_config_target in
   20260     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20261     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20262     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20263     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20264     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20265     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20266 
   20267   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20268   esac
   20269 done
   20270 
   20271 
   20272 # If the user did not use the arguments to specify the items to instantiate,
   20273 # then the envvar interface is used.  Set only those that are not.
   20274 # We use the long form for the default assignment because of an extremely
   20275 # bizarre bug on SunOS 4.1.3.
   20276 if $ac_need_defaults; then
   20277   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20278   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20279   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20280 fi
   20281 
   20282 # Have a temporary directory for convenience.  Make it in the build tree
   20283 # simply because there is no reason against having it here, and in addition,
   20284 # creating and moving files from /tmp can sometimes cause problems.
   20285 # Hook for its removal unless debugging.
   20286 # Note that there is a small window in which the directory will not be cleaned:
   20287 # after its creation but before its name has been assigned to `$tmp'.
   20288 $debug ||
   20289 {
   20290   tmp= ac_tmp=
   20291   trap 'exit_status=$?
   20292   : "${ac_tmp:=$tmp}"
   20293   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20294 ' 0
   20295   trap 'as_fn_exit 1' 1 2 13 15
   20296 }
   20297 # Create a (secure) tmp directory for tmp files.
   20298 
   20299 {
   20300   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20301   test -d "$tmp"
   20302 }  ||
   20303 {
   20304   tmp=./conf$$-$RANDOM
   20305   (umask 077 && mkdir "$tmp")
   20306 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20307 ac_tmp=$tmp
   20308 
   20309 # Set up the scripts for CONFIG_FILES section.
   20310 # No need to generate them if there are no CONFIG_FILES.
   20311 # This happens for instance with `./config.status config.h'.
   20312 if test -n "$CONFIG_FILES"; then
   20313 
   20314 
   20315 ac_cr=`echo X | tr X '\015'`
   20316 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20317 # But we know of no other shell where ac_cr would be empty at this
   20318 # point, so we can use a bashism as a fallback.
   20319 if test "x$ac_cr" = x; then
   20320   eval ac_cr=\$\'\\r\'
   20321 fi
   20322 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20323 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20324   ac_cs_awk_cr='\\r'
   20325 else
   20326   ac_cs_awk_cr=$ac_cr
   20327 fi
   20328 
   20329 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20330 _ACEOF
   20331 
   20332 
   20333 {
   20334   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20335   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20336   echo "_ACEOF"
   20337 } >conf$$subs.sh ||
   20338   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20339 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20340 ac_delim='%!_!# '
   20341 for ac_last_try in false false false false false :; do
   20342   . ./conf$$subs.sh ||
   20343     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20344 
   20345   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20346   if test $ac_delim_n = $ac_delim_num; then
   20347     break
   20348   elif $ac_last_try; then
   20349     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20350   else
   20351     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20352   fi
   20353 done
   20354 rm -f conf$$subs.sh
   20355 
   20356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20357 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20358 _ACEOF
   20359 sed -n '
   20360 h
   20361 s/^/S["/; s/!.*/"]=/
   20362 p
   20363 g
   20364 s/^[^!]*!//
   20365 :repl
   20366 t repl
   20367 s/'"$ac_delim"'$//
   20368 t delim
   20369 :nl
   20370 h
   20371 s/\(.\{148\}\)..*/\1/
   20372 t more1
   20373 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20374 p
   20375 n
   20376 b repl
   20377 :more1
   20378 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20379 p
   20380 g
   20381 s/.\{148\}//
   20382 t nl
   20383 :delim
   20384 h
   20385 s/\(.\{148\}\)..*/\1/
   20386 t more2
   20387 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20388 p
   20389 b
   20390 :more2
   20391 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20392 p
   20393 g
   20394 s/.\{148\}//
   20395 t delim
   20396 ' <conf$$subs.awk | sed '
   20397 /^[^""]/{
   20398   N
   20399   s/\n//
   20400 }
   20401 ' >>$CONFIG_STATUS || ac_write_fail=1
   20402 rm -f conf$$subs.awk
   20403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20404 _ACAWK
   20405 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20406   for (key in S) S_is_set[key] = 1
   20407   FS = ""
   20408 
   20409 }
   20410 {
   20411   line = $ 0
   20412   nfields = split(line, field, "@")
   20413   substed = 0
   20414   len = length(field[1])
   20415   for (i = 2; i < nfields; i++) {
   20416     key = field[i]
   20417     keylen = length(key)
   20418     if (S_is_set[key]) {
   20419       value = S[key]
   20420       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20421       len += length(value) + length(field[++i])
   20422       substed = 1
   20423     } else
   20424       len += 1 + keylen
   20425   }
   20426 
   20427   print line
   20428 }
   20429 
   20430 _ACAWK
   20431 _ACEOF
   20432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20433 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20434   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20435 else
   20436   cat
   20437 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20438   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20439 _ACEOF
   20440 
   20441 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20442 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20443 # trailing colons and then remove the whole line if VPATH becomes empty
   20444 # (actually we leave an empty line to preserve line numbers).
   20445 if test "x$srcdir" = x.; then
   20446   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20447 h
   20448 s///
   20449 s/^/:/
   20450 s/[	 ]*$/:/
   20451 s/:\$(srcdir):/:/g
   20452 s/:\${srcdir}:/:/g
   20453 s/:@srcdir@:/:/g
   20454 s/^:*//
   20455 s/:*$//
   20456 x
   20457 s/\(=[	 ]*\).*/\1/
   20458 G
   20459 s/\n//
   20460 s/^[^=]*=[	 ]*$//
   20461 }'
   20462 fi
   20463 
   20464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20465 fi # test -n "$CONFIG_FILES"
   20466 
   20467 # Set up the scripts for CONFIG_HEADERS section.
   20468 # No need to generate them if there are no CONFIG_HEADERS.
   20469 # This happens for instance with `./config.status Makefile'.
   20470 if test -n "$CONFIG_HEADERS"; then
   20471 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20472 BEGIN {
   20473 _ACEOF
   20474 
   20475 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20476 # here-document in config.status, that substitutes the proper values into
   20477 # config.h.in to produce config.h.
   20478 
   20479 # Create a delimiter string that does not exist in confdefs.h, to ease
   20480 # handling of long lines.
   20481 ac_delim='%!_!# '
   20482 for ac_last_try in false false :; do
   20483   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20484   if test -z "$ac_tt"; then
   20485     break
   20486   elif $ac_last_try; then
   20487     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20488   else
   20489     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20490   fi
   20491 done
   20492 
   20493 # For the awk script, D is an array of macro values keyed by name,
   20494 # likewise P contains macro parameters if any.  Preserve backslash
   20495 # newline sequences.
   20496 
   20497 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20498 sed -n '
   20499 s/.\{148\}/&'"$ac_delim"'/g
   20500 t rset
   20501 :rset
   20502 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20503 t def
   20504 d
   20505 :def
   20506 s/\\$//
   20507 t bsnl
   20508 s/["\\]/\\&/g
   20509 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20510 D["\1"]=" \3"/p
   20511 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20512 d
   20513 :bsnl
   20514 s/["\\]/\\&/g
   20515 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20516 D["\1"]=" \3\\\\\\n"\\/p
   20517 t cont
   20518 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20519 t cont
   20520 d
   20521 :cont
   20522 n
   20523 s/.\{148\}/&'"$ac_delim"'/g
   20524 t clear
   20525 :clear
   20526 s/\\$//
   20527 t bsnlc
   20528 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20529 d
   20530 :bsnlc
   20531 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20532 b cont
   20533 ' <confdefs.h | sed '
   20534 s/'"$ac_delim"'/"\\\
   20535 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20536 
   20537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20538   for (key in D) D_is_set[key] = 1
   20539   FS = ""
   20540 }
   20541 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20542   line = \$ 0
   20543   split(line, arg, " ")
   20544   if (arg[1] == "#") {
   20545     defundef = arg[2]
   20546     mac1 = arg[3]
   20547   } else {
   20548     defundef = substr(arg[1], 2)
   20549     mac1 = arg[2]
   20550   }
   20551   split(mac1, mac2, "(") #)
   20552   macro = mac2[1]
   20553   prefix = substr(line, 1, index(line, defundef) - 1)
   20554   if (D_is_set[macro]) {
   20555     # Preserve the white space surrounding the "#".
   20556     print prefix "define", macro P[macro] D[macro]
   20557     next
   20558   } else {
   20559     # Replace #undef with comments.  This is necessary, for example,
   20560     # in the case of _POSIX_SOURCE, which is predefined and required
   20561     # on some systems where configure will not decide to define it.
   20562     if (defundef == "undef") {
   20563       print "/*", prefix defundef, macro, "*/"
   20564       next
   20565     }
   20566   }
   20567 }
   20568 { print }
   20569 _ACAWK
   20570 _ACEOF
   20571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20572   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20573 fi # test -n "$CONFIG_HEADERS"
   20574 
   20575 
   20576 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20577 shift
   20578 for ac_tag
   20579 do
   20580   case $ac_tag in
   20581   :[FHLC]) ac_mode=$ac_tag; continue;;
   20582   esac
   20583   case $ac_mode$ac_tag in
   20584   :[FHL]*:*);;
   20585   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20586   :[FH]-) ac_tag=-:-;;
   20587   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20588   esac
   20589   ac_save_IFS=$IFS
   20590   IFS=:
   20591   set x $ac_tag
   20592   IFS=$ac_save_IFS
   20593   shift
   20594   ac_file=$1
   20595   shift
   20596 
   20597   case $ac_mode in
   20598   :L) ac_source=$1;;
   20599   :[FH])
   20600     ac_file_inputs=
   20601     for ac_f
   20602     do
   20603       case $ac_f in
   20604       -) ac_f="$ac_tmp/stdin";;
   20605       *) # Look for the file first in the build tree, then in the source tree
   20606 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20607 	 # because $ac_f cannot contain `:'.
   20608 	 test -f "$ac_f" ||
   20609 	   case $ac_f in
   20610 	   [\\/$]*) false;;
   20611 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20612 	   esac ||
   20613 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20614       esac
   20615       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20616       as_fn_append ac_file_inputs " '$ac_f'"
   20617     done
   20618 
   20619     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20620     # use $as_me), people would be surprised to read:
   20621     #    /* config.h.  Generated by config.status.  */
   20622     configure_input='Generated from '`
   20623 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20624 	`' by configure.'
   20625     if test x"$ac_file" != x-; then
   20626       configure_input="$ac_file.  $configure_input"
   20627       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20628 $as_echo "$as_me: creating $ac_file" >&6;}
   20629     fi
   20630     # Neutralize special characters interpreted by sed in replacement strings.
   20631     case $configure_input in #(
   20632     *\&* | *\|* | *\\* )
   20633        ac_sed_conf_input=`$as_echo "$configure_input" |
   20634        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20635     *) ac_sed_conf_input=$configure_input;;
   20636     esac
   20637 
   20638     case $ac_tag in
   20639     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20640       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20641     esac
   20642     ;;
   20643   esac
   20644 
   20645   ac_dir=`$as_dirname -- "$ac_file" ||
   20646 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20647 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20648 	 X"$ac_file" : 'X\(//\)$' \| \
   20649 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20650 $as_echo X"$ac_file" |
   20651     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20652 	    s//\1/
   20653 	    q
   20654 	  }
   20655 	  /^X\(\/\/\)[^/].*/{
   20656 	    s//\1/
   20657 	    q
   20658 	  }
   20659 	  /^X\(\/\/\)$/{
   20660 	    s//\1/
   20661 	    q
   20662 	  }
   20663 	  /^X\(\/\).*/{
   20664 	    s//\1/
   20665 	    q
   20666 	  }
   20667 	  s/.*/./; q'`
   20668   as_dir="$ac_dir"; as_fn_mkdir_p
   20669   ac_builddir=.
   20670 
   20671 case "$ac_dir" in
   20672 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20673 *)
   20674   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20675   # A ".." for each directory in $ac_dir_suffix.
   20676   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20677   case $ac_top_builddir_sub in
   20678   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20679   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20680   esac ;;
   20681 esac
   20682 ac_abs_top_builddir=$ac_pwd
   20683 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20684 # for backward compatibility:
   20685 ac_top_builddir=$ac_top_build_prefix
   20686 
   20687 case $srcdir in
   20688   .)  # We are building in place.
   20689     ac_srcdir=.
   20690     ac_top_srcdir=$ac_top_builddir_sub
   20691     ac_abs_top_srcdir=$ac_pwd ;;
   20692   [\\/]* | ?:[\\/]* )  # Absolute name.
   20693     ac_srcdir=$srcdir$ac_dir_suffix;
   20694     ac_top_srcdir=$srcdir
   20695     ac_abs_top_srcdir=$srcdir ;;
   20696   *) # Relative name.
   20697     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20698     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20699     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20700 esac
   20701 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20702 
   20703 
   20704   case $ac_mode in
   20705   :F)
   20706   #
   20707   # CONFIG_FILE
   20708   #
   20709 
   20710   case $INSTALL in
   20711   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20712   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20713   esac
   20714   ac_MKDIR_P=$MKDIR_P
   20715   case $MKDIR_P in
   20716   [\\/$]* | ?:[\\/]* ) ;;
   20717   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20718   esac
   20719 _ACEOF
   20720 
   20721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20722 # If the template does not know about datarootdir, expand it.
   20723 # FIXME: This hack should be removed a few years after 2.60.
   20724 ac_datarootdir_hack=; ac_datarootdir_seen=
   20725 ac_sed_dataroot='
   20726 /datarootdir/ {
   20727   p
   20728   q
   20729 }
   20730 /@datadir@/p
   20731 /@docdir@/p
   20732 /@infodir@/p
   20733 /@localedir@/p
   20734 /@mandir@/p'
   20735 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20736 *datarootdir*) ac_datarootdir_seen=yes;;
   20737 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20738   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20739 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20740 _ACEOF
   20741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20742   ac_datarootdir_hack='
   20743   s&@datadir@&$datadir&g
   20744   s&@docdir@&$docdir&g
   20745   s&@infodir@&$infodir&g
   20746   s&@localedir@&$localedir&g
   20747   s&@mandir@&$mandir&g
   20748   s&\\\${datarootdir}&$datarootdir&g' ;;
   20749 esac
   20750 _ACEOF
   20751 
   20752 # Neutralize VPATH when `$srcdir' = `.'.
   20753 # Shell code in configure.ac might set extrasub.
   20754 # FIXME: do we really want to maintain this feature?
   20755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20756 ac_sed_extra="$ac_vpsub
   20757 $extrasub
   20758 _ACEOF
   20759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20760 :t
   20761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20762 s|@configure_input@|$ac_sed_conf_input|;t t
   20763 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20764 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20765 s&@srcdir@&$ac_srcdir&;t t
   20766 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20767 s&@top_srcdir@&$ac_top_srcdir&;t t
   20768 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20769 s&@builddir@&$ac_builddir&;t t
   20770 s&@abs_builddir@&$ac_abs_builddir&;t t
   20771 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20772 s&@INSTALL@&$ac_INSTALL&;t t
   20773 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20774 $ac_datarootdir_hack
   20775 "
   20776 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20777   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20778 
   20779 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20780   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20781   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20782       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20783   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20784 which seems to be undefined.  Please make sure it is defined" >&5
   20785 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20786 which seems to be undefined.  Please make sure it is defined" >&2;}
   20787 
   20788   rm -f "$ac_tmp/stdin"
   20789   case $ac_file in
   20790   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20791   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20792   esac \
   20793   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20794  ;;
   20795   :H)
   20796   #
   20797   # CONFIG_HEADER
   20798   #
   20799   if test x"$ac_file" != x-; then
   20800     {
   20801       $as_echo "/* $configure_input  */" \
   20802       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20803     } >"$ac_tmp/config.h" \
   20804       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20805     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20806       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20807 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20808     else
   20809       rm -f "$ac_file"
   20810       mv "$ac_tmp/config.h" "$ac_file" \
   20811 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20812     fi
   20813   else
   20814     $as_echo "/* $configure_input  */" \
   20815       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20816       || as_fn_error $? "could not create -" "$LINENO" 5
   20817   fi
   20818 # Compute "$ac_file"'s index in $config_headers.
   20819 _am_arg="$ac_file"
   20820 _am_stamp_count=1
   20821 for _am_header in $config_headers :; do
   20822   case $_am_header in
   20823     $_am_arg | $_am_arg:* )
   20824       break ;;
   20825     * )
   20826       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20827   esac
   20828 done
   20829 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20830 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20831 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20832 	 X"$_am_arg" : 'X\(//\)$' \| \
   20833 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20834 $as_echo X"$_am_arg" |
   20835     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20836 	    s//\1/
   20837 	    q
   20838 	  }
   20839 	  /^X\(\/\/\)[^/].*/{
   20840 	    s//\1/
   20841 	    q
   20842 	  }
   20843 	  /^X\(\/\/\)$/{
   20844 	    s//\1/
   20845 	    q
   20846 	  }
   20847 	  /^X\(\/\).*/{
   20848 	    s//\1/
   20849 	    q
   20850 	  }
   20851 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20852  ;;
   20853 
   20854   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20855 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20856  ;;
   20857   esac
   20858 
   20859 
   20860   case $ac_file$ac_mode in
   20861     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20862   # Older Autoconf quotes --file arguments for eval, but not when files
   20863   # are listed without --file.  Let's play safe and only enable the eval
   20864   # if we detect the quoting.
   20865   case $CONFIG_FILES in
   20866   *\'*) eval set x "$CONFIG_FILES" ;;
   20867   *)   set x $CONFIG_FILES ;;
   20868   esac
   20869   shift
   20870   for mf
   20871   do
   20872     # Strip MF so we end up with the name of the file.
   20873     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20874     # Check whether this is an Automake generated Makefile or not.
   20875     # We used to match only the files named 'Makefile.in', but
   20876     # some people rename them; so instead we look at the file content.
   20877     # Grep'ing the first line is not enough: some people post-process
   20878     # each Makefile.in and add a new line on top of each file to say so.
   20879     # Grep'ing the whole file is not good either: AIX grep has a line
   20880     # limit of 2048, but all sed's we know have understand at least 4000.
   20881     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20882       dirpart=`$as_dirname -- "$mf" ||
   20883 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20884 	 X"$mf" : 'X\(//\)[^/]' \| \
   20885 	 X"$mf" : 'X\(//\)$' \| \
   20886 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20887 $as_echo X"$mf" |
   20888     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20889 	    s//\1/
   20890 	    q
   20891 	  }
   20892 	  /^X\(\/\/\)[^/].*/{
   20893 	    s//\1/
   20894 	    q
   20895 	  }
   20896 	  /^X\(\/\/\)$/{
   20897 	    s//\1/
   20898 	    q
   20899 	  }
   20900 	  /^X\(\/\).*/{
   20901 	    s//\1/
   20902 	    q
   20903 	  }
   20904 	  s/.*/./; q'`
   20905     else
   20906       continue
   20907     fi
   20908     # Extract the definition of DEPDIR, am__include, and am__quote
   20909     # from the Makefile without running 'make'.
   20910     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20911     test -z "$DEPDIR" && continue
   20912     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20913     test -z "$am__include" && continue
   20914     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20915     # Find all dependency output files, they are included files with
   20916     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20917     # simplest approach to changing $(DEPDIR) to its actual value in the
   20918     # expansion.
   20919     for file in `sed -n "
   20920       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20921 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20922       # Make sure the directory exists.
   20923       test -f "$dirpart/$file" && continue
   20924       fdir=`$as_dirname -- "$file" ||
   20925 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20926 	 X"$file" : 'X\(//\)[^/]' \| \
   20927 	 X"$file" : 'X\(//\)$' \| \
   20928 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20929 $as_echo X"$file" |
   20930     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20931 	    s//\1/
   20932 	    q
   20933 	  }
   20934 	  /^X\(\/\/\)[^/].*/{
   20935 	    s//\1/
   20936 	    q
   20937 	  }
   20938 	  /^X\(\/\/\)$/{
   20939 	    s//\1/
   20940 	    q
   20941 	  }
   20942 	  /^X\(\/\).*/{
   20943 	    s//\1/
   20944 	    q
   20945 	  }
   20946 	  s/.*/./; q'`
   20947       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20948       # echo "creating $dirpart/$file"
   20949       echo '# dummy' > "$dirpart/$file"
   20950     done
   20951   done
   20952 }
   20953  ;;
   20954     "libtool":C)
   20955 
   20956     # See if we are running on zsh, and set the options that allow our
   20957     # commands through without removal of \ escapes.
   20958     if test -n "${ZSH_VERSION+set}"; then
   20959       setopt NO_GLOB_SUBST
   20960     fi
   20961 
   20962     cfgfile=${ofile}T
   20963     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20964     $RM "$cfgfile"
   20965 
   20966     cat <<_LT_EOF >> "$cfgfile"
   20967 #! $SHELL
   20968 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20969 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20970 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20971 
   20972 # Provide generalized library-building support services.
   20973 # Written by Gordon Matzigkeit, 1996
   20974 
   20975 # Copyright (C) 2014 Free Software Foundation, Inc.
   20976 # This is free software; see the source for copying conditions.  There is NO
   20977 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20978 
   20979 # GNU Libtool is free software; you can redistribute it and/or modify
   20980 # it under the terms of the GNU General Public License as published by
   20981 # the Free Software Foundation; either version 2 of of the License, or
   20982 # (at your option) any later version.
   20983 #
   20984 # As a special exception to the GNU General Public License, if you
   20985 # distribute this file as part of a program or library that is built
   20986 # using GNU Libtool, you may include this file under the  same
   20987 # distribution terms that you use for the rest of that program.
   20988 #
   20989 # GNU Libtool is distributed in the hope that it will be useful, but
   20990 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20991 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20992 # GNU General Public License for more details.
   20993 #
   20994 # You should have received a copy of the GNU General Public License
   20995 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20996 
   20997 
   20998 # The names of the tagged configurations supported by this script.
   20999 available_tags=''
   21000 
   21001 # Configured defaults for sys_lib_dlsearch_path munging.
   21002 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21003 
   21004 # ### BEGIN LIBTOOL CONFIG
   21005 
   21006 # Whether or not to build static libraries.
   21007 build_old_libs=$enable_static
   21008 
   21009 # Which release of libtool.m4 was used?
   21010 macro_version=$macro_version
   21011 macro_revision=$macro_revision
   21012 
   21013 # Whether or not to build shared libraries.
   21014 build_libtool_libs=$enable_shared
   21015 
   21016 # What type of objects to build.
   21017 pic_mode=$pic_mode
   21018 
   21019 # Whether or not to optimize for fast installation.
   21020 fast_install=$enable_fast_install
   21021 
   21022 # Shared archive member basename,for filename based shared library versioning on AIX.
   21023 shared_archive_member_spec=$shared_archive_member_spec
   21024 
   21025 # Shell to use when invoking shell scripts.
   21026 SHELL=$lt_SHELL
   21027 
   21028 # An echo program that protects backslashes.
   21029 ECHO=$lt_ECHO
   21030 
   21031 # The PATH separator for the build system.
   21032 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21033 
   21034 # The host system.
   21035 host_alias=$host_alias
   21036 host=$host
   21037 host_os=$host_os
   21038 
   21039 # The build system.
   21040 build_alias=$build_alias
   21041 build=$build
   21042 build_os=$build_os
   21043 
   21044 # A sed program that does not truncate output.
   21045 SED=$lt_SED
   21046 
   21047 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21048 Xsed="\$SED -e 1s/^X//"
   21049 
   21050 # A grep program that handles long lines.
   21051 GREP=$lt_GREP
   21052 
   21053 # An ERE matcher.
   21054 EGREP=$lt_EGREP
   21055 
   21056 # A literal string matcher.
   21057 FGREP=$lt_FGREP
   21058 
   21059 # A BSD- or MS-compatible name lister.
   21060 NM=$lt_NM
   21061 
   21062 # Whether we need soft or hard links.
   21063 LN_S=$lt_LN_S
   21064 
   21065 # What is the maximum length of a command?
   21066 max_cmd_len=$max_cmd_len
   21067 
   21068 # Object file suffix (normally "o").
   21069 objext=$ac_objext
   21070 
   21071 # Executable file suffix (normally "").
   21072 exeext=$exeext
   21073 
   21074 # whether the shell understands "unset".
   21075 lt_unset=$lt_unset
   21076 
   21077 # turn spaces into newlines.
   21078 SP2NL=$lt_lt_SP2NL
   21079 
   21080 # turn newlines into spaces.
   21081 NL2SP=$lt_lt_NL2SP
   21082 
   21083 # convert \$build file names to \$host format.
   21084 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21085 
   21086 # convert \$build files to toolchain format.
   21087 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21088 
   21089 # An object symbol dumper.
   21090 OBJDUMP=$lt_OBJDUMP
   21091 
   21092 # Method to check whether dependent libraries are shared objects.
   21093 deplibs_check_method=$lt_deplibs_check_method
   21094 
   21095 # Command to use when deplibs_check_method = "file_magic".
   21096 file_magic_cmd=$lt_file_magic_cmd
   21097 
   21098 # How to find potential files when deplibs_check_method = "file_magic".
   21099 file_magic_glob=$lt_file_magic_glob
   21100 
   21101 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21102 want_nocaseglob=$lt_want_nocaseglob
   21103 
   21104 # DLL creation program.
   21105 DLLTOOL=$lt_DLLTOOL
   21106 
   21107 # Command to associate shared and link libraries.
   21108 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21109 
   21110 # The archiver.
   21111 AR=$lt_AR
   21112 
   21113 # Flags to create an archive.
   21114 AR_FLAGS=$lt_AR_FLAGS
   21115 
   21116 # How to feed a file listing to the archiver.
   21117 archiver_list_spec=$lt_archiver_list_spec
   21118 
   21119 # A symbol stripping program.
   21120 STRIP=$lt_STRIP
   21121 
   21122 # Commands used to install an old-style archive.
   21123 RANLIB=$lt_RANLIB
   21124 old_postinstall_cmds=$lt_old_postinstall_cmds
   21125 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21126 
   21127 # Whether to use a lock for old archive extraction.
   21128 lock_old_archive_extraction=$lock_old_archive_extraction
   21129 
   21130 # A C compiler.
   21131 LTCC=$lt_CC
   21132 
   21133 # LTCC compiler flags.
   21134 LTCFLAGS=$lt_CFLAGS
   21135 
   21136 # Take the output of nm and produce a listing of raw symbols and C names.
   21137 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21138 
   21139 # Transform the output of nm in a proper C declaration.
   21140 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21141 
   21142 # Transform the output of nm into a list of symbols to manually relocate.
   21143 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21144 
   21145 # Transform the output of nm in a C name address pair.
   21146 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21147 
   21148 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21149 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21150 
   21151 # The name lister interface.
   21152 nm_interface=$lt_lt_cv_nm_interface
   21153 
   21154 # Specify filename containing input files for \$NM.
   21155 nm_file_list_spec=$lt_nm_file_list_spec
   21156 
   21157 # The root where to search for dependent libraries,and where our libraries should be installed.
   21158 lt_sysroot=$lt_sysroot
   21159 
   21160 # Command to truncate a binary pipe.
   21161 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21162 
   21163 # The name of the directory that contains temporary libtool files.
   21164 objdir=$objdir
   21165 
   21166 # Used to examine libraries when file_magic_cmd begins with "file".
   21167 MAGIC_CMD=$MAGIC_CMD
   21168 
   21169 # Must we lock files when doing compilation?
   21170 need_locks=$lt_need_locks
   21171 
   21172 # Manifest tool.
   21173 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21174 
   21175 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21176 DSYMUTIL=$lt_DSYMUTIL
   21177 
   21178 # Tool to change global to local symbols on Mac OS X.
   21179 NMEDIT=$lt_NMEDIT
   21180 
   21181 # Tool to manipulate fat objects and archives on Mac OS X.
   21182 LIPO=$lt_LIPO
   21183 
   21184 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21185 OTOOL=$lt_OTOOL
   21186 
   21187 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21188 OTOOL64=$lt_OTOOL64
   21189 
   21190 # Old archive suffix (normally "a").
   21191 libext=$libext
   21192 
   21193 # Shared library suffix (normally ".so").
   21194 shrext_cmds=$lt_shrext_cmds
   21195 
   21196 # The commands to extract the exported symbol list from a shared archive.
   21197 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21198 
   21199 # Variables whose values should be saved in libtool wrapper scripts and
   21200 # restored at link time.
   21201 variables_saved_for_relink=$lt_variables_saved_for_relink
   21202 
   21203 # Do we need the "lib" prefix for modules?
   21204 need_lib_prefix=$need_lib_prefix
   21205 
   21206 # Do we need a version for libraries?
   21207 need_version=$need_version
   21208 
   21209 # Library versioning type.
   21210 version_type=$version_type
   21211 
   21212 # Shared library runtime path variable.
   21213 runpath_var=$runpath_var
   21214 
   21215 # Shared library path variable.
   21216 shlibpath_var=$shlibpath_var
   21217 
   21218 # Is shlibpath searched before the hard-coded library search path?
   21219 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21220 
   21221 # Format of library name prefix.
   21222 libname_spec=$lt_libname_spec
   21223 
   21224 # List of archive names.  First name is the real one, the rest are links.
   21225 # The last name is the one that the linker finds with -lNAME
   21226 library_names_spec=$lt_library_names_spec
   21227 
   21228 # The coded name of the library, if different from the real name.
   21229 soname_spec=$lt_soname_spec
   21230 
   21231 # Permission mode override for installation of shared libraries.
   21232 install_override_mode=$lt_install_override_mode
   21233 
   21234 # Command to use after installation of a shared archive.
   21235 postinstall_cmds=$lt_postinstall_cmds
   21236 
   21237 # Command to use after uninstallation of a shared archive.
   21238 postuninstall_cmds=$lt_postuninstall_cmds
   21239 
   21240 # Commands used to finish a libtool library installation in a directory.
   21241 finish_cmds=$lt_finish_cmds
   21242 
   21243 # As "finish_cmds", except a single script fragment to be evaled but
   21244 # not shown.
   21245 finish_eval=$lt_finish_eval
   21246 
   21247 # Whether we should hardcode library paths into libraries.
   21248 hardcode_into_libs=$hardcode_into_libs
   21249 
   21250 # Compile-time system search path for libraries.
   21251 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21252 
   21253 # Detected run-time system search path for libraries.
   21254 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21255 
   21256 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21257 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21258 
   21259 # Whether dlopen is supported.
   21260 dlopen_support=$enable_dlopen
   21261 
   21262 # Whether dlopen of programs is supported.
   21263 dlopen_self=$enable_dlopen_self
   21264 
   21265 # Whether dlopen of statically linked programs is supported.
   21266 dlopen_self_static=$enable_dlopen_self_static
   21267 
   21268 # Commands to strip libraries.
   21269 old_striplib=$lt_old_striplib
   21270 striplib=$lt_striplib
   21271 
   21272 
   21273 # The linker used to build libraries.
   21274 LD=$lt_LD
   21275 
   21276 # How to create reloadable object files.
   21277 reload_flag=$lt_reload_flag
   21278 reload_cmds=$lt_reload_cmds
   21279 
   21280 # Commands used to build an old-style archive.
   21281 old_archive_cmds=$lt_old_archive_cmds
   21282 
   21283 # A language specific compiler.
   21284 CC=$lt_compiler
   21285 
   21286 # Is the compiler the GNU compiler?
   21287 with_gcc=$GCC
   21288 
   21289 # Compiler flag to turn off builtin functions.
   21290 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21291 
   21292 # Additional compiler flags for building library objects.
   21293 pic_flag=$lt_lt_prog_compiler_pic
   21294 
   21295 # How to pass a linker flag through the compiler.
   21296 wl=$lt_lt_prog_compiler_wl
   21297 
   21298 # Compiler flag to prevent dynamic linking.
   21299 link_static_flag=$lt_lt_prog_compiler_static
   21300 
   21301 # Does compiler simultaneously support -c and -o options?
   21302 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21303 
   21304 # Whether or not to add -lc for building shared libraries.
   21305 build_libtool_need_lc=$archive_cmds_need_lc
   21306 
   21307 # Whether or not to disallow shared libs when runtime libs are static.
   21308 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21309 
   21310 # Compiler flag to allow reflexive dlopens.
   21311 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21312 
   21313 # Compiler flag to generate shared objects directly from archives.
   21314 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21315 
   21316 # Whether the compiler copes with passing no objects directly.
   21317 compiler_needs_object=$lt_compiler_needs_object
   21318 
   21319 # Create an old-style archive from a shared archive.
   21320 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21321 
   21322 # Create a temporary old-style archive to link instead of a shared archive.
   21323 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21324 
   21325 # Commands used to build a shared archive.
   21326 archive_cmds=$lt_archive_cmds
   21327 archive_expsym_cmds=$lt_archive_expsym_cmds
   21328 
   21329 # Commands used to build a loadable module if different from building
   21330 # a shared archive.
   21331 module_cmds=$lt_module_cmds
   21332 module_expsym_cmds=$lt_module_expsym_cmds
   21333 
   21334 # Whether we are building with GNU ld or not.
   21335 with_gnu_ld=$lt_with_gnu_ld
   21336 
   21337 # Flag that allows shared libraries with undefined symbols to be built.
   21338 allow_undefined_flag=$lt_allow_undefined_flag
   21339 
   21340 # Flag that enforces no undefined symbols.
   21341 no_undefined_flag=$lt_no_undefined_flag
   21342 
   21343 # Flag to hardcode \$libdir into a binary during linking.
   21344 # This must work even if \$libdir does not exist
   21345 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21346 
   21347 # Whether we need a single "-rpath" flag with a separated argument.
   21348 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21349 
   21350 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21351 # DIR into the resulting binary.
   21352 hardcode_direct=$hardcode_direct
   21353 
   21354 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21355 # DIR into the resulting binary and the resulting library dependency is
   21356 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21357 # library is relocated.
   21358 hardcode_direct_absolute=$hardcode_direct_absolute
   21359 
   21360 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21361 # into the resulting binary.
   21362 hardcode_minus_L=$hardcode_minus_L
   21363 
   21364 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21365 # into the resulting binary.
   21366 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21367 
   21368 # Set to "yes" if building a shared library automatically hardcodes DIR
   21369 # into the library and all subsequent libraries and executables linked
   21370 # against it.
   21371 hardcode_automatic=$hardcode_automatic
   21372 
   21373 # Set to yes if linker adds runtime paths of dependent libraries
   21374 # to runtime path list.
   21375 inherit_rpath=$inherit_rpath
   21376 
   21377 # Whether libtool must link a program against all its dependency libraries.
   21378 link_all_deplibs=$link_all_deplibs
   21379 
   21380 # Set to "yes" if exported symbols are required.
   21381 always_export_symbols=$always_export_symbols
   21382 
   21383 # The commands to list exported symbols.
   21384 export_symbols_cmds=$lt_export_symbols_cmds
   21385 
   21386 # Symbols that should not be listed in the preloaded symbols.
   21387 exclude_expsyms=$lt_exclude_expsyms
   21388 
   21389 # Symbols that must always be exported.
   21390 include_expsyms=$lt_include_expsyms
   21391 
   21392 # Commands necessary for linking programs (against libraries) with templates.
   21393 prelink_cmds=$lt_prelink_cmds
   21394 
   21395 # Commands necessary for finishing linking programs.
   21396 postlink_cmds=$lt_postlink_cmds
   21397 
   21398 # Specify filename containing input files.
   21399 file_list_spec=$lt_file_list_spec
   21400 
   21401 # How to hardcode a shared library path into an executable.
   21402 hardcode_action=$hardcode_action
   21403 
   21404 # ### END LIBTOOL CONFIG
   21405 
   21406 _LT_EOF
   21407 
   21408     cat <<'_LT_EOF' >> "$cfgfile"
   21409 
   21410 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21411 
   21412 # func_munge_path_list VARIABLE PATH
   21413 # -----------------------------------
   21414 # VARIABLE is name of variable containing _space_ separated list of
   21415 # directories to be munged by the contents of PATH, which is string
   21416 # having a format:
   21417 # "DIR[:DIR]:"
   21418 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21419 # ":DIR[:DIR]"
   21420 #       string "DIR[ DIR]" will be appended to VARIABLE
   21421 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21422 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21423 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21424 # "DIR[:DIR]"
   21425 #       VARIABLE will be replaced by "DIR[ DIR]"
   21426 func_munge_path_list ()
   21427 {
   21428     case x$2 in
   21429     x)
   21430         ;;
   21431     *:)
   21432         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21433         ;;
   21434     x:*)
   21435         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21436         ;;
   21437     *::*)
   21438         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21439         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21440         ;;
   21441     *)
   21442         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21443         ;;
   21444     esac
   21445 }
   21446 
   21447 
   21448 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21449 func_cc_basename ()
   21450 {
   21451     for cc_temp in $*""; do
   21452       case $cc_temp in
   21453         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21454         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21455         \-*) ;;
   21456         *) break;;
   21457       esac
   21458     done
   21459     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21460 }
   21461 
   21462 
   21463 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21464 
   21465 _LT_EOF
   21466 
   21467   case $host_os in
   21468   aix3*)
   21469     cat <<\_LT_EOF >> "$cfgfile"
   21470 # AIX sometimes has problems with the GCC collect2 program.  For some
   21471 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21472 # vanish in a puff of smoke.
   21473 if test set != "${COLLECT_NAMES+set}"; then
   21474   COLLECT_NAMES=
   21475   export COLLECT_NAMES
   21476 fi
   21477 _LT_EOF
   21478     ;;
   21479   esac
   21480 
   21481 
   21482 ltmain=$ac_aux_dir/ltmain.sh
   21483 
   21484 
   21485   # We use sed instead of cat because bash on DJGPP gets confused if
   21486   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21487   # text mode, it properly converts lines to CR/LF.  This bash problem
   21488   # is reportedly fixed, but why not run on old versions too?
   21489   sed '$q' "$ltmain" >> "$cfgfile" \
   21490      || (rm -f "$cfgfile"; exit 1)
   21491 
   21492    mv -f "$cfgfile" "$ofile" ||
   21493     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21494   chmod +x "$ofile"
   21495 
   21496  ;;
   21497 
   21498   esac
   21499 done # for ac_tag
   21500 
   21501 
   21502 as_fn_exit 0
   21503 _ACEOF
   21504 ac_clean_files=$ac_clean_files_save
   21505 
   21506 test $ac_write_fail = 0 ||
   21507   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21508 
   21509 
   21510 # configure is writing to config.log, and then calls config.status.
   21511 # config.status does its own redirection, appending to config.log.
   21512 # Unfortunately, on DOS this fails, as config.log is still kept open
   21513 # by configure, so config.status won't be able to write to it; its
   21514 # output is simply discarded.  So we exec the FD to /dev/null,
   21515 # effectively closing config.log, so it can be properly (re)opened and
   21516 # appended to by config.status.  When coming back to configure, we
   21517 # need to make the FD available again.
   21518 if test "$no_create" != yes; then
   21519   ac_cs_success=:
   21520   ac_config_status_args=
   21521   test "$silent" = yes &&
   21522     ac_config_status_args="$ac_config_status_args --quiet"
   21523   exec 5>/dev/null
   21524   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21525   exec 5>>config.log
   21526   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21527   # would make configure fail if this is the last instruction.
   21528   $ac_cs_success || as_fn_exit 1
   21529 fi
   21530 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21531   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21532 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21533 fi
   21534 
   21535